]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix MicroBlaze __backtrace get_frame_size namespace (bug 21022).
[thirdparty/glibc.git] / ChangeLog
1 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #21022]
4 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5
6 2017-01-03 Joseph Myers <joseph@codesourcery.com>
7
8 * sysdeps/i386/fpu/libm-test-ulps: Update.
9
10 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11
12 * sysdeps/ia64/strcat.c: Remove file.
13 * sysdeps/powerpc/strcat.c: Likewise.
14 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
15 C implementation.
16 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
17 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
18
19 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20 Steven Munroe <sjmunroe@us.ibm.com>
21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22
23 [BZ #20822]
24 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25 (__lll_lock_elision): Access adapt_count via C11 atomics.
26 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
27 (__lll_trylock_elision): Likewise.
28 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29 (__lll_unlock_elision): Update adapt_count variable inside the
30 critical section using C11 atomics.
31
32 2017-01-03 Joseph Myers <joseph@codesourcery.com>
33
34 * math/test-fenvinline.c (do_test): Disable tests of raised
35 exceptions if !EXCEPTION_TESTS (FLOAT).
36
37 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38
39 [BZ #19390]
40 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
41 maximum string size.
42 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
43 in pointer addition.
44 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
45 Likewise.
46
47 2017-01-03 Joseph Myers <joseph@codesourcery.com>
48
49 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
50 passed to tst-ldconfig-X.sh.
51
52 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
53
54 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
55
56 2017-01-02 Joseph Myers <joseph@codesourcery.com>
57
58 [BZ #21019]
59 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
60 New syscall entry.
61 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
62 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
63 lseek.
64
65 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
66 power4 glibc for powerpc-linux-gnu.
67
68 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
69
70 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
71 semctl.
72
73 2017-01-02 Joseph Myers <joseph@codesourcery.com>
74
75 * math/test-nearbyint-except.c: Include <stdbool.h>.
76 (any_supported): New variable.
77 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
78 set any_supported.
79 (do_test): Return 77 if no floating-point type supported
80 exceptions.
81
82 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
83 condition on [__mips_hard_float].
84
85 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
86
87 [BZ #21014]
88 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
89 in pointer addition.
90 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
91
92 2017-01-02 Torvald Riegel <triegel@redhat.com>
93
94 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
95 new condvar.
96
97 2017-01-02 Joseph Myers <joseph@codesourcery.com>
98
99 * scripts/build-many-glibcs.py (Context.checkout): Default
100 binutils version to 2.28 branch.
101
102 2017-01-01 Florian Weimer <fweimer@redhat.com>
103
104 * support/support_format_netent.c (support_format_netent): Work
105 around alpha struct netent definition difference.
106
107 2017-01-01 Florian Weimer <fweimer@redhat.com>
108
109 * support/xwrite.c (xwrite): Use %td for pointer difference.
110
111 2017-01-01 Florian Weimer <fweimer@redhat.com>
112
113 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
114 have-tunables only.
115 (tests-static): Add tst-malloc-usable-static-tunables for
116 have-tunables only.
117
118 2017-01-01 Joseph Myers <joseph@codesourcery.com>
119
120 * scripts/config.guess: Update to version 2017-01-01.
121 * scripts/config.sub: Update to version 2017-01-01.
122
123 * NEWS: Update copyright dates.
124 * catgets/gencat.c (print_version): Likewise.
125 * csu/version.c (banner): Likewise.
126 * debug/catchsegv.sh: Likewise.
127 * debug/pcprofiledump.c (print_version): Likewise.
128 * debug/xtrace.sh (do_version): Likewise.
129 * elf/ldconfig.c (print_version): Likewise.
130 * elf/ldd.bash.in: Likewise.
131 * elf/pldd.c (print_version): Likewise.
132 * elf/sotruss.sh: Likewise.
133 * elf/sprof.c (print_version): Likewise.
134 * iconv/iconv_prog.c (print_version): Likewise.
135 * iconv/iconvconfig.c (print_version): Likewise.
136 * locale/programs/locale.c (print_version): Likewise.
137 * locale/programs/localedef.c (print_version): Likewise.
138 * login/programs/pt_chown.c (print_version): Likewise.
139 * malloc/memusage.sh (do_version): Likewise.
140 * malloc/memusagestat.c (print_version): Likewise.
141 * malloc/mtrace.pl: Likewise.
142 * manual/libc.texinfo: Likewise.
143 * nptl/version.c (banner): Likewise.
144 * nscd/nscd.c (print_version): Likewise.
145 * nss/getent.c (print_version): Likewise.
146 * nss/makedb.c (print_version): Likewise.
147 * posix/getconf.c (main): Likewise.
148 * scripts/test-installation.pl: Likewise.
149 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
150
151 * All files with FSF copyright notices: Update copyright dates
152 using scripts/update-copyrights.
153 * intl/plural.c: Regenerated.
154 * locale/programs/charmap-kw.h: Likewise.
155 * locale/programs/locfile-kw.h: Likewise.
156
157 2016-12-31 Florian Weimer <fweimer@redhat.com>
158
159 [BZ #20593]
160 Update DNS RR type definitions.
161 * scripts/gen-rrtypes.py: New file.
162 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
163 BIND-internal RR type not used on the Internet. Add ns_t_ds,
164 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
165 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
166 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
167 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
168 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
169 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
170 ns_t_ta, ns_t_dlv.
171 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
172 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
173 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
174 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
175 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
176 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
177 Define.
178 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
179 entry for ns_t_zxfr.
180
181 2016-12-31 Florian Weimer <fweimer@redhat.com>
182
183 [BZ #18784]
184 CVE-2015-5180
185 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
186 T_UNSPEC. Adjust value.
187 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
188 * resolv/res_query.c (__libc_res_nquery): Likewise.
189 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
190 QTYPEs.
191 * resolv/tst-resolv-qtypes.c: New file.
192 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
193 (tst-resolv-qtypes): Link against libresolv and libpthread.
194
195 2016-12-31 Florian Weimer <fweimer@redhat.com>
196
197 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
198
199 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
200
201 * manual/tunables.texi: New chapter.
202 * manual/Makefile (chapters): Add it.
203 * manual/probes.texi (@node): Point to the Tunables chapter.
204
205 * Makeconfig (have-tunables): Check for non-negative instead
206 of positive.
207 * configure.ac: Add 'valstring' as a valid value for
208 --enable-tunables.
209 * configure: Regenerate.
210 * elf/Makefile (have-tunables): Check for non-negative instead
211 of positive.
212 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
213 dl-tunables.c.
214 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
215 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
216 (tunables_strdup): Likewise.
217 (disable_tunables): Likewise.
218 (parse_tunables): Likewise.
219 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
220 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
221 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
222 (TUNABLES_FRONTEND_yes): New macro, define as
223 TUNABLES_FRONTEND_valstring by default.
224 * manual/install.texi: Document new acceptable values for
225 --enable-tunables.
226 * INSTALL: Regenerate.
227
228 * config.make.in (have-loop-to-function): Define.
229 * elf/Makefile (CFLAGS-dl-tunables.c): Add
230 -fno-tree-loop-distribute-patterns.
231 * elf/dl-tunables.c: Include libc-internals.h.
232 (GLIBC_TUNABLES): New macro.
233 (tunables_strdup): New function.
234 (parse_tunables): New function.
235 (min_strlen): New function.
236 (__tunables_init): Use the new functions and macro.
237 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
238 * malloc/tst-malloc-usable-tunables.c: New test case.
239 * malloc/tst-malloc-usable-static-tunables.c: New test case.
240 * malloc/Makefile (tests, tests-static): Add tests.
241
242 * manual/install.texi: Add --enable-tunables option.
243 * INSTALL: Regenerate.
244 * README.tunables: New file.
245 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
246 (before-compile): Generate dl-tunable-list.h early.
247 * config.h.in: Add HAVE_TUNABLES.
248 * config.make.in: Add have-tunables.
249 * configure.ac: Add --enable-tunables option.
250 * configure: Regenerate.
251 * csu/init-first.c (__libc_init_first): Move
252 __libc_init_secure earlier...
253 * csu/init-first.c (LIBC_START_MAIN):... to here.
254 Include dl-tunables.h, libc-internal.h.
255 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
256 binaries.
257 * elf/Makefile (dl-routines): Add dl-tunables.
258 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
259 namespace.
260 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
261 only when !HAVE_TUNABLES.
262 * elf/rtld.c (process_envvars): Likewise.
263 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
264 (_dl_sysdep_start): Call __tunables_init.
265 * elf/dl-tunable-types.h: New file.
266 * elf/dl-tunables.c: New file.
267 * elf/dl-tunables.h: New file.
268 * elf/dl-tunables.list: New file.
269 * malloc/tst-malloc-usable-static.c: New test case.
270 * malloc/Makefile (tests-static): Add it.
271 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
272 Define TUNABLE_NAMESPACE.
273 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
274 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
275 callback functions.
276 (ptmalloc_init): Set tunable values.
277 * scripts/gen-tunables.awk: New file.
278 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
279 (_dl_sysdep_start): Call __tunables_init.
280
281 2016-12-31 Florian Weimer <fweimer@redhat.com>
282
283 * resolv/resolv.h (RES_BLAST): Deprecate.
284 * resolv/res_debug.c (p_option): Remove RES_BLAST.
285 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
286 to RES_BLAST.
287
288 2016-12-27 Florian Weimer <fweimer@redhat.com>
289
290 [BZ #19582]
291 Deprecate RES_USE_INET6.
292 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
293 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
294 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
295 RES_USE_INET6.
296 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
297 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
298 (_nss_nisplus_gethostbyaddr_r): Likewise.
299 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
300 of res_use_inet6.
301 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
302 instead of RES_USE_INET6.
303 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
304 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
305 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
306 Likewise.
307 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
308 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
309 Likewise.
310 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
311 (_nss_dns_gethostbyname_r): Likewise.
312 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
313 alternate RES_USE_INET6 handling.
314 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
315 instead of RES_USE_INET6.
316 * resolv/res_init.c (res_setoptions): Likewise.
317 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
318 * resolv/resolv-internal.h: New file.
319 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
320 make the deprecation warning non-fatal.
321 * resolv/README (Using the resolver in multi-threaded code): Drop
322 reference to RES_USE_INET6.
323 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
324 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
325
326 2016-12-31 Florian Weimer <fweimer@redhat.com>
327
328 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
329 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
330 tst-resolv-search.
331 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
332 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
333 with libresolv and libpthread.
334 * resolv/tst-bug18665.c: New file.
335 * resolv/tst-bug18665-tcp: Likewise.
336 * resolv/tst-res_use_inet6: Likewise.
337 * resolv/tst-resolv-basic: Likewise.
338 * resolv/tst-resolv-network: Likewise.
339 * resolv/tst-resolv-search: Likewise.
340 * support/Makefile (libsupport-routines): Add check_addrinfo,
341 check_dns_packet, check_hostent, check_netent, resolv_test,
342 support_format_address_family, support_format_addrinfo,
343 support_format_dns_packet, support_format_herrno,
344 support_format_hostent, support_format_netent, support_run_diff,
345 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
346 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
347 xstrdup, xwrite.
348 * support/check_addrinfo.c: New file.
349 * support/check_dns_packet.c: Likewise.
350 * support/check_hostent.c: Likewise.
351 * support/check_netent.c: Likewise.
352 * support/check_nss.h: Likewise.
353 * support/format_nss.h: Likewise.
354 * support/resolv_test.c: Likewise.
355 * support/resolv_test.h: Likewise.
356 * support/run_diff.h: Likewise.
357 * support/support_format_address_family.c: Likewise.
358 * support/support_format_addrinfo.c: Likewise.
359 * support/support_format_dns_packet.c: Likewise.
360 * support/support_format_herrno.c: Likewise.
361 * support/support_format_hostent.c: Likewise.
362 * support/support_format_netent.c: Likewise.
363 * support/support_run_diff.c: Likewise.
364 * support/xaccept.c: Likewise.
365 * support/xbind.c: Likewise.
366 * support/xconnect.c: Likewise.
367 * support/xfclose.c: Likewise.
368 * support/xfopen.c: Likewise.
369 * support/xgetsockname.c: Likewise.
370 * support/xlisten.c: Likewise.
371 * support/xmemstream.c: Likewise.
372 * support/xmemstream.h: Likewise.
373 * support/xpoll.c: Likewise.
374 * support/xpthread_once.c: Likewise.
375 * support/xrecvfrom.c: Likewise.
376 * support/xsendto.c: Likewise.
377 * support/xsetsockopt.c: Likewise.
378 * support/xstdio.h: Likewise.
379 * support/xstrdup.c: Likewise.
380 * support/support.h (xstrdup): Declare.
381 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
382 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
383 * support/xthread.h (xpthread_once): Likwise.
384 * support/xunistd.h (xwrite): Declare.
385
386 2016-12-31 Florian Weimer <fweimer@redhat.com>
387
388 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
389 (test_verbose): Declare.
390 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
391 * support/support_test_main.c (default_options): Likewise.
392 (usage, support_test_main): Handle 'v'.
393 (test_verbose): Define.
394 * support/tst-support_record_failure.c (do_test): Use
395 test_verbose.
396 * support/tst-support_record_failure-2.sh (different_status): Add
397 --verbose test.
398
399 2016-12-31 Florian Weimer <fweimer@redhat.com>
400
401 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
402 test failures are recorded.
403 * support/check.c (support_print_failure_impl): Call
404 support_record_failure.
405 (support_exit_failure_impl): Call support_record_failure if status
406 indicates failure.
407 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
408 * support/xasprintf.c (xasprintf): Likewise.
409 * support/xfork.c (xfork): Likewise.
410 * support/xpthread_check_return.c (xpthread_check_return):
411 Likewise.
412 * support/xsocket.c (xsocket): Likeweise.
413 * support/xwaitpid.c (xwaitpid): Likewise.
414 * support/support_record_failure.c (struct test_failures): Adjust
415 to coding style.
416 * support/support_test_verify_impl.c (support_test_verify_impl):
417 Adjust error messages.
418 * support/tst-support_record_failure-2.sh (different_status):
419 Adjust error messages.
420
421 2016-12-31 Florian Weimer <fweimer@redhat.com>
422
423 * support/namespace.h: New file.
424 * support/support_become_root.c: Likewise.
425 * support/support_enter_network_namespace.c: Likewise.
426 * support/tst-support-namespace.c: Likewise.
427 * support/xsocket.c: Likewise.
428 * support/xsocket.h: Likewise.
429 * support/Makefile (libsupport-routines): Add support_become_root,
430 support_enter_network_namespace, xsocket.
431 (tests): Add tst-support-namespace.
432
433 2016-12-31 Florian Weimer <fweimer@redhat.com>
434
435 [BZ #17252]
436 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
437 __USE_GNU.
438
439 2016-12-31 Torvald Riegel <triegel@redhat.com>
440
441 [BZ #13165]
442 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
443 use new algorithm.
444 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
445 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
446 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
447 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
448 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
449 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
450 __condvar_cleanup_waiting, __condvar_dec_grefs,
451 __pthread_cond_wait_common): New.
452 (__condvar_cleanup): Remove.
453 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
454 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
455 Likewise.
456 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
457 Likewise.
458 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
459 * nptl/tst-cond1.c: Add comment.
460 * nptl/tst-cond20.c (do_test): Adapt.
461 * nptl/tst-cond22.c (do_test): Likewise.
462 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
463 structure.
464 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
465 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
466 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
467 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
468 Likewise.
469 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
470 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
471 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
472 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
473 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
474 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
475 Likewise.
476 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
477 Likewise.
478 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
479 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
480 (COND_CLOCK_BITS): Adapt.
481 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
482 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
483 __PTHREAD_COND_SHARED_MASK): New.
484 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
485 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
486 * nptl/nptl_lock_constants.pysym: Adapt.
487 * nptl/test-cond-printers.py: Adapt.
488 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
489 cond_compat_check_and_clear): Adapt.
490 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
491 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
492 (__pthread_cond_timedwait): ... and move here.
493 * nptl/DESIGN-condvar.txt: Remove file.
494 * nptl/lowlevelcond.sym: Likewise.
495 * nptl/pthread_cond_timedwait.c: Likewise.
496 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
497 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
498 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
499 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
500 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
501 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
502 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
503 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
504 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
505 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
506 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
507 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
508 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
509 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
510 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
511 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
512
513 2016-12-31 Joseph Myers <joseph@codesourcery.com>
514
515 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
516 (fromfp): New declaration.
517 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
518 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
519 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
520 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
521 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
522 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
523 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
524 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
525 * math/math.h: Include <bits/types.h>.
526 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
527 constant and macro.
528 (FP_INT_DOWNWARD): Likewise.
529 (FP_INT_TOWARDZERO): Likewise.
530 (FP_INT_TONEARESTFROMZERO): Likewise.
531 (FP_INT_TONEAREST): Likewise.
532 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
533 (fromfpf): Likewise.
534 (fromfpl): Likewise.
535 (ufromfp): Likewise.
536 (ufromfpf): Likewise.
537 (ufromfpl): Likewise.
538 (fromfpx): Likewise.
539 (fromfpxf): Likewise.
540 (fromfpxl): Likewise.
541 (ufromfpx): Likewise.
542 (ufromfpxf): Likewise.
543 (ufromfpxl): Likewise.
544 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
545 s_fromfpxF and s_ufromfpxF.
546 * math/gen-fromfp-tests.py: New file.
547 * math/gen-fromfp-tests-inputs: Likewise.
548 * math/libm-test.inc: Include <stdint.h>
549 (check_intmax_t): New function.
550 (check_uintmax_t): Likewise.
551 (struct test_fiu_M_data): New type.
552 (struct test_fiu_U_data): Likewise.
553 (RUN_TEST_fiu_M): New macro.
554 (RUN_TEST_LOOP_fiu_M): Likewise.
555 (RUN_TEST_fiu_U): Likewise.
556 (RUN_TEST_LOOP_fiu_U): Likewise.
557 (fromfp_test_data): New array.
558 (fromfp_test): New function.
559 (fromfpx_test_data): New array.
560 (fromfpx_test): New function.
561 (ufromfp_test_data): New array.
562 (ufromfp_test): New function.
563 (ufromfpx_test_data): New array.
564 (ufromfpx_test): New function.
565 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
566 ufromfpx_test.
567 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
568 characters.
569 * math/test-tgmath-ret.c: Include <stdint.h>.
570 (rm): New variable.
571 (width): Likewise.
572 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
573 called function.
574 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
575 CHECK_RET_CONST_TYPE.
576 (CHECK_RET_CONST_DOUBLE): Likewise.
577 (CHECK_RET_CONST_LDOUBLE): Likewise.
578 (CHECK_RET_CONST): Take extra arguments and pass them to calls
579 macros.
580 (fromfp): New CHECK_RET_CONST call.
581 (ufromfp): Likewise.
582 (fromfpx): Likewise.
583 (ufromfpx): Likewise.
584 (do_test): Call check_return_fromfp, check_return_ufromfp,
585 check_return_fromfpx and check_return_ufromfpx.
586 * math/test-tgmath.c: Include <stdint.h>
587 (NCALLS): Increase to 138.
588 (F(compile_test)): Initialize i. Call fromfp functions.
589 (F(fromfp)): New function.
590 (F(fromfpx)): Likewise.
591 (F(ufromfp)): Likewise.
592 (F(ufromfpx)): Likewise.
593 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
594 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
595 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
596 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
597 ufromfpxl.
598 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
599 ufromfp and ufromfpx.
600 * math/fromfp.h: New file.
601 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
602 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
603 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
604 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
605 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
606 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
607 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
608 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
609 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
610 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
611 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
612 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
613 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
614 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
615 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
616 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
617 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
618 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
619 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
620 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
621 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
622 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
623 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
624 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
625 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
626 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
627 ufromfp, fromfpx and ufromfpx.
628 (CFLAGS-nldbl-fromfp.c): New variable.
629 (CFLAGS-nldbl-fromfpx.c): Likewise.
630 (CFLAGS-nldbl-ufromfp.c): Likewise.
631 (CFLAGS-nldbl-ufromfpx.c): Likewise.
632 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
633 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
634 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
635 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
636 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
637 * sysdeps/nacl/libm.abilist: Update.
638 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
639 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
640 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
641 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
642 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
643 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
644 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
645 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
646 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
647 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
648 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
649 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
651 Likewise.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
653 Likewise.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
655 Likewise.
656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
657 Likewise.
658 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
659 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
660 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
661 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
662 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
664 Likewise.
665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
666 Likewise.
667 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
668 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
669 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
670
671 2016-12-30 Florian Weimer <fweimer@redhat.com>
672
673 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
674 compat-gethnamaddr.
675 (CPPFLAGS): Remove.
676 * resolv/gethnamaddr.c: Rename ...
677 * resolv/compat-gethnamaddr.c: ... to this file.
678 (_endhtent): Make static.
679 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
680 symbol.
681 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
682 compat symbol.
683 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
684 symbol.
685 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
686 Turn into compat symbol.
687 * include/resolv.h (_endhtent): Remove declaration.
688
689 2016-12-30 Joseph Myers <joseph@codesourcery.com>
690
691 * bits/types.h (__intmax_t): New typedef.
692 (__uintmax_t): Likewise.
693 * sysdeps/generic/stdint.h: Include <bits/types.h>.
694 (intmax_t): Define using __intmax_t.
695 (uintmax_t): Define using __uintmax_t.
696
697 * support/Makefile (tests-special): Make definition conditional on
698 [$(run-built-tests) = yes].
699 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
700 on [$(run-built-tests) = yes].
701
702 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
703
704 * Rules (tests): Add tests-printers-programs to tests to be
705 built.
706
707 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
708
709 * sysvipc/Makefile (tests): Add test-sysvshm.
710 * sysvipc/test-sysvshm.c: New file.
711
712 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
713 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
714 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
715 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
716 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
717 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
718 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
719 Likewise.
720 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
721 Likewise.
722 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
723 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
724 is defined.
725
726 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
727 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
728 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
729 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
730 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
731 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
732 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
733 Likewise.
734 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
735 Likewise.
736 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
737 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
738 defined.
739
740 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
741 oldshmctl.
742 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
743 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
744 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
745 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
746 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
747 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
748 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
749 Likewise.
750 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
751 Likewise.
752 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
753 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
754 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
755 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
756 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
757 implementation.
758 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
759 if it is defined.
760
761 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
762 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
763 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
764 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
765 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
766 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
767 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
768 Likewise.
769 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
770 Likewise.
771 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
772 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
773 Define to __NR_osf_shmat.
774 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
775 defined.
776
777 * sysvipc/Makefile (tests): Add test-sysvsem.
778 * sysvipc/test-sysvsem.c: New file.
779
780 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
781 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
782 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
783 Likewise.
784 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
785 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
786 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
787 Likewise.
788 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
789 Likewise.
790 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
791 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
792 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
793 add a comment about s390 syscall difference from default one.
794 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
795 syscall if it is defined.
796
797 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
798 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
799 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
800 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
801 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
802 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
803 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
804 Likewise.
805 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
806 Likewise.
807 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
808 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
809 defined.
810
811 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
812 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
813 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
814 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
815 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
816 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
817 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
818 Likewise.
819 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
820 Likewise.
821 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
822 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
823 if it is defined.
824
825 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
826 oldsemctl.
827 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
828 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
829 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
830 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
831 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
832 implementation.
833 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
834 syscall if it is defined.
835 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
836 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
837 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
838 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
839 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
840 Likewise.
841 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
842
843 * sysvipc/Makefile (tests): Add test-sysvmsg.
844 * sysvipc/test-sysvmsg.c: New file.
845 * support/check.h (FAIL_UNSUPPORTED): New define.
846
847 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
848 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
849 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
850 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
851 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
852 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
853 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
854 Likewise.
855 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
856 Likewise.
857 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
858 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
859 define.
860
861 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
862 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
863 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
864 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
865 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
866 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
867 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
868 Likewise.
869 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
870 Likewise.
871 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
872 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
873 if defined.
874
875 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
876 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
877 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
878 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
879 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
880 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
881 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
882 Likewise.
883 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
884 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
885 Likewise.
886 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
887 if defined.
888 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
889
890 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
891 oldmsgctl.
892 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
893 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
894 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
895 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
896 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
897 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
898 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
899 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
900 Likewise.
901 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
902 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
903 implementation.
904 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
905 if defined.
906
907 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
908 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
909 definition and define its own.
910 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
911 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
912 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
913 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
914 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
915 definitions to common header.
916 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
917 operation from ipc_ops.h.
918
919 * sysdeps/unix/sysv/linux/kernel-features.h
920 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
921 * sysdeps/unix/sysv/linux/i386/kernel-features.h
922 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
923 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
924 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
925 * sysdeps/unix/sysv/linux/mips/kernel-features.h
926 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
927 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
928 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
929 * sysdeps/unix/sysv/linux/s390/kernel-features.h
930 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
931 * sysdeps/unix/sysv/linux/sh/kernel-features.h
932 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
933 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
934 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
935
936 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
937
938 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
939 overflow in pointer addition.
940
941 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
942
943 * sysdeps/powerpc/powerpc64/multiarch/Makefile
944 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
946 (strchr): Add __strchr_power8 to list of strchr functions.
947 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
948 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
949 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
950 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
951 (strchr): Add __strchr_power8 to ifunc list.
952 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
953 (__strchrnul): Add __strchrnul_power8 to ifunc list.
954 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
955 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
956
957 2016-12-28 Florian Weimer <fweimer@redhat.com>
958
959 * support/Makefile (libsupport-routines): Add
960 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
961 (tests): Add tst-support_record_failure.
962 (tests-special): tst-support_record_failure-2.
963 (tst-support_record_failure-2.out): Depend on
964 tst-support_record_failure-2.sh and tst-support_record_failure.
965 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
966 (support_test_verify_impl, support_record_failure)
967 (support_report_failure, support_report_failure_reset): Declare.
968 * support/support_test_main.c (adjust_exit_status): New function.
969 (support_test_main): Call it to incorporate record test failures.
970 * support/support_test_verify_impl.c: New file.
971 * support/support_record_failure.c: Likewise.
972 * support/tst-support_record_failure.c: Likewise.
973 * support/tst-support_record_failure-2.sh: Likewise.
974 * support/xunistd.h: Likewise.
975 * support/xfork.c: Likewise.
976 * support/xwaitpid.c: Likewise.
977
978 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
979
980 * scripts/check-c++-types.sh: Add comments.
981
982 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
983
984 [BZ #19514]
985 * resolv/res_send.c: Fix typo in comment.
986 * sysdeps/i386/i386-mcount.S: Likewise.
987 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
988 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
989 * sysdeps/sparc/sparc-mcount.S: Likewise.
990
991 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
992
993 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
994 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
995 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
996 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
997 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
998 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
999 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1000 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1001
1002 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1003
1004 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1005
1006 2016-12-27 Florian Weimer <fweimer@redhat.com>
1007
1008 [BZ #17252]
1009 * posix/unistd.h (getentropy): Declare.
1010
1011 2016-12-27 Florian Weimer <fweimer@redhat.com>
1012
1013 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1014 Remove.
1015 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1016 (cmd): Remove spoof, nospoof, spoofalert.
1017 (parse_line): Ignore spoof-related lines.
1018 (do_init): Do not process RESOLV_SPOOF_CHECK.
1019
1020 2016-12-27 Florian Weimer <fweimer@redhat.com>
1021
1022 [BZ #20964]
1023 sunrpc: Always obtain AF_INET addresses from NSS.
1024 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1025 * sunrpc/rpc_gethostbyname.c: New file.
1026 * sunrpc/Makefile (routines): Add it.
1027 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1028 * sunrpc/clnt_simp.c (callrpc): Likewise.
1029 * sunrpc/getrpcport.c (getrpcport): Likewise.
1030
1031 2016-12-27 Florian Weimer <fweimer@redhat.com>
1032
1033 * sunrpc/rpcinfo.c: Remove.
1034 * sunrpc/Makefile: Remove comments referring to rpcinfo.
1035
1036 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1037
1038 [BZ# 19387]
1039 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1040 addition.
1041 * string/test-memchr.c (do_test): Remove alignment limitation.
1042 (test_main): Add test that trigger BZ# 19387.
1043
1044 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1045
1046 [BZ #7065]
1047 Enable stack protectore if requested by ./configure.
1048 * Makeconfig (+stack-protector): New variable.
1049 (+cflags): Use it.
1050
1051 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1052
1053 [BZ #7065]
1054 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1055 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1056 (__rt_sigreturn_stub): Use inhibit_stack_protector.
1057 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1058 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1059
1060 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1061
1062 [BZ #7065]
1063 * login/Makefile (pt_chown-cflags): Remove.
1064 * nscd/Makefile (CFLAGS-nscd): Likewise.
1065 * resolv/Makefile (CFLAGS-libresolv): Likewise.
1066
1067 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1068
1069 [BZ #7065]
1070 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1071 non-libc-linking testcase.
1072
1073 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1074 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1075 Florian Weimer <fweimer@redhat.com>
1076
1077 [BZ #7065]
1078 PLT avoidance for __stack_chk_fail*.
1079 * debug/Makefile (CFLAGS-stack_chk_fail.c)
1080 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1081 * debug/stack_chk_fail.c (__stack_chk_fail): Add
1082 __stack_chk_fail_local alias.
1083 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1084 (__stack_chk_fail): Turn into hidden reference to
1085 __stack_chk_fail_local.
1086
1087 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1088
1089 [BZ #7065]
1090 * configure.ac: Add check for unsupported stack-protection level.
1091 (libc_cv_predef_stack_protector): Remove.
1092 (no_ssp): New variable.
1093 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1094 (stack_protector): Set to -fno-stack-protector similarly.
1095 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1096 (libc_cv_asm_set_directive): Likewise.
1097 (libc_cv_protected_data): Likewise.
1098 (libc_cv_z_combreloc): Likewise.
1099 (libc_cv_hashstyle): Likewise.
1100 (libc_cv_has_glob_dat): Likewise.
1101 (libc_cv_output_format): Likewise.
1102 (libc_cv_output_format): Likewise.
1103 (libc_cv_ehdr_start): Likewise.
1104 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1105 (LIBC_LINKER_FEATURE): Likewise.
1106 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1107
1108 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1109
1110 [BZ #7065]
1111 * elf/Makefile (dummy-stack-chk-fail): New.
1112 (librtld.map): Use it.
1113
1114 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1115
1116 [BZ #7065]
1117 Compile the dynamic linker without stack protection.
1118 * elf/Makefile (elide-stack-protector): New.
1119 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1120 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1121 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1122 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1123
1124 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1125
1126 [BZ #7065]
1127 * config.make.in (have-ssp, no-stack-protector): New.
1128 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1129 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1130 (CFLAGS-sbrk.op): Likewise.
1131 (CFLAGS-brk.o): Likewise.
1132 (CFLAGS-brk.op): Likewise.
1133 * string/Makefile (CFLAGS-memcpy.c): Likewise.
1134 (CFLAGS-wordcopy.c): Likewise.
1135
1136 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1137
1138 [BZ #7065]
1139 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1140 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1141 * include/libc-symbols.h (inhibit_stack_protector): New macro.
1142 (__ifunc_resolver): Use it.
1143 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1144 inhibit_stack_protector.
1145 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1146 * elf/ifuncmain7.c (foo_ifunc): Likewise.
1147 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1148 (foo_protected_ifunc): Likewise.
1149 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1150 (foo_protected_ifunc): Likewise.
1151 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1152 * sysdeps/nacl/nacl_interface_query.c
1153 (nacl_interface_query_ifunc): Likewise.
1154 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1155 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1156 Likewise.
1157 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1158 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1159 the generated vDSO syscall resolver.
1160
1161 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1162 Florian Weimer <fweimer@redhat.com>
1163
1164 [BZ #7065]
1165 Initialize the stack guard earlier when linking statically.
1166 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1167 (__pthread_initialize_minimal): Declare.
1168 * csu/libc-start.c (__pthread_initialize_minimal): Remove
1169 declaration.
1170 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
1171 stack canary and apply_irel initialization up. Call
1172 __pthread_initialize_minimal only if linked in.
1173 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1174 constant values.
1175 (__pthread_initialize_minimal): Remove.
1176 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1177 (__pthread_initialize_minimal_internal): Do not call
1178 __libc_setup_tls.
1179
1180 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1181
1182 [BZ #7065]
1183 * configure.ac (libc_cv_ssp): Move up.
1184 (libc_cv_ssp_strong): Likewise.
1185 (libc_cv_ssp_all): New.
1186 (stack_protector): Augment, adding -fstack-protector-all.
1187 (no_stack_protector): New.
1188 (STACK_PROTECTOR_LEVEL): New.
1189 (AC_ARG_ENABLE(stack-protector)): New configure flag.
1190 * manual/install.texi (--enable-stack-protector): Document it.
1191 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1192
1193 2016-12-24 Carlos O'Donell <carlos@redhat.com>
1194
1195 * README.pretty-printers: Must specify CPPFLAGS-* also.
1196 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1197 (CPPFLAGS-test-mutex-printers.c): Define.
1198 (CPPFLAGS-test-condattr-printers.c): Define.
1199 (CPPFLAGS-test-cond-printers.c): Define.
1200 (CPPFLAGS-test-rwlockattr-printers.c): Define.
1201 (CPPFLAGS-test-rwlock-printers.c): Define.
1202
1203 * nss/Makefile [ifeq (yes,$(have-thread-library))]
1204 (tests): Add tst-cancel-getpwuid_r.
1205 * nss/tst-cancel-getpwuid_r.c: New file.
1206
1207 [BZ #11941]
1208 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1209 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1210 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1211 tst-nodelete-dlclose.
1212 (modules-names): Add tst-nodelete-dlclose-dso and
1213 tst-nodelete-dlclose-plugin.
1214 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1215 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1216 ($(objpfx)tst-nodelete-dlclose): Define.
1217 ($(objpfx)tst-nodelete-dlclose.out): Define.
1218
1219 2016-12-23 Florian Weimer <fweimer@redhat.com>
1220
1221 * scripts/test_printers_common.py: Log GDB output in case of
1222 Python detection failure.
1223
1224 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1225
1226 * configure.ac: Check for python3 or python.
1227 * configure: Regenerated.
1228 * config.make.in (PYTHON): New variable.
1229 * benchtests/Makefile: Don't define PYTHON.
1230 (bench): Define target only if PYTHON was defined.
1231 * Rules: Don't define PYTHON.
1232 Define pretty printer targets only if PYTHON was defined.
1233 (tests-printers): Add to tests-unsupported if PYTHON is not
1234 found.
1235 (python-flags, python-invoke): Remove.
1236 (tests-printers-out): Use PYTHON instead of python-invoke.
1237
1238 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1239
1240 [BZ #20978]
1241 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1242 Compare name == NULL, not name != NULL.
1243
1244 * manual/texinfo.tex: Update to version 2016-09-18.18 with
1245 trailing whitespace removed.
1246 * scripts/config.guess: Update to version 2016-10-02.
1247 * scripts/config.sub: Update to version 2016-11-19.
1248 * scripts/install-sh: Update to version 2016-01-11.22.
1249 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1250 * scripts/move-if-change: Update to version 2016-01-11 22:04.
1251
1252 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1253
1254 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1255 (do_one_test) Restore original string so iteration works.
1256 * string/string-inlines.c (do_test): Create better input strings.
1257 (test_main) Reduce number of testruns.
1258 * string/string-inlines.c (__old_strsep_1c): New function.
1259 (__old_strsep_2c): Likewise.
1260 (__old_strsep_3c): Likewise.
1261 * string/strsep.c (__strsep): Remove case of small delim string.
1262 Call strcspn directly rather than strpbrk.
1263 * string/bits/string2.h (__strsep): Remove define.
1264 (__strsep_1c): Remove.
1265 (__strsep_2c): Remove.
1266 (__strsep_3c): Remove.
1267 (strsep): Remove.
1268 * sysdeps/unix/sysv/linux/internal_statvfs.c
1269 (__statvfs_getflags): Rename to __strsep.
1270
1271 2016-12-21 Florian Weimer <fweimer@redhat.com>
1272
1273 * csu/libc-tls.c (_dl_tls_setup): Remove.
1274 * elf/dl-tls.c (_dl_tls_setup): Likewise.
1275 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1276 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1277
1278 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1279
1280 [BZ #7065]
1281 * sysdeps/x86_64/Makefile [$(subdir) = elf]
1282 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1283
1284 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1285 Florian Weimer <fweimer@redhat.com>
1286
1287 [BZ #7065]
1288 * csu/Makefile (tests): Empty assignment and document it.
1289 (tests-static): Remove.
1290 * csu/tst-empty.c: Move to...
1291 * misc/tst-empty.c: ... here. Switch to new test driver.
1292 * csu/tst-atomic.c: Move to...
1293 * misc/tst-atomic.c: ... here. Switch to new test driver.
1294 * csu/tst-atomic-long.c: Move to...
1295 * misc/tst-atomic-long.c: ... here.
1296 * misc/Makefile (tests): Add tst-empty, tst-atomic,
1297 tst-atomic-long.
1298 (tests-static): Add tst-empty.
1299
1300 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
1301
1302 * manual/nss.texi: Change incorrect @vtable to @table.
1303 * manual/arith.texi: Convert @tables of variables to @vtables
1304 and remove unnecessary indexing.
1305 * manual/filesys.texi: Likewise.
1306 * manual/llio.texi: Likewise.
1307 * manual/memory.texi: Likewise.
1308 * manual/process.texi: Likewise.
1309 * manual/resource.texi: Likewise.
1310 * manual/search.texi: Likewise.
1311 * manual/signal.texi: Likewise.
1312 * manual/socket.texi: Likewise.
1313 * manual/stdio.texi: Likewise.
1314 * manual/sysinfo.texi: Likewise.
1315 * manual/syslog.texi: Likewise.
1316 * manual/terminal.texi: Likewise.
1317 * manual/time.texi: Likewise.
1318 * manual/users.texi: Likewise.
1319
1320 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1321
1322 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1323 (roundeven): New declaration.
1324 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1325 macro.
1326 * math/Versions (roundeven): New libm symbol at version
1327 GLIBC_2.25.
1328 (roundevenf): Likewise.
1329 (roundevenl): Likewise.
1330 * math/Makefile (libm-calls): Add s_roundevenF.
1331 * math/libm-test.inc (roundeven_test_data): New array.
1332 (roundeven_test): New function.
1333 (main): Call roundeven_test.
1334 * math/test-tgmath.c (NCALLS): Increase to 134.
1335 (F(compile_test)): Call roundeven.
1336 (F(roundeven)): New function.
1337 * manual/arith.texi (Rounding Functions): Document roundeven,
1338 roundevenf and roundevenl.
1339 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1340 * include/math.h (roundeven): Use libm_hidden_proto.
1341 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1342 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1343 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1344 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1345 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1346 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1347 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1348 roundeven.
1349 (CFLAGS-nldbl-roundeven.c): New variable.
1350 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1351 * sysdeps/nacl/libm.abilist: Update.
1352 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1353 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1354 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1355 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1356 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1357 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1358 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1359 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1360 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1361 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1362 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1363 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1365 Likewise.
1366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1367 Likewise.
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1369 Likewise.
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1371 Likewise.
1372 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1373 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1374 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1375 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1376 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1378 Likewise.
1379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1380 Likewise.
1381 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1382 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1383 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1384
1385 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1386
1387 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1388 preprocessor indentation inside #if.
1389
1390 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1391
1392 * math/libm-test.inc (fmt_ftostr): New function.
1393 (print_float, check_float_internal): Replace some uses of
1394 FTOSTR with uses of fmt_ftostr.
1395 (print_max_error, print_complex_max_error, print_function_ulps)
1396 (print_complex_function_ulps): Remove uses of the macros
1397 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1398 * math/test-double.h (FTOSTR): Define to strfromd.
1399 (PRINTF_EXPR): Delete.
1400 (PRINTF_XEXPR): Likewise.
1401 (PRINTF_NEXPR): Likewise.
1402 * math/test-float.h (FTOSTR): Define to strfromf.
1403 (PRINTF_EXPR): Delete.
1404 (PRINTF_XEXPR): Likewise.
1405 (PRINTF_NEXPR): Likewise.
1406 * math/test-ldouble.h (FTOSTR): Define to strfroml.
1407 (PRINTF_EXPR): Delete.
1408 (PRINTF_XEXPR): Likewise.
1409 (PRINTF_NEXPR): Likewise.
1410
1411 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1412
1413 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1414 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1415 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1416 (__lll_lock_elision): Decrement adapt_count while unlocking
1417 instead of before locking.
1418 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1419 (__lll_trylock_elision): Likewise.
1420 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1421 (__lll_unlock_elision): Likewise.
1422
1423 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1424
1425 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1426 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1427 Use __libc_tbegin_retry macro.
1428
1429 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1430
1431 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1432 Add -msoft-float.
1433 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1434 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1435 Use __libc_t* transaction macros instead of __builtin_t*.
1436 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1437 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1438
1439 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1440
1441 * sysdeps/unix/sysv/linux/s390/elision-lock.c
1442 (__lll_lock_elision): Use atomics to load / store adapt_count.
1443 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1444 (__lll_trylock_elision): Likewise.
1445
1446 2016-12-20 Florian Weimer <fweimer@redhat.com>
1447
1448 Do not require memset elimination in explicit_bzero test.
1449 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
1450 (enum test_expectation): Add NO_EXPECTATIONS.
1451 (subtests): NO_EXPECTATIONS for ordinary clear.
1452 (check_test_buffer): Handle NO_EXPECTATIONS.
1453 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
1454
1455 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1456
1457 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1458 (fmaxmag): New declaration.
1459 (fminmag): Likewise.
1460 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
1461 macro.
1462 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
1463 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
1464 (fmaxmagf): Likewise.
1465 (fmaxmagl): Likewise.
1466 (fminmag): Likewise.
1467 (fminmagf): Likewise.
1468 (fminmagl): Likewise.
1469 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
1470 * math/s_fmaxmag_template.c: New file.
1471 * math/s_fminmag_template.c: Likewise.
1472 * math/libm-test.inc (fmaxmag_test_data): New array.
1473 (fmaxmag_test): New function.
1474 (fminmag_test_data): New array.
1475 (fminmag_test): New function.
1476 (main): Call fmaxmag_test and fminmag_test.
1477 * math/test-tgmath.c (NCALLS): Increase to 132.
1478 (F(compile_test)): Call fmaxmag and fminmag.
1479 (F(fminmag)): New function.
1480 (F(fmaxmag)): Likewise.
1481 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
1482 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
1483 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
1484 fminmag.
1485 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
1486 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
1487 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1488 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1489 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
1490 and fminmag.
1491 (CFLAGS-nldbl-fmaxmag.c): New variable.
1492 (CFLAGS-nldbl-fminmag.c): Likewise.
1493 * sysdeps/nacl/libm.abilist: Update.
1494 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1495 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1496 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1497 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1498 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1499 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1500 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1501 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1502 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1503 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1504 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1505 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1507 Likewise.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1509 Likewise.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1511 Likewise.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1513 Likewise.
1514 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1515 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1516 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1517 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1518 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1520 Likewise.
1521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1522 Likewise.
1523 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1524 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1525 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1526
1527 2016-12-19 Torvald Riegel <triegel@redhat.com>
1528
1529 [BZ #20973]
1530 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
1531 wake-up in robust mutexes.
1532 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1533
1534 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1535
1536 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
1537 (CFLAGS-bench-fmaxf.c): New rule.
1538 (CFLAGS-bench-fminf.c): Likewise.
1539 * benchtests/fmaxf-inputs: New file.
1540 * benchtests/fminf-inputs: Likewise.
1541
1542 * benchtests/Makefile (bench-math): Add fmin and fmax.
1543 (CFLAGS-bench-fmax.c): New rule.
1544 (CFLAGS-bench-fmin.c): Likewise.
1545 * benchtests/fmax-inputs: New file.
1546 * benchtests/fmin-inputs: Likewise.
1547
1548 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
1549 parenthesis.
1550 (CMDLINE_PROCESS): Define using function instead of macro.
1551 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
1552 of test-skeleton.
1553 * benchtests/bench-memchr.c: Likewise.
1554 * benchtests/bench-memcmp.c: Likewise.
1555 * benchtests/bench-memcpy-large.c: Likewise.
1556 * benchtests/bench-memcpy.c: Likewise.
1557 * benchtests/bench-memmem.c: Likewise.
1558 * benchtests/bench-memmove-large.c: Likewise.
1559 * benchtests/bench-memmove.c: Likewise.
1560 * benchtests/bench-memset-large.c: Likewise.
1561 * benchtests/bench-memset.c: Likewise.
1562 * benchtests/bench-rawmemchr.c: Likewise.
1563 * benchtests/bench-strcasecmp.c: Likewise.
1564 * benchtests/bench-strcasestr.c: Likewise.
1565 * benchtests/bench-strcat.c: Likewise.
1566 * benchtests/bench-strchr.c: Likewise.
1567 * benchtests/bench-strcmp.c: Likewise.
1568 * benchtests/bench-strcpy.c: Likewise.
1569 * benchtests/bench-strcpy_chk.c: Likewise.
1570 * benchtests/bench-strlen.c: Likewise.
1571 * benchtests/bench-strncasecmp.c: Likewise.
1572 * benchtests/bench-strncmp.c: Likewise.
1573 * benchtests/bench-strncpy.c: Likewise.
1574 * benchtests/bench-strnlen.c: Likewise.
1575 * benchtests/bench-strpbrk.c: Likewise.
1576 * benchtests/bench-strrchr.c: Likewise.
1577 * benchtests/bench-strsep.c: Likewise.
1578 * benchtests/bench-strspn.c: Likewise.
1579 * benchtests/bench-strstr.c: Likewise.
1580 * benchtests/bench-strtok.c: Likewise.
1581
1582 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
1583
1584 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
1585 stepping identification.
1586 (init_cpu_features): Add handle of Haswell.
1587
1588 2016-11-25 Jim Meyering <meyering@fb.com>
1589
1590 [BZ #20386]
1591 Let gcc detect assert(a = 1) errors.
1592 * assert/assert.h (assert): Rewrite, retaining the old definintion
1593 when required, but otherwise putting the expression as-is in an "if"
1594 expression (hence, with no added parentheses) within a statement
1595 expression.
1596
1597 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
1598
1599 * benchtests/Makefile (binaries-benchset): Depend on libsupport
1600 DSO.
1601
1602 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
1603
1604 * Rules (python-flags, python-invoke): New.
1605 ($(test-printers-out)): Use $(python-flags).
1606
1607 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1608
1609 * manual/arith.texi (Math Error Reporting): Document that sNaN
1610 arguments are not considered domain errors.
1611
1612 2016-12-16 Zack Weinberg <zackw@panix.com>
1613 Florian Weimer <fweimer@redhat.com>
1614 Nick Mathewson <nickm@torproject.org>
1615
1616 * string/explicit_bzero.c: New routine.
1617 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
1618 * string/Makefile (routines, strop-tests, tests): Add them.
1619 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
1620 * string/string.h [__USE_MISC]: Declare explicit_bzero.
1621
1622 * debug/explicit_bzero_chk.c: New routine.
1623 * debug/Makefile (routines): Add it.
1624 * debug/tst-chk1.c: Test fortification of explicit_bzero.
1625 * string/bits/string3.h: Fortify explicit_bzero.
1626
1627 * manual/string.texi: Document explicit_bzero.
1628 * NEWS: Mention addition of explicit_bzero.
1629
1630 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
1631 data before returning, using explicit_bzero.
1632 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
1633 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1634 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1635
1636 * include/string.h: Redirect internal uses of explicit_bzero
1637 to __explicit_bzero_chk[_internal].
1638 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
1639 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
1640 * sysdeps/arm/nacl/libc.abilist
1641 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1642 * sysdeps/unix/sysv/linux/alpha/libc.abilist
1643 * sysdeps/unix/sysv/linux/arm/libc.abilist
1644 * sysdeps/unix/sysv/linux/hppa/libc.abilist
1645 * sysdeps/unix/sysv/linux/i386/libc.abilist
1646 * sysdeps/unix/sysv/linux/ia64/libc.abilist
1647 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1648 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1649 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1650 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1651 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1652 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1653 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1654 * sysdeps/unix/sysv/linux/nios2/libc.abilist
1655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1659 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1660 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1661 * sysdeps/unix/sysv/linux/sh/libc.abilist
1662 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1663 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1666 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1667 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1668 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1669 Add entries for explicit_bzero and __explicit_bzero_chk.
1670
1671 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1672
1673 * math/fenv.h
1674 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
1675 (FE_SNANS_ALWAYS_SIGNAL): New macro.
1676 * math/test-fe-snans-always-signal.c: New file.
1677 * math/Makefile (tests): Add test-fe-snans-always-signal.
1678 (CFLAGS-test-fe-snans-always-signal.c): New variable.
1679 * manual/arith.texi (Infinity and NaN): Document
1680 FE_SNANS_ALWAYS_SIGNAL.
1681
1682 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1683
1684 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
1685 bracket.
1686
1687 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1688
1689 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
1690 before calling execv.
1691
1692 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1693
1694 [BZ# 20971]
1695 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
1696 overflow in pointer addition.
1697 * string/test-memchr.c (do_test): Add an argument to pass as
1698 the size on memchr.
1699 (test_main): Add check for SIZE_MAX.
1700
1701 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1702
1703 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
1704 (libm-calls): Add w_scalblnF.
1705 * math/w_scalbln.c: Remove.
1706 * math/w_scalblnf.c: Likewise.
1707 * math/w_scalblnl.c: Likewise.
1708 * math/w_scalbln_template.c: New file with type-generic
1709 implementation based on math/w_scalbln.c.
1710 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
1711 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
1712
1713 2016-12-15 Joseph Myers <joseph@codesourcery.com>
1714
1715 [BZ #20947]
1716 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
1717 either is a signaling NaN.
1718 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
1719 follow fmaxl more closely.
1720 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
1721 when either is a signaling NaN.
1722 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
1723 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
1724 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
1725 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
1726 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
1727 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
1728 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
1729 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
1730 (fmin_test_data): Likewise.
1731
1732 2016-12-15 Andreas Schwab <schwab@suse.de>
1733
1734 * support/support_test_main.c (support_test_main): Don't shadow
1735 file-local variable test_pid.
1736
1737 2016-12-15 Joseph Myers <joseph@codesourcery.com>
1738
1739 [BZ #20947]
1740 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
1741 either is a signaling NaN.
1742 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
1743
1744 2016-12-14 Joseph Myers <joseph@codesourcery.com>
1745
1746 [BZ #20947]
1747 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
1748 when either is a signaling NaN.
1749 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
1750
1751 * bits/long-double.h: New file.
1752 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
1753 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
1754 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
1755 * sysdeps/mips/bits/long-double.h: Likewise.
1756 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
1757 * math/Makefile (headers): Add bits/long-double.h.
1758 * misc/sys/cdefs.h: Include <bits/long-double.h>.
1759 * stdlib/strtold.c: Include <bits/long-double.h> instead of
1760 <bits/wordsize.h>.
1761 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
1762 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
1763 * math/math.h: Do not include <bits/mathdef.h>.
1764 * sysdeps/aarch64/bits/mathdef.h: Remove file.
1765 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
1766 inclusion.
1767 * sysdeps/ia64/bits/mathdef.h: Remove file.
1768 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
1769 * sysdeps/mips/bits/mathdef.h: Likewise.
1770 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1771 * sysdeps/s390/bits/mathdef.h: Likewise.
1772 * sysdeps/sparc/bits/mathdef.h: Likewise.
1773 * sysdeps/x86/bits/mathdef.h: Likewise.
1774 * sysdeps/s390/s390-32/bits/wordsize.h
1775 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
1776 conditional code.
1777 * sysdeps/s390/s390-64/bits/wordsize.h
1778 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1779 Likewise.
1780 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
1781 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1782 Likewise.
1783 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
1784 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1785 Likewise.
1786 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1787 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1788 Likewise.
1789
1790 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
1791 <linux/falloc.h>.
1792 (FALLOC_FL_KEEP_SIZE): Remove.
1793 (FALLOC_FL_PUNCH_HOLE): Likewise.
1794 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
1795 (FALLOC_FL_ZERO_RANGE): Likewise.
1796
1797 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1798
1799 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
1800
1801 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1802
1803 * sysdeps/unix/sysv/linux/renameat.c: New file.
1804 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
1805
1806 * sysdeps/unix/sysv/linux/rename.c: New file.
1807 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
1808
1809 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
1810
1811 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
1812 * string/strtok.c (strtok): Change to tailcall __strtok_r.
1813 * string/strtok_r.c (__strtok_r): Optimize for performance.
1814 * string/string-inlines.c (__old_strtok_r_1c): New function.
1815 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
1816
1817 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1818
1819 * math/Makefile (gen-libm-calls): Add w_log1pF.
1820 (libm-calls): Remove w_log1pF.
1821 * math/w_log1p.c: Remove.
1822 * math/w_log1pf.c: Likewise.
1823 * math/w_log1pl.c: Likewise.
1824 * math/w_log1p_template.c: New file with type-generic
1825 implementation based on math/w_log1p.c.
1826 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
1827 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
1828
1829 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
1830
1831 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
1832
1833 2016-12-14 Joseph Myers <joseph@codesourcery.com>
1834
1835 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1836 kernel version to 4.9.
1837
1838 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
1839
1840 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
1841 ($(inst_libdir)/libm.a): Fix rule to create the target only.
1842
1843 2016-12-13 Andreas Schwab <schwab@suse.de>
1844
1845 * sysdeps/powerpc/dl-procinfo.c: Don't define
1846 _dl_powerpc_platforms.
1847 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
1848 constants instead of referencing _dl_powerpc_platforms.
1849 (_dl_platform_string): Remove.
1850
1851 2016-12-13 Florian Weimer <fweimer@redhat.com>
1852
1853 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
1854
1855 2016-12-13 Florian Weimer <fweimer@redhat.com>
1856
1857 * Rules (binaries-shared-tests, binaries-pie-tests)
1858 (binaries-static-tests): Link with $(link-extra-libs-tests).
1859 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
1860 Remove $(link-extra-libs-tests).
1861
1862 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1863
1864 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1865 (sysdep_routines): Add strncmp_power9.
1866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1867 (strncmp): Add __strncmp_power9 to list of strncmp functions.
1868 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
1869 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
1870 (strncmp): Add __strncmp_power9 to ifunc list.
1871 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
1872
1873 2016-12-12 Florian Weimer <fweimer@redhat.com>
1874
1875 [BZ #17252]
1876 Add getentropy, getrandom.
1877 * stdlib/sys/random.h: New file.
1878 (headers): Add it.
1879 * stdlib/Makefile (routines): Add getentropy, getrandom.
1880 (tests): Add tst-getrandom.
1881 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
1882 * stdlib/getentropy.c: New file.
1883 * stdlib/getrandom.c: Likewise.
1884 * stdlib/tst-getrandom.c: Likewise.
1885 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
1886 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
1887 * manual/crypt.texi (Unpredictable Bytes): New section.
1888 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
1889 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
1890 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1891 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1892 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1893 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1894 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1895 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1896 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1897 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1898 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1899 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1900 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1901 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1902 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1903 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1905 Likewise.
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1907 Likewise.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1910 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1911 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1912 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1913 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1914 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1917 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1918 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1919 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1920
1921 2016-12-10 Florian Weimer <fweimer@redhat.com>
1922
1923 [BZ #20956]
1924 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
1925 as additional compiler barriers.
1926 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
1927 (fn2, do_test): Declare with external linkage.
1928 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
1929 (do_test): Declare with external linkage.
1930 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
1931 (do_test): Declare with external linkage.
1932 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
1933 (do_test): Declare with external linkage.
1934
1935 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
1936
1937 * support/support_test_main.c (support_test_main): Use correct
1938 timeout.
1939
1940 2016-12-09 Carlos O'Donell <carlos@redhat.com>
1941 Florian Weimer <fweimer@redhat.com>
1942
1943 [BZ #16421]
1944 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
1945 and __u6_addr32 members.
1946 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
1947 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
1948 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
1949 Use __u6_addr32.
1950 * inet/tst-checks.c: Use <support/test-driver.c>
1951 * inet/tst-checks-posix.c: New file.
1952 * inet/Makefile (tests): Add it.
1953 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
1954
1955 2016-12-09 Florian Weimer <fweimer@redhat.com>
1956
1957 New subdirectory support for build and test infrastructure.
1958 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
1959 setting install-lib.
1960 * Makeconfig (link-extra-libs-tests): Define.
1961 (+link-pie-tests, +link-static-tests, +link-tests): Use
1962 link-extra-libs-tests.
1963 (rpath-dirs, all-subdirs): Add support.
1964 (built-modules): Add libsupport.
1965 (libsupport): Define.
1966 * support: New directory.
1967 * support/Makefile: New file.
1968 * support/check.c: Likewise.
1969 * support/check.h: Likewise.
1970 * support/delayed_exit.c: Likewise.
1971 * support/ignore_stderr.c: Likewise.
1972 * support/oom_error.c: Likewise.
1973 * support/set_fortify_handler.c: Likewise.
1974 * support/support.h: Likewise.
1975 * support/temp_file-internal.h: Likewise.
1976 * support/temp_file.c: Likewise.
1977 * support/test-driver.c: Likewise.
1978 * support/test-driver.h: Likewise.
1979 * support/test_main.c: Likewise.
1980 * support/write_message.c: Likewise.
1981 * support/xasprintf.c: Likewise.
1982 * support/xcalloc.c: Likewise.
1983 * support/xmalloc.c: Likewise.
1984 * support/xpthread_barrier_destroy.c: Likewise.
1985 * support/xpthread_barrier_init.c: Likewise.
1986 * support/xpthread_barrier_wait.c: Likewise.
1987 * support/xpthread_cancel.c: Likewise.
1988 * support/xpthread_check_return.c: Likewise.
1989 * support/xpthread_cond_wait.c: Likewise.
1990 * support/xpthread_create.c: Likewise.
1991 * support/xpthread_detach.c: Likewise.
1992 * support/xpthread_join.c: Likewise.
1993 * support/xpthread_mutex_lock.c: Likewise.
1994 * support/xpthread_mutex_unlock.c: Likewise.
1995 * support/xpthread_sigmask.c: Likewise.
1996 * support/xpthread_spin_lock.c: Likewise.
1997 * support/xpthread_spin_unlock.c: Likewise.
1998 * support/xrealloc.c: Likewise.
1999 * support/xsignal.h: Likewise.
2000 * support/xthread.h: Likewise.
2001 * support_tempfile.h: Likewise.
2002 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2003 (TEST_DATA_LIMIT): Remove unused macro.
2004 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
2005 <support/check.h>.
2006 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2007 (ignore_stderr, set_fortify_handler): Remove. Now in
2008 <support/support.h>.
2009 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
2010 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2011 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2012 (xpthread_join): Remove. Now in <support/xthread.h>.
2013 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2014 Introduce legacy wrappers.
2015 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2016 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2017 (write_message): Remove.
2018 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2019 test-skeleton.c.
2020 * io/test-open-tmpfile: Likewise.
2021 * io/tst-posix_fallocate-common.c: Likewise.
2022 * libio/tst-fseek.c: Likewise.
2023 * malloc/tst-malloc-backtrace.c: Likewise.
2024 * malloc/tst-malloc-fork-deadlock.c: Likewise.
2025 * malloc/tst-malloc-thread-exit.c: Likewise.
2026 * nptl/tst-cancel7.c: Likewise.
2027 * nptl/tst-cleanup0.c: Likewise.
2028 * posix/tst-posix_fadvise-common.c: Likewise.
2029 * rt/tst-shm.c: Likewise.
2030 * time/bug-getdate1.c: Likewise.
2031 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2032 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2033 * elf/Makefile (tst-piemod1.so): Link against libsupport.
2034
2035 2016-12-08 Joseph Myers <joseph@codesourcery.com>
2036
2037 * Rules [$(run-built-tests) != no] (tests-expected): Add
2038 $(tests-printers).
2039 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2040
2041 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
2042
2043 [BZ #20539]
2044 * math/Makefile (install-lib-ldscripts): Add libm.a.
2045 (install_subdir): Remove.
2046 (install-others): Add.
2047 ($(inst_libdir)/libm.a): Add rule for installation as
2048 linker script.
2049 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2050
2051 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
2052
2053 * INSTALL: Regenerated.
2054 * Makeconfig: Add comments and whitespace to make the control flow
2055 clearer.
2056 (+link-printers-tests, +link-pie-printers-tests,
2057 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2058 built-rtld-LDFLAGS, link-libc-rpath,
2059 link-libc-tests-after-rpath-link,
2060 link-libc-printers-tests): New.
2061 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2062 link-libc-tests): Use the new variables as required.
2063 * Makerules ($(py-const)): New rule.
2064 generated: Add $(py-const).
2065 * README.pretty-printers: New file.
2066 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2067 (others): Depend on $(py-const).
2068 (tests): Depend on $(tests-printers-programs) or
2069 $(tests-printers-out),
2070 as required. Pass $(tests-printers) to merge-test-results.sh.
2071 * manual/install.texi: Add requirements for testing the pretty
2072 printers.
2073 * nptl/Makefile (gen-py-const-headers, pretty-printers,
2074 tests-printers, CFLAGS-test-mutexattr-printers.c
2075 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2076 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2077 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2078 * nptl/nptl-printers.py: New file.
2079 * nptl/nptl_lock_constants.pysym: Likewise.
2080 * nptl/test-cond-printers.c: Likewise.
2081 * nptl/test-cond-printers.py: Likewise.
2082 * nptl/test-condattr-printers.c: Likewise.
2083 * nptl/test-condattr-printers.py: Likewise.
2084 * nptl/test-mutex-printers.c: Likewise.
2085 * nptl/test-mutex-printers.py: Likewise.
2086 * nptl/test-mutexattr-printers.c: Likewise.
2087 * nptl/test-mutexattr-printers.py: Likewise.
2088 * nptl/test-rwlock-printers.c: Likewise.
2089 * nptl/test-rwlock-printers.py: Likewise.
2090 * nptl/test-rwlockattr-printers.c: Likewise.
2091 * nptl/test-rwlockattr-printers.py: Likewise.
2092 * scripts/gen-py-const.awk: Likewise.
2093 * scripts/test_printers_common.py: Likewise.
2094 * scripts/test_printers_exceptions.py: Likewise.
2095
2096 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2097
2098 * scripts/build-many-glibcs.py (Context.__init__): Take strip
2099 argument.
2100 (Glibc.build_glibc): Strip installed shared libraries if
2101 requested.
2102 (get_parser): Add --strip option.
2103 (main): Update Context call.
2104
2105 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2106 Dominik Vogt <vogt@linux.vnet.ibm.com>
2107
2108 [BZ #20847]
2109 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2110 array bounds for else branch.
2111 (__execvpe): Style fixes.
2112 * posix/tst-vfork3.c (run_script): New function.
2113 (create_script): Likewise.
2114 (do_test): Use run_script internal function.
2115 (do_prepare): Use create_script internal function.
2116
2117 2016-12-07 Andreas Schwab <schwab@suse.de>
2118
2119 * sysdeps/unix/sysv/linux/x86/elision-conf.h
2120 (__elision_available): Don't declare.
2121 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2122 (__elision_available): Don't define.
2123 (elision_init): Don't set __elision_available.
2124
2125 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2126
2127 [BZ #20940]
2128 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2129 return Inf for arguments Inf and sNaN.
2130 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2131 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2132 Likewise.
2133 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2134 Likewise.
2135 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2136 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2137 for arguments Inf and sNaN. When returning a NaN, compute it by
2138 arithmetic on the arguments.
2139 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2140 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2141 arguments.
2142
2143 2016-12-06 Joseph Myers <joseph@codesourcery.com>
2144
2145 [BZ #20916]
2146 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2147 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
2148 to compute result.
2149 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2150 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2151
2152 2016-12-05 Torvald Riegel <triegel@redhat.com>
2153
2154 * include/atomic.h (__atomic_check_size_ls): New.
2155 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2156 atomic_store_release): Use it.
2157 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2158 (elision_adapt, ELIDE_LOCK): Use atomics.
2159 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2160 atomics and improve code comments.
2161 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2162 (__lll_trylock_elision): Likewise.
2163
2164 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2165
2166 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2167 programs.
2168
2169 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2170
2171 [BZ #20916]
2172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2173 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
2174 arguments to compute result.
2175 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2176 1 for arguments (sNaN, 0) or (1, sNaN).
2177 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2179
2180 [BZ #20919]
2181 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2182 NaN first argument when raised to power 0.
2183 * math/w_pow.c (__pow): Do not check for NaN or zero results from
2184 raising to power zero.
2185 * math/w_powf.c (__powf): Likewise.
2186 * math/w_powl.c (__powl): Likewise.
2187 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2188 pow (0, 0) or pow (NaN, 0).
2189
2190 2016-12-02 Carlos O'Donell <carlos@redhat.com>
2191
2192 [BZ #20918]
2193 * configure.ac: Test for static NSS cryptographic libraries and set
2194 libc_cv_static_nss_crypt.
2195 * configure: Regenerate.
2196 * config.make.in (static-nss-crypt): Define.
2197 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2198 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2199 (CFLAGS-tst-linkall-static.c): Define.
2200 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2201 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2202 ($(objpfx)tst-linkall-static): Define.
2203 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2204 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2205
2206 2016-12-02 Florian Weimer <fweimer@redhat.com>
2207
2208 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2209 (one-hundred, tst-tls-many-dynamic-modules): Define.
2210 (modules-names): Add $(tst-tls-many-dynamic-modules).
2211 (tst-tls-manydynamic%mod.os): Build with special preprocessor
2212 macros.
2213 (tst-tls-manydynamic): Link against libdl, libpthread.
2214 (tst-tls-manydynamic.out): The test needs the test modules at run
2215 time.
2216 * elf/tst-tls-manydynamic.c: New file.
2217 * elf/tst-tls-manydynamic.h: Likewise.
2218 * elf/tst-tls-manydynamicmod.c: Likewise.
2219
2220 2016-12-02 Florian Weimer <fweimer@redhat.com>
2221
2222 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2223 (TLS_DTV_UNALLOCATED): Add.
2224 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2225 offsets.
2226
2227 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2228
2229 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2230
2231 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2232
2233 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2234 Add -fno-optimize-sibling-calls.
2235
2236 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2237
2238 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2239 New declaration.
2240 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2241 macro.
2242 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2243 New macro.
2244 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2245 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2246 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2247 (llogbf): Likewise.
2248 (llogbl): Likewise.
2249 * math/Makefile (gen-libm-calls): Add w_llogbF.
2250 (tests): Add test-fp-llogb-constants.
2251 * math/w_llogb_template.c: New file. Based on
2252 math/w_ilogb_template.c.
2253 * math/libm-test.inc (llogb_test_data): New array.
2254 (llogb_test): New function.
2255 (main): Call llogb_test.
2256 * math/test-fp-llogb-constants.c: New file. Based on
2257 math/test-fp-ilogb-constants.c.
2258 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2259 (do_test): Call check_return_llogb.
2260 * math/test-tgmath.c (NCALLS): Increase to 126.
2261 (F(compile_test)): Call llogb.
2262 (F(llogb)): New function.
2263 * manual/math.texi (Exponents and Logarithms): Document llogb,
2264 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2265 * manual/libm-err-tab.pl (@all_functions): Add llogb.
2266 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2267 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2269 (CFLAGS-nldbl-llogb.c): New variable.
2270 * sysdeps/nacl/libm.abilist: Update.
2271 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2272 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2273 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2274 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2275 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2276 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2277 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2278 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2279 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2280 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2281 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2282 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2284 Likewise.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2286 Likewise.
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2288 Likewise.
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2290 Likewise.
2291 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2292 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2293 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2294 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2295 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2297 Likewise.
2298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2299 Likewise.
2300 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2301 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2302 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2303
2304 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2305
2306 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2307 _Float128 instead of long double.
2308 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2309
2310 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2311 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2312 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2313 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2314 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2315 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2316 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2317 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2318 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2319 Likewise.
2320
2321 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2322
2323 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2324 Remove redirection to __strrchr_ppc.
2325
2326 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2327
2328 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2329 (sysdep_routines): Add strcmp_power9.
2330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2331 (strcmp): Add __strcmp_power9 to list of strcmp functions.
2332 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2333 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2334 (strcmp): Add __strcmp_power9 to ifunc list.
2335 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2336
2337 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2338
2339 * bits/fp-logb.h: New file.
2340 * sysdeps/ia64/bits/fp-logb.h: Likewise.
2341 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2342 * sysdeps/x86/bits/fp-logb.h: Likewise.
2343 * math/Makefile (headers): Add bits/fp-logb.h.
2344 * math/math.h: Include <bits/fp-logb.h>.
2345 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2346 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2347 * bits/mathdef.h (FP_ILOGB0): Remove.
2348 (FP_ILOGBNAN): Likewise.
2349 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2350 (FP_ILOGBNAN): Likewise.
2351 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2352 (FP_ILOGBNAN): Likewise.
2353 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2354 (FP_ILOGBNAN): Likewise.
2355 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2356 (FP_ILOGBNAN): Likewise.
2357 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2358 (FP_ILOGBNAN): Likewise.
2359 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2360 (FP_ILOGBNAN): Likewise.
2361 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2362 (FP_ILOGBNAN): Likewise.
2363 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2364 (FP_ILOGBNAN): Likewise.
2365 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2366 (FP_ILOGBNAN): Likewise.
2367
2368 * scripts/build-many-glibcs.py: Add bot to usage message. Import
2369 time module.
2370 (Context.__init__): Initialize self.logsdir_old.
2371 (Context.run_builds): Handle bot action.
2372 (Context.bot_cycle): Copy logs directory before running builds.
2373 (Context.bot_run_self): Take argument for whether to check
2374 subprocess result. Flush stdout before running subprocess.
2375 (Context.bot): New function.
2376 (get_parser): Allow bot action.
2377
2378 2016-11-30 Joseph Myers <joseph@codesourcery.com>
2379
2380 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2381 Import email.mime.text, email.utils and smtplib modules.
2382 (Context.__init__): Initialize self.bot_config_json.
2383 (Context.run_builds): Handle bot-cycle action.
2384 (Context.load_bot_config_json): New function.
2385 (Context.part_build_old): Likewise.
2386 (Context.bot_cycle): Likewise.
2387 (Context.bot_build_mail): Likewise.
2388 (Context.bot_run_self): Likewise.
2389 (get_parser): Allow bot-cycle action.
2390
2391 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2392
2393 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2394 Remove redirection to __stpcpy_ppc.
2395
2396 2016-11-30 Florian Weimer <fweimer@redhat.com>
2397
2398 Remove __libc_memalign from ld.so because it is unused.
2399 * elf/dl-minimal.c: Update comment on the malloc implementation.
2400 (malloc): Renamed from __libc_memalign, replacing the original
2401 malloc implementation. Replace the align parameter with
2402 MALLOC_ALIGNMENT.
2403 * elf/Versions (ld): Update comment and remove __libc_memalign.
2404 * sysdeps/nacl/ld.abilist: Likewise.
2405 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2406 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2407 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2408 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2409 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2410 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2411 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2412 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2413 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2414 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2415 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2416 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2417 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2421 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2422 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2423 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2424 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2425 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2428 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2429 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2430 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2431 * sysdeps/generic/localplt.data (ld.so): Likewise.
2432 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2433 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2434 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2435 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2436 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2437 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2438 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2439 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2440 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2442 (ld.so): Likewise.
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2444 (ld.so): Likewise.
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2446 Likewise.
2447 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2448 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2449 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
2450 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
2451 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2452
2453 2016-11-30 Florian Weimer <fweimer@redhat.com>
2454
2455 [BZ #16628]
2456 Implement _dl_catch_error, _dl_signal_error in libc.so.
2457 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
2458 (catch_hook): Define as thread-local or regular variable,
2459 depending on DL_ERROR_BOOTSTRAP.
2460 (CATCH_HOOK): Remove.
2461 (dl_signal_error, _dl_catch_error): Use
2462 catch_hook. Add hidden definition for libc.
2463 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
2464 for DL_ERROR_BOOTSTRAP only.
2465 * elf/dl-error.c: New file.
2466 * elf/dl-error-minimal.c: Likewise.
2467 * elf/tst-latepthread.c: Likewise.
2468 * elf/tst-latepthreadmod.c: Likewise.
2469 * elf/Makefile (routines): Add dl-error.
2470 (dl-routines): Remove dl-error.
2471 (rtld-routines): Add dl-error-minimal.
2472 [build-shared] (tests): Add tst-latepthread.
2473 (module-names): Add tst-latepthreadmod.
2474 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
2475 symbol.
2476 (tst-latepthreadmod.so): Link against libpthread.
2477 (tst-latepthread): Link against libdbl.
2478 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
2479 _dl_catch_error.
2480 [ld] (GLIBC_PRIVATE): Likewise.
2481 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
2482 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
2483 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
2484 directly.
2485 * elf/dl-tsd.c: Remove file.
2486 * elf/rtld.c (_rtld_global_ro): Remove initializers for
2487 _dl_catch_error, _dl_signal_error.
2488 (_dl_initial_error_catch_tsd): Remove definition.
2489 (do_preload): Remove initialization of dl_error_catch_tsd.
2490 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
2491 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
2492 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2493 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2494 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
2495 set dl_error_catch_tsd.
2496 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
2497 _dl_error_catch_tsd member.
2498 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
2499 members.
2500 (_dl_initial_error_catch_tsd): Remove declaration.
2501 (_dl_dprintf): Provide definition for use outside of ld.so.
2502 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
2503 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
2504 prototype for libc.
2505 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
2506 _dl_catch_error.
2507 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2508 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2509 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2510 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2511 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2512 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2513 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2514 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2515 Likewise.
2516 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2518 (ld.so): Likewise.
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2520 (ld.so): Likewise.
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2522 Likewise.
2523 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2524 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2525 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2526 Likewise.
2527 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2528 Likewise.
2529 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2530
2531 2016-11-30 Florian Weimer <fweimer@redhat.com>
2532
2533 [BZ #4099]
2534 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
2535 _IO_BUFSIZ (8192).
2536
2537 2016-11-30 Carlos O'Donell <carlos@redhat.com>
2538
2539 * PROJECTS: Remove file.
2540
2541 2016-11-29 Florian Weimer <fweimer@redhat.com>
2542
2543 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
2544
2545 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
2546 Steve Ellcey <sellcey@caviumnetworks.com>
2547
2548 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
2549 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
2550 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
2551 fxstatat.
2552 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
2553 lxstat.
2554 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
2555 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
2556 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
2557 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
2558 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
2559 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
2560 __xstat.
2561
2562 2016-11-29 Florian Weimer <fweimer@redhat.com>
2563
2564 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
2565 Define.
2566 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
2567 definition.
2568
2569 2016-11-29 Florian Weimer <fweimer@redhat.com>
2570
2571 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
2572 version and turn into strong alias. Remove compat symbol.
2573
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2575 (__longjmp): Remove.
2576
2577 2016-11-29 Joseph Myers <joseph@codesourcery.com>
2578
2579 * bits/fp-fast.h: New file.
2580 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
2581 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
2582 * math/Makefile (headers): Add bits/fp-fast.h.
2583 * math/math.h: Include <bits/fp-fast.h>.
2584 * bits/mathdef.h (FP_FAST_FMA): Remove.
2585 (FP_FAST_FMAF): Likewise.
2586 (FP_FAST_FMAL): Likewise.
2587 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
2588 (FP_FAST_FMAF): Likewise.
2589 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
2590 (FP_FAST_FMAF): Likewise.
2591 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
2592 (FP_FAST_FMAF): Likewise.
2593 (FP_FAST_FMAL): Likewise.
2594 * sysdeps/arm/bits/mathdef.h: Remove file.
2595 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
2596 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2597 * sysdeps/tile/bits/mathdef.h: Likewise.
2598
2599 2016-11-28 Joseph Myers <joseph@codesourcery.com>
2600
2601 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
2602 * math/w_ilogb.c: Remove.
2603 * math/w_ilogbf.c: Likewise.
2604 * math/w_ilogbl.c: Likewise.
2605 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
2606 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
2607 * math/Makefile (gen-libm-calls): Add w_ilogbF.
2608 (libm-calls): Remove w_ilogbF.
2609 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
2610 (LDOUBLE_ilogbl_libm_version): New macro.
2611
2612 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
2613
2614 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
2615 [!__STRICT_ANSI__ && !__cplusplus].
2616
2617 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
2618
2619 [BZ #20750]
2620 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
2621 of PIC.
2622
2623 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2624 Yury Norov <ynorov@caviumnetworks.com>
2625 Steve Ellcey <sellcey@caviumnetworks.com>
2626
2627 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
2628 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
2629 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
2630 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
2631 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
2632 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
2633 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
2634 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
2635 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
2636 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
2637 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
2638 to get correct reg name for ILP32.
2639 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
2640 (RELA_SIZE): New Macro.
2641 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
2642 to support ILP32.
2643 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
2644 cast for ILP32 mode.
2645 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
2646 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
2647 * sysdeps/aarch64/memset.S (__memset): Ditto.
2648 * sysdeps/aarch64/strchr.S (strchr): Ditto.
2649 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
2650 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
2651 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
2652 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
2653 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
2654 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
2655 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
2656 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
2657 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
2658 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
2659 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
2660 change PTR_MANGLE call to use register numbers instead of names.
2661 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
2662 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
2663 ILP32 mode, change PTR_MANGLE calls to use register numbers.
2664 * sysdeps/aarch64/start.S (_start): Ditto.
2665 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
2666 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
2667 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
2668 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
2669 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
2670 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
2671 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
2672 Make defined values dependent on __ILP32__.
2673 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
2674 (sem_t): Change __align type.
2675 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
2676 PTR_SIZE): New Macros.
2677 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
2678 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
2679 Set when in ILP32 mode.
2680 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
2681 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
2682 Set elf flags for ILP32.
2683 (add_system_dir): Set ILP32 library directories.
2684 * sysdeps/unix/sysv/linux/aarch64/init-first.c
2685 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
2686 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
2687 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
2688 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
2689 New Macros.
2690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
2691
2692 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
2693
2694 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
2695 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
2696 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
2697
2698 2016-11-28 Joseph Myers <joseph@codesourcery.com>
2699
2700 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
2701 <asm/cachectl.h>.
2702
2703 2016-11-27 Zack Weinberg <zackw@panix.com>
2704
2705 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
2706 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
2707
2708 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2709
2710 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
2711 error_t to fix usage in C++ programs.
2712
2713 2016-11-26 Joseph Myers <joseph@codesourcery.com>
2714
2715 * scripts/build-many-glibcs.py: Import datetime module.
2716 (Context.__init__): Load JSON build state. Initialize list of
2717 status logs.
2718 (Context.run_builds): Update saved build state.
2719 (Context.add_makefile_cmdlist): Update list of status logs.
2720 (Context.load_build_state_json): New function.
2721 (Context.store_build_state_json): Likewise.
2722 (Context.clear_last_build_state): Likewise.
2723 (Context.update_build_state): Likewise.
2724 (CommandList.status_logs): Likewise.
2725
2726 2016-11-25 Joseph Myers <joseph@codesourcery.com>
2727
2728 * scripts/build-many-glibcs.py (Context.__init__): Save text of
2729 script being executed.
2730 (Context.get_script_text): New function.
2731 (Context.exec_self): Likewise.
2732 (Context.checkout): Re-exec script if changed by checkout process.
2733
2734 2016-11-24 Joseph Myers <joseph@codesourcery.com>
2735
2736 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2737 (setpayloadsig): New declaration.
2738 * math/Versions (setpayloadsig): New libm symbol at version
2739 GLIBC_2.25.
2740 (setpayloadsigf): Likewise.
2741 (setpayloadsigl): Likewise.
2742 * math/Makefile (libm-calls): Add s_setpayloadsigF.
2743 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
2744 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
2745 (setpayloadsig_test_data): New array.
2746 (setpayloadsig_test): New function.
2747 (main): Call setpayloadsig_test.
2748 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
2749 setpayloadsigf and setpayloadsigl.
2750 * manual/libm-err-tab.pl: Update comment on interfaces without
2751 ulps tabulated.
2752 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
2753 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
2754 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
2755 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
2756 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
2757 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
2758 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2759 setpayloadsig.
2760 (CFLAGS-nldbl-setpayloadsig.c): New variable.
2761 * sysdeps/nacl/libm.abilist: Update.
2762 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2763 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2764 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2765 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2766 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2767 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2768 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2769 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2770 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2771 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2772 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2773 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2775 Likewise.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2777 Likewise.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2779 Likewise.
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2781 Likewise.
2782 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2783 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2784 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2785 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2786 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2788 Likewise.
2789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2790 Likewise.
2791 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2792 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2793 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2794
2795 * scripts/build-many-glibcs.py: Import json module.
2796 (Context.__init__): Take replace_sources argument. Load
2797 versions.json.
2798 (Context.load_versions_json): New function.
2799 (Context.store_json): Likewise.
2800 (Context.store_versions_json): Likewise.
2801 (Context.set_component_version): Likewise.
2802 (Context.checkout): Update versions.json. Check for and handle
2803 changes of version. Prefer previously explicitly specified
2804 version to default version.
2805 (Context.checkout_vcs): Return a revision identifier.
2806 (Context.git_checkout): Likewise.
2807 (Context.gcc_checkout): Likewise.
2808 (get_parser): Add --replace-sources option.
2809 (main): Pass replace_sources argument to Context call.
2810
2811 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2812
2813 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
2814 * nptl/allocatestack.c (allocate_stack): Likewise.
2815 (__reclaim_stacks): Likewise.
2816 (setxid_signal_thread): Obtain pid through syscall.
2817 * nptl/nptl-init.c (sigcancel_handler): Likewise.
2818 (sighandle_setxid): Likewise.
2819 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
2820 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2821 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2822 Likewise.
2823 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2824 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
2825 comment.
2826 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
2827 * nptl/descr.h (struct pthread): Change comment about pid value.
2828 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
2829 pid assert.
2830 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
2831 Do not set pid value.
2832 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
2833 pid cache check.
2834 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
2835 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
2836 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
2837 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
2838 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
2839 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2840 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
2841 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
2842 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
2843 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
2844 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
2845 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2846 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
2847 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2848 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
2849 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
2850 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2851 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
2852 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2853 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
2854 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
2855 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2856 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
2857 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2858 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2861 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2862 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2863 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2864 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
2865 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2866 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
2867 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2868 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
2869 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2870 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2871 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2872 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
2873 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2874 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2875 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
2876 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
2877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2879 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2880 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2881 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2882 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2883 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2884 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
2885 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2886 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2887 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
2888 struct access.
2889 (clone_test): Remove function.
2890 (do_test): Rewrite to take in consideration pid is not cached anymore.
2891
2892 2016-11-24 Joseph Myers <joseph@codesourcery.com>
2893
2894 * bits/flt-eval-method.h: New file.
2895 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
2896 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
2897 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
2898 * math/Makefile (headers): Add bits/flt-eval-method.h.
2899 * math/math.h: Include <bits/flt-eval-method.h>.
2900 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
2901 [__USE_ISOC99] (double_t): Likewise.
2902 * bits/mathdef.h (float_t): Remove.
2903 (double_t): Likewise.
2904 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
2905 (double_t): Likewise.
2906 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
2907 (double_t): Likewise.
2908 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
2909 (double_t): Likewise.
2910 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
2911 (double_t): Likewise.
2912 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
2913 (double_t): Likewise.
2914 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
2915 (double_t): Likewise.
2916 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
2917 (double_t): Likewise.
2918 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
2919 (double_t): Likewise.
2920 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
2921 (double_t): Likewise.
2922 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
2923 (double_t): Likewise.
2924 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
2925 (double_t): Likewise.
2926 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
2927 (double_t): Likewise.
2928 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
2929 (double_t): Likewise.
2930
2931 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
2932
2933 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
2934 instead of PIC.
2935
2936 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2937
2938 [BZ #20859]
2939 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
2940 (-0x7fffffff) instead of 0x80000001.
2941 * math/test-fp-ilogb-constants.c: New file.
2942 * math/Makefile (tests): Add test-fp-ilogb-constants.
2943
2944 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
2945
2946 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
2947 (_init): Use it in place of hardcoded R_MIPS_JALR.
2948 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
2949 (_init): Use it in place of hardcoded R_MIPS_JALR.
2950 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
2951 (_init): Use it in place of hardcoded R_MIPS_JALR.
2952
2953 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2954
2955 [BZ #20787]
2956 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
2957 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
2958 (double_t): Do not define to double if [__x86_64__] when
2959 __FLT_EVAL_METHOD__ is nonzero.
2960 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
2961 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
2962 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2963 test-flt-eval-method-387 and test-flt-eval-method-sse.
2964 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
2965 variable.
2966 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
2967
2968 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
2969
2970 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
2971 use of -fno-isolate-erroneous-paths options for tilepro.
2972
2973 2016-11-23 Florian Weimer <fweimer@redhat.com>
2974
2975 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
2976 structure initialization is no longer needed.
2977
2978 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2979
2980 [BZ #20855]
2981 * bits/mathdef.h (float_t): Define to float.
2982 * math/test-flt-eval-method.c: New file.
2983 * math/Makefile (tests): Add test-flt-eval-method.
2984 (CFLAGS-test-flt-eval-method.c): New variable.
2985
2986 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
2987
2988 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
2989 and __fstatfs. Make them aliases of __fstatfs64 if
2990 STATFS_IS_STATFS64 is set to non-zero.
2991 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
2992 and __statfs64.
2993 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
2994 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
2995 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
2996 for __statfs and statfs.
2997 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
2998 to 0.
2999 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3000 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3001 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3002 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3003 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3004 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3007 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3008 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3009 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3010 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3011
3012 2016-11-22 Andreas Schwab <schwab@suse.de>
3013
3014 * misc/mkstemp.c: Include <fcntl.h>.
3015 * misc/mkstemps.c: Likewise.
3016 * misc/mkostemp.c: Likewise.
3017 * misc/mkostemps.c: Likewise.
3018
3019 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
3020
3021 [BZ #20847]
3022 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3023 array bounds.
3024 (__execvpe): Likewise.
3025
3026 2016-11-22 Joseph Myers <joseph@codesourcery.com>
3027
3028 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3029 -fno-isolate-erroneous-paths options for tilepro.
3030
3031 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
3032
3033 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3034 to 0 when in 32 bit mode.
3035 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3036 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3037 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3038 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3040 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3041 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3042 XSTAT_IS_XSTAT64 test.
3043 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3044 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3045 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3046 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3047 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3048 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3049 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3050 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3051 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3052 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3053 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3054
3055 2016-11-19 Joseph Myers <joseph@codesourcery.com>
3056
3057 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3058 (setpayload): New declaration.
3059 * math/Versions (setpayload): New libm symbol at version
3060 GLIBC_2.25.
3061 (setpayloadf): Likewise.
3062 (setpayloadl): Likewise.
3063 * math/Makefile (libm-calls): Add s_setpayloadF.
3064 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3065 test_Ff_b1_data.
3066 (RUN_TEST_Ff_b1): New macro.
3067 (RUN_TEST_LOOP_Ff_b1): Likewise.
3068 (canonicalize_test_data): Update type.
3069 (setpayload_test_data): New array.
3070 (setpayload_test): New function.
3071 (main): Call setpayload_test.
3072 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3073 setpayloadf and setpayloadl.
3074 * manual/libm-err-tab.pl: Update comment on interfaces without
3075 ulps tabulated.
3076 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3077 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3078 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3079 Likewise.
3080 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3081 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3082 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3083 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3084 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3085 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3086 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3087 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3088 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3089 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3090 setpayload.
3091 (CFLAGS-nldbl-setpayload.c): New variable.
3092 * sysdeps/nacl/libm.abilist: Update.
3093 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3094 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3095 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3096 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3097 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3098 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3099 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3100 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3101 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3102 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3103 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3104 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3106 Likewise.
3107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3108 Likewise.
3109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3110 Likewise.
3111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3112 Likewise.
3113 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3114 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3115 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3116 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3117 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3119 Likewise.
3120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3121 Likewise.
3122 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3123 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3124 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3125
3126 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3127
3128 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3129 * include/unistd.h: Extend comment about __access_noerrno return
3130 semantics.
3131 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3132 (access_common): Correct typo for EACCES.
3133
3134 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
3135
3136 * sysdeps/tile/math-tests.h: New file.
3137
3138 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3139 (__old_set_dataplane): Rename from set_dataplane and make a
3140 compatibility symbol.
3141 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3142 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3143 sys/dataplane.h.
3144
3145 2016-11-18 Joseph Myers <joseph@codesourcery.com>
3146
3147 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3148 script quote words in command output to log suitably for input to
3149 the shell.
3150
3151 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
3152 Maciej W. Rozycki <macro@imgtec.com>
3153
3154 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3155 `.Lno_weak_fn' label.
3156 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3157 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3158
3159 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3160 Yury Norov <ynorov@caviumnetworks.com>
3161
3162 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3163 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3164 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3165 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3166 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3167 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3168 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3169 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3170 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3171 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3172 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3173 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3174 (sysdep_routines): Remove oldgetrlimit64.
3175 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3176 (sysdep_routines): Likewise.
3177 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3178 (sysdep_routines): Likewise.
3179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3180 [$(subdir) = resource] (sysdep_routines): Likewise.
3181 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3182 [$(subdir) = resource] (sysdep_routines): Likewise.
3183 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3184 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3185 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3186 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3187 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3188 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3189 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3190 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3191 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3192 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3193 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3194 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3195 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3196 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3197 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3198 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3199 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3200 setrlimit and getrlimit.
3201 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3202 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3203 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3206 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3207 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3208 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3209 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3210 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3211 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3212 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3213 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3214 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3215 (__old_getrlimit64): Add compatibility symbol.
3216 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3217
3218 2016-11-17 Joseph Myers <joseph@codesourcery.com>
3219
3220 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3221 newly built gmp, mpfr and mpc.
3222
3223 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3224
3225 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3226
3227 * conform/Makefile (linknamespace-libs): Rename to
3228 linknamespace-libs-thr.
3229 (linknamespace-libs-posix): New variable.
3230 (linknamespace-libs-xsi): Likewise.
3231 (linknamespace-libs-XPG3): Include libcrypt.a.
3232 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3233 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3234 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3235 (linknamespace-libs-XOPEN2K): Likewise.
3236 (linknamespace-libs-XOPEN2K8): Likewise.
3237 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3238
3239 [BZ #20829]
3240 * stdio-common/Versions (__snprintf): Add to version
3241 GLIBC_PRIVATE.
3242 * include/stdio.h (__snprintf): Use libc_hidden_proto.
3243 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3244 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3245 of snprintf.
3246 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3247
3248 2016-11-16 Zack Weinberg <zackw@panix.com>
3249
3250 * string/string.h: Remove obsolete comment stating that
3251 strcoll_l and strxfrm_l have not yet been standardized.
3252
3253 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3254
3255 * hurd/hurd.h (__hurd_fail_noerrno): New function.
3256 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3257 __access_noerrno.
3258 * io/access.c (__access_noerrno): New function.
3259 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3260 (hurd_fail_seterrno): Likewise.
3261 (access_common): Likewise.
3262 (__access_noerrno): Likewise.
3263 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3264 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3265 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3266 macro.
3267
3268 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3269
3270 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3271 Only declare fpregs if [__SH_FPU_ANY__].
3272
3273 2016-11-15 Joseph Myers <joseph@codesourcery.com>
3274
3275 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3276 Make code unconditional.
3277 [!(__SH4__ || __SH4A__)]: Remove conditional code.
3278
3279 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
3280
3281 * manual/sysinfo.texi (S_APPEND): Delete.
3282 (S_IMMUTABLE): Likewise.
3283
3284 2016-11-15 Denis Kaganovich <mahatma@eu.by>
3285 Magnus Granberg <zorry@gentoo.org>
3286 Mike Frysinger <vapier@gentoo.org>
3287
3288 [BZ #20662]
3289 * configure.ac (libc_cv_predef_stack_protector): Also check for
3290 __stack_chk_fail_local symbols.
3291 * configure: Regenerated.
3292
3293 2016-11-15 Florian Weimer <fweimer@redhat.com>
3294
3295 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3296 (libc_hidden_def): Remove redefinition.
3297 (__sigsetjmp): Add hidden definition.
3298 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3299 (libc_hidden_def): Remove redefinition.
3300 (__sigsetjmp): Add hidden definition.
3301
3302 2016-11-14 Joseph Myers <joseph@codesourcery.com>
3303
3304 * scripts/build-many-glibcs.py (os.path): Do not import.
3305 (Context): Inherit explicitly from object. Remove blank line
3306 between class and docstring.
3307 (Config): Likewise.
3308 (Glibc): Likewise.
3309 (Command): Likewise.
3310 (CommandList): Likewise.
3311 (Context.write_files): Store chmod mode in a variable.
3312
3313 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3314 LIBC_SLIBDIR_RTLDDIR for tilegx32.
3315 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3316
3317 2016-11-14 Zack Weinberg <zackw@panix.com>
3318
3319 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3320 creating or re-creating it.
3321
3322 * string/bits/string2.h: Fix typo in comment.
3323
3324 2016-11-14 Zack Weinberg <zackw@panix.com>
3325
3326 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3327 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3328 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3329 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3330 of redirected function names.
3331
3332 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3333 as well. Document that MESSAGE must be a single string literal.
3334
3335 2016-11-11 Joseph Myers <joseph@codesourcery.com>
3336
3337 * scripts/build-many-glibcs.py: New file.
3338
3339 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3340 (do_test): Disable -Wmaybe-uninitialized around uses of
3341 except_mask.
3342
3343 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3344
3345 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
3346
3347 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3348 (atomic_store_release): Provide tilepro-specific implementations.
3349
3350 2016-11-10 Joseph Myers <joseph@codesourcery.com>
3351
3352 * math/math.h (__MATH_TG): New macro.
3353 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3354 [__USE_ISOC99] (signbit): Likewise.
3355 [__USE_ISOC99] (isfinite): Likewise.
3356 [__USE_ISOC99] (isnan): Likewise.
3357 [__USE_ISOC99] (isinf): Likewise.
3358 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3359 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3360 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3361 __MATH_TG and __MATH_EVAL_FMT2.
3362 * sysdeps/generic/math_private.h (fabs_tg): Define using
3363 __MATH_TG.
3364 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3365 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3366 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3367 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3368 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3369 macro.
3370 (__iscanonical): Likewise.
3371 (iscanonical): Define using __MATH_TG.
3372
3373 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3374
3375 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3376 guards.
3377
3378 * sysdeps/unix/sysv/linux/access.c: New file.
3379 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3380
3381 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
3382
3383 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3384 and __WORDSIZE32_PTRDIFF_LONG.
3385
3386 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
3387
3388 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3389
3390 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3391
3392 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3393 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3394 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3395 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3396 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3398 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3399 * sysdeps/unix/sysv/linux/truncate.c: New file.
3400 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3401 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3402 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3403 Remove.
3404 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3405 Likewise.
3406
3407 * posix/tst-truncate-common.c: New file.
3408 * posix/tst-truncate.c: Use tst-truncate-common.c.
3409 * posix/tst-truncate64.c: Likewise and add LFS tests.
3410 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3411 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3412 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3413 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3414 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3416 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3417 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3418 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3419 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3420 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3421 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3422 Remove.
3423 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3424 Likewise.
3425
3426 2016-11-08 Joseph Myers <joseph@codesourcery.com>
3427
3428 [BZ #20790]
3429 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3430 to MAXLINESIZE.
3431 * sunrpc/bug20790.x: New file.
3432 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3433 variable.
3434 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3435 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3436
3437 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3438
3439 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3440
3441 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
3442 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
3443 calloc, realloc, free, memalign and __libc_memalign rather than
3444 making them optional.
3445
3446 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
3447 for libc.so.
3448
3449 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3450
3451 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
3452 ptw-lseek64.
3453 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
3454 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
3455 Likewise.
3456 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
3457 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
3458 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
3459 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
3460 * sysdeps/unix/sysv/linux/lseek.c: New file.
3461 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
3462 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
3463 __libc_lseek64 from auto-generation.
3464 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3465 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
3466
3467 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3468
3469 * nptl/tst-basic1.c (tf, do_test): Use write_message.
3470 * nptl/tst-cleanup1.c (do_test): Likewise.
3471 * nptl/tst-cleanup3.c (do_test): Likewise.
3472 * nptl/tst-key1.c (do_test): Likewise.
3473 * nptl/tst-key2.c (tf, do_test): Likewise.
3474 * nptl/tst-key3.c (tf, do_test): Likewise.
3475 * nptl/tst-stdio1.c (do_test): Likewise.
3476 * nptl/tst-stdio2.c (do_test): Likewise.
3477
3478 * nptl/tst-kill3.c (handler): Use write_message in place of write.
3479 * nptl/tst-kill6.c (handler): Likewise.
3480 * nptl/tst-tls2.c (CB): Likewise.
3481 * nptl/tst-tls3.c (CB): Likewise.
3482
3483 2016-11-07 Joseph Myers <joseph@codesourcery.com>
3484
3485 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
3486
3487 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
3488 Steve Ellcey <sellcey@caviumnetworks.com>
3489
3490 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
3491 __ASSUME_ST_INO_64_BIT as 0
3492 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
3493 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
3494 over the code where __ASSUME_ST_INO_64_BIT is used.
3495 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3496 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3497 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3498
3499 2016-11-07 Florian Weimer <fweimer@redhat.com>
3500
3501 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3502 Document ABI exposure of the __kind offset.
3503 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3504 Mention reason for the __kind offset exposure in the ABI.
3505 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3506 Likewise.
3507 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3508 Likewise.
3509 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3510 Likewise.
3511 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
3512 (struct __pthread_mutex_s): Likewise.
3513 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3514 Likewise.
3515 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3516 Likewise.
3517 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3518 Likewise.
3519 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3520 Likewise.
3521 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3522 Likewise.
3523 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3524 Likewise.
3525 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3526 (struct __pthread_mutex_s): Likewise.
3527 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3528 (struct __pthread_mutex_s): Likewise.
3529 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
3530 Likewise.
3531
3532 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
3533
3534 * test-skeleton.c: Document do_test usage.
3535
3536 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
3537
3538 * iconv/gconv.h (__gconv_info): Define __data element using a
3539 zero-length array.
3540
3541 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
3542
3543 * math/test-tgmath2.c: Split up test function.
3544
3545 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3546
3547 * Rules (tests-expected): New variable, depending on
3548 $(run-built-tests).
3549 (tests): Pass $(tests-expected) to merge-test-results.sh, not
3550 $(tests).
3551
3552 * Rules [$(run-built-tests) = no] (tests): Do not depend on
3553 $(tests-unsupported).
3554
3555 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3556
3557 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3558 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
3559
3560 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3561
3562 [BZ #20768]
3563 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
3564 __fegetenv instead of fegetenv.
3565
3566 [BZ #14139]
3567 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
3568 (find_files): Obtain platform name from libm-test-ulps-name and
3569 store in %pplatforms.
3570 (canonicalize_platform): Remove.
3571 (print_platforms): Use $pplatforms directly.
3572 (by_platforms): Do not allow for platforms missing from
3573 %pplatforms.
3574 * sysdeps/aarch64/libm-test-ulps-name: New file.
3575 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
3576 * sysdeps/arm/libm-test-ulps-name: Likewise.
3577 * sysdeps/generic/libm-test-ulps-name: Likewise.
3578 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
3579 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
3580 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
3581 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
3582 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
3583 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
3584 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
3585 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
3586 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
3587 * sysdeps/nios2/libm-test-ulps-name: Likewise.
3588 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
3589 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
3590 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
3591 * sysdeps/sh/libm-test-ulps-name: Likewise.
3592 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
3593 * sysdeps/tile/libm-test-ulps-name: Likewise.
3594 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
3595
3596 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
3597
3598 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
3599 (test-xfail-check-execstack): New variable.
3600
3601 * sysdeps/mips/localplt.data: New file.
3602
3603 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
3604 Steve Ellcey <sellcey@caviumnetworks.com>
3605
3606 * bits/wordsize.h: Add documentation.
3607 * sysdeps/aarch64/bits/wordsize.h : New file
3608 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
3609 definitions.
3610 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
3611 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
3612 with #if instead of #ifdef.
3613 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
3614 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
3615 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
3616 Add or change defines.
3617 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
3618 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3619 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
3620 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
3621 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3622 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3623 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
3624 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3625 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
3626 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3627 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
3628 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
3629 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
3630 * sysdeps/x86/bits/wordsize.h: Likewise.
3631
3632 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
3633 Kevin Petit <kevin.petit@arm.com>
3634
3635 * sysdeps/aarch64/memchr.S (__memchr): New file.
3636
3637 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3638
3639 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
3640
3641 2016-11-03 Joseph Myers <joseph@codesourcery.com>
3642
3643 [BZ #19398]
3644 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
3645 $(linknamespace-symlists-tests).
3646
3647 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
3648
3649 * time/tst-strptime2.c: Ignore -Wformat-length warning.
3650
3651 2016-11-02 Florian Weimer <fweimer@redhat.com>
3652 Carlos O'Donell <carlos@redhat.com>
3653
3654 [Bug #20729]
3655 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
3656 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
3657 for -Os related change.
3658
3659 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
3660
3661 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
3662
3663 2016-11-01 Joseph Myers <joseph@codesourcery.com>
3664
3665 [BZ #19673]
3666 * manual/math.texi (Exponents and Logarithms): Correct description
3667 of clog10.
3668
3669 2016-10-31 Carlos O'Donell <carlos@redhat.com>
3670
3671 [Bz #20729]
3672 * locale/weight.h: Include libc-internal.h.
3673 * locale/weightwc.h: Likewise.
3674 * nptl/nptl_dbP.h: Likewise.
3675
3676 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
3677
3678 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
3679 when it is MACH_PORT_NULL.
3680
3681 2016-10-31 Andreas Schwab <schwab@suse.de>
3682
3683 [BZ #20707]
3684 * posix/glob.c (glob): Initialize pglob before checking for
3685 GLOB_BRACE. Don't call glob recursively if pattern contains no
3686 valid brace expression despite GLOB_BRACE.
3687 * posix/globtest.sh: Test it.
3688
3689 2016-10-28 Carlos O'Donell <carlos@redhat.com>
3690
3691 [BZ #20729]
3692 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
3693 Define.
3694 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
3695 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
3696 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
3697 for seq2.back_us and seq1.back_us only for -Os compiles.
3698 * locale/weightwc.h (findix): Likewise.
3699 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
3700 DB_GET_FIELD_ADDRESS only for -Os compiles.
3701 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
3702 for slen only for -Os compiles.
3703 * string/strcoll_l.c (get_next_seq): Ignore
3704 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
3705 for -Os compiles.
3706
3707 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
3708 * include/crypt.h: New file.
3709
3710 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3711
3712 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
3713 from test-skeleton.c.
3714 (statclass): Replace calls to write with calls to write_message.
3715
3716 2016-10-28 Joseph Myers <joseph@codesourcery.com>
3717
3718 * math/math.h
3719 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
3720 New macro.
3721 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
3722 Likewise.
3723 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
3724 Likewise.
3725 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
3726 SNANL.
3727 * math/test-double.h (snan_value_MACRO): New macro.
3728 * math/test-float.h (snan_value_MACRO): Likewise.
3729 * math/test-ldouble.h (snan_value_MACRO): Likewise.
3730 * math/libm-test.inc (issignaling_test_data): Add tests of
3731 snan_value_MACRO.
3732
3733 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3734
3735 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
3736 behavior when eliding a lock not held by the current thread.
3737 * sysdeps/powerpc/nptl/elide.h: Likewise.
3738
3739 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3740
3741 [BZ #20728]
3742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
3743 branch to _exit() by a function call.
3744
3745 2016-10-28 Florian Weimer <fweimer@redhat.com>
3746
3747 * malloc/malloc.c: Update chunk layout comments.
3748 (chunk_main_arena): Update comment.
3749
3750 2016-10-28 Florian Weimer <fweimer@redhat.com>
3751
3752 * crypt/sha256.c, crypt/sha256-block.c,
3753 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
3754 sha256_process_block to __sha256_process_block.
3755 * crypt/sha512.c, crypt/sha512-block.c,
3756 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
3757 sha512_process_block to __sha512_process_block.
3758
3759 2016-10-28 Carlos O'Donell <carlos@redhat.com>
3760
3761 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
3762
3763 * math/test-nan-overflow.c: Include stdlib.h for malloc.
3764
3765 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
3766
3767 [BZ #20019]
3768 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
3769 definition in unrelocated shared library.
3770 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3771
3772 2016-10-28 Florian Weimer <fweimer@redhat.com>
3773
3774 [BZ #20729]
3775 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
3776 * sysdeps/unix/sysv/linux/i386/Makefile
3777 (uses-6-syscall-arguments): Define.
3778 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
3779 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
3780 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
3781 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
3782 Likewise.
3783 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
3784 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
3785 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
3786 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
3787 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
3788 (CFLAGS-fallocate64.os): Likewise.
3789 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
3790 (CFLAGS-pthread_rwlock_timedrdlock.os)
3791 (CFLAGS-pthread_rwlock_timedwrlock.o)
3792 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
3793 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
3794 (CFLAGS-sem_timedwait.os): Likewise.
3795
3796 2016-10-28 Florian Weimer <fweimer@redhat.com>
3797
3798 * elf/tst-linkall-static.c: New file.
3799 * elf/Makefile (tests-static): Add tst-linkall-static.
3800 (tst-linkall-static): Link against static libraries.
3801
3802 2016-10-27 Florian Weimer <fweimer@redhat.com>
3803
3804 * malloc/malloc.c (sysmalloc): Initialize previous size field of
3805 mmaped chunks.
3806
3807 2016-10-28 Florian Weimer <fweimer@redhat.com>
3808
3809 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
3810 members to mchunk_prev_size, mchunk_size.
3811 (chunk_main_arena): Reverse sense and rename from
3812 chunk_non_main_arena.
3813 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
3814 mchunk_size instead of size.
3815 (set_non_main_arena): Define.
3816 (chunksize): Use chunksize_nomask instead of direct member access.
3817 (chunksize_nomask): Define.
3818 (next_chunk): Use chunksize instead of direct member access.
3819 (prev_size, set_prev_size): Define.
3820 (prev_chunk): Use prev_size instead of direct member access.
3821 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
3822 (inuse_bit_at_offset, set_inuse_bit_at_offset)
3823 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
3824 (mchunk_prev_size, mchunk_size): Poison tokens.
3825 (unlink): Use chunksize_nomask, prev_size accessors.
3826 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
3827 (do_check_free_chunk): Use prev_size accessor.
3828 (sysmalloc): Use set_prev_size, set_head accessors.
3829 (munmap_chunk, mremap_chunk): Use prev_size accessor.
3830 (__libc_free): Use chunksize_nomask accessor.
3831 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
3832 chunk_main_arena accessors.
3833 (_int_free): Use chunksize_nomask, prev_size accessors.
3834 (malloc_consolidate): Use chunksize, prev_size accessors.
3835 (_int_realloc): Use chunksize_nomask accessor.
3836 (_int_memalign): Use set_prev_size accessor.
3837 (__malloc_info): Use chunksize_nomask accessor.
3838 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
3839 accessors.
3840 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
3841 (heap_trim): Use chunksize_nomask, prev_size accessors.
3842
3843 2016-10-28 Joseph Myers <joseph@codesourcery.com>
3844
3845 [BZ #19380]
3846 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
3847 for inexact results.
3848 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
3849 of inexact result where mpfr_subnormalize is the only inexact
3850 step.
3851 * stdlib/tst-strtod-round-data.h: Regenerated.
3852 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
3853 Define to 0.
3854 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
3855
3856 2016-10-27 David S. Miller <davem@davemloft.net>
3857
3858 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
3859
3860 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
3861
3862 * malloc/malloc.c (do_set_mallopt_check): New function.
3863 (do_set_mmap_threshold): Likewise.
3864 (do_set_mmaps_max): Likewise.
3865 (do_set_top_pad): Likewise.
3866 (do_set_perturb_byte): Likewise.
3867 (do_set_trim_threshold): Likewise.
3868 (do_set_arena_max): Likewise.
3869 (do_set_arena_test): Likewise.
3870 (__libc_mallopt): Use them.
3871
3872 2016-10-26 Joseph Myers <joseph@codesourcery.com>
3873
3874 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3875 (canonicalize): New declaration.
3876 * math/Versions (canonicalize): New libm symbol at version
3877 GLIBC_2.25.
3878 (canonicalizef): Likewise.
3879 (canonicalizel): Likewise.
3880 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
3881 * math/s_canonicalize_template.c: New file.
3882 * math/libm-test.inc: Update comment on functions tested and
3883 testing of NaN payloads.
3884 (TEST_NAN_PAYLOAD): New macro.
3885 (NO_TEST_INLINE): Update value.
3886 (XFAIL_TEST): Likewise.
3887 (ERRNO_UNCHANGED): Likewise.
3888 (ERRNO_EDOM): Likewise.
3889 (ERRNO_ERANGE): Likewise.
3890 (IGNORE_RESULT): Likewise.
3891 (NON_FINITE): Likewise.
3892 (TEST_SNAN): Likewise.
3893 (NO_TEST_MATHVEC): Likewise.
3894 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
3895 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
3896 (struct test_Ffp_b1_data): New type.
3897 (RUN_TEST_Ffp_b1): New macro.
3898 (RUN_TEST_LOOP_Ffp_b1): Likewise.
3899 (canonicalize_test_data): New array.
3900 (canonicalize_test): New function.
3901 (main): Call canonicalize_test.
3902 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
3903 canonicalizef and canonicalizel.
3904 * manual/libm-err-tab.pl: Update comment on interfaces without
3905 ulps tabulated.
3906 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
3907 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
3908 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3909 canonicalize.
3910 (CFLAGS-nldbl-canonicalize.c): New variable.
3911 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
3912 to ...
3913 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
3914 ... here.
3915 (do_test): Also test canonicalizel.
3916 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
3917 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
3918 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
3919 file.
3920 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
3921 Use libm_hidden_def.
3922 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
3923 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
3924 (do_test): Also test canonicalizel.
3925 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
3926 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
3927 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
3928 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
3929 libm_hidden_def.
3930 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
3931 macro.
3932 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
3933 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
3934 * sysdeps/nacl/libm.abilist: Update.
3935 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3936 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3937 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3938 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3939 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3940 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3941 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3942 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3943 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3944 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3945 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3946 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3948 Likewise.
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3950 Likewise.
3951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3952 Likewise.
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3954 Likewise.
3955 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3956 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3957 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3958 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3959 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3961 Likewise.
3962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3963 Likewise.
3964 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3965 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3966 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3967
3968 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
3969 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3970 getpayload.
3971 (CFLAGS-nldbl-getpayload.c): New variable.
3972
3973 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3974
3975 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
3976 integer from the format string.
3977
3978 2016-10-26 Florian Weimer <fweimer@redhat.com>
3979
3980 [BZ #19473]
3981 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
3982 declarations.
3983 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
3984 weak aliases.
3985 * malloc/hooks.c (__malloc_get_state): Remove definition.
3986 (malloc_get_state): New stub implementation as
3987 compatibility symbol.
3988 (malloc_set_state): Rename from __malloc_set_state. Turn into
3989 compat symbol.
3990 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
3991 malloc_set_state.
3992 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
3993
3994 2016-10-26 Florian Weimer <fweimer@redhat.com>
3995
3996 * iconvdata/iso646.c (enum variant): Drop illegal_var.
3997 (names): Turn into concatenation of strings.
3998 (gconv_init): Adapt iteration over names.
3999
4000 2016-10-26 Florian Weimer <fweimer@redhat.com>
4001
4002 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4003 make const.
4004 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4005 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4006 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4007 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4008 character in sbconv.
4009 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4010 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4011 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4012
4013 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
4014
4015 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4016
4017 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4018 (M_TRIM_THRESHOLD): Likewise.
4019
4020 * manual/memory.texi (M_ARENA_TEST): Add documentation.
4021 (M_ARENA_MAX): Likewise.
4022 * malloc/malloc.c: Remove obsolete comment.
4023
4024 * manual/memory.texi: Add environment variable alternatives to
4025 setting mallopt parameters.
4026
4027 2016-10-26 Carlos O'Donell <carlos@redhat.com>
4028
4029 * include/atomic.h
4030 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4031 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4032
4033 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4034
4035 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4036 * stdlib/tst-strfrom.h: New file.
4037 * stdlib/tst-strfrom.c: New file.
4038 * stdlib/tst-strfrom-locale.c: New file.
4039
4040 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4041 * stdlib/bug-strtod2.c: Likewise.
4042 * stdlib/tst-strtod-round-skeleton.c: Likewise.
4043 * stdlib/tst-strtod6.c: Likewise.
4044 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4045
4046 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4047
4048 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4049 * manual/arith.texi: Document strfromd, strfromf, strfroml.
4050 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4051 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4052 * stdlib/stdlib.h (strfromd): New declaration.
4053 (strfromf): Likewise.
4054 (strfroml): Likewise.
4055 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
4056 strfrom.
4057 * stdlib/strfromd.c: New file.
4058 * stdlib/strfromf.c: Likewise.
4059 * stdlib/strfroml.c: Likewise.
4060 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4061 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4062 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4063 * sysdeps/arm/nacl/libc.abilist: Update.
4064 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4065 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4066 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4067 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4068 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4069 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4070 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4071 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4072 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4073 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4074 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4075 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4076 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4077 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4082 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4083 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4084 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4085 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4086 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4089 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4090 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4091 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4092
4093 2016-10-25 Joseph Myers <joseph@codesourcery.com>
4094
4095 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4096 instead of cmpli.
4097 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4098 instead of cmpli.
4099
4100 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
4101
4102 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4103 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4104 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4105 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4106 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4107 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4108
4109 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4110
4111 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4112 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4113 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4114 SYSCALL_LL64_PRW.
4115 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4116 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4117 __ASSUME_PRW_DUMMY_ARG.
4118 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4119 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4120 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4121 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4122 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4123 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4124
4125 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
4126
4127 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4128
4129 2016-10-22 Florian Weimer <fweimer@redhat.com>
4130
4131 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4132 "C++", to override a potential extern "C" directive around the
4133 header file inclusion.
4134
4135 2016-10-21 Joseph Myers <joseph@codesourcery.com>
4136
4137 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4138
4139 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4140
4141 * sysdeps/powerpc/fpu/fenv_private.h:
4142 (_FPU_MASK_ALL): Rename to...
4143 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4144 XE FPSCR bits.
4145
4146 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4147
4148 (_FPU_MASK_ROUNDING): Rename to...
4149 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4150 NI bits.
4151
4152 (_FPU_MASK_EXCEPT_ROUND): Rename to...
4153 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4154 bits and rounding bits.
4155
4156 (__libc_feholdbits_ppc): New inline function to mask, set,
4157 and pontentially clear FSPCR bits, and change MSR[FE] bits.
4158 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4159 (libc_feholdexcept_setround_ppc): Likewise.
4160
4161 (__libc_femergeenv_ppc): New function to dynamically mask both
4162 old and new FP environments and merge.
4163 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4164 (libc_feresetround_ppc): Likewise.
4165 (libc_feupdateenv_test_ppc): Likewise.
4166 (libc_feupdateenv_ppc): Likewise.
4167
4168 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4169 of ISA RN bits, and update macro names.
4170 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4171 effectively the same as the previously mentioned function.
4172
4173 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4174 usage with fe_resetround_ppc.
4175
4176 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4177 to be used.
4178 (libc_feholdexcept_setround_ctxf): Likewise.
4179 (libc_feholdexcept_setround_ctxl): Likewise.
4180
4181 2016-10-21 Florian Weimer <fweimer@redhat.com>
4182
4183 [BZ #20715]
4184 * math/math.h [__cplusplus] (iszero): Define as function template.
4185 * math/Makefile [CXX] (tests): Add test-math-iszero.
4186 (CFLAGS-test-math-iszero.cc): Set.
4187 * math/test-math-iszero.cc: New file.
4188
4189 2016-10-20 Joseph Myers <joseph@codesourcery.com>
4190
4191 [BZ #20660]
4192 * sysdeps/arm/e_sqrt.c: New file.
4193 * sysdeps/arm/e_sqrtf.c: Likewise.
4194
4195 2016-10-19 Joseph Myers <joseph@codesourcery.com>
4196
4197 [BZ #20718]
4198 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4199 not use floating-point comparisons to test sign.
4200 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4201 Likewise.
4202
4203 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4204 (getpayload): New declaration.
4205 * math/Versions (getpayload): New libm symbol at version
4206 GLIBC_2.25.
4207 (getpayloadf): Likewise.
4208 (getpayloadl): Likewise.
4209 * math/Makefile (libm-calls): Add s_getpayloadF.
4210 * math/libm-test.inc: Include <nan-high-order-bit.h>.
4211 (struct test_f_f_data): Add comment.
4212 (RUN_TEST_fp_f): New macro.
4213 (RUN_TEST_LOOP_fp_f): Likewise.
4214 (getpayload_test_data): New array.
4215 (getpayload_test): New function.
4216 (main): Call getpayload_test.
4217 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4218 descriptor.
4219 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4220 getpayloadf and getpayloadl.
4221 * manual/libm-err-tab.pl: Update comment on interfaces without
4222 ulps tabulated.
4223 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4224 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4225 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4229 * sysdeps/nacl/libm.abilist: Update.
4230 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4231 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4232 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4233 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4234 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4235 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4236 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4237 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4238 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4239 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4240 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4241 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4243 Likewise.
4244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4245 Likewise.
4246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4247 Likewise.
4248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4249 Likewise.
4250 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4251 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4252 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4253 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4254 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4256 Likewise.
4257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4258 Likewise.
4259 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4260 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4261 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4262
4263 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4264
4265 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4266 tst-fallocate{64}.
4267 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4268 on syscall return.
4269
4270 2016-10-17 Carlos O'Donell <carlos@redhat.com>
4271
4272 [BZ #20689]
4273 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4274 usable.
4275
4276 2016-10-17 Joseph Myers <joseph@codesourcery.com>
4277
4278 * sysdeps/generic/nan-high-order-bit.h: New file.
4279 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4280 * sysdeps/mips/nan-high-order-bit.h: Likewise.
4281 * sysdeps/hppa/math_private.h: Remove file.
4282 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4283 not define here.
4284 * sysdeps/ieee754/dbl-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/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/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/dbl-64/wordsize-64/s_issignaling.c: Include
4294 <nan-high-order-bit.h>.
4295 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4296 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4297 <nan-high-order-bit.h>.
4298 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4299 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4300 <nan-high-order-bit.h>.
4301 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4302 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4303 <nan-high-order-bit.h>.
4304 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4305 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4306 <nan-high-order-bit.h>.
4307 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4308 * sysdeps/ieee754/flt-32/s_totalordermagf.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-128/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-128/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-128/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-128ibm/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-128ibm/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-128ibm/s_totalordermagl.c: Include
4327 <nan-high-order-bit.h>.
4328 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4329 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4330 <nan-high-order-bit.h>.
4331 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4332 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4333 <nan-high-order-bit.h>.
4334 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4335 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4336 <nan-high-order-bit.h>.
4337 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4338
4339 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4340
4341 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4342
4343 2016-09-22 John David Anglin <dave.anglin@bell.net>
4344
4345 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4346 abort-instr.h.
4347 (EFAULT): Remove conditional define.
4348 (ENOSYS): Likewise.
4349 (atomic_compare_and_exchange_val_acq): Use instruction nullification
4350 instead of conditional branch instructions.
4351
4352 2016-10-15 Joseph Myers <joseph@codesourcery.com>
4353
4354 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4355 (totalordermag): New declaration.
4356 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4357 New macro.
4358 * math/Versions (totalordermag): New libm symbol at version
4359 GLIBC_2.25.
4360 (totalordermagf): Likewise.
4361 (totalordermagl): Likewise.
4362 * math/Makefile (libm-calls): Add s_totalordermagF.
4363 * math/libm-test.inc (totalordermag_test_data): New array.
4364 (totalordermag_test): New function.
4365 (main): Call totalordermag_test.
4366 * math/test-tgmath.c (NCALLS): Increase to 125.
4367 (F(compile_test)): Call totalordermag.
4368 (F(totalordermag)): New function.
4369 * manual/arith.texi (FP Comparison Functions): Document
4370 totalordermag, totalordermagf and totalordermagl.
4371 * manual/libm-err-tab.pl: Update comment on interfaces without
4372 ulps tabulated.
4373 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4374 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4375 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4380 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4381 totalordermag.
4382 (CFLAGS-nldbl-totalordermag.c): New variable.
4383 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4384 (do_test): Also test totalordermagl.
4385 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4386 Likewise.
4387 * sysdeps/nacl/libm.abilist: Update.
4388 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4389 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4390 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4391 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4392 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4393 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4394 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4395 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4396 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4397 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4398 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4399 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4401 Likewise.
4402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4403 Likewise.
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4405 Likewise.
4406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4407 Likewise.
4408 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4409 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4410 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4411 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4412 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4414 Likewise.
4415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4416 Likewise.
4417 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4418 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4419 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4420
4421 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
4422
4423 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4424 boolean.
4425
4426 2016-10-13 Joseph Myers <joseph@codesourcery.com>
4427
4428 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4429 raising FE_INVALID with feraisexcept in case where part of
4430 argument is infinite, subtract that part of argument from itself.
4431 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4432 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4433 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4434
4435 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4436
4437 * math/libm-test.inc (totalorder_test_data): Add more tests.
4438
4439 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
4440
4441 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
4442 Undefine weak_alias and add a comment why mips64 require
4443 versioning.
4444
4445 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
4446
4447 [BZ #20647]
4448 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
4449 maximum CPUID level is less than 2.
4450
4451 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4452
4453 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4454 (totalorder): New declaration.
4455 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
4456 New macro.
4457 * math/Versions (totalorder): New libm symbol at version
4458 GLIBC_2.25.
4459 (totalorderf): Likewise.
4460 (totalorderl): Likewise.
4461 * math/Makefile (libm-calls): Add s_totalorderF.
4462 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
4463 string.
4464 * math/libm-test.inc (PAYLOAD_DIG): New macro.
4465 (qnan_value_pl): Likewise.
4466 (snan_value_pl): Likewise.
4467 (qnan_value): Define using qnan_value_pl.
4468 (snan_value): Define using snan_value_pl.
4469 (struct test_ff_i_data): Add comment about which tests use this
4470 structure.
4471 (RUN_TEST_ff_b): New macro.
4472 (RUN_TEST_LOOP_ff_b): Likewise.
4473 (totalorder_test_data): New array.
4474 (totalorder_test): New function.
4475 (main): Call totalorder_test.
4476 * math/test-tgmath.c (NCALLS): Increase to 122.
4477 (F(compile_test)): Call totalorder.
4478 (F(totalorder)): New function.
4479 * manual/arith.texi (FP Comparison Functions): Document
4480 totalorder, totalorderf and totalorderl.
4481 * manual/libm-err-tab.pl: Update comment on interfaces without
4482 ulps tabulated.
4483 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
4484 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
4485 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
4486 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
4487 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
4489 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
4490 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4491 totalorder.
4492 (CFLAGS-nldbl-totalorder.c): New variable.
4493 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
4494 file.
4495 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4496 Add test-totalorderl-ldbl-128ibm.
4497 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
4498 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
4499 test-totalorderl-ldbl-96.
4500 * sysdeps/nacl/libm.abilist: Update.
4501 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4502 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4503 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4504 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4505 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4506 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4507 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4508 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4509 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4510 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4511 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4512 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4514 Likewise.
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4516 Likewise.
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4518 Likewise.
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4520 Likewise.
4521 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4522 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4523 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4524 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4525 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4527 Likewise.
4528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4529 Likewise.
4530 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4531 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4532 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4533
4534 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4535
4536 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
4537 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
4538 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
4539 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
4540 remove ENOSYS implementation.
4541 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
4542 Consolidate all Linux implementations.
4543
4544 2016-10-11 Florian Weimer <fweimer@redhat.com>
4545
4546 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
4547 * resolv/herror.c (herror): Cast away const-ness.
4548 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
4549 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
4550
4551 2016-10-11 Joseph Myers <joseph@codesourcery.com>
4552
4553 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
4554 instead of M_NAN + M_NAN.
4555 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4556
4557 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4558
4559 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
4560 unused variable 'p'.
4561
4562 2016-10-09 Alan Modra <amodra@gmail.com>
4563 Andreas Schwab <schwab@linux-m68k.org>
4564
4565 [BZ #20554]
4566 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
4567 [PIC && !SHARED]: Set up PIC register for PLT call.
4568
4569 2016-10-07 Joseph Myers <joseph@codesourcery.com>
4570
4571 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
4572 conditional on value of [__FLT_EVAL_METHOD__].
4573 * math/test-iseqsig-excess-precision.c: New file.
4574 * math/Makefile (tests): Add test-iseqsig-excess-precision.
4575
4576 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4577
4578 * math/s_iseqsig_template.c: Include math-private.h.
4579
4580 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
4581 * posix/tst-posix_fadvise.c: New file.
4582 * posix/tst-posix_fadvise64.c: Likewise.
4583 * posix/tst-posix_fadvise-common.c: Likewise.
4584 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4585 (__ASSUME_FADVISE64_64_6ARG): Define.
4586 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4587 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
4588 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4589 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
4590 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
4591 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
4592 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
4593 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4594 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
4595 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
4596 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
4597 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
4599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
4600 Likewise.
4601 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
4602 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
4603 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
4604 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4605 Alias to __posix_fadvise64_l32.
4606 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
4607 Add compat definition to posix_fadvise64.
4608 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4609 Add versioned definition to posix_fadvise64.
4610 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
4611 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
4612 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
4613 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
4614 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
4615
4616 * io/Makefile (tests): Add tst-posix_fallocate and
4617 tst-posix_fallocate64.
4618 * io/tst-posix_fallocate-common.c: New file.
4619 * io/tst-posix_fallocate.c: Likewise.
4620 * io/tst-posix_fallocate64.c: Likewise.
4621 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
4622 file.
4623 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
4624 Likewise.
4625 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
4626 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
4627 Likewise.
4628 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
4629 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
4630 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
4631 SYSCALL_LL to pass both offset and len arguments.
4632 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
4633 Likewise.
4634 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
4635 __libc_pwrite64 alias used by posix_fallocate64.
4636
4637 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4638 tst-fallocate64.
4639 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4640 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4641 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4642 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4643 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4644 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4645 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4646 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4647 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4648 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4649 macro on offset argument.
4650 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4651 SYSCALL_LL64 on offset argument.
4652
4653 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4654 tst-fallocate64.
4655 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4656 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4657 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4658 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4659 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4660 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4661 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4662 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4663 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4664 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4665 macro on offset argument.
4666 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4667 SYSCALL_LL64 on offset argument.
4668 * test-skeleton.c (FAIL_RET): Add macro.
4669 (FAIL_EXIT): Likewise.
4670 (FAIL_EXIT1): Likewise.
4671 (_FAIL): Likewise.
4672
4673 2016-10-07 Florian Weimer <fweimer@redhat.com>
4674
4675 [BZ #20629]
4676 resolv: Remove RES_USEBSTRING and its implementation.
4677 * resolv/resolv.h (RES_USEBSTRING): Remove.
4678 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
4679 (digitvalue, encode_bitstring, decode_bitstring): Remove.
4680 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
4681 (labellen): Remove extended label types support.
4682 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
4683 * resolv/res_init.c (res_setoptions): Likewise.
4684 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4685
4686 2016-10-07 Florian Weimer <fweimer@redhat.com>
4687
4688 resolv: Remove RES_NOIP6DOTINT and its implementation.
4689 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
4690 (RES_NOIP6DOTINT): Remove.
4691 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
4692 handling.
4693 * resolv/res_debug.c (p_option): Likewise.
4694 * resolv/res_init.c (res_setoptions): Likewise.
4695 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4696
4697 2016-10-07 Florian Weimer <fweimer@redhat.com>
4698
4699 resolv: Deprecate unimplemented flags.
4700 * misc/sys/cdefs.h (__glibc_macro_warning1)
4701 (__glibc_macro_warning): Define.
4702 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
4703 (RES_KEEPTSIG): Mark as deprecated.
4704 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
4705 RES_NOCHECKNAME, RES_KEEPTSIG.
4706 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
4707
4708 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4709
4710 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
4711 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
4712 Use strong_alias to create symbols for glibc verison 2.19.
4713
4714 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4715
4716 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
4717
4718 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4719
4720 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
4721
4722 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4723
4724 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
4725
4726 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4727
4728 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4729 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
4730 in header for using it as type for ifunc function because __GI_* symbols
4731 for ppc32 do not target the ifunc symbols.
4732 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4733
4734 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4735
4736 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
4737 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
4738 libc_ifunc_hidden_def.
4739 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
4740 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
4741 Redirect ifunced function in header for using it as type of ifunc'ed
4742 function. Redefine libc_hidden_def to use fallback non ifunc'ed
4743 function for __GI_* symbol.
4744 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
4745 * include/libc-symbols.h
4746 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
4747
4748 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4749
4750 [BZ #20478]
4751 * sysdeps/s390/multiarch/ifunc-resolve.h
4752 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
4753 to create ifunc symbols.
4754 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
4755 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
4756 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
4757 for using it as type for ifunc function.
4758 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4759 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4760 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4761 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4762 * sysdeps/s390/multiarch/strcat.c: Likewise.
4763 * sysdeps/s390/multiarch/strchr.c: Likewise.
4764 * sysdeps/s390/multiarch/strcmp.c: Likewise.
4765 * sysdeps/s390/multiarch/strcpy.c: Likewise.
4766 * sysdeps/s390/multiarch/strcspn.c: Likewise.
4767 * sysdeps/s390/multiarch/strlen.c: Likewise.
4768 * sysdeps/s390/multiarch/strncmp.c: Likewise.
4769 * sysdeps/s390/multiarch/strncpy.c: Likewise.
4770 * sysdeps/s390/multiarch/strnlen.c: Likewise.
4771 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4772 * sysdeps/s390/multiarch/strrchr.c: Likewise.
4773 * sysdeps/s390/multiarch/strspn.c: Likewise.
4774 * sysdeps/s390/multiarch/wcschr.c: Likewise.
4775 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4776 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4777 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4778 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4779 * sysdeps/s390/multiarch/wmemset.c: Likewise.
4780 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4781 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
4782 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
4783 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4784 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
4785 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
4786
4787 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4788
4789 * include/libc-symbols.h (__ifunc_resolver):
4790 New macro is used by __ifunc* macros.
4791 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
4792 depending on HAVE_GCC_IFUNC.
4793 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
4794 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
4795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4796 Redirect ifunced function in header for using as type for ifunc function.
4797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
4798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
4799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
4800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
4801 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4802 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4803 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4804 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4805 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4806 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4807 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4808 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4809 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4810 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
4813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
4815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4816 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4817 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4818 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4819 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4820 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4821 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4822 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4823 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4824 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4825 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4826 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4827 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4828 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
4829 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
4831 Add libc_hidden_def() and use libc_ifunc_hidden() macro
4832 instead of libc_ifunc() macro.
4833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4834 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4835
4836 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4837
4838 * config.h.in (HAVE_GCC_IFUNC): New undef.
4839 * configure.ac: Add check if gcc supports attribute ifunc feature.
4840 * configure: Regenerated.
4841 * manual/install.texi: Add recommendation for gcc with
4842 indirect-function support.
4843 * INSTALL: Regenerated.
4844
4845 2016-10-06 Joseph Myers <joseph@codesourcery.com>
4846
4847 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4848 macro.
4849 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4850 (__iseqsig): New declaration.
4851 * math/s_iseqsig_template.c: New file.
4852 * math/Versions (__iseqsigf): New libm symbol at version
4853 GLIBC_2.25.
4854 (__iseqsig): Likewise.
4855 (__iseqsigl): Likewise.
4856 * math/libm-test.inc (iseqsig_test_data): New array.
4857 (iseqsig_test): New function.
4858 (main): Call iseqsig_test.
4859 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
4860 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
4861 * manual/libm-err-tab.pl: Update comment on interfaces without
4862 ulps tabulated.
4863 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
4864 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
4865 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
4866 * sysdeps/nacl/libm.abilist: Update.
4867 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4868 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4869 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4870 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4871 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4872 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4873 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4874 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4875 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4876 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4877 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4878 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4880 Likewise.
4881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4882 Likewise.
4883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4884 Likewise.
4885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4886 Likewise.
4887 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4888 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4889 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4890 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4891 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4893 Likewise.
4894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4895 Likewise.
4896 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4897 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4898 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4899
4900 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
4901
4902 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
4903 do_sincos_2, sloww, sloww1): Update comments.
4904
4905 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
4906 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
4907
4908 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
4909 K boolean and rename it.
4910 (__sin): Adjust.
4911 (__cos): Adjust.
4912
4913 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
4914 Siddhesh Poyarekar <siddhesh@sourceware.org>
4915
4916 * manual/nss.texi: Fix typos in the manual.
4917
4918 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
4919
4920 * manual/contrib.texi: Fix typos in the manual.
4921
4922 * manual/maint.texi: Fix typos in the manual.
4923
4924 * manual/install.texi: Fix typos in the manual.
4925 * INSTALL: Regenerated.
4926
4927 * manual/lang.texi: Fix typos in the manual.
4928
4929 * manual/probes.texi: Fix typos in the manual.
4930
4931 * manual/threads.texi: Fix typos in the manual.
4932
4933 * manual/debug.texi: Fix typos in the manual.
4934
4935 * manual/crypt.texi: Fix typos in the manual.
4936
4937 * manual/conf.texi: Fix typos in the manual.
4938
4939 * manual/sysinfo.texi: Fix typos in the manual.
4940
4941 * manual/users.texi: Fix typos in the manual.
4942
4943 * manual/job.texi: Fix typos in the manual.
4944
4945 * manual/process.texi: Fix typos in the manual.
4946
4947 * manual/argp.texi: Fix typos in the manual.
4948 * manual/getopt.texi: Likewise.
4949 * manual/startup.texi: Likewise.
4950
4951 * manual/signal.texi: Fix typos in the manual.
4952
4953 * manual/setjmp.texi: Fix typos in the manual.
4954
4955 * manual/resource.texi: Fix typos in the manual.
4956
4957 * manual/time.texi: Fix typos in the manual.
4958
4959 * manual/arith.texi: Fix typos in the manual.
4960
4961 * manual/math.texi: Fix typos in the manual.
4962
4963 * manual/syslog.texi: Fix typos in the manual.
4964
4965 * manual/terminal.texi: Fix typos in the manual.
4966
4967 * manual/socket.texi: Fix typos in the manual.
4968
4969 * manual/filesys.texi: Fix typos in the manual.
4970
4971 * manual/llio.texi: Fix typos in the manual.
4972
4973 * manual/stdio.text: Fix typos in the manual.
4974
4975 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
4976
4977 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
4978 instead of K1.
4979
4980 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
4981 SHIFT_QUADRANT and make it bool.
4982 (do_sincos_2): Likewise.
4983 (sloww): Likewise.
4984 (sloww1): Likewise.
4985 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
4986 (__cos): Likewise.
4987
4988 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4989
4990 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4991
4992 2016-10-04 Joseph Myers <joseph@codesourcery.com>
4993
4994 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
4995 Define to __WORDSIZE, not conditional on [LONG_MAX ==
4996 0x7fffffffL].
4997 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4998
4999 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5000
5001 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5002 inline by __inline__.
5003 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5004 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5005 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5006 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5007 sigset_t from signal.h.
5008 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5009 which is already required.
5010
5011 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5012
5013 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5014
5015 2016-10-03 Joseph Myers <joseph@codesourcery.com>
5016
5017 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5018 (struct tcp_repair_window): New type.
5019
5020 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5021
5022 * libio/tst-memstream3.c: Include string.h.
5023
5024 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5025
5026 [BZ #18241]
5027 [BZ #20181]
5028 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5029 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5030 write position is at the end the buffer.
5031 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5032 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5033 (_IO_str_seekoff): Set correct offset from negative displacement and
5034 set EINVAL for invalid ones.
5035 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5036 buffer length.
5037 (_IO_wstr_switch_to_get_mode): New function.
5038 (_IO_wstr_seekoff): Set correct offset from negative displacement and
5039 set EINVAL for invalid ones.
5040 * libio/tst-memstream3.c: New file.
5041 * libio/tst-wmemstream3.c: Likewise.
5042 * manual/examples/memstrm.c: Remove warning when priting size_t.
5043
5044 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5045
5046 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5047 macro to use __builtin_fma.
5048 * sysdeps/x86_64/fpu/dla.h: Remove file.
5049
5050 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5051 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5052 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5053
5054 2016-09-30 Carlos O'Donell <carlos@redhat.com>
5055
5056 [BZ #20292]
5057 * elf/Makefile (routines): Add dl-addr-obj.
5058 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5059 tst-_dl_addr_inside_object.
5060 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5061 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5062 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5063 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5064 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5065 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5066 * elf/dl-open.c: Likewise.
5067 * elf/dl-addr-obj.c: New file.
5068 * elf/tst-_dl_addr_inside_object.c: New file.
5069
5070 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5071
5072 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5073 <bits/iscanonical.h>.
5074 * bits/iscanonical.h: New file.
5075 * math/s_iscanonicall.c: Likewise.
5076 * math/Versions (__iscanonicall): New libm symbol at version
5077 GLIBC_2.25.
5078 * math/libm-test.inc (iscanonical_test_data): New array.
5079 (iscanonical_test): New function.
5080 (main): Call iscanonical_test.
5081 * math/Makefile (headers): Add bits/iscanonical.h.
5082 (type-ldouble-routines): Add s_iscanonicall.
5083 * manual/arith.texi (Floating Point Classes): Document
5084 iscanonical.
5085 * manual/libm-err-tab.pl: Update comment on interfaces without
5086 ulps tabulated.
5087 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5088 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5089 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5090 Likewise.
5091 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5092 test-iscanonical-ldbl-128ibm.
5093 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5094 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5095 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5096 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5097 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5098 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5099 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5101 Likewise.
5102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5103 Likewise.
5104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5105 Likewise.
5106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5107 Likewise.
5108 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5109 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5110
5111 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5112
5113 * string/bits/string3.h: Remove C++ style comments.
5114
5115 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
5116
5117 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5118 instead of ternary condition.
5119 (do_sincos_2): Likewise.
5120 (__sin): Likewise.
5121 (__cos): Likewise.
5122 (slow): Likewise.
5123 (sloww): Likewise.
5124 (sloww1): Likewise.
5125 (bsloww): Likewise.
5126 (bsloww1): Likewise.
5127
5128 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5129 instead of ternary condition.
5130 (do_sin_slow): Likewise.
5131 (do_sincos_1): Likewise.
5132 (do_sincos_2): Likewise.
5133 (__cos): Likewise.
5134 (sloww): Likewise.
5135 (sloww1): Likewise.
5136 (sloww2): Likewise.
5137 (bsloww): Likewise.
5138 (bsloww1): Likewise.
5139 (bsloww2): Likewise.
5140
5141 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5142 check from here...
5143 (slow2): ... and here...
5144 (__sin): ... to here.
5145
5146 2016-09-28 Joseph Myers <joseph@codesourcery.com>
5147
5148 * math/math.h
5149 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5150 Cast argument to its own type.
5151 * math/test-iszero-excess-precision.c: New file.
5152 * math/Makefile (tests): Add test-iszero-excess-precision.
5153 (CFLAGS-test-iszero-excess-precision.c): New variable.
5154
5155 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5156
5157 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5158 field, add err field.
5159 (__spawni_child): Report error through err member instead of pipe.
5160 (__spawnix): Likewise.
5161
5162 2016-09-28 Zack Weinberg <zackw@panix.com>
5163
5164 * scripts/check-installed-headers.sh: Generalize treatment of
5165 sys/elf.h to all target architectures.
5166
5167 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5168 deleted typedef ucontext_t.
5169
5170 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5171
5172 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5173 (__INTERNAL_SYSCALL1): Likewise.
5174 (__INTERNAL_SYSCALL2): Likewise.
5175 (__INTERNAL_SYSCALL3): Likewise.
5176 (__INTERNAL_SYSCALL4): Likewise.
5177 (__INTERNAL_SYSCALL5): Likewise.
5178 (__INTERNAL_SYSCALL6): Likewise.
5179 (__INTERNAL_SYSCALL7): Likewise.
5180 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5181 (__INTERNAL_SYSCALL_NARGS): Likewise.
5182 (__INTERNAL_SYSCALL_DISP): Likewise.
5183 (INTERNAL_SYSCALL_CALL): Likewise.
5184 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5185 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5186 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5187 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5188 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5189 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5190 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5191 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5192 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5193 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5194 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5195 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5196 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5197
5198 2016-09-23 Joseph Myers <joseph@codesourcery.com>
5199
5200 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5201 macro.
5202 * math/libm-test.inc (iszero_test_data): New array.
5203 (iszero_test): New function.
5204 (main): Call iszero_test.
5205 * manual/arith.texi (Floating Point Classes): Document iszero.
5206 * manual/libm-err-tab.pl: Update comment on interfaces without
5207 ulps tabulated.
5208
5209 2016-09-23 Zack Weinberg <zackw@panix.com>
5210
5211 * scripts/check-installed-headers.sh: New script.
5212 * Rules: In each directory that defines header files to be installed,
5213 run check-installed-headers.sh on them as a special test.
5214 * Makefile: Likewise for the headers installed at top level.
5215
5216 * include/aliases.h, include/alloca.h, include/argz.h
5217 * include/arpa/nameser.h, include/arpa/nameser_compat.h
5218 * include/elf.h, include/envz.h, include/err.h
5219 * include/execinfo.h, include/fpu_control.h, include/getopt.h
5220 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5221 * include/link.h, include/malloc.h, include/mcheck.h
5222 * include/mntent.h, include/netinet/ether.h
5223 * include/nss.h, include/obstack.h, include/printf.h
5224 * include/pty.h, include/resolv.h, include/rpc/auth.h
5225 * include/rpc/auth_des.h, include/rpc/auth_unix.h
5226 * include/rpc/clnt.h, include/rpc/des_crypt.h
5227 * include/rpc/key_prot.h, include/rpc/netdb.h
5228 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5229 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5230 * include/rpc/rpc_msg.h, include/rpc/svc.h
5231 * include/rpc/svc_auth.h, include/rpc/xdr.h
5232 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5233 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5234 * include/rpcsvc/ypupd.h, include/shadow.h
5235 * include/stdio_ext.h, include/sys/epoll.h
5236 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5237 * include/sys/prctl.h, include/sys/profil.h
5238 * include/sys/statfs.h, include/sys/sysctl.h
5239 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5240 * sysdeps/arm/nacl/include/bits/setjmp.h
5241 * sysdeps/mips/include/sys/asm.h
5242 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5243 * sysdeps/unix/sysv/linux/include/sys/timex.h
5244 * sysdeps/x86/fpu/include/bits/fenv.h:
5245 Add #ifndef _ISOMAC guard around internal declarations.
5246 Add multiple-inclusion guard if not already present.
5247
5248 2016-09-23 Zack Weinberg <zackw@panix.com>
5249
5250 * sysdeps/generic/sys/ucontext.h
5251 * sysdeps/arm/sys/ucontext.h
5252 * sysdeps/i386/sys/ucontext.h
5253 * sysdeps/m68k/sys/ucontext.h
5254 * sysdeps/mips/sys/ucontext.h
5255 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5256 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5257 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5258 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5259 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5260 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5261 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5262 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5263 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5264 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5265 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5266 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5267 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5268 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5269 Include both bits/sigcontext.h and bits/sigstack.h.
5270 Fix grammar error in comment, if present.
5271
5272 * bits/sigstack.h
5273 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5274 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5275 * sysdeps/unix/sysv/linux/bits/sigstack.h
5276 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5277 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5278 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5279 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5280 * bits/sigcontext.h
5281 * sysdeps/mach/hurd/i386/bits/sigcontext.h
5282 * sysdeps/unix/sysv/linux/bits/sigcontext.h
5283 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5284 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5285 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
5286 as well as signal.h, if this was not already allowed. Request
5287 definition of size_t if necessary. Minimize semantically-null
5288 differences across files.
5289
5290 2016-09-23 Zack Weinberg <zackw@panix.com>
5291
5292 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5293 Remove all logic conditional on __need macros. Move all the
5294 conditionally defined types to their own headers...
5295 * time/bits/types/clock_t.h: Define clock_t here.
5296 * time/bits/types/clockid_t.h: Define clockid_t here.
5297 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5298 * time/bits/types/struct_timespec.h: Define struct timespec here.
5299 * time/bits/types/struct_timeval.h: Define struct timeval here.
5300 * time/bits/types/struct_tm.h: Define struct tm here.
5301 * time/bits/types/time_t.h: Define time_t here.
5302 * time/bits/types/timer_t.h: Define timer_t here.
5303 * time/Makefile: Install the new headers.
5304
5305 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5306 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5307 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5308 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5309 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5310 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5311 * sysdeps/unix/sysv/linux/bits/resource.h
5312 * sysdeps/unix/sysv/linux/bits/timex.h
5313 * sysdeps/unix/sysv/linux/mips/bits/resource.h
5314 * sysdeps/unix/sysv/linux/net/ppp_defs.h
5315 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5316 * sysdeps/unix/sysv/linux/sys/acct.h
5317 * sysdeps/unix/sysv/linux/sys/timerfd.h
5318 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5319 * time/sys/time.h, time/sys/timeb.h
5320 Use the new bits/types headers.
5321
5322 * include/time.h: Remove __need logic.
5323 * include/bits/time.h
5324 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5325 * include/bits/types/time_t.h, include/bits/types/timer_t.h
5326 * include/bits/types/struct_itimerspec.h
5327 * include/bits/types/struct_timespec.h
5328 * include/bits/types/struct_timeval.h
5329 * include/bits/types/struct_tm.h:
5330 New wrapper headers.
5331
5332 2016-09-23 Zack Weinberg <zackw@panix.com>
5333
5334 * sysdeps/mach/hurd/net/if_ppp.h
5335 * sysdeps/unix/sysv/linux/net/if_ppp.h:
5336 Only define struct ifpppstatsreq and struct ifpppcstatsreq
5337 if __USE_MISC is defined, to ensure struct ifreq is declared.
5338
5339 * inet/netinet/ether.h: Condition all function prototypes
5340 on __USE_MISC, to ensure struct ether_addr is declared.
5341
5342 * socket/bits/types/struct_osockaddr.h: New header.
5343 * include/bits/types/struct_osockaddr.h: New wrapper.
5344 * socket/Makefile: Install the new header.
5345 * socket/sys/socket.h, inet/protocols/talkd.h:
5346 Refer to bits/types/struct_osockaddr.h for the definition of
5347 struct osockaddr.
5348
5349 2016-09-23 Zack Weinberg <zackw@panix.com>
5350
5351 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5352 * inet/protocols/routed.h, inet/protocols/talkd.h
5353 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5354 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5355 * sysdeps/generic/netinet/if_ether.h
5356 * sysdeps/generic/netinet/in_systm.h
5357 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5358 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5359 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5360 * sysdeps/mach/hurd/net/if_arp.h
5361 * sysdeps/mach/hurd/net/if_ppp.h
5362 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5363 * sysdeps/unix/sysv/linux/bits/in.h
5364 * sysdeps/unix/sysv/linux/net/ethernet.h
5365 * sysdeps/unix/sysv/linux/net/if_arp.h
5366 * sysdeps/unix/sysv/linux/net/if_ppp.h
5367 * sysdeps/unix/sysv/linux/net/if_shaper.h
5368 * sysdeps/unix/sysv/linux/net/route.h
5369 * sysdeps/unix/sysv/linux/netinet/if_ether.h
5370 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5371 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5372 * sysdeps/unix/sysv/linux/netipx/ipx.h
5373 * sysdeps/unix/sysv/linux/sys/acct.h
5374 * include/arpa/nameser.h, include/resolv.h:
5375 Change all uses of u_char to unsigned char,
5376 u_short and ushort to unsigned short, u_int and uint to unsigned int,
5377 u_long and ulong to unsigned long, u_int8_t to uint8_t,
5378 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5379 and u_int64_t and u_quad_t to uint64_t.
5380
5381 * mach/sys/reboot.h: Remove two casts of integer literals
5382 to the types they already have.
5383
5384 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5385 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5386 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5387 from referring to 'unsigned char' to 'uint8_t' for consistency with
5388 the macro definition below.
5389
5390 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5391 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5392 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5393 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5394 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5395 * sysdeps/unix/sysv/linux/sys/acct.h
5396 * include/arpa/nameser.h, include/resolv.h:
5397 Fix indentation disrupted by mechanical edits.
5398
5399 * inet/protocols/talkd.h, resolv/arpa/nameser.h
5400 * sysdeps/generic/netinet/in_systm.h
5401 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5402 * sysdeps/gnu/netinet/udp.h
5403 * sysdeps/unix/sysv/linux/net/ethernet.h
5404 * sysdeps/unix/sysv/linux/net/if_arp.h
5405 * sysdeps/unix/sysv/linux/net/if_ppp.h
5406 * sysdeps/unix/sysv/linux/net/if_shaper.h
5407 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5408 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5409 * sysdeps/unix/sysv/linux/netipx/ipx.h
5410 * sysdeps/unix/sysv/linux/sys/acct.h
5411 Include stdint.h for uintNN_t definitions.
5412 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5413
5414 2016-09-23 Zack Weinberg <zackw@panix.com>
5415
5416 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5417 * sysdeps/unix/sysv/linux/netrose/rose.h:
5418 Include sys/socket.h and netax25/ax25.h.
5419
5420 * inet/netinet/icmp6.h, inet/netinet/ip6.h
5421 * resolv/arpa/nameser_compat.h:
5422 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5423
5424 * sysdeps/unix/sysv/linux/sys/quota.h:
5425 Use __caddr_t instead of caddr_t.
5426 * sysdeps/unix/sysv/linux/sys/timerfd.h:
5427 Use __clockid_t instead of clockid_t.
5428
5429 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5430
5431 * argp/argp.h: Check whether _LIBC is defined before expanding it.
5432 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5433 expanding it.
5434
5435 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5436 Define __glibc_c99_flexarr_available to 1 when the compiler
5437 supports C99-compatible flexible array members, 0 otherwise.
5438 * sysdeps/unix/sysv/linux/bits/socket.h
5439 * sysdeps/mach/hurd/bits/socket.h
5440 * bits/socket.h: Use __glibc_c99_flexarr_available in
5441 definitions of struct cmsghdr and CMSG_DATA.
5442
5443 2016-09-23 Florian Weimer <fweimer@redhat.com>
5444
5445 * manual/nss.texi (NSS Modules Interface): Adjust function return
5446 type to enum nss_status. Document errnop argument. Clarify
5447 h_errnop semantics. Fix cross-reference formatting.
5448 (NSS Module Function Internals): Mention that *errnop needs to be
5449 set on failure, but not to zero.
5450
5451 2016-09-23 Florian Weimer <fweimer@redhat.com>
5452
5453 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
5454 (get_random_name): New functions.
5455 (check_wrapper_flags_mode): Use linkat to give the new file a name
5456 determined by get_random_name.
5457 (do_test): Add calls to test open64 and openat64.
5458
5459 2016-09-23 Florian Weimer <fweimer@redhat.com>
5460
5461 * test-skeleton.c: Remove #include <stdarg.h>.
5462
5463 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
5464
5465 [BZ #19826]
5466 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
5467 initialization of static TLS entries.
5468 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
5469 * nptl/allocatestack.c (init_one_static_tls): Likewise.
5470
5471 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5472
5473 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
5474 _hurd_malloc_fork_prepare.
5475 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
5476 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
5477 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
5478 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
5479 (_hurd_fork_child_hook): Drop malloc_fork_child.
5480 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
5481 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
5482 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
5483 after locking locks (notably hurd_dtable_lock). Call
5484 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
5485 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
5486 __malloc_fork_unlock_child.
5487 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
5488
5489 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
5490
5491 * soft-fp/extendhftf2.c: New.
5492 * soft-fp/fixhfti.c: Likewise.
5493 * soft-fp/fixunshfti.c: Likewise.
5494 * soft-fp/floattihf.c: Likewise.
5495 * soft-fp/floatuntihf.c: Likewise.
5496 * soft-fp/half.h: Likewise.
5497 * soft-fp/trunctfhf2.c: Likewise.
5498
5499 2016-09-21 Joseph Myers <joseph@codesourcery.com>
5500
5501 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
5502 macro.
5503 * math/libm-test.inc (issubnormal_test_data): New array.
5504 (issubnormal_test): New function.
5505 * manual/arith.texi (Floating Point Classes): Document
5506 issubnormal.
5507 * manual/libm-err-tab.pl: Update comment on interfaces without
5508 ulps tabulated.
5509
5510 * sysdeps/generic/stdint.h: Define
5511 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5512 <bits/libc-header-start.h> instead of including <features.h>.
5513 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
5514 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
5515 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
5516 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
5517 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
5518 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
5519 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
5520 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
5521 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
5522 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
5523 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
5524 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
5525 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
5526 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
5527 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
5528 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
5529 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
5530 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
5531 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
5532 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
5533 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
5534 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
5535 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
5536 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
5537 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
5538 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
5539 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
5540 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
5541 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
5542 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
5543 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
5544 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
5545 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
5546 * manual/arith.texi (Integers): Document these macros for types
5547 specified by width properties.
5548 * manual/lang.texi (Width of Type): Document these macros for
5549 other standard typedefs.
5550 * stdlib/tst-width-stdint.c: New file.
5551 * stdlib/Makefile (tests): Add tst-width-stdint.
5552
5553 2016-09-21 Florian Weimer <fweimer@redhat.com>
5554
5555 [BZ #20016]
5556 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
5557 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
5558 Move ...
5559 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
5560 ... here, as compatibility symbols in a new file.
5561 * resolv/Makefile (libresolv-routines): Add compat-hooks.
5562 * resolv/res_init.c (__res_vinit): Adjust member names.
5563 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
5564 * resolv/resolv.h (res_sendhookact, res_send_qhook)
5565 (res_send_rhook): Remove.
5566 (struct __res_state): Rename qhook, rhook members.
5567
5568 2016-09-21 Florian Weimer <fweimer@redhat.com>
5569
5570 malloc: Use __libc_lock wrappers.
5571 * malloc/arena.c (list_lock, free_list_lock): Define using
5572 __libc_lock_define_initialized.
5573 (arena_lock): Adjust formatting.
5574 * malloc/malloc.c (struct malloc_state): Define mutex using
5575 __libc_lock_define.
5576 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
5577 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
5578 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
5579 (mutex_unlock, mutex_trylock): Remove.
5580 (__pthread_initialize): Remove unused macro.
5581 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
5582 (mutex_unlock, mutex_trylock): Remove.
5583
5584 2016-09-21 Florian Weimer <fweimer@redhat.com>
5585
5586 [BZ #20592]
5587 Remove RR type classification macros.
5588 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
5589 (ns_t_udp_p, ns_t_xfr_p): Remove.
5590
5591 2016-09-21 Florian Weimer <fweimer@redhat.com>
5592
5593 Remove misleading version information.
5594 * resolv/arpa/nameser.h (__NAMESER): Remove.
5595 * resolv/arpa/nameser_compat.h (__BIND): Remove.
5596
5597 2016-09-21 Florian Weimer <fweimer@redhat.com>
5598
5599 Remove the always-defined BIND_4_COMPAT macro.
5600 * resolv/arpa/nameser.h: Unconditionally include
5601 <arpa/nameser_compat.h>.
5602 (BIND_4_COMPAT): Remove.
5603 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
5604
5605 2016-09-21 Florian Weimer <fweimer@redhat.com>
5606
5607 [BZ #20591]
5608 Remove obsolete DNSSEC support.
5609 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
5610 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
5611 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
5612 (ns_verify_tcp, ns_verify_tcp_init): Remove.
5613 (ns_cert_types): Add comment.
5614 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
5615 separately.
5616 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
5617 (dst_s_dns_key_id): Remove.
5618 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
5619 variables.
5620
5621 2016-09-21 Florian Weimer <fweimer@redhat.com>
5622
5623 [BZ #20524]
5624 * manual/string.texi (String/Array Comparison): Clarify the
5625 strverscmp behavior.
5626
5627 2016-09-21 Florian Weimer <fweimer@redhat.com>
5628
5629 * test-skeleton.c (xasprintf): Add function.
5630 * io/tst-open-tmpfile.c: New test.
5631 * io/Makefile (tests): Add it.
5632
5633 2016-09-21 Florian Weimer <fweimer@redhat.com>
5634
5635 Avoid running $(CXX) during build to obtain header file paths.
5636 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
5637 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
5638 * Makerules (cstdlib, cmath): Remove variables. Use
5639 $(c++-cstdlib-header), $(c++-cmath-header) instead.
5640 * configure: Regenerate.
5641
5642 2016-09-21 Florian Weimer <fweimer@redhat.com>
5643
5644 * Makeconfig (all-object-suffixes): Include .op only if
5645 $(build-profile).
5646
5647 2016-09-21 Florian Weimer <fweimer@redhat.com>
5648
5649 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
5650 conditionals. Do not define PATH_MAX.
5651
5652 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5653
5654 * posix/Makefile (tests): Add tst-spawn3.
5655 * posix/tst-spawn3.c: New file.
5656 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
5657 if it is already opened for open action.
5658
5659 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
5660 all signals when executing the clone vfork child.
5661 (SIGALL_SET): Remove macro.
5662
5663 * nptl/Makefile (tests): Add tst-exec5.
5664 * nptl/tst-exec5.c: New file.
5665 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
5666 asynchronous cancellation.
5667
5668 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
5669
5670 * hurd/exc2signal.c: #include <hurd/signal.h>
5671 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
5672 'sigcode', 'error' parameters with 'detail' parameter. Fix code
5673 accordingly.
5674 * mach/mach_error.c (mach_error): Fix old-style function definition.
5675 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
5676
5677 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5678
5679 * math/Makefile (libm-calls): Remove s_nanF.
5680 (gen-libm-calls): Add s_nanF.
5681
5682 * math/s_nan.c: Refactor into ...
5683 * math/s_nan_template.c: New file.
5684
5685 * math/s_nanf.c: Removed.
5686 * math/s_nanl.c: Removed.
5687 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
5688 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
5689
5690 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5691 (LDOUBLE_nanl_libm_version): New macro.
5692
5693 * sysdeps/generic/math-type-macros-double.h:
5694 (M_STRTO_NAN): New macro.
5695 * sysdeps/generic/math-type-macros-float.h: Likewise.
5696 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5697
5698 * sysdeps/generic/math-type-macros.h: Document
5699 M_STRTO_NAN.
5700
5701 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5702
5703 * math/s_nanf.c: Remove __nanf undef.
5704 * math/s_nan.c: Remove __nan undef.
5705 * math/s_nanl.c: Remove __nanl undef.
5706
5707 * sysdeps/generic/math_private.h (__nan): Remove macro
5708 override.
5709 (__nanf): Likewise.
5710 (__nanl): Likewise.
5711
5712 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5713
5714 * math/Makefile (gen-all-calls): New variable.
5715 (generated): Replace gen-libm-calls with gen-all-calls.
5716 (gen-libm-templates.stmp): Likewise. Also, ensure
5717 the output directory exists or is created and add
5718 dependency on the Makefile.
5719 (calls): Move s_ldexpF into gen-calls.
5720 (gen-calls): New variable.
5721
5722 * math/s_ldexpf.c: Removed.
5723 * math/s_ldexpl.c: Removed.
5724 * math/s_ldexp.c: Refactored into ...
5725 * math/s_ldexp_template.c: New file.
5726
5727 * sysdeps/generic/math-type-macros-double.h: Remove
5728 redundant fall-through definition of declare_mgen_alias.
5729 (declare_mgen_alias_2): New macro.
5730
5731 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
5732 New macro for function aliased to two exported symbols.
5733
5734 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
5735 new template file.
5736 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5737
5738 2016-09-20 Florian Weimer <fweimer@redhat.com>
5739
5740 * Makeconfig (all-object-suffixes): Remove .og.
5741 * Makerules (elide-routines.og): Remove.
5742 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
5743 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
5744 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
5745
5746 2016-09-20 Florian Weimer <fweimer@redhat.com>
5747
5748 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
5749 .os objects.
5750
5751 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5752
5753 [BZ #20615]
5754 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
5755 fpu directory by non-fpu.
5756 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
5757 on non-fpu directory from a fpu directory.
5758
5759 2016-09-19 Joseph Myers <joseph@codesourcery.com>
5760
5761 * include/limits.h: Define
5762 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5763 <bits/libc-header-start.h> instead of including <features.h>.
5764 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
5765 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
5766 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
5767 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
5768 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
5769 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
5770 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
5771 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
5772 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5773 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
5774 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
5775 * manual/lang.texi (Width of Type): Document these macros.
5776 * stdlib/tst-width.c: New file.
5777 * stdlib/Makefile (tests): Add tst-width.
5778
5779 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5780
5781 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
5782 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
5783
5784 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5785
5786 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
5787 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5788 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5789
5790 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5791
5792 [BZ #18243]
5793 * rt/Makefile (test): Add tst-shm-cancel.
5794 * rt/tst-shm-cancel.c: New file.
5795 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
5796
5797 [BZ #18243]
5798 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
5799 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
5800 definition.
5801 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
5802 uncontended case.
5803 * nptl/sem_wait.c (__new_sem_wait): Likewise.
5804 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
5805 (tf): Fix check for uncontended case.
5806 (do_test): Likewise.
5807 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
5808 (tf): Fix check for uncontended case.
5809 (do_test): Likewise.
5810 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
5811 (tf): Fix check for uncontended case.
5812 (do_test): Likewise.
5813 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
5814 (tf): Fix check for uncontended case.
5815 (do_test): Likewise.
5816
5817 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
5818 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
5819
5820 [BZ #15765]
5821 * nptl/Makefile (tests): Add tst-sem16.
5822 * nptl/tst-sem16.c: New file.
5823 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
5824
5825 * nptl/sem_open.c (sem_open): Init pad value to 0.
5826 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5827 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5828
5829 2016-09-15 Florian Weimer <fweimer@redhat.com>
5830
5831 [BZ #20611]
5832 * inet/Makefile (routines): Add inet6_scopeid_pton.
5833 (tests): Add tst-inet6_scopeid_pton.
5834 * inet/inet6_scopeid_pton.c: New file.
5835 * inet/net-internal.h: Likewise.
5836 * inet/tst-inet6_scopeid_pton.c: New test.
5837 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
5838 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
5839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5840
5841 2016-09-14 Florian Weimer <fweimer@redhat.com>
5842
5843 Remove support for compiling wrappers with PTW.
5844 * sysdeps/nptl/Makeconfig: Drop ptw- support.
5845 * nptl/Makefile (pthread-compat-wrappers): Define.
5846 (libpthread-routines): Use pthread-compat-wrappers.
5847 * sysdeps/unix/sysv/linux/alpha/Makefile
5848 (libpthread-routines, libpthread-shared-only-routines): Remove
5849 ptw- prefix.
5850 * sysdeps/s390/nptl/Makefile
5851 (libpthread-routines, libpthread-shared-only-routines): Likewise.
5852 * sysdeps/ia64/nptl/Makefile
5853 (libpthread-routines, libpthread-shared-only-routines): Likewise.
5854 * sysdeps/nacl/Makefile (libpthread-routines): Use
5855 pthread-compat-wrappers to filter the routines list instead of the
5856 ptw- prefix.
5857
5858 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5859
5860 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
5861 with L() and remove explicit suffix, convert real literals
5862 which can be equivalentally substituted with integers, and
5863 transform -L(x) to L(-x).
5864
5865 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5866 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5867 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5868 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5869 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5870 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5871 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5872 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5873 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5874 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5875 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5876 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5877 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5878 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5879 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5880 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5881 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5882 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5883 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5884 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5885 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5886 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5887 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5888 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5889 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5890 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5891 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5892 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5893 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5894 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5895 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5896 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5897 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5898 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5899 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5900 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5901 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5902 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5904 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5905 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5906 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5907 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5908 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5909 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5910 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5911 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5912 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5913 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5914 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5915
5916 2016-09-13 Florian Weimer <fweimer@redhat.com>
5917
5918 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
5919
5920 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
5921
5922 * malloc/Makefile (tests): Remove individual static test names
5923 and just add all of tests-static.
5924
5925 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
5926
5927 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5928
5929 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
5930 file.
5931
5932 * sysdeps/sparc/fpu/fegetmode.c: New file.
5933 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
5934
5935 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
5936 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
5937
5938 * sysdeps/s390/fpu/fegetmode.c: New file.
5939 * sysdeps/s390/fpu/fesetmode.c: Likewise.
5940
5941 * sysdeps/powerpc/fpu/fegetmode.c: New file.
5942 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
5943 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
5944 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
5945 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
5946 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
5947
5948 * sysdeps/mips/fpu/fegetmode.c: New file.
5949 * sysdeps/mips/fpu/fesetmode.c: Likewise.
5950
5951 * sysdeps/m68k/fpu/fegetmode.c: New file.
5952 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
5953
5954 * sysdeps/ia64/fpu/fegetmode.c: New file.
5955 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
5956
5957 * sysdeps/hppa/fpu/fegetmode.c: New file.
5958 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
5959
5960 * sysdeps/arm/fegetmode.c: New file.
5961 * sysdeps/arm/fesetmode.c: Likewise.
5962
5963 * sysdeps/alpha/fpu/fegetmode.c: New file.
5964 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
5965
5966 * sysdeps/aarch64/fpu/fegetmode.c: New file.
5967 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
5968
5969 * math/fegetmode.c: New file.
5970 * math/fesetmode.c: Likewise.
5971 * sysdeps/i386/fpu/fegetmode.c: Likewise.
5972 * sysdeps/i386/fpu/fesetmode.c: Likewise.
5973 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
5974 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
5975 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
5976 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
5977 declaration.
5978 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
5979 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
5980 typedef.
5981 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5982 * sysdeps/aarch64/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/alpha/fpu/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/arm/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/hppa/fpu/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/ia64/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/m68k/fpu/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/microblaze/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 macro.
6003 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6004 (femode_t): New typedef.
6005 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6006 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6007 (femode_t): New typedef.
6008 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6009 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6010 (femode_t): New typedef.
6011 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6012 declaration.
6013 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6014 * sysdeps/s390/fpu/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/sh/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 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6021 (femode_t): New typedef.
6022 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6023 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6024 (femode_t): New typedef.
6025 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6026 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6027 (femode_t): New typedef.
6028 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6029 * manual/arith.texi (FE_DFL_MODE): Document macro.
6030 (fegetmode): Document function.
6031 (fesetmode): Likewise.
6032 * math/Versions (fegetmode): New libm symbol at version
6033 GLIBC_2.25.
6034 (fesetmode): Likewise.
6035 * math/Makefile (libm-support): Add fegetmode and fesetmode.
6036 (tests): Add test-femode and test-femode-traps.
6037 * math/test-femode-traps.c: New file.
6038 * math/test-femode.c: Likewise.
6039 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6040 alias for __fe_dfl_env.
6041 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6042 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6043 (__fe_dfl_mode): Likewise.
6044 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6045 version GLIBC_2.25.
6046 * sysdeps/nacl/libm.abilist: Update.
6047 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6048 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6049 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6050 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6051 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6052 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6053 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6054 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6055 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6056 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6057 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6058 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6060 Likewise.
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6062 Likewise.
6063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6064 Likewise.
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6066 Likewise.
6067 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6068 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6069 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6070 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6071 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6073 Likewise.
6074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6075 Likewise.
6076 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6077 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6078 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6079
6080 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
6081
6082 [BZ #20495]
6083 [BZ #20508]
6084 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6085 processors, set Use_dl_runtime_resolve_slow and set
6086 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6087 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6088 New.
6089 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6090 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6091 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6092 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6093 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6094 if Use_dl_runtime_resolve_opt is set. Use
6095 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6096 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6097 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
6098 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6099 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6100 New.
6101 (_dl_runtime_resolve_opt): Likewise.
6102 (_dl_runtime_profile): Define only if _dl_runtime_profile is
6103 defined.
6104
6105 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6106
6107 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6108 __libc_memalign with "+ RELA R_390_GLOB_DAT".
6109
6110 2016-09-06 Florian Weimer <fweimer@redhat.com>
6111
6112 Convert malloc to __libc_lock. Automated part, using this Perl
6113 s/// command:
6114 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6115 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6116 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6117 conversion.
6118
6119 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
6120
6121 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6122 (linknamespace-symlists-tests): Likewise.
6123 (linknamespace-header-tests): Likewise.
6124
6125 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
6126
6127 [BZ #19810]
6128 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6129 * elf/tst-noload.c: New test case.
6130 * elf/Makefile (tests): Add tst-noload.
6131
6132 2016-09-02 Roland McGrath <roland@hack.frob.com>
6133
6134 * sysdeps/nacl/dup.c: Add libc_hidden_def.
6135
6136 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6137 not any more.
6138
6139 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6140
6141 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6142
6143 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6144 (do_cos_slow): Likewise.
6145 (do_sin): Likewise.
6146 (do_sin_slow): Likewise.
6147 (slow): Likewise.
6148 (slow1): Likewise.
6149 (slow2): Likewise.
6150 (sloww): Likewise.
6151 (sloww1): Likewise.
6152 (sloww2): Likewise.
6153 (bsloww): Likewise.
6154 (bsloww1): Likewise.
6155 (bsloww2): Likewise.
6156 (cslow2): Likewise.
6157
6158 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6159
6160 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6161 arguments. Consolidate input partitioning from callers here.
6162 (do_cos_slow): Likewise.
6163 (do_sin): Likewise.
6164 (do_sin_slow): Likewise.
6165 (do_sincos_1): Remove the no longer necessary input partitioning.
6166 (do_sincos_2): Likewise.
6167 (__sin): Likewise.
6168 (__cos): Likewise.
6169 (slow1): Likewise.
6170 (slow2): Likewise.
6171 (sloww1): Likewise.
6172 (sloww2): Likewise.
6173 (bsloww1): Likewise.
6174 (bsloww2): Likewise.
6175 (cslow2): Likewise.
6176
6177 2016-09-02 Florian Weimer <fweimer@redhat.com>
6178
6179 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6180 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
6181 outside of allocated array.
6182
6183 2016-09-02 Florian Weimer <fweimer@redhat.com>
6184
6185 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6186 instead of MB_CUR_MAX to avoid variable-length array.
6187
6188 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6189
6190 * math/Makefile (libm-calls): Remove k_rem_pio2F.
6191 (type-double-routines): Add k_rem_pio2.
6192 (type-float-routines): Add k_rem_pio2f.
6193
6194 * sysdeps/generic/math_private.h:
6195 (__kernel_rem_pio2l): Removed.
6196
6197 * math/k_rem_pio2l.c: Removed.
6198 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6199 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6200 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6201 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6202
6203 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6204
6205 * math/Makefile (gen-libm-calls): Add s_fmin
6206 (libm-calls): Remove above.
6207
6208 * math/s_fmin.c: Refactor into ...
6209 * math/s_fmin_template.c: New file.
6210
6211 * math/s_fminf.c: Removed.
6212 * math/s_fminl.c: Removed.
6213 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6214 (LDOUBLE_fmin_libm_version): New macro.
6215
6216 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6217 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6218
6219 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6220
6221 * math/Makefile: (gen-libm-calls): Add s_fmax.
6222 (libm-calls): Remove above.
6223
6224 * math/s_fmax.c: Refactor into ...
6225 * math/s_fmax_template.c: New file.
6226 * math/s_fmaxf.c: Removed.
6227 * math/s_fmaxl.c: Removed.
6228
6229 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6230 (LDOUBLE_fmaxl_libm_version): New macro.
6231
6232 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6233 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6234
6235 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6236 s_fmin.c to pick the aarch64 version of the file.
6237 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6238 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6239
6240 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6241
6242 * math/Makefile: (gen-libm-calls): Add s_nextdown.
6243 (libm-calls): Remove above.
6244
6245 * math/s_nextdown.c: Refactor into ...
6246 * math/s_nextdown_template.c: New file.
6247 * math/s_nextdownf.c: Removed.
6248 * math/s_nextdownl.c: Removed.
6249
6250 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6251
6252 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6253
6254 * math/Makefile (gen-libm-calls): Add s_fdim.
6255 (libm-calls): Move to above.
6256
6257 * math/s_fdim.c: Renamed and refactored into to ...
6258 * math/s_fdim_template.c: New file.
6259 * math/s_fdiml.c: Removed.
6260 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6261 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6262
6263 * sysdeps/generic/math-type-macros-double.h:
6264 (declare_mgen_alias): Don't declare if already declared.
6265 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6266 Likewise.
6267
6268 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6269 (declare_mgen_alias): Don't declare if already declared.
6270 (M_LIBM_NEED_COMPAT): Likewise.
6271 (declare_mgen_libm_compat): Likewise.
6272 (LDOUBLE_fdiml_libm_version): New macro.
6273
6274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6275 Include math/s_fdim.c now that ldbl-opt version is not needed.
6276 (declare_mgen_alias): New macro to disable aliasing.
6277
6278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6279 (declare_mgen_alias): Likewise.
6280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6281 (declare_mgen_alias): Likewise.
6282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6283 (declare_mgen_alias): Likewise.
6284 (M_LIBM_NEED_COMPAT): Likewise.
6285
6286 2016-09-01 Florian Weimer <fweimer@redhat.com>
6287
6288 [BZ #20525]
6289 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6290 Include <linux/quota.h>.
6291 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6292 and btodb.
6293 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6294 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6295 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6296 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6297 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6298 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6299 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6300 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6301 types.
6302 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6303 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6304
6305 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6306
6307 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6308 (gammal_positive): Fix spacing.
6309 (__ieee754_gammal_r): Likewise.
6310
6311 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6312
6313 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6314 (_Float128): Define as long double, always.
6315 (L): Apply long double type suffix, always.
6316
6317 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6318 _Float128, excepting comments.
6319
6320 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6382 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6385 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6386 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6387 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6388
6389 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6390 _Float128, and include math_private.h.
6391 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6392
6393 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6394 long double semantics.
6395 (_Float128): Likewise.
6396 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6397 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6398 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6399 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6400
6401 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6402
6403 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6404 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6405 * sysdeps/s390/configure: Regenerated.
6406 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6407 instruction for raising over-/underflow if z196 zarch is supported
6408 by default.
6409 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6410
6411 2016-08-30 Svante Signell <svante.signell@gmail.com>
6412
6413 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6414 it point to a dumb buffer for RPC to fill it.
6415
6416 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
6417
6418 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6419 instead of if/else.
6420 (do_sin_slow): Likewise.
6421 (do_sincos_1): Use fabs instead of if/else.
6422 (do_sincos_2): Likewise.
6423 (__sin): Likewise.
6424 (__cos): Likewise.
6425 (slow2): Likewise.
6426 (sloww): Likewise.
6427 (sloww1): Likewise. Drop argument M.
6428 (sloww2): Use fabs instead of if/else.
6429 (bsloww): Likewise.
6430 (bsloww1): Likewise.
6431 (bsloww2): Likewise.
6432
6433 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6434 fall through comment.
6435 (do_sincos_1): Likewise.
6436
6437 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6438 Consolidate switch cases 0 and 2.
6439
6440 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6441
6442 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
6443 (libm-calls): Remove the above.
6444
6445 * math/s_cexp_template.c: Update using type-generic macros.
6446 * math/s_clog10_template.c: Likewise.
6447 * math/s_cpow_template.c: Likewise.
6448 * math/s_clog_template.c: Likewise.
6449 * math/s_cproj_template.c: Likewise.
6450 * math/s_csqrt_template.c: Likewise.
6451
6452 * math/s_cexp.c: Removed.
6453 * math/s_cexpf.c: Removed.
6454 * math/s_cexpl.c: Removed.
6455 * math/s_clog10.c: Removed.
6456 * math/s_clog10f.c: Removed.
6457 * math/s_clog10l.c: Removed.
6458 * math/s_cpow.c: Removed.
6459 * math/s_cpowf.c: Removed.
6460 * math/s_cpowl.c: Removed.
6461 * math/s_clog.c: Removed.
6462 * math/s_clogf.c: Removed.
6463 * math/s_clogl.c: Removed.
6464 * math/s_cproj.c: Removed.
6465 * math/s_cprojf.c: Removed.
6466 * math/s_cprojl.c: Removed.
6467 * math/s_csqrt.c: Removed.
6468 * math/s_csqrtf.c: Removed.
6469 * math/s_csqrtl.c: Removed.
6470
6471 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
6472 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
6473 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
6474 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
6475 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
6476 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
6477
6478 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
6479 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
6480 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
6481 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
6482 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
6483 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
6484 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
6485 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
6486 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
6487 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
6488 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
6489
6490 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
6491 version.
6492
6493 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
6494 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
6495 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
6496 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
6497
6498 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6499
6500 * s_cexp_template.c: Copy of s_cexp.c.
6501 * s_clog_template.c: Copy of s_clog.c.
6502 * s_clog10_template.c: Copy of s_clog10.c.
6503 * s_cpow_template.c: Copy of s_cpow.c.
6504 * s_cproj_template.c: Copy of s_cproj.c.
6505 * s_csqrt_template.c: Copy of s_csqrt.c.
6506
6507 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6508
6509 [BZ #20517]
6510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6511 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
6512 exported.
6513
6514 2016-08-29 Joseph Myers <joseph@codesourcery.com>
6515
6516 * math/fetestexceptflag.c: New file.
6517 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
6518 Stefan Liebler.
6519 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6520 (fetestexceptflag): New function declaration.
6521 * manual/arith.texi (fetestexceptflag): Document function.
6522 * math/Versions (fetestexceptflag): New libm symbol at version
6523 GLIBC_2.25.
6524 * math/Makefile (libm-support): Add fetestexceptflag.
6525 (tests): Add test-fetestexceptflag.
6526 * math/test-fetestexceptflag.c: New file.
6527 * sysdeps/nacl/libm.abilist: Update.
6528 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6529 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6530 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6531 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6532 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6533 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6534 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6535 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6536 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6537 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6538 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6539 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6541 Likewise.
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6543 Likewise.
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6545 Likewise.
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6547 Likewise.
6548 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6549 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6550 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6551 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6552 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6554 Likewise.
6555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6556 Likewise.
6557 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6558 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6559 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6560
6561 2016-08-26 Florian Weimer <fweimer@redhat.com>
6562
6563 [BZ #20432]
6564 Avoid strong references to malloc-internal symbols when linking
6565 statically, to support statically interposed mallocs.
6566 * include/libc-symbols.h (call_function_static_weak): New macro.
6567 * malloc/Makefile (tests): Add tst-interpose-nothread,
6568 tst-interpose-thread, tst-interpose-static-nothread,
6569 tst-interpose-static-thread.
6570 (tests-static): Add tst-interpose-static-nothread,
6571 tst-interpose-static-thread.
6572 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
6573 tst-interpose-aux-thread.o.
6574 (test-extras): Add tst-interpose-aux-nothread,
6575 tst-interpose-aux-thread.
6576 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
6577 tst-interpose-aux-nothread.o.
6578 (tst-interpose-thread, tst-interpose-static-thread): Link with
6579 tst-interpose-aux-thread.o and libthread.
6580 * malloc/tst-interpose-aux-nothread.c: New file.
6581 * malloc/tst-interpose-aux-thread.c: Likewise.
6582 * malloc/tst-interpose-aux.c: Likewise.
6583 * malloc/tst-interpose-aux.h: Likewise.
6584 * malloc/tst-interpose-nothread.c: Likewise.
6585 * malloc/tst-interpose-skeleton.c: Likewise.
6586 * malloc/tst-interpose-static-nothread.c: Likewise.
6587 * malloc/tst-interpose-static-thread.c: Likewise.
6588 * malloc/tst-interpose-thread.c: Likewise.
6589 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
6590 * sysdeps/mach/hurd/fork.c (__fork): Only call
6591 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6592 __malloc_fork_unlock_child if defined.
6593 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6594
6595 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6596
6597 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
6598 timespec C99 designated initialization.
6599
6600 2016-08-26 Florian Weimer <fweimer@redhat.com>
6601
6602 [BZ #19946]
6603 Avoid expected SIGALRM signals.
6604 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
6605 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
6606 (xpthread_create, xpthread_detach, xpthread_join)
6607 (delayed_exit_thread, delayed_exit): New functions.
6608 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
6609 (tf): Use xpthread_cond_wait.
6610 (do_test): Likewise. Replace alarm with delayed_exit.
6611 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6612 (do_test): Call delayed_exit. Report failure.
6613 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6614 (do_test): Call delayed_exit.
6615 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6616 (do_test): Call delayed_exit. Use xpthread_join. Report error.
6617 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6618 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
6619 error.
6620 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6621 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
6622 error.
6623 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
6624 (do_test): Call delayed_exit.
6625 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
6626 (do_test): Call delayed_exit.
6627 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
6628 (do_test): Call delayed_exit instead of alarm. Use
6629 xpthread_mutex_lock.
6630 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
6631 (do_test): Call delayed_exit instead of alarm. Use
6632 xpthread_mutex_lock.
6633 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
6634 (do_test): Call delayed_exit instead of alarm.
6635 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
6636 (do_test): Call delayed_exit instead of alarm. Use
6637 xpthread_spin_lock.
6638 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
6639 (do_test): Call delayed_exit instead of alarm. Use
6640 xpthread_join.
6641
6642 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
6643
6644 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
6645 adjust CFA when allocating register save area on re-aligned
6646 stack.
6647
6648 2016-08-26 Florian Weimer <fweimer@redhat.com>
6649
6650 * string/tst-cmp.c: New test.
6651 * string/Makefile (tests): Add it.
6652
6653 2016-08-25 Mark Wielaard <mark@klomp.org>
6654
6655 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
6656 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
6657 (check_tree_recurse): Use newly defined accessors.
6658 (check_tree): Likewise.
6659 (maybe_split_for_insert): Likewise.
6660 (__tfind): Likewise.
6661 (__tdelete): Likewise.
6662 (trecurse): Likewise.
6663 (tdestroy_recurse): Likewise.
6664 (__tsearch): Likewise. And add asserts for malloc alignment.
6665 (__twalk): Cast root to node in case CHECK_TREE is defined.
6666
6667 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
6668
6669 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
6670
6671 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6672
6673 * math/Makefile (libm-gen-calls): Add
6674 catan, catanh, ctan, ctanh.
6675 (libm-calls): Remove the above.
6676
6677 * math/s_catan_template.c: Update using type-generic macros.
6678 * math/s_catanh_template.c: Likewise.
6679 * math/s_ctan_template.c: Likewise.
6680 * math/s_ctanh_template.c: Likewise.
6681
6682 * math/s_catanf.c: Removed.
6683 * math/s_catan.c: Removed.
6684 * math/s_catanl.c: Removed.
6685 * math/s_catanhf.c: Removed.
6686 * math/s_catanh.c: Removed.
6687 * math/s_catanhl.c: Removed.
6688 * math/s_ctanf.c: Removed.
6689 * math/s_ctan.c: Removed.
6690 * math/s_ctanl.c: Removed.
6691 * math/s_ctanhf.c: Removed.
6692 * math/s_ctanh.c: Removed.
6693 * math/s_ctanhl.c: Removed.
6694
6695 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
6696 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
6697 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
6698 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
6699 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
6700 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
6701
6702 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
6703 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6704 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6705 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6706
6707 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6708
6709 * s_catan_template.c: Copy of s_catan.c.
6710 * s_catanh_template.c: Copy of s_catanh.c.
6711 * s_ctan_template.c: Copy of s_ctan.c.
6712 * s_ctanh_template.c: Copy of s_ctanh.c.
6713
6714 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6715
6716 * math/Makefile (gen-libm-calls): Move
6717 casin, casinh, csin, csinh here.
6718 (libm-calls): Remove the above.
6719
6720 * math/s_casin_template.c: Update using type-generic macros.
6721 * math/s_casinh_template.c: Likewise.
6722 * math/s_csin_template.c: Likewise.
6723 * math/s_csinh_template.c: Likewise.
6724 * math/k_casinh_template.c: Likewise.
6725
6726 * math/s_casinf.c: Removed.
6727 * math/s_casin.c: Removed.
6728 * math/s_casinl.c: Removed.
6729 * math/s_casinh.c: Removed.
6730 * math/s_casinhf.c: Removed.
6731 * math/s_casinhl.c: Removed.
6732 * math/s_csin.c: Removed.
6733 * math/s_csinf.c: Removed.
6734 * math/s_csinl.c: Removed.
6735 * math/s_csinh.c: Removed.
6736 * math/s_csinhf.c: Removed.
6737 * math/s_csinhl.c: Removed.
6738 * math/k_casinh.c: Removed.
6739 * math/k_casinhf.c: Removed.
6740 * math/k_casinhl.c: Removed.
6741
6742 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
6743 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6744 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6745 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6746
6747 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
6748 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
6749 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
6750 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
6751 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
6752 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
6753 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
6754 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
6755
6756 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
6757 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
6758 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
6759 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
6760
6761 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
6762 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
6763 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
6764 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
6765
6766 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6767
6768 * s_casin_template.c: Copy of s_casin.c.
6769 * s_casinh_template.c: Copy of s_casinh.c.
6770 * s_csin_template.c: Copy of s_csin.c.
6771 * s_csinh_template.c: Copy of s_csinh.c.
6772 * k_casinh_template.c: Copy of k_casinh.c.
6773
6774 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
6775
6776 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
6777
6778 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6779
6780 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
6781 (mul_split) Remove, rename as mul_splitl, remove
6782 redundant float.h include, and include via mul_splitl.h
6783
6784 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6786 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6787 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6788 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6789
6790 * math/mul_splitl.h: New file.
6791
6792 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
6793 Move into mul_split.h, and remove redundant float.h include.
6794
6795 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6797 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6798 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
6799
6800 * math/mul_split.h: New file.
6801
6802 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6803
6804 * math/Makefile (libm-gen-calls): Move
6805 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
6806 (libm-calls): Remove above.
6807
6808 * math/s_cacos_template.c: Update using type-generic macros.
6809 * math/s_cacosh_template.c: Likewise.
6810 * math/s_ccos_template.c: Likewise.
6811 * math/s_ccosh_template.c: Likewise.
6812
6813 * math/s_cacosf.c: Removed.
6814 * math/s_cacos.c: Removed.
6815 * math/s_cacosl.c: Removed.
6816 * math/s_cacoshf.c: Removed.
6817 * math/s_cacosh.c: Removed.
6818 * math/s_cacoshl.c: Removed.
6819 * math/s_ccosf.c: Removed.
6820 * math/s_ccos.c: Removed.
6821 * math/s_ccosl.c: Removed.
6822 * math/s_ccoshf.c: Removed.
6823 * math/s_ccosh.c: Removed.
6824 * math/s_ccoshl.c: Removed.
6825
6826 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
6827 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
6828 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
6829 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
6830 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
6831 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
6832
6833 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
6834 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
6835 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
6836 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
6837
6838 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
6839 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6840 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6841 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6842
6843 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6844
6845 * s_cacos_template.c: Copy of s_cacos.c.
6846 * s_cacosh_template.c: Copy of s_cacosh.c.
6847 * s_ccos_template.c: Copy of s_ccos.c.
6848 * s_ccosh_template.c: Copy of s_ccosh.c.
6849
6850 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6851
6852 * stdlib/tst-strtod-round-skeleton.c:
6853 Refactored from tst-strtod-round.c.
6854
6855 (L_): New macro to apply literal modifier.
6856 (FNPFX): New macro to select str or wcs prefix.
6857 (CHAR): New macro to choose wchar_t or char.
6858 (STRM): New macro to choose printf for tested character type.
6859
6860 (STRTO): New macro to choose appropriate string -> real function.
6861 (FNPFXS): Stringitized version of FNPFX.
6862 (STR): Support for above macro.
6863 (STRX): Likewise.
6864
6865 (TEST): Update with above macros.
6866 (test): Likewise.
6867 (GEN_ONE_TEST): Likewise.
6868 (test_in_one_mode): Likewise.
6869
6870 * stdlib/tst-strtod-round.c: New file.
6871 * wcsmbs/tst-wcstod-round.c: New file.
6872
6873 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
6874 (tst-wcstod-round): Add libm depencency for fesetround.
6875
6876 2016-08-19 Zack Weinberg <zackw@panix.com>
6877
6878 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
6879
6880 2016-08-18 Torvald Riegel <triegel@redhat.com>
6881
6882 [BZ #20477]
6883 * resolv/res_hconf.c (do_init): Use atomic access.
6884 * resolv/res_hconf.h: Add comments.
6885 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
6886 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
6887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6888
6889 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
6890
6891 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6892 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
6893 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6894 Likewise.
6895
6896 2016-08-18 Florian Weimer <fweimer@redhat.com>
6897
6898 [BZ #16907]
6899 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
6900 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
6901 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
6902 (__attribute__): Remove definition.
6903
6904 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6905
6906 * sysdeps/ieee754/ldbl-128/e_asinl.c:
6907 Remove unused sqrtl declaration.
6908
6909 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6910
6911 * math/Makefile: (gen-libm-templates.stmp): New rule.
6912 (libm-calls): Move carg conj cimag and cabs into ...
6913 (gen-libm-calls): New variable.
6914 (generated): Inform Make objects from gen-libm-calls
6915 may be generated.
6916
6917 * sysdeps/generic/math-type-macros.h: New file.
6918 * sysdeps/generic/math-type-macros-float.h: Likewise.
6919 * sysdeps/generic/math-type-macros-double.h: Likewise.
6920 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6921 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
6922 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
6923
6924 * math/cabs.c: Refactor into
6925 * math/cabs_template.c: new file.
6926 * math/cabsf.c: Removed.
6927 * math/cabsl.c: Removed.
6928 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
6929 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
6930
6931 * math/carg.c: Refactor into
6932 * math/carg_template.c: new file.
6933 * math/cargf.c: Removed.
6934 * math/cargl.c: Removed.
6935 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
6936 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
6937
6938 * math/conj.c: Refactor into
6939 * math/conj_template.c: new file.
6940 * math/conjf.c: Removed.
6941 * math/conjl.c: Removed.
6942 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
6943 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
6944
6945 * math/cimag.c: Refactor into
6946 * math/cimag_template.c: new file.
6947 * math/cimagf.c: Removed.
6948 * math/cimagl.c: Removed.
6949 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6950 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6951
6952 * math/cimag.c: Refactor into
6953 * math/cimag_template.c: new file.
6954 * math/cimagf.c: Removed.
6955 * math/cimagl.c: Removed.
6956 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6957 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6958
6959 2016-08-17 Florian Weimer <fweimer@redhat.com>
6960
6961 Reduce time to expected nptl/tst-once5 failure.
6962 * nptl/tst-once5.cc (TIMEOUT): Define.
6963
6964 2016-08-17 Florian Weimer <fweimer@redhat.com>
6965
6966 [BZ #20452]
6967 Avoid additional copies of objects in libc.a in static libraries.
6968 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
6969 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
6970 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
6971 rt-sysdep.
6972 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
6973 Add nptl-sysdep.
6974 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
6975 Add ptw-sysdep.
6976 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
6977 rt-sysdep.
6978 * sysdeps/unix/sysv/linux/alpha/Makefile
6979 (libpthread-shared-only-routines): Add ptw-sysdep,
6980 ptw-sigprocmask, ptw-rt_sigaction.
6981 * sysdeps/unix/sysv/linux/ia64/Makefile
6982 (librt-shared-only-routines): Add rt-sysdep.
6983 * sysdeps/unix/sysv/linux/i386/Makefile
6984 (libpthread-shared-only-routines): Add libc-do-syscall.
6985 * sysdeps/unix/sysv/linux/microblaze/Makefile
6986 (libpthread-shared-only-routines): Add sysdep.
6987 * sysdeps/unix/sysv/linux/powerpc/Makefile
6988 (librt-shared-only-routines): Add rt-sysdep.
6989 (libpthread-shared-only-routines): Add sysdep.
6990 * sysdeps/unix/sysv/linux/s390/Makefile
6991 (librt-shared-only-routines): Add rt-sysdep.
6992 * sysdeps/unix/sysv/linux/sparc/Makefile
6993 (librt-shared-only-routines): Add rt-sysdep.
6994 (libpthread-shared-only-routines): Add sysdep.
6995 * sysdeps/unix/sysv/linux/tile/Makefile
6996 (libpthread-shared-only-routines): Likewise.
6997
6998 2016-08-16 Joseph Myers <joseph@codesourcery.com>
6999
7000 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7001 Mask implicit bit out of unpacked value.
7002 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7003 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7004 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7005
7006 * sysdeps/sparc/fpu/fesetexcept.c: New file.
7007
7008 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7009
7010 * sysdeps/s390/fpu/fesetexcept.c: New file.
7011
7012 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7013 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7014 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7015
7016 * sysdeps/mips/fpu/fesetexcept.c: New file.
7017
7018 * sysdeps/m68k/fpu/fesetexcept.c: New file.
7019
7020 * sysdeps/ia64/fpu/fesetexcept.c: New file.
7021
7022 * sysdeps/hppa/fpu/fesetexcept.c: New file.
7023
7024 * sysdeps/arm/fesetexcept.c: New file.
7025
7026 * sysdeps/alpha/fpu/fesetexcept.c: New file.
7027
7028 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7029
7030 * math/fesetexcept.c: New file.
7031 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7032 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7033 * math/fenv.h: Define
7034 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7035 <bits/libc-header-start.h> instead of including <features.h>.
7036 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7037 declaration.
7038 * manual/arith.texi (fesetexcept): Document function.
7039 * math/Versions (fesetexcept): New libm symbol at version
7040 GLIBC_2.25.
7041 * math/Makefile (libm-support): Add fesetexcept.
7042 (tests): Add test-fesetexcept and test-fesetexcept-traps.
7043 * math/test-fesetexcept.c: New file.
7044 * math/test-fesetexcept-traps.c: Likewise.
7045 * sysdeps/nacl/libm.abilist: Update.
7046 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7047 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7048 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7049 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7050 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7051 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7052 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7053 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7054 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7055 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7056 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7057 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7059 Likewise.
7060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7061 Likewise.
7062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7063 Likewise.
7064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7065 Likewise.
7066 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7067 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7068 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7069 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7070 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7072 Likewise.
7073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7074 Likewise.
7075 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7076 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7077 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7078
7079 2016-08-16 Florian Weimer <fweimer@redhat.com>
7080
7081 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7082 New.
7083 (do_test): Apply default_stack_size_in_mb if not set.
7084 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7085
7086 2016-08-15 Andreas Schwab <schwab@suse.de>
7087
7088 [BZ #20435]
7089 CVE-2016-6323
7090 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7091 as .cantunwind.
7092
7093 2016-08-12 Joseph Myers <joseph@codesourcery.com>
7094
7095 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7096 comment from fraiseexcpt.c.
7097
7098 * math/test-fexcept.c (feraiseexcept_exact): New function.
7099 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7100 (test_except): Likewise.
7101
7102 2016-08-10 Joseph Myers <joseph@codesourcery.com>
7103
7104 [BZ #20455]
7105 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7106 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7107 to be restored.
7108
7109 * math/test-fexcept-traps.c: New file.
7110 * math/test-fexcept.c: Likewise.
7111 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7112 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7113 macro.
7114 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7115 (EXCEPTION_SET_FORCES_TRAP): Likewise.
7116
7117 2016-08-09 Torvald Riegel <triegel@redhat.com>
7118
7119 * include/atomic.h (atomic_fetch_and_relaxed,
7120 atomic_fetch_and_release, atomic_fetch_or_release,
7121 atomic_fetch_xor_release): New.
7122
7123 2016-08-06 Christian Seiler <christian@iwakd.de>
7124
7125 [BZ #20444]
7126 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7127 MACH_PORT_NULL.
7128
7129 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7130
7131 * math/s_fdim.c: Avoid alias renamed.
7132 * math/s_fdimf.c: Likewise.
7133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7134 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7135 Add s_fdimf-vis3, s_fdim-vis3.
7136 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7137 (CFLAGS-s_fdim-vis3.c): Likewise.
7138 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7139 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7140
7141 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7142
7143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7144 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7145 Remove s_fdimf-vis3, s_fdim-vis3.
7146 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7147 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7154 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7155 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7156
7157 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7158
7159 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7160 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7161 -Wa,-Av9a -mvis.
7162
7163 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7164
7165 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7166 LIT() to individual constants in simple expressions
7167 after splitting on spaces.
7168 (_apply_lit): Rename replaced version, and use it to
7169 apply to what appears to be a token.
7170
7171 * math/libm-test.inc: Fix many, many issues with
7172 spacing.
7173
7174 2016-08-05 Joseph Myers <joseph@codesourcery.com>
7175
7176 * math/math.h: Move comment about <bits/mathdef.h> definitions
7177 above inclusion of <bits/mathdef.h>. Do not mention
7178 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7179
7180 2016-08-05 Torvald Riegel <triegel@redhat.com>
7181
7182 * include/atomic.h (atomic_exchange_relaxed): New.
7183
7184 2016-08-04 Joseph Myers <joseph@codesourcery.com>
7185
7186 * math/e_scalb.c: Do not include <fenv.h>.
7187 (invalid_fn): Do calculation resulting in NaN instead of raising
7188 FE_INVALID and returning a NaN explicitly.
7189 * math/e_scalbf.c: Do not include <fenv.h>.
7190 (invalid_fn): Do calculation resulting in NaN instead of raising
7191 FE_INVALID and returning a NaN explicitly.
7192 * math/e_scalbl.c: Do not include <fenv.h>.
7193 (invalid_fn): Do calculation resulting in NaN instead of raising
7194 FE_INVALID and returning a NaN explicitly.
7195
7196 2016-08-04 Carlos O'Donell <carlos@redhat.com>
7197
7198 * po/de.po: Updated from Translation Project.
7199 * po/fi.po: Likewise.
7200 * po/sv.po: Likewise.
7201
7202 2016-08-04 Florian Weimer <fweimer@redhat.com>
7203
7204 [BZ #20452]
7205 Use sysdep.o from libc.a in static libraries.
7206 * sysdeps/unix/sysv/linux/i386/Makefile
7207 (libpthread-shared-only-routines): Add sysdep.
7208 (librt-shared-only-routines): Likewise.
7209
7210 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7211
7212 * math/tgmath.h (nextdown): Define if
7213 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7214 (nextup): Likewise.
7215
7216 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7217 macro.
7218 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7219 Document.
7220 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7221 Document macro.
7222 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7223 (exp10f): Likewise.
7224 (exp10l): Likewise.
7225 * math/bits/mathcalls.h (exp10): Declare if
7226 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7227
7228 * manual/arith.texi (nextup): Fix typo in last change.
7229
7230 2016-08-03 Zack Weinberg <zackw@panix.com>
7231
7232 [BZ #19239]
7233 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7234 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7235 define major, minor, and makedev to issue deprecation warnings on use.
7236 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7237 previously-activated deprecation warnings for these macros and prevent
7238 subsequent inclusions of this header from having any effect.
7239 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7240 including <sys/sysmacros.h>, and undefine it again afterward.
7241
7242 2016-08-03 Zack Weinberg <zackw@panix.com>
7243
7244 * sysdeps/generic/sys/sysmacros.h: Delete file.
7245 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7246 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7247 * bits/sysmacros.h: ... here; this encoding is now the generic
7248 encoding. Now defines only the following macros:
7249 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7250 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7251 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7252
7253 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7254 bits/sysmacros.h and the above new macros to generate the
7255 public implementations of major, minor, and makedev.
7256 * misc/tst-makedev.c: New test.
7257 * include/sys/sysmacros.h: New wrapper.
7258
7259 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7260 (routines): Add makedev.
7261 (tests): Add tst-makedev.
7262 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7263 gnu_dev_makedev.
7264 * posix/Makefile (headers): Remove sys/sysmacros.h.
7265 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7266
7267 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7268 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7269 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7270 * sysdeps/unix/sysv/linux/alpha/libc.abilist
7271 * sysdeps/unix/sysv/linux/arm/libc.abilist
7272 * sysdeps/unix/sysv/linux/hppa/libc.abilist
7273 * sysdeps/unix/sysv/linux/i386/libc.abilist
7274 * sysdeps/unix/sysv/linux/ia64/libc.abilist
7275 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7276 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7277 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7278 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7279 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7280 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7281 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7282 * sysdeps/unix/sysv/linux/nios2/libc.abilist
7283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7287 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7288 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7289 * sysdeps/unix/sysv/linux/sh/libc.abilist
7290 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7291 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7294 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7295 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7296 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7297 Add GLIBC_2.25.
7298
7299 * include/features.h (__glibc_clang_prereq): New macro.
7300 * misc/sys/cdefs.h (__glibc_clang_has_extension)
7301 (__attribute_deprecated_msg__): New macros.
7302
7303 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7304
7305 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7306 macro.
7307 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7308 * manual/arith.texi (issignaling): Document as ISO from TS
7309 18661-1:2014.
7310 (nextup): Likewise.
7311 (nextupf): Likewise.
7312 (nextupl): Likewise.
7313 (nextdown): Likewise.
7314 (nextdownf): Likewise.
7315 (nextdownl): Likewise.
7316 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7317 macro.
7318 * math/math.h: Define
7319 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7320 <bits/libc-header-start.h> instead of including <features.h>.
7321 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7322 [__USE_GNU].
7323 * math/bits/mathcalls.h (nextdown): Declare if
7324 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7325 (nextup): Likewise.
7326 (__issignaling): Likewise.
7327
7328 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7329
7330 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7331 check, and remove __glibc_likely hint
7332 from FP_INFINITE check.
7333 * s_csinhf.c (__csinhf): Likewise.
7334
7335 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7336 hint from FP_INFINITE check.
7337 * s_csinhl.c (__csinhl): Likewise.
7338
7339 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7340
7341 * math/Makefile (libm-calls): Insert F placeholder into
7342 object names. Move w_lgamma_compat* routines into
7343 (libm-compat-calls): New variable.
7344 (libm-compat-calls-ldouble-yes): New variable.
7345 (calls): Insert F placeholder.
7346 (generated): Redefine using new type-foreach macro call.
7347 (routines): Likewise.
7348
7349 (types): New variable to hold a list of symbolic names
7350 for each type supported by the target machine.
7351 (libm-routines): Redefine using new types variable.
7352 (type-foreach): macro to replace fooF with the
7353 appropriately suffixed foo for each types.
7354
7355 (type-ldouble-suffix): New variable.
7356 (type-ldouble-routines): Likewise.
7357 (type-ldouble-yes): Likewise.
7358 (type-double-suffix): Likewise.
7359 (type-double-routines): Likewise.
7360 (type-float-suffix): Likewise.
7361 (type-float-routines): Likewise.
7362
7363 (dbl-only-routines): Remove.
7364 (long-c-yes): Likewise.
7365 (long-m-routines): Likewise.
7366 (long-m-support): Likewise.
7367 (long-m-yes): Likewise.
7368 (test-longdouble-yes): Likewise.
7369
7370 (test-float.o): Simplify by increasing the scope of the
7371 recipe which adds libm-test.stmp to the vector types.
7372 (test-ifloat.o): Likewise.
7373 (test-float-finite.o): Likewise.
7374 (test-double.o): Likewise
7375 (test-idouble.o): Likewise.
7376 (test-double-finite.o): Likewise.
7377 (test-ldouble.o): Likewise
7378 (test-ildoubl.o): Likewise.
7379 (test-ldouble-finite.o): Likewise.
7380
7381 (libm-tests): Redefine type tests using foreach and the
7382 list of types in types.
7383
7384 (CPPFLAGS-test-ildoubl.c): Rename to
7385 (CPPFLAGS-test-ildouble.c): New variable
7386
7387 * math/test-ildoubl.c: Rename to
7388 * math/test-ildouble.c: New file.
7389
7390 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7391
7392 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7393 Use fabsl instead of fabs.
7394 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7395 Likewise.
7396 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7397 Add long double suffix to constant to ensure proper
7398 promotion to long double.
7399
7400 2016-08-03 Tom Tromey <tom@tromey.com>
7401
7402 [BZ #20311]
7403 * nptl_db/Makefile (headers): Add proc_service.h.
7404 * nptl_db/proc_service.h: Add include guard. Use
7405 __BEGIN/__END_DECLS.
7406 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7407 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7408 arguments.
7409
7410
7411 2016-08-03 Florian Weimer <fweimer@redhat.com>
7412
7413 [BZ #17730]
7414 Avoid using memalign for TCB allocations.
7415 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7416 (_dl_allocate_tls_storage): Use malloc and manual alignment.
7417 Avoid alignment gap in the TLS_DTV_AT_TP case.
7418 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7419 determine the pointer to free.
7420 * nptl/tst-tls3-malloc.c: New test.
7421 * nptl/Makefile (tests): Add it.
7422 (tst-tls3-malloc): Link with libdl, libpthread.
7423 (LDFLAGS-tst-tls3-malloc): Set.
7424 (tst-tls3-malloc.out): Depend on DSO used in test.
7425
7426 2016-08-03 Florian Weimer <fweimer@redhat.com>
7427
7428 [BZ #17730]
7429 Avoid using memalign for TLS allocations.
7430 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
7431 is_static member with to_free member.
7432 (union dtv): Use struct dtv_pointer.
7433 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7434 dtv_pointer instead of is_static.
7435 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7436 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7437 instead of val.
7438 (allocate_dtv_entry): New function.
7439 (allocate_and_init): Return struct dtv_pointer. Call
7440 allocate_dtv_entry instead of __libc_memalign.
7441 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
7442 instead of val.
7443 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
7444 instead of is_static. Adjust call to allocate_and_init.
7445 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
7446 struct dtv_pointer instead of val.
7447
7448 2016-08-03 Florian Weimer <fweimer@redhat.com>
7449
7450 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
7451 (MALLOC_ALIGN_MASK): Move ...
7452 * malloc/malloc-internal.h: ... to here.
7453 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
7454
7455 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7456
7457 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
7458 (UDP_ENCAP_GTP1U): Likewise.
7459
7460 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7461 (PF_MAX): Update value.
7462 (AF_QIPCRTR): New macro.
7463
7464 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7465
7466 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
7467 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7468 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7469 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7470 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7471 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7472 s_truncf-vis3, s_trunc-vis3.
7473 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7474 (CFLAGS-s_ceil-vis3.c): Likewise.
7475 (CFLAGS-s_floorf-vis3.c): Likewise.
7476 (CFLAGS-s_floor-vis3.c): Likewise.
7477 (CFLAGS-s_truncf-vis3.c): Likewise.
7478 (CFLAGS-s_trunc-vis3.c): Likewise.
7479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
7480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7481 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
7482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
7484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
7486 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7487 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
7488 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7489 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
7490 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7491
7492 2016-08-02 David S. Miller <davem@davemloft.net>
7493
7494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7495 (__nearbyint_vis3): Don't check for sNaN before float register is
7496 loaded with the incoming argument.
7497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7498 (__nearbyintf_vis3): Likewise.
7499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
7500 Likewise.
7501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
7502 Likewise.
7503
7504 * string/test-strncmp.c (do_test_limit): Make sure the test data
7505 stream is aligned as required for the type "CHAR".
7506 (do_test): Likewise.
7507
7508 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7509
7510 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
7511 by beq instructions jumping to the end of the function.
7512 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
7513 clobber list. Use "i" constraint instead of "X".
7514 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
7515 of "X".
7516
7517 2016-08-02 Joseph Myers <joseph@codesourcery.com>
7518
7519 * bits/libc-header-start.h: New file.
7520 * Makefile (headers): Add bits/libc-header-start.h.
7521 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
7522 (__GLIBC_USE): New macro.
7523 * libio/stdio.h: Define
7524 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7525 <bits/libc-header-start.h> instead of including <features.h>.
7526 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
7527 (open_memstream): Likewise.
7528 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
7529 (__asprintf): Likewise.
7530 (asprintf): Likewise.
7531 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
7532 (getdelim): Likewise.
7533 (getline): Likewise.
7534 * string/string.h: Define
7535 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7536 <bits/libc-header-start.h> instead of including <features.h>.
7537 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
7538 (strndup): Likewise.
7539 * wcsmbs/wchar.h: Define
7540 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7541 <bits/libc-header-start.h> instead of including <features.h>.
7542 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
7543 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
7544
7545 2016-08-02 Florian Weimer <fweimer@redhat.com>
7546
7547 Support linking against compatibility symbols, for use in tests.
7548 * include/libc-symbols.h (symbol_version_reference): New macro.
7549 (symbol_version): Use it.
7550 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
7551 (compat_symbol): Use compat_symbol_reference.
7552 (compat_symbol_1, compat_symbol_2): Remove.
7553 (compat_symbol_reference, compat_symbol_reference_1)
7554 (compat_symbol_reference_2): New macro. Use
7555 symbol_version_reference.
7556
7557 2016-08-02 Florian Weimer <fweimer@redhat.com>
7558
7559 [BZ #19469]
7560 * malloc/Makefile (CPPFLAGS): Compile tests with
7561 -DTEST_NO_MALLOPT.
7562 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
7563
7564 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
7565
7566 [BZ #20033]
7567 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
7568 finite version.
7569 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
7570 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
7571 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
7572 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
7573 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
7574 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
7575 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
7576 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
7577 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
7578 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
7579 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
7580 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
7581 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
7582 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
7583 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
7584 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
7585 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
7586 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
7587 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
7588 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
7589 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
7590 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
7591 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
7592 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
7593 in zero power.
7594
7595 2016-08-02 Florian Weimer <fweimer@redhat.com>
7596
7597 [BZ #20370]
7598 * malloc/arena.c (get_free_list): Update comment. Assert that
7599 arenas on the free list have no attached threads.
7600 (remove_from_free_list): New function.
7601 (reused_arena): Call it.
7602
7603 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
7604
7605 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
7606 when it is a NaN.
7607 [_IEEE_FP_INEXACT] Remove.
7608 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
7609 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
7610 when it is a NaN.
7611 [_IEEE_FP_INEXACT] Remove.
7612 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
7613 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
7614 when it is a NaN.
7615 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
7616 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
7617 when its absolute value is greater than 0x1.0p52.
7618 [_IEEE_FP_INEXACT] Remove.
7619 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
7620 when its absolute value is greater than 0x1.0p23.
7621 [_IEEE_FP_INEXACT] Remove.
7622
7623 2016-08-01 Carlos O'Donell <carlos@redhat.com>
7624
7625 * version.h (RELEASE): Set to "development"
7626 (VERSION): Set to 2.24.90.
7627 * NEWS: Add 2.25 section.
7628
7629 * version.h (RELEASE): Set to "stable"
7630 (VERSION): Set to 2.24.
7631 * include/features.h (__GLIBC_MINOR__): Set to 24.
7632
7633 * NEWS: Add 2.24 fixed bugs.
7634 * po/libc.pot: Regenerate.
7635
7636 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
7637
7638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7639 [$(subdir) = math] (libm-sysdep_routines): Remove.
7640 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7641 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7642 s_truncf-vis3, s_trunc-vis3.
7643 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
7645 file.
7646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
7647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
7648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
7652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
7653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
7655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
7656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
7657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
7658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
7659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
7660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
7661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
7665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
7666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
7667 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
7668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
7674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7675 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7676 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
7677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7679 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
7680 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
7681 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
7682 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
7683 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7684 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7685 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
7686 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
7687 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
7688 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
7689
7690 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
7691
7692 [BZ #20384]
7693 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
7694 test-double-libmvec-sincos-avx-main.o,
7695 test-double-libmvec-sincos-avx2-main.o,
7696 test-double-libmvec-sincos-main.o,
7697 test-float-libmvec-sincosf-avx-main.o,
7698 test-float-libmvec-sincosf-avx2-main.o and
7699 test-float-libmvec-sincosf-main.o.
7700 test-float-libmvec-sincosf-avx512-main.o.
7701 ($(objpfx)test-double-libmvec-sincos): Also link with
7702 $(objpfx)test-double-libmvec-sincos-main.o.
7703 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
7704 $(objpfx)test-double-libmvec-sincos-avx-main.o.
7705 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
7706 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
7707 ($(objpfx)test-float-libmvec-sincosf): Also link with
7708 $(objpfx)test-float-libmvec-sincosf-main.o.
7709 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
7710 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
7711 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
7712 test-double-libmvec-sincos-avx512-main.o and
7713 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
7714 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
7715 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
7716 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
7717 (CFLAGS-test-double-libmvec-sincos.c): Removed.
7718 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
7719 (CFLAGS-test-double-libmvec-sincos-main.c): New.
7720 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
7721 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
7722 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
7723 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
7724 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
7725 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
7726 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
7727 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
7728 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
7729 -DREQUIRE_AVX2.
7730 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
7731 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
7732 -DREQUIRE_AVX512F.
7733 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
7734 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
7735 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7736 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
7737 file.
7738 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
7739 Likewise.
7740 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
7741 Likewise.
7742 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
7743 Likewise.
7744 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
7745 Likewise.
7746 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
7747 Likewise.
7748 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
7749 Likewise.
7750 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
7751 Likewise.
7752
7753 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
7754
7755 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
7756
7757 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
7758
7759 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
7760 and typo in a comment about AT_HWCAP entry.
7761
7762 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7763
7764 * sysdeps/aarch64/libm-test-ulps: Updated.
7765
7766 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7767
7768 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
7769 of r13 as it is not restored in mvcle case.
7770
7771 2016-07-19 Mike Frysinger <vapier@gentoo.org>
7772
7773 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
7774 Rename "ret" to "__ret".
7775 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
7776 inline_syscall5, inline_syscall6): Likewise.
7777
7778 2016-07-19 Will Newton <will.newton@gmail.com>
7779
7780 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
7781 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
7782 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
7783 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
7784 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
7785
7786 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
7787
7788 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
7789 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
7790 -mfpmath=387 with $(rtld-CFLAGS).
7791 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
7792 $(rtld-CFLAGS).
7793
7794 2016-07-18 Ross Burton <ross.burton@intel.com>
7795 Khem Raj <raj.khem@gmail.com>
7796
7797 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
7798 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
7799 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
7800 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
7801 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
7802 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
7803 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
7804 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
7805 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
7806 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
7807 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
7808 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
7809 R_METAG_TLS_DTPOFF): New.
7810
7811 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
7812 Matt Clay <mclay@lycos.com>
7813
7814 [BZ #20357]
7815 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
7816 to call __mpsin/__mpcos and to negate values.
7817 * math/auto-libm-test-in: Add test.
7818 * math/auto-libm-test-out: Regenerate.
7819
7820 2016-07-18 Zack Weinberg <zackw@panix.com>
7821
7822 * grp/Makefile: Don't install the internal header grp-merge.h.
7823
7824 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
7825
7826 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7827
7828 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7829
7830 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
7831
7832 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7833
7834 [BZ #15368]
7835 * sysdeps/unix/sysv/linux/nptl-signals.h
7836 (__nptl_clear_internal_signals): New function.
7837 (__libc_signal_block_all): Likewise.
7838 (__libc_signal_block_app): Likewise.
7839 (__libc_signal_restore_set): Likewise.
7840 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
7841 implementation.
7842 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
7843 the cached pid/tid value in pthread structure.
7844
7845 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
7846
7847 [BZ #20347]
7848 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7849
7850 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7851
7852 [BZ #20348]
7853 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
7854 preadv64, pwrite64 and pwritev64.
7855
7856 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7857
7858 [BZ #20350]
7859 * posix/tst-preadwrite.c: Renamed to ...
7860 * posix/tst-preadwrite-common.c: This.
7861 (PREAD): Removed.
7862 (PWRITE): Likewise.
7863 (STRINGIFY): Likewise.
7864 (STRINGIFY2): Likewise.
7865 (do_prepare): Make it static and remove function arguments.
7866 (do_test): Likewise.
7867 (PREPARE): Updated.
7868 (TEST_FUNCTION): New.
7869 (name): Make it static.
7870 (fd): Likewise.
7871 (do_prepare): Use create_temp_file.
7872 (do_test): Renamed to ...
7873 (do_test_with_offset): This. Make it static and accept offset.
7874 Properly check return value of PWRITE and PREAD. Return bytes
7875 read. Don't close fd nor unlink name.
7876 * posix/tst-preadwrite.c: Rewrite.
7877 * posix/tst-preadwrite64.c: Likewise.
7878
7879 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7880
7881 [BZ #20309]
7882 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
7883 -mtls-dialect=gnu2 works.
7884 * configure: Regenerated.
7885 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
7886 (tests): Add tst-gnu2-tls1.
7887 (modules-names): Add tst-gnu2-tls1mod.
7888 ($(objpfx)tst-gnu2-tls1): New.
7889 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
7890 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
7891 * elf/tst-gnu2-tls1.c: New file.
7892 * elf/tst-gnu2-tls1mod.c: Likewise.
7893 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
7894 bytes for push in the PLT entry to align the stack.
7895
7896 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
7897
7898 [BZ #20349]
7899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
7900
7901 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7902
7903 [BZ #18707]
7904 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
7905 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7906
7907 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7908
7909 * sysdeps/unix/sysv/linux/sysdep.h
7910 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
7911 guards.
7912 * misc/tst-preadvwritev-common.c: New file.
7913 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
7914 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
7915 a check for files larger than 2GB.
7916
7917 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7918 (__ASSUME_OFF_DIFF_OFF64): Remove define.
7919 * sysdeps/unix/sysv/linux/pread.c
7920 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7921 __OFF_T_MATCHES_OFF64_T.
7922 * sysdeps/unix/sysv/linux/pread64.c
7923 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
7924 * sysdeps/unix/sysv/linux/preadv.c
7925 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
7926 * sysdeps/unix/sysv/linux/preadv64.c
7927 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
7928 * sysdeps/unix/sysv/linux/pwrite.c
7929 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
7930 * sysdeps/unix/sysv/linux/pwrite64.c
7931 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
7932 * sysdeps/unix/sysv/linux/pwritev.c
7933 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
7934 * sysdeps/unix/sysv/linux/pwritev64.c
7935 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
7936
7937 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
7938
7939 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7940 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
7941
7942 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
7943
7944 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
7945
7946 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
7947
7948 [BZ #20240]
7949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7950 (CFLAGS-s_modf-ppc32.c): New variable.
7951 (CFLAGS-s_modff-ppc32.c): Likewise.
7952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7953 (CFLAGS-s_modf-ppc64.c): Likewise.
7954 (CFLAGS-s_modff-ppc64.c): Likewise.
7955
7956 2016-07-07 Andreas Schwab <schwab@suse.de>
7957
7958 [BZ #20263]
7959 * nptl/tst-robust10.c: New test.
7960 * nptl/Makefile (tests): Add tst-robust10.
7961
7962 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
7963
7964 [BZ #20263]
7965 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
7966
7967 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7968
7969 * sysdeps/s390/linkmap.h (struct link_map_machine):
7970 Remove member gotplt and add member jmprel.
7971 * sysdeps/s390/s390-32/dl-machine.h
7972 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
7973 instead of gotplt with &got[3].
7974 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
7975 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7976
7977 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
7978
7979 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
7980
7981 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7982
7983 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
7984 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
7985 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7986 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
7987 * libio/vtables.c (_IO_vtable_check)
7988 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7989 * libio/libioP.h (IO_set_accept_foreign_vtables)
7990 [!PTR_MANGLE]: Do not call PTR_MANGLE.
7991
7992 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
7993
7994 [BZ #20314]
7995 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
7996 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
7997 $(common-objpfx)cmath.
7998 ($(common-objpfx)cstdlib): New target.
7999 ($(common-objpfx)cmath): Likewise.
8000
8001 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
8002
8003 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8004
8005 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8006
8007 [BZ #20327]
8008 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8009 are not part of the string.
8010
8011 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8012
8013 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8014 * nptl/tst-cancel4-common.h (fifoname): New variable.
8015 (fifofd): Likewise.
8016 (cl_fifo): New function.
8017 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8018 SIGINT.
8019 (tf_open): Add early cancel test.
8020
8021 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
8022
8023 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8024
8025 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
8026
8027 * sysdeps/generic/ldsodefs.h
8028 (dl_symbol_visibility_binds_local_p): New inline function.
8029 * elf/dl-addr.c (determine_info): Treat hidden and internal
8030 symbols as local.
8031 * elf/dl-lookup.c (do_lookup_x): Likewise.
8032 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8033
8034 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
8035
8036 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8037 invalid exception for a sNaN input.
8038 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8039 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8040 (__nearbyint_vis3): Likewise
8041 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8042 (__nearbyintf_vis3): Likewise
8043 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8044 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8045 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8046 Likewise.
8047 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8048 Likewise.
8049
8050 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
8051
8052 [BZ #20139]
8053 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8054 (HAVE_AVX512DQ_ASM_SUPPORT): This.
8055 * sysdeps/x86_64/configure.ac: Require assembler from binutils
8056 2.24 or above.
8057 (HAVE_AVX512_ASM_SUPPORT): Removed.
8058 (HAVE_AVX512DQ_ASM_SUPPORT): New.
8059 * sysdeps/x86_64/configure: Regenerated.
8060 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8061 check unconditional.
8062 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8063 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8064 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8065 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8066 Likewise.
8067 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8068 Likewise.
8069 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8070 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8071 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8072 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8073 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8074 Likewise.
8075 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8076 Likewise.
8077 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8078 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8079 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8080 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8081 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8082 Likewise.
8083 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8084 Likewise.
8085 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8086 Likewise.
8087 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8088 Likewise.
8089 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8090 Likewise.
8091 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8092 Likewise.
8093 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8094 Likewise.
8095 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8096 Likewise.
8097 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8098 Likewise.
8099 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8100 Likewise.
8101 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8102 Likewise.
8103
8104 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
8105
8106 [BZ #20024]
8107 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8108 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8109 of this implementation of vector function.
8110 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8111 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8112 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8113 Likewise.
8114 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8115 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8116 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8117 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8118 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8119 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8120 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8121 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8122 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8123 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8124 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8125 for testing vector sincos with fixed ABI.
8126 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8127 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8128 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8129 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8130 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8131 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8132 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8133 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8134 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8135 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8136 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8137 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8138 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8139 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8140 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8141 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8142
8143 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8144
8145 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8146
8147 2016-06-30 Anton Blanchard <anton@samba.org>
8148
8149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8150 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8151 s_sinf-ppc64.
8152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8155 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8156
8157 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8158
8159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8161 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8162 e_expf-ppc64.
8163 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8164 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8165 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8166 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8167
8168 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
8169
8170 [BZ #20277]
8171 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8172 when SHARED is defined.
8173
8174 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
8175
8176 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8177 (index_arch_Prefer_ERMS): Likewise.
8178 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8179 __memcpy_erms for Prefer_ERMS.
8180 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8181 (__memmove_erms): Enabled for libc.a.
8182 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8183 __memmove_erms or Prefer_ERMS.
8184 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8185 __mempcpy_erms for Prefer_ERMS.
8186 * sysdeps/x86_64/multiarch/memset.S (memset): Return
8187 __memset_erms for Prefer_ERMS.
8188
8189 2016-06-30 Andreas Schwab <schwab@suse.de>
8190
8191 [BZ #20262]
8192 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8193 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
8194 of memory.
8195
8196 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
8197
8198 [BZ #18645]
8199 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8200 (test-extras): Add tst-cleanupx4aux.
8201 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
8202 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8203 tst-cleanupx4aux.o.
8204 * nptl/tst-cleanupx4aux.c: New file.
8205
8206 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8207
8208 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8209
8210 2016-06-29 Andreas Schwab <schwab@suse.de>
8211
8212 [BZ #20260]
8213 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8214 address before the beginning of the string as an integer to avoid
8215 array-bounds warning.
8216
8217 2016-06-28 Richard Henderson <rth@redhat.com>
8218
8219 * elf/elf.h (EM_BPF): New.
8220 (EM_NUM): Update.
8221 (R_BPF_NONE, R_BPF_MAP_FD): New.
8222
8223 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8224 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8225 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8226 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8227 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8228 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8229 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8230 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8231 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8232 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8233 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8234 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8235 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8236 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8237 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8238 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8239 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8240 (EM_NUM): Update.
8241
8242 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
8243
8244 [BZ #18960]
8245 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8246 Set _nl_current_LC_CATEGORY_used to two instead of one.
8247
8248 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
8249
8250 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8251 (do_test): ... this.
8252 (TEST_FUNCTION): New macro.
8253 Include test-skeleton.c.
8254 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8255 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8256
8257 2016-06-27 Joseph Myers <joseph@codesourcery.com>
8258
8259 [BZ #15479]
8260 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8261 floating-point environment rather than just control word.
8262 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8263 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8264 floating-point environment, with "invalid" exceptions merged in,
8265 rather than just control word.
8266 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8267 * math/libm-test.inc (trunc_test_data): Do not allow spurious
8268 "inexact" exceptions.
8269
8270 [BZ #15479]
8271 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8272 floating-point environment rather than just control word.
8273 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8274 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8275 floating-point environment, with "invalid" exceptions merged in,
8276 rather than just control word.
8277 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8278 * math/libm-test.inc (floor_test_data): Do not allow spurious
8279 "inexact" exceptions.
8280
8281 [BZ #15479]
8282 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8283 floating-point environment rather than just control word.
8284 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8285 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8286 floating-point environment, with "invalid" exceptions merged in,
8287 rather than just control word.
8288 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8289 * math/libm-test.inc (ceil_test_data): Do not allow spurious
8290 "inexact" exceptions.
8291
8292 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
8293
8294 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8295 __libc_vfork.
8296 (__vfork) [IS_IN (libc)]: Remove alias.
8297 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8298 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8299 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8300
8301 2016-06-24 Torvald Riegel <triegel@redhat.com>
8302
8303 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8304 of atomic_compare_and_exchange_bool_rel.
8305 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8306 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8307 catomic_compare_and_exchange_bool_rel): Remove.
8308 * sysdeps/aarch64/atomic-machine.h
8309 (atomic_compare_and_exchange_bool_rel): Likewise.
8310 * sysdeps/alpha/atomic-machine.h
8311 (atomic_compare_and_exchange_bool_rel): Likewise.
8312 * sysdeps/arm/atomic-machine.h
8313 (atomic_compare_and_exchange_bool_rel): Likewise.
8314 * sysdeps/mips/atomic-machine.h
8315 (atomic_compare_and_exchange_bool_rel): Likewise.
8316 * sysdeps/microblaze/atomic-machine.h
8317 ( __arch_compare_and_exchange_bool_8_rel,
8318 __arch_compare_and_exchange_bool_16_rel): Likewise.
8319 * sysdeps/powerpc/atomic-machine.h
8320 ( __arch_compare_and_exchange_bool_8_rel,
8321 __arch_compare_and_exchange_bool_16_rel): Likewise.
8322 * sysdeps/powerpc/powerpc32/atomic-machine.h
8323 ( __arch_compare_and_exchange_bool_32_rel,
8324 __arch_compare_and_exchange_bool_64_rel): Likewise.
8325 * sysdeps/powerpc/powerpc64/atomic-machine.h
8326 ( __arch_compare_and_exchange_bool_32_rel,
8327 __arch_compare_and_exchange_bool_64_rel): Likewise.
8328 * sysdeps/tile/atomic-machine.h
8329 (atomic_compare_and_exchange_bool_rel): Likewise.
8330
8331 2016-06-23 Joseph Myers <joseph@codesourcery.com>
8332
8333 [BZ #20296]
8334 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8335 when either argument is a NaN.
8336 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8337 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8338
8339 * math/libm-test.inc (snan_value_ld): New macro.
8340 (isgreater_test_data): Add sNaN tests.
8341 (isgreaterequal_test_data): Likewise.
8342 (isless_test_data): Likewise.
8343 (islessequal_test_data): Likewise.
8344 (islessgreater_test_data): Likewise.
8345 (isunordered_test_data): Likewise.
8346 (nextafter_test_data): Likewise.
8347 (nexttoward_test_data): Likewise.
8348 (remainder_test_data): Likewise.
8349 (remquo_test_data): Likewise.
8350 (significand_test_data): Likewise.
8351 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8352
8353 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
8354
8355 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8356 environment macros are defined.
8357 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8358
8359 2016-06-23 Florian Weimer <fweimer@redhat.com>
8360
8361 [BZ #20191]
8362 Implement vtable verification in libio.
8363 * Makerules (shlib.lds): Place __libc_IO_vtables section.
8364 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8365 * debug/vdprintf_chk.c (__vdprintf_chk): Call
8366 _IO_new_file_init_internal instead of _IO_file_init.
8367 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8368 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8369 * libio/Makefile (routines): Add vtables.
8370 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8371 (_IO_init): Remove, not for internal use.
8372 (_IO_init_internal): Declare, internal replacement for _IO_init.
8373 (_IO_file_init): Remove, not for internal use.
8374 (_IO_new_file_init): Remove, not for internal use.
8375 (_IO_new_file_init_internal): Declare, internal replacement for
8376 _IO_new_file_init.
8377 (_IO_old_file_init): Remove, not for internal use.
8378 (_IO_old_file_init_internal): Declare, internal replacement for
8379 _IO_old_file_init.
8380 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8381 internal use.
8382 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8383 Declare.
8384 (libio_vtable): New macro.
8385 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8386 functions.
8387 * libio/fileops.c (_IO_new_file_init_internal): Rename from
8388 _IO_new_file_init.
8389 (_IO_new_file_init): New externally visible wrapper which disables
8390 vtable verification.
8391 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8392 Define as vtables.
8393 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8394 (_IO_init): New externally visible wrapper which disables
8395 vtable verification.
8396 * libio/iofdopen.c (_IO_new_fdopen): Call
8397 _IO_new_file_init_internal instead of _IO_file_init. Adjust
8398 comment.
8399 * libio/iofopen.c (__fopen_internal): Call
8400 _IO_new_file_init_internal instead of _IO_file_init.
8401 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8402 Define as vtables.
8403 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8404 _IO_new_file_init_internal instead of _IO_file_init.
8405 * libio/iopopen.c (_IO_new_popen): Likewise.
8406 (_IO_proc_jumps): Define as vtable.
8407 * libio/iovdprintf.c (_IO_vdprintf): Call
8408 _IO_new_file_init_internal instead of _IO_file_init.
8409 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8410 (__open_memstream): Call _IO_init_internal instead of _IO_init.
8411 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8412 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8413 _IO_old_file_init.
8414 (_IO_old_file_init): New externally visible wrapper which disables
8415 vtable verification.
8416 (_IO_old_file_jumps): Define as vtable.
8417 * libio/oldiofdopen.c (_IO_old_fdopen): Call
8418 _IO_old_file_init_internal instead of _IO_old_file_init.
8419 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8420 * libio/oldiopopen.c (_IO_old_popen): Likewise.
8421 (_IO_old_proc_jumps): Define as vtable.
8422 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8423 Define as vtables.
8424 * libio/vtables.c: New file.
8425 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8426 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8427 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8428 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8429 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8430 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8431 instead of _IO_init.
8432
8433 2016-06-23 Florian Weimer <fweimer@redhat.com>
8434
8435 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8436
8437 2016-06-23 Florian Weimer <fweimer@redhat.com>
8438
8439 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8440 potentially unused.
8441
8442 2016-06-22 Florian Weimer <fweimer@redhat.com>
8443
8444 * test-skeleton.c (write_message): New function.
8445 * malloc/tst-mallocfork2.c (write_message): Remove.
8446 * debug/tst-longjmp_chk2.c (write_indented): New function.
8447 (write_message): Remove.
8448 (stackoverflow_handler): Call write_indented.
8449
8450 2016-06-22 Joseph Myers <joseph@codesourcery.com>
8451
8452 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
8453 "inexact" exceptions after fnstenv.
8454 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8455 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8456 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8457
8458 2015-06-22 Zack Weinberg <zackw@panix.com>
8459
8460 * sysdeps/generic/bits/hwcap.h: Moved to ...
8461 * bits/hwcap.h: Here.
8462
8463 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
8464
8465 * sysdeps/aarch64/memcpy.S (memcpy):
8466 Further tuning for performance.
8467
8468 2016-06-21 Florian Weimer <fweimer@redhat.com>
8469
8470 [BZ #20284]
8471 * malloc/arena.c (reused_arena): Do not return NULL if we start
8472 out with a non-corrupted arena.
8473
8474 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8475
8476 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
8477 * misc/tst-preadvwritev.c: New file.
8478 * misc/tst-preadvwritev64.c: Likewise.
8479 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
8480 usage.
8481 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
8482 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
8483 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
8484 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
8485
8486 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
8487
8488 [BZ #19654]
8489 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8490 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
8491 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
8492 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
8493 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
8494 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
8495 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
8496 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
8497 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
8498 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
8499 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
8500 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
8501 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
8502 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
8503 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
8504 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
8505 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
8506 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
8507 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
8508 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
8509 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
8510 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
8511 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
8512 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
8513 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
8514 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
8515
8516 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8517
8518 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
8519 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
8520
8521 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8522
8523 * sysdeps/aarch64/memcpy.S (memcpy):
8524 Rewrite of optimized memcpy and memmove.
8525 * sysdeps/aarch64/memmove.S (memmove): Remove
8526 memmove code (merged into memcpy.S).
8527
8528 2016-06-20 Florian Weimer <fweimer@redhat.com>
8529
8530 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
8531 * sysdeps/generic/dl-dtv.h: New file.
8532 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8533 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
8534 (dtv_t): Remove.
8535 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8536 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
8537 (dtv_t): Remove.
8538 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8539 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
8540 (dtv_t): Remove.
8541 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8542 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
8543 (dtv_t): Remove.
8544 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8545 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
8546 (dtv_t): Remove.
8547 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8548 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
8549 (dtv_t): Remove.
8550 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8551 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
8552 (dtv_t): Remove.
8553 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
8554 (dtv_t): Remove.
8555 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8556 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
8557 (dtv_t): Remove.
8558 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8559 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
8560 (dtv_t): Remove.
8561 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8562 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
8563 (dtv_t): Remove.
8564 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8565 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
8566 (dtv_t): Remove.
8567 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8568 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
8569 (dtv_t): Remove.
8570 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8571 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
8572 (dtv_t): Remove.
8573 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8574 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
8575 (dtv_t): Remove.
8576 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8577 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
8578 (dtv_t): Remove.
8579
8580 2016-06-20 Florian Weimer <fweimer@redhat.com>
8581
8582 Revert symbol poisoning of __malloc_initialize_hook.
8583 * include/stdc-predef.h (__malloc_initialize_hook): Remove
8584 poisoning.
8585 * malloc/Makefile: Remove un-poisoning.
8586 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
8587 instead of old__malloc_initialize_hook.
8588 * malloc/malloc-hooks.h: Likewise.
8589 * malloc/malloc.c: Likewise.
8590 * malloc/mcheck-init.c: Likewise.
8591
8592 2016-06-19 Carlos O'Donell <carlos@redhat.com>
8593
8594 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
8595
8596 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
8597
8598 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
8599 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
8600 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8601 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8602
8603 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8604
8605 * NEWS: Mention addition of nextup and nextdown.
8606 * manual/arith.texi: Document nextup and nextdown.
8607 * manual/libm-err-tab.pl: Add nextup and nextdown.
8608 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
8609 * math/Versions (libm): Add GLIBC_2.24.
8610 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
8611 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8612 Add new test.
8613 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
8614 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
8615 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
8616 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
8617 (nextup_test_data): Likewise.
8618 (nextdown_test_data): Likewise.
8619 * math/s_nextdown.c: New file.
8620 * math/s_nextdownf.c: Likewise.
8621 * math/s_nextdownl.c: Likewise.
8622 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
8623 F(nextup): New function.
8624 F(nextdown): Likewise.
8625 * math/tgmath.h: Add nextup and nextdown.
8626 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
8627 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
8628 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8629 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8630 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8631 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
8632 Add nextup and nextdown.
8633 (CFLAGS-nldbl-nextup.c): New variable.
8634 (CFLAGS-nldbl-nextdown.c): Likewise.
8635 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
8636 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
8637 * sysdeps/nacl/libm.abilist: Update.
8638 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8639 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8640 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8641 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8642 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8643 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8644 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8645 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8646 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8647 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8648 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8649 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8652 Likewise.
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8655 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8656 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8657 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8658 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8659 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
8661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
8662 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8663 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8664 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8665 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8666
8667 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8668
8669 * manual/pattern.texi: Fix typos & grammar errors.
8670
8671 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8672
8673 * manual/search.texi: Fix typos & grammar errors.
8674
8675 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8676
8677 * manual/message.texi: Fix typos & grammar errors.
8678
8679 2016-06-16 Mike Frysinger <vapier@gentoo.org>
8680
8681 * manual/contrib.texi: Fix spelling typos.
8682 * manual/crypt.texi: Likewise.
8683 * manual/filesys.texi: Likewise.
8684 * manual/locale.texi: Likewise.
8685 * manual/message.texi: Likewise.
8686 * manual/nss.texi: Likewise.
8687 * manual/string.texi: Likewise.
8688
8689 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8690
8691 * manual/locale.texi: Fix typos & grammar errors.
8692
8693 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8694
8695 * manual/charset.texi: Fix typos & grammar errors.
8696
8697 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8698
8699 * manual/string.texi: Fix typos.
8700
8701 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8702
8703 * manual/ctype.texi: Fix typos.
8704
8705 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8706
8707 * manual/memory.texi: Fix various typos & grammar errors.
8708
8709 2016-06-14 Joseph Myers <joseph@codesourcery.com>
8710
8711 [BZ #20255]
8712 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
8713 * math/libm-test.inc (fdim_test_data): Add another test.
8714
8715 [BZ #6796]
8716 [BZ #20255]
8717 [BZ #20256]
8718 * math/s_fdim.c: Include <math_private.h>.
8719 (__fdim): Use math_narrow_eval on result.
8720 * math/s_fdimf.c: Include <math_private.h>.
8721 (__fdimf): Use math_narrow_eval on result.
8722 * sysdeps/i386/fpu/s_fdim.S: Remove file.
8723 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
8724 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
8725 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
8726 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
8727 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
8728 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
8729 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
8730 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
8731 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
8732 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
8733 * math/libm-test.inc (fdim_test_data): Expect errno setting on
8734 overflow. Add sNaN tests.
8735
8736 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
8737 fpclassify.
8738 * math/s_fdimf.c (__fdimf): Likewise.
8739 * math/s_fdiml.c (__fdiml): Likewise.
8740
8741 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8742
8743 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8744 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
8745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8746 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8747 ifunc'ed strcasecmp/strncasecmp.
8748 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
8749 [EALIGN]: Removed.
8750 [END]: Likewise.
8751 [__strcasecmp]: Define instead of the above to control symbol name.
8752 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
8753 for __strcasecmp_power8.
8754 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
8755 for __strncasecmp_power8.
8756 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
8757 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
8758 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8759 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
8760 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
8761 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
8762
8763 2016-06-13 Joseph Myers <joseph@codesourcery.com>
8764
8765 [BZ #20252]
8766 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
8767 arguments when second argument is a NaN.
8768 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
8769 qNaN tests.
8770
8771 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
8772 (conj_test_data): Likewise.
8773 (copysign_test_data): Likewise.
8774 (creal_test_data): Likewise.
8775 (fma_test_data): Likewise.
8776 (fmod_test_data): Likewise.
8777
8778 [BZ #20250]
8779 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
8780 itself.
8781 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
8782 zero input to itself.
8783 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
8784 Likewise.
8785 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
8786 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8788 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8789 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
8790
8791 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8792
8793 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
8794 * nptl/tst-cancel4-common.c: New file.
8795 * nptl/tst-cancel4-common.h: Likewise.
8796 * nptl/tst-cancel4.c: Move common definitions to
8797 tst-cancel4-common.{c,h} file.
8798 * nptl/tst-cancel4_1.c: New test.
8799 * nptl/tst-cancel4_2.c: New test.
8800
8801 2016-06-13 Florian Weimer <fweimer@redhat.com>
8802
8803 [BZ #20248]
8804 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
8805 (write_message): New function.
8806 (stackoverflow_handler): Call it instead of printf, to avoid
8807 excessive stack usage by printf.
8808 (do_test): Restore SIGSEGV, SIGBUS default handlers.
8809
8810 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8811
8812 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
8813 (prio_inherit_missing): Remove define.
8814 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8815 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8816 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
8817 Likewise.
8818 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8819 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8820 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8821 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8822 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8823 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8824
8825 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8826
8827 [BZ #19670]
8828 [BZ #19672]
8829
8830 * io/test-lfs.c (do_prepare): Use xmalloc.
8831 * io/tst-fcntl.c (do_prepare): Likewise.
8832 * libio/tst-fopenloc.c (do_bz17916): Likewise.
8833 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
8834 * login/tst-utmp.c (do_prepare): Likewise.
8835 * posix/tst-exec.c (do_prepare): Likewise.
8836 * posix/tst-pathconf.c (prepare): Likewise.
8837 * posix/tst-spawn.c (do_prepare): Likewise.
8838 * posix/tst-truncate.c (do_prepare): Likewise.
8839 * rt/tst-aio.c (do_prepare): Likewise.
8840 * rt/tst-aio64.c (do_prepare): Likewise.
8841
8842 2016-06-11 Florian Weimer <fweimer@redhat.com>
8843
8844 [BZ #20237]
8845 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
8846 (get*ent): Set entidx to NULL during initialization. If entidx is
8847 NULL, start iteration from the beginning.
8848
8849 2016-06-11 Florian Weimer <fweimer@redhat.com>
8850
8851 * malloc/malloc.c (musable): Return correct size for dumped fake
8852 mmapped chunk.
8853
8854 2016-06-11 Florian Weimer <fweimer@redhat.com>
8855
8856 [BZ #20222]
8857 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
8858 (_IO_cookie_write): Likewise.
8859 (_IO_cookie_seek): Likewise.
8860 (_IO_cookie_close): Likewise.
8861 (_IO_old_cookie_seek): Likewise.
8862 (set_callbacks): New function.
8863 (_IO_cookie_init): Call set_callbacks to copy callbacks.
8864
8865 2016-06-11 Marko Myllynen <myllynen@redhat.com>
8866
8867 * locale/programs/localedef.c (oldstyle_tables): Remove.
8868 * locale/programs/localedef.h (oldstyle_tables): Likewise.
8869
8870 2016-06-10 Joseph Myers <joseph@codesourcery.com>
8871
8872 [BZ #20240]
8873 * math/Makefile (CFLAGS-s_modf.c): New variable.
8874 (CFLAGS-s_modff.c): Likewise.
8875 (CFLAGS-s_modfl.c): Likewise.
8876 * math/libm-test.inc (modf_test_data): Add sNaN tests.
8877
8878 2016-06-09 Carlos O'Donell <carlos@redhat.com>
8879
8880 [BZ #20215]
8881 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
8882 [!__GNUC_PREREQ (3,2)]: Likewise.
8883
8884 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
8885
8886 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
8887 (msghdr.msg_controllen): Likewise.
8888 (cmsghdr.cmsg_len): Likewise.
8889 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
8890 ptw-oldsendmsg.
8891 (CFLAGS-oldrecvmsg.c): Remove rule.
8892 (CFLAGS-oldsendmsg.c): Likewise.
8893 (CFLAGS-recvmsg.c): Add rule.
8894 (CFLAGS-sendmsg.c): Likewise.
8895 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
8896 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
8897 (CFLAGS-recvmsg.c): Remove rule.
8898 (CFLAGS-sendmsg.c): Likewise.
8899 (CFLAGS-oldrecvmsg.c): Likewise.
8900 (CFLAGS-oldsendmsg.c): Likewise.
8901 (CFLAGS-recvmmsg.c): Likewise.
8902 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
8903 to kernel defined interfaces.
8904 (msghdr.msg_controllen): Likewise.
8905 (cmsghdr.cmsg_len): Likewise.
8906 (msghdr.__glibc_reserved1): Remove member.
8907 (msghdr.__glibc_reserved2): Likewise.
8908 (cmsghdr.__glibc_reserved1): Likewise.
8909 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
8910 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
8911 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8912 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8913 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
8914 version.
8915 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8916 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
8917 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8918 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
8919 Remove recvmsg and sendmsg.
8920 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
8921 Likewise.
8922 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8923 Likewise.
8924 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8925 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8926 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8927 Likewise.
8928 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8929 Likewise.
8930 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
8931 [libc] (GLIBC_2.24): Likewise.
8932 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8933 Likewise.
8934 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8935 Likewise.
8936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8937 [libc] (GLIBC_2.24): Likewise.
8938 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8939 Likewise.
8940 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8941 Likewise.
8942 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8943 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8944 Likewise.
8945 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8946 Likewise.
8947 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8948 Likewise.
8949 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
8950 Likewise.
8951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
8952 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
8953 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
8954 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
8955 version for {recv,send,recm,sendm}msg.
8956 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8957 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8958 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8959 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8960 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8961 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8962 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8963 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8964 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8965 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8966 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8967 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8969 Likewise.
8970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8971 Likewise.
8972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8974 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8975 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8976 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8977 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8978 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8979 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8982 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8983 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8984 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8985
8986 2016-06-10 Florian Weimer <fweimer@redhat.com>
8987
8988 [BZ #19564]
8989 Remove __malloc_initialize_hook from the API.
8990 * malloc/malloc.h (__malloc_initialize_hook): Remove.
8991 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
8992 #pragma GCC poison.
8993 * malloc/malloc-hooks.h: New file.
8994 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
8995 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
8996 (old__malloc_initialize_hook): Rename from
8997 __malloc_initialize_hook to evade poisoning. Turn into compat
8998 symbol.
8999 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9000 __malloc_initialize_hook.
9001 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9002 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9003 * manual/memory.texi (Hooks for Malloc): Remove
9004 __malloc_initialize_hook. Adjust hook example.
9005
9006 2016-06-09 Joseph Myers <joseph@codesourcery.com>
9007
9008 [BZ #20235]
9009 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9010 itself.
9011 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9012 * math/libm-test.inc (log2_test_data): Add sNaN tests.
9013
9014 [BZ #20234]
9015 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9016 infinity or NaN input to itself.
9017
9018 [BZ #20233]
9019 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9020 to itself.
9021
9022 [BZ #20232]
9023 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9024 itself.
9025
9026 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9027
9028 * sysdeps/x86_64/start.S (_start): Always indirect branch to
9029 __libc_start_main via GOT.
9030
9031 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9032
9033 * sysdeps/x86_64/memcopy.h: New file.
9034 * sysdeps/x86_64/wordcopy.c: Likewise.
9035
9036 2016-06-09 Florian Weimer <fweimer@redhat.com>
9037
9038 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9039 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9040 <cstdlib>.
9041 (optimization_barrier): New.
9042 (do_test): Use it. Call quick_exit in the global namespace.
9043 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9044 instead of <cstdlib>, <thread>.
9045 (optimization_barrier): New.
9046 (non_main_thread): Adjust declaration. Call optimization_barrier.
9047 Call quick_exit in the global namespace.
9048 (do_test): Call optimization_barrier. Use pthread_create,
9049 pthread_join instead of std::thread.
9050
9051 2016-06-09 Andreas Schwab <schwab@suse.de>
9052
9053 [BZ #19755]
9054 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9055 new entries in auto-propagate mode.
9056 * nscd/grpcache.c (cache_addgr): Likewise.
9057
9058 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9059
9060 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9061 New functions.
9062 (add_temp_file): Use them.
9063
9064 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
9065
9066 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9067
9068 2016-06-08 Joseph Myers <joseph@codesourcery.com>
9069
9070 [BZ #20229]
9071 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9072 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9073 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9074
9075 [BZ #20228]
9076 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9077 itself.
9078 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9079 * math/libm-test.inc (log10_test_data): Add sNaN tests.
9080
9081 [BZ #20227]
9082 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9083 itself.
9084 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9085 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9086 * math/libm-test.inc (log_test_data): Add sNaN tests.
9087
9088 [BZ #20226]
9089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9090 itself.
9091 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9092 * math/libm-test.inc (exp_test_data): Add sNaN tests.
9093 (exp10_test_data): Likewise.
9094 (expm1_test_data): Likewise.
9095
9096 [BZ #20225]
9097 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9098 itself.
9099 * math/s_ldexpf.c (__ldexpf): Likewise.
9100 * math/s_ldexpl.c (__ldexpl): Likewise.
9101 * math/w_scalbln.c (__w_scalbln): Likewise.
9102 * math/w_scalblnf.c (__w_scalblnf): Likewise.
9103 * math/w_scalblnl.c (__w_scalblnl): Likewise.
9104 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9105 (scalbln_test_data): Likewise.
9106
9107 [BZ #20224]
9108 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9109 argument to itself.
9110 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9111
9112 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9113
9114 [BZ #19776]
9115 * sysdeps/x86_64/memcpy.S: Make it dummy.
9116 * sysdeps/x86_64/mempcpy.S: Likewise.
9117 * sysdeps/x86_64/memmove.S: New file.
9118 * sysdeps/x86_64/memmove_chk.S: Likewise.
9119 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9120 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9121 * sysdeps/x86_64/memmove.c: Removed.
9122 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9123 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9124 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9125 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9126 Likewise.
9127 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9128 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9130 memcpy-sse2-unaligned, memmove-avx-unaligned,
9131 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9133 (__libc_ifunc_impl_list): Replace
9134 __memmove_chk_avx512_unaligned_2 with
9135 __memmove_chk_avx512_unaligned. Remove
9136 __memmove_chk_avx_unaligned_2. Replace
9137 __memmove_chk_sse2_unaligned_2 with
9138 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
9139 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
9140 with __memmove_avx512_unaligned. Replace
9141 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9142 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
9143 with __memcpy_chk_avx512_unaligned. Remove
9144 __memcpy_chk_avx_unaligned_2. Replace
9145 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9146 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
9147 Replace __memcpy_avx512_unaligned_2 with
9148 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
9149 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
9150 with __mempcpy_chk_avx512_unaligned. Remove
9151 __mempcpy_chk_avx_unaligned_2. Replace
9152 __mempcpy_chk_sse2_unaligned_2 with
9153 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
9154 Replace __mempcpy_avx512_unaligned_2 with
9155 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
9156 Replace __mempcpy_sse2_unaligned_2 with
9157 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
9158 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9159 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9160 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9161 if processor has ERMS. Default to __memcpy_sse2_unaligned.
9162 (ENTRY): Removed.
9163 (END): Likewise.
9164 (ENTRY_CHK): Likewise.
9165 (libc_hidden_builtin_def): Likewise.
9166 Don't include ../memcpy.S.
9167 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9168 __memcpy_chk_avx512_unaligned_erms and
9169 __memcpy_chk_avx512_unaligned. Use
9170 __memcpy_chk_avx_unaligned_erms and
9171 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9172 Default to __memcpy_chk_sse2_unaligned.
9173 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9174 Change function suffix from unaligned_2 to unaligned.
9175 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9176 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9177 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9178 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
9179 (ENTRY): Removed.
9180 (END): Likewise.
9181 (ENTRY_CHK): Likewise.
9182 (libc_hidden_builtin_def): Likewise.
9183 Don't include ../mempcpy.S.
9184 (mempcpy): New. Add a weak alias.
9185 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9186 __mempcpy_chk_avx512_unaligned_erms and
9187 __mempcpy_chk_avx512_unaligned. Use
9188 __mempcpy_chk_avx_unaligned_erms and
9189 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9190 Default to __mempcpy_chk_sse2_unaligned.
9191
9192 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9193
9194 [BZ #19881]
9195 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9196 into ...
9197 * sysdeps/x86_64/memset.S: This.
9198 (__bzero): Removed.
9199 (__memset_tail): Likewise.
9200 (__memset_chk): Likewise.
9201 (memset): Likewise.
9202 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9203 defined.
9204 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9205 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9206 (__memset_zero_constant_len_parameter): Check SHARED instead of
9207 PIC.
9208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9209 memset-avx2 and memset-sse2-unaligned-erms.
9210 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9211 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9212 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9213 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9214 (__bzero): Enabled.
9215 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9216 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9217 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
9218 or __memset_avx2_unaligned_erms if processor has ERMS. Support
9219 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9220 (memset): Removed.
9221 (__memset_chk): Likewise.
9222 (MEMSET_SYMBOL): New.
9223 (libc_hidden_builtin_def): Replace __memset_sse2 with
9224 __memset_sse2_unaligned.
9225 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9226 __memset_chk_sse2 and __memset_chk_avx2 with
9227 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9228 Use __memset_chk_sse2_unaligned_erms or
9229 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
9230 __memset_chk_avx512_unaligned_erms and
9231 __memset_chk_avx512_unaligned.
9232
9233 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9234
9235 * math/gen-auto-libm-test.c (fp_format_desc): remove
9236 suffix member.
9237 (output_generic_value): Remove usage of suffix member,
9238 and the resulting unuse of the fp_format argument.
9239 (output_for_one_input_case): Remove unused fp_format
9240 parameter.
9241
9242 * math/auto-libm-test-out: Regenerate.
9243
9244 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9245 usage with TEST_COND_ibm128.
9246 (TEST_COND_flt_32): Remove.
9247 (TEST_COND_dbl_64): Remove.
9248 (TEST_COND_ldbl_96_intel): Remove.
9249 (TEST_COND_ldbl_96_m68k): Remove.
9250 (TEST_COND_ldbl_128): Remove.
9251
9252 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9253
9254 * auto-libm-test-in:
9255 Replace flt-32 usage with binary32.
9256 Replace dbl-64 usage with binary64.
9257 Replace ldbl-intel-96 usage with intel96.
9258 Replace ldbl-m68k-96 usage with m68k96.
9259 Replace ldbl-128ibm usage with ibm128.
9260 Replace ldbl-128 usage with binary128.
9261
9262 * auto-libm-test-out: Regenerate.
9263
9264 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9265
9266 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9267 (parse_ulps): Dynamically generate type name matching
9268 string from all_floats.
9269 (get_ulps): Generate the ulps as an array instead.
9270 (output_ulps): Dynamically compose the type based
9271 on the number of supported formats, and print
9272 the indices as type specific helper macros.
9273
9274 * math/libm-test.inc: Remove comment about CHOOSE.
9275 (ulp_data): Generate the type in libm-test-ulps.h.
9276 (ULP_IDX): New macro.
9277 (find_ulps): Update usage of max_ulp.
9278
9279 * math/test-double-vlen2.h (CHOOSE): Remove.
9280 * math/test-double-vlen4.h (CHOOSE): Likewise.
9281 * math/test-double-vlen8.h (CHOOSE): Likewise.
9282 * math/test-float.c (CHOOSE): Likewise.
9283 * math/test-float-finite.c (CHOOSE): Likewise.
9284 * math/test-double.c (CHOOSE): Likewise.
9285 * math/test-double-finite.c (CHOOSE): Likewise.
9286 * math/test-idouble.c (CHOOSE): Likewise.
9287 * math/test-ifloat.c (CHOOSE): Likewise.
9288 * math/test-ildoubl.c (CHOOSE): Likewise.
9289 * math/test-ldouble-finite.c (CHOOSE): Likewise.
9290 * math/test-ldouble.c (CHOOSE): Likewise.
9291
9292 * math/test-float.h (TEST_FLOAT): Remove.
9293 * math/test-double.h (TEST_DOUBLE): Likewise.
9294 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9295
9296 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9297
9298 * math/gen-libm-test.pl: (apply_lit): New subroutine.
9299 (parse_args): Strip C suffix from floating point literals
9300 typed with 'f' and wrap them with LIT().
9301
9302 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9303 (test_ff_f_data_nexttoward): Rename to
9304 (test_fj_f_data): New struct.
9305 (nexttoward_test_data): Relabel tests as
9306 TEST_fj_f instead of TEST_ff_f.
9307
9308 2016-06-08 Florian Weimer <fweimer@redhat.com>
9309
9310 Emacs bug 23726.
9311 * malloc/malloc.c (dumped_main_arena_start): Update comment.
9312 (__libc_realloc): Correct size computation for dumped fake mmapped
9313 chunks.
9314
9315 2016-06-07 Joseph Myers <joseph@codesourcery.com>
9316
9317 [BZ #20219]
9318 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9319 to itself.
9320 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9321
9322 [BZ #20218]
9323 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9324 to itself.
9325 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9326
9327 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
9328
9329 [BZ #20195]
9330 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9331 check to ...
9332 (init_cpu_features): Here.
9333
9334 2016-06-07 Carlos O'Donell <carlos@redhat.com>
9335
9336 [BZ #20214]
9337 * sysdeps/unix/sysv/linux/bits/in.h
9338 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9339 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9340 Define to 1.
9341 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9342 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9343 Define to 0.
9344 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9345 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9346
9347 2016-06-06 Carlos O'Donell <carlos@redhat.com>
9348
9349 [BZ #20198]
9350 * stdlib/Makefile (tests): Add tst-quick_exit, and
9351 tst-thread-quick_exit.
9352 [ifeq ($(have-cxx-thread_local),yes)]
9353 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9354 (CFLAGS-tst-thread-quick_exit.o): Likewise.
9355 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9356 (LDLIBS-tst-thread-quick_exit): Likewise.
9357 [ifneq ($(have-cxx-thread_local),yes)]
9358 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9359 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9360 If run_dtors is true call __call_tls_dtors.
9361 (exit): Call __run_exit_handlers with run_dtors set to true.
9362 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9363 definition.
9364 * stdlib/quick_exit.c (quick_exit): Remove function.
9365 (__new_quick_exit): New function.
9366 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9367 function.
9368 * stdlib/tst-quick_exit.cc: New file.
9369 * stdlib/tst-thread-quick_exit.cc: New file.
9370 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9371 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9372 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9373 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9374 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9375 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9376 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9377 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9378 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9379 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9380 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9381 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9382 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9383 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9384 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9385 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9390 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9391 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9392 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9393 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9394 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9397 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9398 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9399 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9400
9401 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
9402
9403 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9404 a typo in comments.
9405
9406 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9407
9408 [BZ #20213]
9409 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9410 argument to itself.
9411 * math/libm-test.inc (asin_test_data): Add sNaN tests.
9412
9413 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9414
9415 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9416 required flags.
9417 (CFLAGS-pwritev64.c): Likewise.
9418 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9419 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9420 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9421 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9422 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9423 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9424 syscall from auto-generation.
9425 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9426 [WORDSIZE == 64] (pwritev64): Remove macro.
9427 [!PWRITEV] (PWRITEV): Likewise.
9428 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9429 [!PWRITEV] (PWRITE): Likewise.
9430 [!PWRITEV] (OFF_T): Likewise.
9431 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9432 (LO_HI_LONG): Remove macro.
9433 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9434 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9435 (PWRITEV): Remove macro.
9436 (PWRITEV_REPLACEMENTE): Likewise.
9437 (PWRITE): Likewise.
9438 (OFF_T): Likewise.
9439 (pwritev64): New function.
9440 * nptl/tst-cancel4.c (tf_writev): Add test.
9441
9442 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
9443 required flags.
9444 (CFLAGS-preadv64.c): Likewise.
9445 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
9446 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9447 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
9448 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
9449 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
9450 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
9451 syscall from auto-generation.
9452 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
9453 [WORDSIZE == 64] (preadv64): Remove macro.
9454 [!PREADV] (PREADV): Likewise.
9455 [!PREADV] (PREADV_REPLACEMENT): Likewise.
9456 [!PREADV] (PREAD): Likewise.
9457 [!PREADV] (OFF_T): Likewise.
9458 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
9459 (LO_HI_LONG): Remove macro.
9460 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
9461 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
9462 (PREADV): Remove macro.
9463 (PREADV_REPLACEMENTE): Likewise.
9464 (PREAD): Likewise.
9465 (OFF_T): Likewise.
9466 (preadv64): New function.
9467 * nptl/tst-cancel4.c (tf_preadv): Add test.
9468
9469 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9470
9471 [BZ #20212]
9472 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
9473 argument to itself.
9474 * math/libm-test.inc (acos_test_data): Add sNaN tests.
9475
9476 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9477
9478 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
9479 New symbol defined as libc_hidden_def.
9480 (strcasestr): Became a weak alias to __strcasestr.
9481 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
9482 according to multi-arch support. Move __stpncpy hidden
9483 definition from here to...
9484 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
9485 symbol stpncpy.
9486 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
9487 libc_hidden_builtin_def.
9488 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
9489 memset symbol to use when multi-arch support is available.
9490
9491 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9492
9493 * dlfcn/tst-rec-dlopen.c: Include string.h.
9494
9495 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9496
9497 * manual/install.texi: Remove mention of --without-tls
9498 * INSTALL: Regenerate.
9499
9500 2016-06-05 Florian Weimer <fweimer@redhat.com>
9501
9502 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
9503 Remove.
9504 (call_function, interposed_malloc_called): New variables.
9505 (malloc): New function.
9506 (do_test): Do not change malloc hooks. Initialize malloc. Set
9507 and clear call_function as needed.
9508
9509 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
9510
9511 * include/wchar.h (__wmemset): Use __typeof.
9512
9513 2016-06-03 Carlos O'Donell <carlos@redhat.com>
9514
9515 * include/wchar.h (__wmemset): Declare function without typeof.
9516
9517 2016-06-03 Joseph Myers <joseph@codesourcery.com>
9518
9519 [BZ #20205]
9520 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
9521 exponent when incrementing negative subnormal with low mantissa
9522 word zero.
9523 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9524 Add another test.
9525
9526 2016-06-03 Florian Weimer <fweimer@redhat.com>
9527
9528 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
9529 __wmemset instead of wmemset.
9530
9531 2016-06-02 Carlos O'Donell <carlos@redhat.com>
9532
9533 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
9534 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
9535 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
9536 __USE_KERNEL_IPV6_DEFS to 0.
9537 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
9538 Update comment.
9539
9540 2016-06-01 Florian Weimer <fweimer@redhat.com>
9541
9542 [BZ #19861]
9543 Do not use IFUNC resolver with potentially unrelocated symbol.
9544 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
9545 (DEFINE_FORK): Remove macro and inline definition.
9546 (fork_alias): Renamed from fork_ifunc.
9547 (__fork_alias): Renamed from __fork_ifunc.
9548
9549 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9550
9551 [BZ 19653]
9552 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
9553 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
9554
9555 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9556
9557 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
9558 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
9559 i386-linux-gnu).
9560 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
9561 Set to no.
9562 * sysdeps/mach/hurd/configure: Refresh.
9563
9564 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9565
9566 [BZ #20178]
9567 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
9568 on failure instead of exit.
9569
9570 2016-05-30 Roland McGrath <roland@hack.frob.com>
9571
9572 [BZ #3629]
9573 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
9574 of POSIX.1-2008.
9575
9576 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9577
9578 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
9579 Use PLT entry for calling _hurd_self_sigstate.
9580
9581 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
9582
9583 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
9584 available logical processors with SMT level type sharing L2
9585 cache for Intel processors.
9586
9587 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9588
9589 [BZ #20160]
9590 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
9591 argument to itself before returning the result.
9592 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9593 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9594 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9595 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9596 Likewise.
9597 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9598 Likewise.
9599 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
9600 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
9601 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9602 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9603 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9604 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9605
9606 [BZ #20160]
9607 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
9608 argument to itself before returning the result.
9609 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9610 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9611 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9612 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
9613 Likewise.
9614 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9615 Likewise.
9616 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
9617 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
9618 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
9619 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9620 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9621 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9622
9623 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9624
9625 * libm-test.inc: Replace usage of M_El with
9626 (lit_e): New macro.
9627
9628 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9629
9630 * libm-test.inc: Replace usage of M_PI_4l with
9631 (lit_pi_4_d): New macro.
9632
9633 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9634
9635 * libm-test.inc: Replace usage of M_PIl with
9636 (lit_pi): New macro.
9637
9638 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9639
9640 * libm-test.inc: Replace usage of M_PI2l with
9641 (lit_pi_2_d): New macro.
9642
9643 * math/test-double.h (LITM): New macro.
9644 * math/test-float.h (LITM): Likewise.
9645 * math/test-ldouble.h (LITM): Likewise.
9646
9647 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9648
9649 * libm-test.inc (M_PI_34l): Rename to
9650 (lit_pi_3_m_4_d): New Macro.
9651 (M_PI_34_LOG10El): Rename to
9652 (lit_pi_3_m_4_ln10_m_d): New Macro.
9653 (M_PI2_LOG10El): Rename to
9654 (lit_pi_2_ln10_m_d): New Macro.
9655 (M_PI4_LOG10El): Rename to
9656 (lit_pi_4_ln10_m_d): New Macro.
9657 (M_PI_LOG10El): Rename to
9658 (lit_pi_ln10_d): New Macro.
9659
9660 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9661
9662 [BZ #20157]
9663 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
9664 determine whether to negate low half if [_ARCH_PPCGR], and integer
9665 comparison otherwise.
9666 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
9667 determine whether to negate low half.
9668
9669 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
9670 (NO_TEST_INLINE_DOUBLE): Likewise.
9671 (TEST_COND_x86_64): Likewise.
9672 (TEST_COND_x86): Likewise.
9673 (M_PI_6l): Likewise.
9674
9675 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9676
9677 * math/libm-test.inc:
9678 (TEST_FLOAT): Change usage to TEST_COND_binary32.
9679 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
9680 (TEST_LDOUBLE): Update usage to evaluate as true if
9681 the guarded tests match the property being tested.
9682 (LDBL_MAX_EXP): Change to MAX_EXP.
9683 (LDBL_MIN_EXP): Change to MIN_EXP.
9684 (LDBL_MANT_DIG): Change to MANT_DIG, except for
9685 nexttoward tests.
9686
9687 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9688
9689 * math/libm-test.inc:
9690 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
9691 (TYPE_MIN): Likewise.
9692 (TYPE_TRUE_MIN): Likewise.
9693 (TYPE_MAX): Likewise.
9694 (MIN_EXP): Likewise.
9695 (MAX_EXP): Likewise.
9696 (MANT_DIG): Likewise.
9697
9698 (FSTR_MAX): New macro.
9699 (__CONCATX): Likewise.
9700 (QTYPE_STR): Likewise.
9701 (TEST_COND_binary32): Likewise.
9702 (TEST_COND_binary64): Likewise.
9703 (TEST_COND_binary128): Likewise.
9704 (TEST_COND_ibm128): Likewise.
9705 (TEST_COND_intel96): Likewise.
9706 (TEST_COND_m68k96): Likewise.
9707
9708 (TEST_COND_flt_32): Redefine as equivalent format test macro.
9709 (TEST_COND_dbl_64): Likewise.
9710 (TEST_COND_ldbl_96_intel): Likewise.
9711 (TEST_COND_ldbl_96_m68k): Likewise.
9712 (TEST_COND_ldbl_128): Likewise.
9713 (TEST_COND_ldbl_128ibm): Likewise.
9714
9715 (plus_zero): Redefine using LIT macro.
9716 (minus_zero): Likewise.
9717 (plus_infty): Redefine as (INF).
9718 (minux_infty): Redefine as (-INF).
9719 (max_value): Redefine as TYPE_MAX.
9720 (min_value): Redefine as TYPE_MIN.
9721 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
9722
9723 (print_float): Refactor to use snprintf to convert FLOAT values
9724 to string. This brings it closer to dropin replacement of strtof
9725 for the TS 18661 defined types.
9726 (update_stats): Likewise.
9727 (print_complex_function_ulps): Likewise.
9728 (print_max_error): Likewise.
9729 (print_complex_max_error): Likewise.
9730 (check_float_internal): Likewise.
9731
9732 * math/test-float.h (PREFIX): New macro.
9733 (LIT): Likewise.
9734 (TYPE_STR): Likewise.
9735 (FTOSTR): Likewise.
9736
9737 * math/test-double.h (PREFIX): New macro.
9738 (LIT): Likewise.
9739 (TYPE_STR): Likewise.
9740 (FTOSTR): Likewise.
9741
9742 * math/test-ldouble.h (PREFIX): New macro.
9743 (LIT): Likewise.
9744 (TYPE_STR): Likewise.
9745 (FTOSTR): Likewise.
9746
9747 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9748
9749 [BZ #20156]
9750 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
9751 to itself when zero or not finite.
9752 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
9753 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9754 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9756
9757 2016-05-26 Joseph Myers <joseph@codesourcery.com>
9758
9759 [BZ #20153]
9760 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
9761 x * x + x for infinities and NaNs.
9762
9763 [BZ #20151]
9764 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
9765 argument to itself before returning result.
9766 (__ieee754_y0l): Likewise.
9767 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9768 (__ieee754_y1l).
9769
9770 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
9771 (atan_test_data): Likewise.
9772 (ceil_test_data): Likewise.
9773 (cos_test_data): Likewise.
9774 (cosh_test_data): Likewise.
9775 (erf_test_data): Likewise.
9776 (exp2_test_data): Likewise.
9777 (fabs_test_data): Likewise.
9778 (floor_test_data): Likewise.
9779 (ilogb_test_data): Likewise.
9780 (j0_test_data): Likewise.
9781 (j1_test_data): Likewise.
9782 (jn_test_data): Likewise.
9783 (lgamma_test_data): Likewise.
9784 (lrint_test_data): Likewise.
9785 (llrint_test_data): Likewise.
9786 (logb_test_data): Likewise.
9787 (lround_test_data): Likewise.
9788 (llround_test_data): Likewise.
9789 (nearbyint_test_data): Likewise.
9790 (rint_test_data): Likewise.
9791 (round_test_data): Likewise.
9792 (sin_test_data): Likewise.
9793 (sincos_test_data): Likewise.
9794 (sinh_test_data): Likewise.
9795 (sqrt_test_data): Likewise.
9796 (tan_test_data): Likewise.
9797 (tanh_test_data): Likewise.
9798 (tgamma_test_data): Likewise.
9799 (trunc_test_data): Likewise.
9800 (y0_test_data): Likewise.
9801 (y1_test_data): Likewise.
9802 (yn_test_data): Likewise.
9803
9804 * math/libm-test.inc: Update comment about NaN testing.
9805 (TEST_SNAN): New macro.
9806 (snan_value): Likewise.
9807 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
9808 (fpclassify_test_data): Add sNaN tests.
9809 (isfinite_test_data): Likewise.
9810 (isinf_test_data): Likewise.
9811 (isnan_test_data): Likewise.
9812 (isnormal_test_data): Likewise.
9813 (issignaling_test_data): Likewise.
9814 (signbit_test_data): Likewise.
9815 * math/gen-libm-test.pl (%beautify): Add snan_value.
9816 (show_exceptions): Add argument $test_snan.
9817 (parse_args): Handle snan_value as non-finite. Update call to
9818 show_exceptions.
9819 * math/Makefile (libm-test-no-inline-cflags): Add
9820 -fsignaling-nans.
9821
9822 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9823
9824 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
9825 (CFLAGS-oldsendmsg.c): Add rule.
9826 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9827 Correct recvmsg symbol name.
9828 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
9829 Likewise.
9830
9831 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9832
9833 * sysdeps/unix/sysv/linux/Makefile
9834 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
9835 oldsendmmsg.
9836 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
9837 sendmmsg.
9838 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9839 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9840 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9841 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9843 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9844 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9846 Likewise.
9847 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9848 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
9849 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9850 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
9851 iovlen and controllen fields to adjust to POSIX specification.
9852 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9853
9854 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
9855 and change to correct expected type.
9856 (msghdr.msg_controllen): Likewise.
9857 (cmsghdr.cmsg_len): Likewise.
9858 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
9859 expected POSIX assumption about the size.
9860 (msghdr.msg_controllen): Likewise.
9861 (msghdr.__glibc_reserved1): Likewise.
9862 (msghdr.__glibc_reserved2): Likewise.
9863 (cmsghdr.cmsg_len): Likewise.
9864 (cmsghdr.__glibc_reserved1): Likewise.
9865 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
9866 Add ptw-oldrecvmsg and ptw-oldsendmsg.
9867 (CFLAGS-sendmsg.c): Remove rule.
9868 (CFLAGS-recvmsg.c): Likewise.
9869 (CFLAGS-oldsendmsg.c): Add rule.
9870 (CFLAGS-oldrecvmsg.c): Likewise.
9871 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
9872 recvmsg and sendmsg.
9873 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
9874 Likewise.
9875 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
9876 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
9877 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9878 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
9879 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9880 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9881 Likewise.
9882 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9883 Likewise.
9884 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
9885 Likewise.
9886 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
9887 Likewise.
9888 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9889 Likewise.
9890 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9891 Likewise.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
9893 (GLIBC_2.24): Likewise.
9894 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9895 Likewise.
9896 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9897 Likewise.
9898 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9899 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9900 Likewise.
9901 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9902 Likewise.
9903 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9904 Likewise.
9905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
9906 (GLIBC_2.24): Likewise.
9907 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
9908 Likewise.
9909 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
9910 Likewise.
9911 * sysdeps/unix/sysv/linux/Makefile
9912 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
9913 (CFLAGS-sendmsg.c): Add rule.
9914 (CFLAGS-recvmsg.c): Likewise.
9915 (CFLAGS-oldsendmsg.c): Likewise.
9916 (CFLAGS-oldrecvmsg.c): Likewise.
9917 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
9918 initialization.
9919 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9920 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9921 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
9922 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9923 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
9924 iovlen and controllen fields to adjust to POSIX specification.
9925 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
9926 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
9927 added recvmsg and sendmsg.
9928 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9929 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9930 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9931 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9932 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9933 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9934 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9935 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9936 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9937 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9938 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9939 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9941 Likewise.
9942 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9944 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9945 Likewise.
9946 Likewise.
9947 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9948 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9949 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9950 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9951 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9952 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9954 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9956 Likewise.
9957 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9958 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9959
9960 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
9961 from auto-generation.
9962 (sendmsg): Likewise.
9963 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
9964 (sendmsg): Likewise.
9965 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
9966 (sendmsg): Likewise.
9967 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
9968 (sendmsg): Likewise.
9969 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
9970 (sendmsg): Likewise.
9971 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
9972 (sendmsg): Likewise.
9973 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
9974 Likewise.
9975 (sendmsg): Likewise.
9976 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
9977 (sendmsg): Likewise.
9978 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9979 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9980 Remove.
9981 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9982 Likewise.
9983 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9984 Undefine.
9985 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9986 Likewise.
9987 * sysdeps/unix/sysv/linux/kernel-features.h
9988 (__ASSUME_SENDMSG_SYSCALL): Define.
9989 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9990 * sysdeps/unix/sysv/linux/m68k/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/s390/kernel-features.h
10000 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10001 Remove.
10002 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10003 Likewise.
10004 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10005 Undefine.
10006 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10007 Likewise.
10008 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10009 (__ASSUME_SENDMSG_SYSCALL): Undefine.
10010 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10011 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10012 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10013 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10014 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10015 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10016 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10017
10018 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10019
10020 * stdlib/gen-tst-strtod-round.c: Add backslash to
10021 compile command in comment.
10022 (printfp): Remove the literal suffix, and define an infinite
10023 value as INF to avoid expansion clash with INFINITY.
10024 (round_str): Remove the literal suffix.
10025 (round_for_all): Likewise, remove the now duplicate ldbl-64
10026 entry, and remove some magic constants.
10027
10028 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10029 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
10030 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10031 (_CONCAT): New macro.
10032 (CONCAT): Likewise.
10033 (CHOOSE_ld): Likewise.
10034 (CHOOSE_f): Likewise.
10035 (CHOOSE_d): Likewise.
10036 (FTYPE_MEMBER): Likewise.
10037 (BOOL_MEMBER): Likewise.
10038 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10039 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10040 (_XNTRY): Likewise.
10041 (XNTRY): Likewise.
10042 (_ENTRY): Likewise.
10043 (ENTRY): Likewise.
10044 (test_exactness): Generate members via macro.
10045 (test_results): Likewise.
10046 (test): Update members.
10047 (TEST): Redefine using new macros.
10048 (INF): New macro.
10049 (fetestmodes): New structure.
10050 (do_test): Refactor to be type generic.
10051 (test_in_one_mode): Refactor duplicate code into
10052 (GEN_ONE_TEST): New macro.
10053
10054 * stdlib/tst-strtod-round-data.h: Regenerate.
10055
10056 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10057 Extend to pass additional arbitrary parameters to
10058 generators.
10059
10060 2016-05-25 Joseph Myers <joseph@codesourcery.com>
10061
10062 [BZ #15479]
10063 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10064 floating-point state after first floating-point operation on
10065 input. Restore full floating-point state instead of just rounding
10066 mode.
10067 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10068 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10069 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10070 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10071 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10072
10073 [BZ #15479]
10074 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10075 floating-point state after first floating-point operation on
10076 input. Restore full floating-point state instead of just rounding
10077 mode.
10078 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10079 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10080 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10081 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10082 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10083
10084 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10085
10086 [BZ #19727]
10087 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10088 valid high surrogate.
10089 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10090 of an utf16 surrogate.
10091 * iconv/gconv_simple.c (BODY): Likewise.
10092 * iconvdata/bug-iconv12.c: New file.
10093 * iconvdata/Makefile (tests): Add bug-iconv12.
10094
10095 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10096
10097 [BZ #19726]
10098 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10099 outptrp in case of an illegal input.
10100 * iconv/tst-iconv6.c: New file.
10101 * iconv/Makefile (tests): Add tst-iconv6.
10102
10103 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10104
10105 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10106 an error in case of a value in range of an utf16 low surrogate.
10107
10108 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10109
10110 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10111 an error in case of a value in range of an utf16 low surrogate.
10112
10113 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10114
10115 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10116 Move to ...
10117 * sysdeps/s390/Makefile: ... here.
10118 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10119 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10120 (BRANCH_ON_COUNT): New define.
10121 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10122 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10123 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10124 run on s390-32, too.
10125 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10126 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10127 run on s390-32, too.
10128 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10129 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10130 run on s390-32, too.
10131
10132 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10133
10134 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10135 etf3eh or new vector loop-variant.
10136
10137 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10138
10139 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10140 etf3eh or new vector loop-variant.
10141
10142 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10143
10144 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10145 or new vector loop-variant.
10146
10147 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10148
10149 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10150 Rename to TR_LOOP and usage of tr instead of troo instruction.
10151
10152 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10153
10154 * sysdeps/s390/multiarch/gconv_simple.c: New File.
10155 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10156
10157 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10158
10159 * sysdeps/s390/multiarch/8bit-generic.c: New File.
10160 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10161 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10162 New override define.
10163 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10164
10165 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10166
10167 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10168 * sysdeps/s390/configure.ac: Add test for S390 vector register
10169 support in gcc.
10170 * sysdeps/s390/configure: Regenerated.
10171
10172 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10173
10174 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10175 Install file from $(objpfx)gconv-modules.
10176 ($(objpfx)gconv-modules): Concatenate architecture specific file
10177 in variable sysdeps-gconv-modules and gconv-modules in src dir.
10178 * sysdeps/s390/gconv-modules: New file.
10179 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10180 Deleted.
10181 ($(objpfx)gconv-modules-s390): Deleted.
10182 (sysdeps-gconv-modules): New variable.
10183
10184 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10185
10186 [BZ #15479]
10187 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10188 of immediate operand to rounding instruction.
10189 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10190 Likewise.
10191 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10192 Likewise.
10193 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10194 Likewise.
10195
10196 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10197
10198 * math/libm-test.inc (MIN_EXP): Directly define as
10199 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10200
10201 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10202
10203 * math/libm-test.inc (MANT_DIG): Directly define as
10204 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10205
10206 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10207
10208 * stdlib/gen-tst-strtod-round.c (main):
10209 Change usage to more closely match the generated
10210 output. Add usage and compilation instructions.
10211 (string_to_fp): Add and use FILE* parameter as
10212 output target.
10213 (print_fp): Likewise.
10214 (round_str): Likewise.
10215 (round_for_all): Likewise.
10216 * stdlib/tst-strtod-round.c (tests): Move into
10217 * stdlib/tst-strtod-round-data.h: New file.
10218
10219 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10220
10221 [BZ #15479]
10222 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10223 (__round): Do not force "inexact" exception.
10224 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10225 variable.
10226 (__round): Do not force "inexact" exception.
10227 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10228 (__roundf): Do not force "inexact" exception.
10229 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10230 (__roundl): Do not force "inexact" exception.
10231 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10232 (__roundl): Do not force "inexact" exception.
10233 * math/libm-test.inc (round_test_data): Do not allow spurious
10234 "inexact" exceptions.
10235
10236 [BZ #15479]
10237 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10238 exception in comment.
10239 (huge): Remove variable.
10240 (__floor): Do not force "inexact" exception.
10241 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10242 "inexact" exception in comment.
10243 (huge): Remove variable.
10244 (__floor): Do not force "inexact" exception.
10245 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10246 exception in comment.
10247 (huge): Remove variable.
10248 (__floorf): Do not force "inexact" exception.
10249 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10250 exception in comment.
10251 (huge): Remove variable.
10252 (__floorl): Do not force "inexact" exception.
10253
10254 [BZ #15479]
10255 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10256 exception in comment.
10257 (huge): Remove variable.
10258 (__ceil): Do not force "inexact" exception.
10259 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10260 "inexact" exception in comment.
10261 (huge): Remove variable.
10262 (__ceil): Do not force "inexact" exception.
10263 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10264 (__ceilf): Do not force "inexact" exception.
10265 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10266 exception in comment.
10267 (huge): Remove variable.
10268 (__ceill): Do not force "inexact" exception.
10269
10270 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
10271
10272 * config.h.in (BIND_NOW): New.
10273 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
10274 * configure: Regenerated.
10275 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10276 indirect branch via the GOT slot.
10277
10278 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10279
10280 [BZ #19765]
10281 * sysdeps/s390/mempcpy.S: New File.
10282 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10283 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10284 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10285 Add mempcpy variants.
10286 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10287 (memcpy): Adjust to be usable from mempcpy entry point.
10288 (__memcpy_mvcle): Likewise.
10289 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10290 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10291 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10292 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10293 (__memcpy_z10): Likewise.
10294 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10295
10296 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10297
10298 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10299 Remove __GI_ symbol.
10300 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10301 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10302 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10303 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10304 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10305 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10306
10307 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10308
10309 * sysdeps/s390/s390-64/memcpy.S (memcpy):
10310 Use cghi instead of chi to compare 64bit value.
10311
10312 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10313
10314 * sysdeps/s390/s390-32/memcpy.S (memcpy):
10315 Jump to 1MB check before executing mvc-loop.
10316
10317 2016-05-24 Florian Weimer <fweimer@redhat.com>
10318
10319 [BZ #6527]
10320 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10321 unconditionally.
10322 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10323
10324 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10325
10326 * stdlib/tst-strtod6.c (do_test): Use new type generic
10327 invocation of the test function.
10328 (test): Refactor into ...
10329 (TEST_STRTOD): New macro base function.
10330
10331 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10332
10333 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10334 (TEST_STRTOD): New macro.
10335 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10336
10337 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10338
10339 * stdlib/tst-strtod6.c (do_test): Use new type generic
10340 invocation of the test function.
10341 (test): Refactor into ...
10342 (TEST_STRTOD): New macro base function.
10343
10344 2016-05-23 Florian Weimer <fweimer@redhat.com>
10345
10346 CVE-2016-4429
10347 [BZ #20112]
10348 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10349 payload.
10350
10351 2016-05-23 Florian Weimer <fweimer@redhat.com>
10352
10353 [BZ #20111]
10354 * bits/sockaddr.h (_SS_SIZE): Define.
10355 * 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/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10360 (_SS_PADSIZE): Adjust to account for all padding.
10361 (struct sockaddr_storage): Update comment. Avoid implicit
10362 padding.
10363 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10364 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10365 (_SS_PADSIZE): Adjust to account for all padding.
10366 (struct sockaddr_storage): Update comment. Avoid implicit
10367 padding.
10368 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10369 __SS_SIZE is 126 in this version.
10370 * inet/tst-sockaddr.c: New file.
10371 * inet/Makefile (tests): Add tst-sockaddr.c
10372 (tst-sockaddr.c): Compile with non-strict aliasing.
10373
10374 2016-05-23 Joseph Myers <joseph@codesourcery.com>
10375
10376 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10377 [XPG3 || XPG4].
10378 (NL_ARGMAX): Also expect for [XPG3].
10379 (NL_LANGMAX): Likewise.
10380 (NL_MSGMAX): Likewise.
10381 (NL_NMAX): Likewise.
10382 (NL_SETMAX): Likewise.
10383 (NL_TEXTMAX): Likewise.
10384 (NZERO): Likewise.
10385 (TMP_MAX): Likewise.
10386 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10387 variable.
10388
10389 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10390 (PF_MAX): Update value.
10391 (AF_KCM): New macro.
10392 (SOL_NETBEUI): Likewise.
10393 (SOL_LLC): Likewise.
10394 (SOL_DCCP): Likewise.
10395 (SOL_NETLINK): Likewise.
10396 (SOL_TIPC): Likewise.
10397 (SOL_RXRPC): Likewise.
10398 (SOL_PPPOL2TP): Likewise.
10399 (SOL_BLUETOOTH): Likewise.
10400 (SOL_PNPIPE): Likewise.
10401 (SOL_RDS): Likewise.
10402 (SOL_IUCV): Likewise.
10403 (SOL_CAIF): Likewise.
10404 (SOL_ALG): Likewise.
10405 (SOL_NFC): Likewise.
10406 (SOL_KCM): Likewise.
10407 (MSG_BATCH): New enum value and macro.
10408
10409 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
10410
10411 [BZ #18185]
10412 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10413 sharing L2 cache to 2 for Knights Landing.
10414
10415 2016-05-20 Joseph Myers <joseph@codesourcery.com>
10416
10417 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10418 (FTW_DP): Do not expect for [XPG3 || XPG4].
10419 (FTW_SL): Do not expect for [XPG3].
10420 (FTW_SLN): Likewise.
10421 (FTW_PHYS): Likewise.
10422 (FTW_MOUNT): Likewise.
10423 (FTW_DEPTH): Likewise.
10424 (FTW_CHDIR): Likewise.
10425 (nftw): Likewise.
10426 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10427 variable.
10428
10429 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10430
10431 * manual/errno.texi: Fix various typos & grammar errors.
10432
10433 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10434
10435 * manual/intro.texi: Fix duplicated typo.
10436
10437 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10438
10439 [BZ #13304]
10440 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
10441 <float.h>, <math_private.h> and <stdlib.h>.
10442 (add_split): New function.
10443 (mul_split): Likewise.
10444 (ext_val): New typedef.
10445 (store_ext_val): New function.
10446 (mul_ext_val): New function.
10447 (compare): New function.
10448 (add_split_ext): New function.
10449 (__fmal): After checking for Inf, NaN and zero, compute result as
10450 an exact sum of scaled double values in round-to-nearest before
10451 adding those up and adjusting for other rounding modes.
10452 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
10453 tests of fma.
10454 * math/auto-libm-test-out: Regenerated.
10455
10456 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10457
10458 [BZ #20119]
10459 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
10460 processor level type mask for CPUID with EAX == 11.
10461
10462 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10463
10464 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
10465 logical threads if the HTT bit is 0.
10466 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
10467 (index_cpu_HTT): Likewise.
10468 (reg_HTT): Likewise.
10469
10470 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10471
10472 [BZ #20115]
10473 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
10474 Remove alignments on jump targets.
10475
10476 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10477
10478 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
10479 (getpwent): Likewise.
10480 (setpwent): Likewise.
10481 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
10482 variable.
10483
10484 * conform/data/search.h-data (insque): Do not expect for [XPG3].
10485 (remque): Likewise.
10486 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
10487 variable.
10488
10489 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10490
10491 * math/libm-test.inc: Update comment not to refer to signs of NaNs
10492 not being tested.
10493
10494 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10495
10496 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10497 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
10498 call.
10499 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10500 (__condvar_cleanup1): Likewise.
10501
10502 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10503
10504 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
10505 New
10506 (__pthread_unwind): Renamed to ...
10507 (PTHREAD_UNWIND): This.
10508 (__pthread_enable_asynccancel): Replace
10509 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
10510
10511 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10512
10513 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
10514 (CLONE_NEWCGROUP): New macro.
10515
10516 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
10517 (Q_GETNEXTQUOTA): New macro.
10518
10519 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10520
10521 [BZ #19907]
10522 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
10523 buffer updated by the previous run.
10524 * string/test-memcpy.c (do_one_test): Likewise.
10525 * benchtests/bench-memmove.c (do_one_test): Add a comment.
10526 * string/test-memmove.c (do_one_test): Likewise.
10527
10528 2016-05-17 Joseph Myers <joseph@codesourcery.com>
10529
10530 [BZ #20094]
10531 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
10532 not [__USE_XOPEN].
10533 (unlockpt): Likewise.
10534 (ptsname): Likewise.
10535 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
10536 variable.
10537
10538 [BZ #20076]
10539 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
10540 instead of [__USE_UNIX98].
10541 (S_ISSOCK): Likewise.
10542 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
10543 variable.
10544
10545 [BZ #20074]
10546 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
10547 [__USE_POSIX].
10548 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
10549 variable.
10550
10551 [BZ #20051]
10552 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
10553 (ttyslot): Do not declare.
10554 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
10555 (ttyslot): New prototype.
10556 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
10557 variable.
10558 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10559
10560 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10561
10562 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
10563
10564 2016-05-13 Florian Weimer <fweimer@redhat.com>
10565
10566 Fix race condition in tst-mallocfork2, use fewer resources.
10567 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
10568 to current process group.
10569 (signal_sender): Yield in the non-sleeping case.
10570
10571 2016-05-13 Joseph Myers <joseph@codesourcery.com>
10572
10573 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
10574 (ecvt): Likewise.
10575 (fcvt): Likewise.
10576 (gcvt): Likewise.
10577 (getsubopt): Likewise.
10578 (grantpt): Likewise.
10579 (initstate): Likewise.
10580 (l64a): Likewise.
10581 (mktemp): Likewise.
10582 (mkstemp): Likewise.
10583 (ptsname): Likewise.
10584 (random): Likewise.
10585 (realpath): Likewise.
10586 (setstate): Likewise.
10587 (srandom): Likewise.
10588 (ttyslot): Likewise.
10589 (unlockpt): Likewise.
10590 (valloc): Likewise.
10591
10592 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
10593 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
10594 variable.
10595
10596 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
10597
10598 [BZ #20072]
10599 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
10600 init_cpu_features only if SHARED is defined.
10601 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
10602
10603 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
10604
10605 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
10606 non-inclusive caches on Intel processors.
10607
10608 2016-05-13 Florian Weimer <fweimer@redhat.com>
10609
10610 * malloc/malloc.c (dumped_main_arena_start)
10611 (dumped_main_arena_end): New variables.
10612 (DUMPED_MAIN_ARENA_CHUNK): New macro.
10613 (do_check_chunk): Skip dumped fake mmapped chunks.
10614 (munmap_chunk): Likewise.
10615 (__libc_free): Do not adjust statistics for fake mmapped chunks.
10616 (__libc_realloc): Adjust hardening check. Always copy dumped fake
10617 mmapped chunks.
10618 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
10619 Mark dumped chunks as using mmap. Update dumped_main_arena_start
10620 and dumped_main_arena_end to cover the dumped heap.
10621
10622 2016-05-12 Joseph Myers <joseph@codesourcery.com>
10623
10624 * conform/data/time.h-data (getdate_err): Do not expect for
10625 [XPG3].
10626 (getdate): Likewise.
10627 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
10628 variable.
10629
10630 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
10631 (F_ULOCK): Likewise.
10632 (F_TEST): Likewise.
10633 (F_TLOCK): Likewise.
10634 (useconds_t): Likewise.
10635 (intptr_t): Do not expect for [XPG3] or [XPG4].
10636 (brk): Do not expect for [XPG3]
10637 (fchown): Likewise.
10638 (fchdir): Likewise.
10639 (ftruncate): Likewise.
10640 (getdtablesize): Likewise.
10641 (gethostid): Likewise.
10642 (getpagesize): Likewise.
10643 (getpgid): Likewise.
10644 (getsid): Likewise.
10645 (getwd): Likewise.
10646 (lchown): Likewise.
10647 (lockf): Likewise.
10648 (readlink): Likewise.
10649 (sbrk): Likewise.
10650 (setpgrp): Likewise.
10651 (setregid): Likewise.
10652 (setreuid): Likewise.
10653 (symlink): Likewise.
10654 (sync): Likewise.
10655 (truncate): Likewise.
10656 (ualarm): Likewise.
10657 (usleep): Likewise.
10658 (vfork): Likewise.
10659 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
10660 variable.
10661
10662 [BZ #20054]
10663 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
10664 not [__USE_UNIX98].
10665 * conform/data/unistd.h-data (gethostname): Do not expect for
10666 [XPG3].
10667
10668 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
10669 [!POSIX] (S_IFBLK): Likewise.
10670 [!POSIX] (S_IFCHR): Likewise.
10671 [!POSIX] (S_IFIFO): Likewise.
10672 [!POSIX] (S_IFREG): Likewise.
10673 [!POSIX] (S_IFDIR): Likewise.
10674 [!POSIX] (S_IFLNK): Likewise.
10675 [!POSIX] (S_IFSOCK): Likewise.
10676 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
10677 variable.
10678 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10679
10680 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
10681
10682 * sysdeps/aarch64/memset.S (__memset):
10683 Rewrite of optimized memset.
10684
10685 2016-05-12 Florian Weimer <fweimer@redhat.com>
10686
10687 [BZ #19703]
10688 Partially async-signal-safe fork for single-threaded processes.
10689 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
10690 variable. Do not acquire and reset/release malloc and libio locks
10691 in single-threaded processes.
10692 * malloc/tst-mallocfork2.c: New file.
10693 * malloc/Makefile (tests): Add it.
10694
10695 2016-05-12 Florian Weimer <fweimer@redhat.com>
10696
10697 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
10698 argument. Use scratch buffer instead of extend_alloca.
10699 (gethosts): Use scratch buffer instead of extend_alloca.
10700 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
10701 extend_alloca.
10702 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
10703
10704 2016-05-11 Joseph Myers <joseph@codesourcery.com>
10705
10706 [BZ #20055]
10707 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
10708 instead of [__USE_UNIX98].
10709 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
10710 [__USE_UNIX98].
10711 * conform/data/termios.h-data (tcgetsid): Do not expect for
10712 [XPG3].
10713 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
10714 variable.
10715 (test-xfail-XPG4/termios.h/conform): Likewise.
10716
10717 2016-05-11 Florian Weimer <fweimer@redhat.com>
10718
10719 Do not use mcheck in localedef.
10720 * locale/programs/localedef.c (turn_on_mcheck)
10721 (__malloc_initialize_hook): Remove.
10722
10723 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10724
10725 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
10726 * sysdeps/s390/s390-64/Makefile: Likewise.
10727
10728 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
10729
10730 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
10731 Remove ifunc-defines.sym.
10732 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
10733 Likewise.
10734 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
10735 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10736 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
10737 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
10738 rtld-global-offsets.sym.
10739 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
10740 * sysdeps/x86/cpu-features-offsets.sym: This.
10741 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
10742 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
10743
10744 2016-05-10 Joseph Myers <joseph@codesourcery.com>
10745
10746 [BZ #20073]
10747 * io/sys/stat.h (fchmod): Declare for
10748 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
10749 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
10750 variable.
10751
10752 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
10753 [XPG3] (S_IFSOCK): Likewise.
10754 [XPG3] (S_ISVTX): Likewise.
10755 [XPG3] (S_ISLNK): Likewise.
10756 [XPG3] (S_ISSOCK): Likewise.
10757 [XPG3] (fchmod): Likewise.
10758 [XPG3] (lstat): Likewise.
10759 [XPG3] (mknod): Likewise.
10760
10761 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
10762 [XPG3]. Expect type long and XFAIL for [XPG4].
10763 (st_blocks): Likewise.
10764
10765 [BZ #20044]
10766 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
10767 (pthread_atfork): New prototype.
10768 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
10769 variable.
10770
10771 [BZ #20043]
10772 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
10773 prototype.
10774
10775 2016-05-10 Florian Weimer <fweimer@redhat.com>
10776
10777 [BZ #20017]
10778 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
10779 gmtime.
10780
10781 2016-05-10 Florian Weimer <fweimer@redhat.com>
10782
10783 [BZ #19994]
10784 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
10785 flag in _res.options.
10786
10787 2016-05-09 Joseph Myers <joseph@codesourcery.com>
10788
10789 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
10790 [XPG3 || XPG4].
10791 (blksize_t): Likewise.
10792 (clockid_t): Likewise.
10793 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
10794 variable.
10795 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10796
10797 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
10798
10799 * sysdeps/unix/sysv/linux/s390/init-first.c:
10800 Add VDSO_SYMBOL(getcpu).
10801 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
10802 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
10803 Add VDSO_SYMBOL(getcpu).
10804 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
10805 New define HAVE_GETCPU_VSYSCALL.
10806 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10807
10808 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
10809
10810 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
10811 instead of <sysdeps/x86_64/cacheinfo.c>.
10812 * sysdeps/x86_64/cacheinfo.c: Moved to ...
10813 * sysdeps/x86/cacheinfo.c: Here.
10814
10815 2016-05-04 Florian Weimer <fweimer@redhat.com>
10816
10817 * malloc/malloc-internal.h: Adjust header file guard.
10818
10819 2016-05-04 Florian Weimer <fweimer@redhat.com>
10820
10821 [BZ #19787]
10822 * inet/getnameinfo.c (check_sprintf_result): New function.
10823 (CHECKED_SNPRINTF): New macro.
10824 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
10825 to the host buffer.
10826 (gni_host_local): Use checked_copy to copy the host name.
10827 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
10828 (gni_serv_local): Use checked_copy to copy the service name.
10829 (getnameinfo): Remove unnecessary truncation of result buffers.
10830
10831 2016-05-04 Florian Weimer <fweimer@redhat.com>
10832
10833 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
10834 in case of inet_ntop failure.
10835
10836 2016-05-04 Florian Weimer <fweimer@redhat.com>
10837
10838 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
10839 avoid long lines.
10840 (gni_host_inet_numeric): Likewise. Reduce scope of local
10841 variables.
10842 (gni_host_inet, gni_host_local): Add comment.
10843 (gni_host): Add comment. Use temporary to avoid long lines.
10844
10845 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10846
10847 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
10848 registers specifiers where general purpose registers specifiers should
10849 have been used.
10850
10851 2016-05-04 Florian Weimer <fweimer@redhat.com>
10852
10853 [BZ #19779]
10854 CVE-2016-1234
10855 Avoid copying names of directory entries.
10856 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
10857 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
10858 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
10859 (struct readdir_result): New type.
10860 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
10861 (GL_READDIR): New macros.
10862 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
10863 (convert_dirent, convert_dirent64): New functions.
10864 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
10865 convert_dirent64. Adjust references to the readdir result.
10866 * sysdeps/unix/sysv/linux/i386/glob64.c:
10867 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
10868 * posix/bug-glob2.c (LONG_NAME): Define.
10869 (filesystem): Add LONG_NAME.
10870 (my_DIR): Increase the size of room_for_dirent.
10871
10872 2016-05-03 Joseph Myers <joseph@codesourcery.com>
10873
10874 [BZ #20041]
10875 * misc/sys/select.h (__need_timespec): Only define if
10876 [__USE_XOPEN2K].
10877 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
10878 variable.
10879 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10880 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10881 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10882
10883 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10884 Segher Boessenkool <segher@gcc.gnu.org>
10885
10886 [BZ #20004]
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
10888 (__novec_swapcontext): Add missing load.
10889
10890 2016-05-02 Joseph Myers <joseph@codesourcery.com>
10891
10892 [BZ #20023]
10893 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
10894 <time.h>.
10895 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
10896 variable.
10897 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10898
10899 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10900
10901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
10902 flags CLONE_VM compare.
10903
10904 2016-05-02 Florian Weimer <fweimer@redhat.com>
10905
10906 [BZ #20031]
10907 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
10908 completely empty.
10909
10910 2016-05-02 Florian Weimer <fweimer@redhat.com>
10911
10912 [BZ #19573]
10913 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
10914 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
10915 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
10916 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
10917 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
10918 (hesiod_free_list): Mark as hidden.
10919 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
10920 res_set, res_get.
10921 * hesiod/hesiod.c: Remove unnecessary forward declarations.
10922 (init, __hesiod_res_get, __hesiod_res_set): Remove.
10923 (hesiod_init): Remove obsolete res_ninit call.
10924 (hesiod_end): Do not free resolver state. Do not invoke callback.
10925 (hesiod_bind): Do not call init.
10926 (get_txt_records): Use res_mkquery, res_send instead of
10927 res_nmkquery, res_nsend.
10928 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
10929 instead of _nss_hesiod_init.
10930 (_nss_hesiod_initgroups_dyn): Likewise.
10931 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
10932 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
10933 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
10934
10935 2016-05-02 Florian Weimer <fweimer@redhat.com>
10936
10937 * hesiod/hesiod_p.h (DEF_RHS): Remove.
10938 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
10939
10940 2016-05-02 Florian Weimer <fweimer@redhat.com>
10941
10942 * hesiod/hesiod.h: Remove RCS keyword.
10943 * hesiod/hesiod_p.h: Likewise.
10944
10945 * hesiod/hesiod.c: Likewise.
10946
10947 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
10948
10949 [BZ #12450]
10950 * locale/iso-639.def: Add Samogitian/sgs.
10951
10952 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
10953
10954 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
10955
10956 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
10957
10958 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
10959 Carlos O'Donell <carlos@redhat.com>
10960
10961 [BZ #19072]
10962 * grp/Makefile (headers): Add grp-merge.h
10963 (routines): Add grp-merge.
10964 * grp/getgrgid_r.c: Include grp-merge.h.
10965 (DEEPCOPY_FN): Define.
10966 (MERGE_FN): Define.
10967 * grp/getgrname_r.c: Include grp-merge.h.
10968 (DEEPCOPY_FN): Define.
10969 (MERGE_FN): Define.
10970 * grp/grp-merge.c: New file.
10971 * grp/grp-merge.h: New file.
10972 * include/grp-merge.h: New file.
10973 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
10974 __copy_grp@GLIBC_PRIVATE.
10975 * manual/nss.texi (Actions in the NSS configuration): Describe
10976 return, continue, and merge.
10977 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
10978 (DEEPCOPY_FN): Define.
10979 (MERGE_FN): Define.
10980 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
10981 (DEEPCOPY_FN): Define.
10982 (MERGE_FN): Define.
10983 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
10984 [!MERGE_FN]: Define __merge_einval.
10985 (CHECK_MERGE): Define.
10986 (REENTRANT_NAME): Process merge if do_merge is true.
10987 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
10988 (__nss_getent_r): Likewise.
10989 * nss/nsswitch.c (nss_parse_service_list): Likewise.
10990 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
10991
10992 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10993
10994 [BZ #20012]
10995 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
10996 length to calculate the buffer to read.
10997 (fmemopen_write): Set the buffer position based on bytes written.
10998 (fmemopen_seek): Return EINVAL for invalid whence modes.
10999
11000 [BZ #19957]
11001 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11002 tst-getpid2.
11003 (test): Add tst-clone2.
11004 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11005 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11006 pid/tid fields for CLONE_VM.
11007 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11008 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11009 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11010 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11011 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11012 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11013 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11014 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11016 Likewise.
11017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11018 Likewise.
11019 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11020 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11021 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11022 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11023 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11024 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11025 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11026 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11027
11028 2016-04-29 Florian Weimer <fweimer@redhat.com>
11029
11030 [BZ #19642]
11031 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11032 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11033 (gni_serv_local, gni_serv): New functions extracted from
11034 getnameinfo.
11035 (getnameinfo): Call gni_host and gni_serv to perform the
11036 processing. Always free scratch buffer.
11037
11038 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11039
11040 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11041 remaining bytes in the dest string, with zeros.
11042
11043 2016-04-29 Florian Weimer <fweimer@redhat.com>
11044
11045 [BZ #20010]
11046 CVE-2016-3706
11047 * sysdeps/posix/getaddrinfo.c
11048 (convert_hostent_to_gaih_addrtuple): New function.
11049 (gethosts): Call convert_hostent_to_gaih_addrtuple.
11050 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11051 AF_INET data.
11052
11053 2016-04-29 Florian Weimer <fweimer@redhat.com>
11054
11055 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11056 callback function gl_readdir.
11057 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11058 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11059 (glob_in_dir): Remove len. Use strdup instead of malloc and
11060 memcpy to copy the name.
11061 * manual/pattern.texi (Calling Glob): Document requirements for
11062 implementations of the gl_readdir callback function.
11063 * manual/examples/mkdirent.c: New example.
11064 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11065 per the manual guidance.
11066 * posix/tst-gnuglob.c (my_readdir): Likewise.
11067
11068 2016-04-28 Joseph Myers <joseph@codesourcery.com>
11069
11070 [BZ #20014]
11071 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11072 not [__USE_POSIX].
11073 (getchar_unlocked): Likewise.
11074 (putc_unlocked): Likewise.
11075 (putchar_unlocked): Likewise.
11076 (flockfile): Likewise.
11077 (ftrylockfile): Likewise.
11078 (funlockfile): Likewise.
11079 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11080 variable.
11081 (test-xfail-XPG4/stdio.h/conform): Likewise.
11082
11083 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11084 Expect constant.
11085 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11086 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11087 variable.
11088 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11089 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11090
11091 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11092 [__USE_LARGEFILE64] (off64_t): Likewise.
11093 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11094 variable.
11095
11096 2016-04-28 Florian Weimer <fweimer@redhat.com>
11097
11098 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11099
11100 2016-04-28 Florian Weimer <fweimer@redhat.com>
11101
11102 * resolv/inet_addr.c: Reindent preprocessor conditionals.
11103 * resolv/res_init.c: Likewise.
11104 * resolv/res_mkquery.c: Likewise.
11105
11106 2016-04-28 Florian Weimer <fweimer@redhat.com>
11107
11108 * resolv/res_init.c (isascii): Do not define. Use definition in
11109 <ctype.h>.
11110 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11111 (LOG_AUTH): Remove.
11112 (SPRINTF): Remove, adjust caller.
11113 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11114
11115 2016-04-28 Florian Weimer <fweimer@redhat.com>
11116
11117 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11118 SUNSECURITY conditional.
11119 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11120
11121 2016-04-28 Florian Weimer <fweimer@redhat.com>
11122
11123 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11124 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11125 Remove BSD-related preprocessor conditionals.
11126 * conf/portability.h: Remove.
11127
11128 2016-04-28 Florian Weimer <fweimer@redhat.com>
11129
11130 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11131 * resolv/res_data.c: Likewise.
11132
11133 2016-04-28 Florian Weimer <fweimer@redhat.com>
11134
11135 * resolv/res_comp.c: Remove code conditional on __ultrix__.
11136 * resolv/res_data.c: Remove code conditional on ultrix.
11137
11138 2016-04-28 Florian Weimer <fweimer@redhat.com>
11139
11140 * resolv/res_init.c (RFC1535): Do not define. Remove
11141 RFC1535 preprocessor conditionals.
11142 * resolv/README: Update. Do not claim strict RFC 1535 compliance
11143 because there configuration options which make the resolver
11144 behavior different.
11145
11146 2016-04-28 Florian Weimer <fweimer@redhat.com>
11147
11148 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
11149 RESOLVSORT preprocessor conditionals.
11150 * resolv/nss_dns/dns-host.c: Likewise.
11151 * resolv/res_init.c: Likewise.
11152
11153 2016-04-28 Florian Weimer <fweimer@redhat.com>
11154
11155 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
11156 is never defined.
11157
11158 2016-04-28 Florian Weimer <fweimer@redhat.com>
11159
11160 * inet/inet_lnaof.c: Remove SCSS keyword.
11161 * inet/inet_mkadr.c: Likewise.
11162 * inet/inet_net.c: Likewise.
11163 * inet/inet_netof.c: Likewise.
11164 * inet/rcmd.c: Likewise.
11165 * inet/rexec.c: Likewise.
11166 * inet/ruserpass.c: Likewise.
11167
11168 2016-04-28 Florian Weimer <fweimer@redhat.com>
11169
11170 * resolv/inet_addr.c: Remove _LIBC conditionals.
11171 * resolv/res_data.c: Likewise.
11172 * resolv/res_init.c: Likewise.
11173 * resolv/res_mkquery.c: Likewise.
11174 * resolv/res_libc.c: Update comment.
11175 * resolv/README: Update.
11176
11177 2016-04-28 Florian Weimer <fweimer@redhat.com>
11178
11179 * resolv/gethnamaddr.c: Remove SCSS keyword.
11180 * resolv/herror.c: Likewise.
11181 * resolv/inet_addr.c: Likewise.
11182 * resolv/inet_net_ntop.c: Likewise.
11183 * resolv/inet_net_pton.c: Likewise.
11184 * resolv/inet_neta.c: Likewise.
11185 * resolv/inet_ntop.c: Likewise.
11186 * resolv/inet_pton.c: Likewise.
11187 * resolv/ns_date.c: Remove RCS keyword.
11188 * resolv/ns_name.c: Likewise.
11189 * resolv/ns_netint.c: Likewise.
11190 * resolv/ns_parse.c: Likewise.
11191 * resolv/ns_print.c: Likewise.
11192 * resolv/ns_samedomain.c: Likewise.
11193 * resolv/ns_ttl.c: Likewise.
11194 * resolv/nsap_addr.c: Likewise.
11195 * resolv/res_comp.c: Remove SCSS and RCS keyword.
11196 * resolv/res_data.c: Remove RCS keyword.
11197 * resolv/res_debug.c: Remove SCSS and RCS keyword.
11198 * resolv/res_init.c: Likewise.
11199 * resolv/res_mkquery.c: Likewise.
11200 * resolv/res_query.c: Likewise.
11201 * resolv/res_send.c: Likewise.
11202
11203 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11204
11205 * conform/data/stdio.h-data (fdopen): Expect also for
11206 [XPG3 || XPG4].
11207
11208 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11209 (fseeko): Likewise.
11210 (ftello): Likewise.
11211 (ftrylockfile): Likewise.
11212 (funlockfile): Likewise.
11213 (getc_unlocked): Likewise.
11214 (getchar_unlocked): Likewise.
11215 (putc_unlocked): Likewise.
11216 (putchar_unlocked): Likewise.
11217
11218 2016-04-27 Florian Weimer <fweimer@redhat.com>
11219
11220 [BZ #19868]
11221 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11222 DNS packet syntax checks (which were not needed before). Skip
11223 over non-PTR records.
11224
11225 2016-04-27 Florian Weimer <fweimer@redhat.com>
11226
11227 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11228 definition. Include <stddef.h> instead.
11229
11230 2016-04-27 Florian Weimer <fweimer@redhat.com>
11231
11232 [BZ #19831]
11233 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11234 function.
11235 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11236 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11237
11238 2016-04-27 Florian Weimer <fweimer@redhat.com>
11239
11240 [BZ #19862]
11241 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11242 (getanswer_r): Do not call syslog.
11243 (gaih_getanswer_slice): Likewise.
11244 * resolv/gethnamaddr.c (AskedForGot): Remove.
11245 (getanswer): Do not call syslog.
11246 (gethostbyaddr): Likewise.
11247
11248 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11249
11250 * conform/data/signal.h-data (union sigval): Expect also if
11251 [XOPEN2K].
11252 (struct sigevent): Likewise.
11253 (SIGEV_NONE): Likewise.
11254 (SIGEV_SIGNAL): Likewise.
11255 (SIGEV_THREAD): Likewise.
11256 (SIGRTMIN): Likewise.
11257 (SIGRTMAX): Likewise.
11258 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11259 variable.
11260 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11261
11262 2016-04-27 Florian Weimer <fweimer@redhat.com>
11263
11264 [BZ #19830]
11265 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11266 (gaih_getanswer_slice): Likewise.
11267 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11268 Also check for availability of RR metadata.
11269
11270 2016-04-27 Florian Weimer <fweimer@redhat.com>
11271
11272 [BZ #19825]
11273 * resolv/res_send.c (send_vc): Remove early *resplen2
11274 initialization. Set *resplen2 on socket error. Call
11275 close_and_return_error for other errors.
11276
11277 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11278
11279 * sysdeps/unix/sysv/linux/netiucv/iucv.h
11280 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11281 (SCM_IUCV_TRGCLS): New define.
11282
11283 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11284
11285 [BZ #20005]
11286 * libio/fmemopen.c (fmemopen_write): Update internal position after
11287 write.
11288 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11289 * stdio-common/tst-fmemopen4.c: New file..
11290
11291 2016-04-26 Joseph Myers <joseph@codesourcery.com>
11292
11293 [BZ #19996]
11294 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11295 not [__USE_XOPEN2K].
11296 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11297 variable.
11298
11299 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11300 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11301 variable.
11302
11303 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11304 [__USE_XOPEN2K8].
11305 [__USE_LARGEFILE64] (off64_t): Likewise.
11306 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11307 variable.
11308
11309 2016-04-25 Joseph Myers <joseph@codesourcery.com>
11310
11311 [BZ #19989]
11312 * libio/stdio.h (cuserid): Do not declare if
11313 [__USE_XOPEN2K && !__USE_GNU].
11314 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11315 variable.
11316
11317 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11318
11319 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11320 (sysdep_routines): Add P8 and PPC64 strcspn targets.
11321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11322 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11323 ifunc'ed strcspn.
11324 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11325 [EALIGN]: Removed.
11326 [END]: Likewise
11327 [STRSPN]: Define instead of the above to control symbol name.
11328 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11329 New file.
11330 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11331 Likewise.
11332 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11333 Likewise.
11334 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11335 Likewise.
11336 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11337 [INITIAL_MASK]: New macro.
11338 [STRCSPN]: Likewise.
11339 [UPDATE_MASK]: Likewise.
11340 [USE_AS_STRCSPN]: Likewise.
11341
11342 2016-04-25 Florian Weimer <fweimer@redhat.com>
11343
11344 [BZ #19931]
11345 * stdio-common/tst-vfprintf-width-prec.c: New file.
11346 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11347 (tests-special): Add tst-vfprintf-width-prec-mem.out.
11348 (generated): Add mtrace-related files.
11349 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11350 (tst-%-mem.out): New pattern rule, replaces
11351 tst-printf-bz18872-mem.out.
11352 * stdio-common/vfprintf.c (vfprintf): When handling a precision
11353 specifier, deallocate any previously allocated work buffer.
11354
11355 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11356
11357 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11358 Add nop before __startcontext, add explaining comments.
11359
11360 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
11361
11362 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11363 any more. Notably since IPV6_PKTINFO has been reintroduced with a
11364 completely different API.
11365
11366 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11367 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11368 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11369 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11370 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11371 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11372 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11373 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11374 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11375 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11376
11377 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
11378
11379 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11380
11381 2016-04-23 Mike Frysinger <vapier@gentoo.org>
11382
11383 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11384 when it is the default of 0.
11385
11386 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11387
11388 * sysdeps/powerpc/locale-defines.sym: Add new macros.
11389 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11390 (sysdep_routines): Add new strcasestr targets.
11391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11392 (__libc_ifunc_impl_list): Likewise.
11393 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11394 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11395 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11396 * sysdeps/powerpc/powerpc64/power8/Makefile:
11397 New file to add strcasestr-ppc64 to sysdep_routines.
11398 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11399 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11400
11401 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
11402
11403 * benchtests/Makefile (wcsmbs-benchset): Include only for
11404 native builds and runs.
11405 (LOCALES): Likewise.
11406 (bench-build): Build timing-type here instead of the bench
11407 target. Generate locale only for native builds.
11408 * benchtests/README: Add note for cross-building.
11409
11410 * benchtests/Makefile (bench-clean): Clean up extra-objs.
11411
11412 * benchtests/README: Update README to include instructions on
11413 using bench-build.
11414
11415 * Makefile.in (bench-build): New target.
11416 * Rules (PHONY): Add bench-build target.
11417 * benchtests/Makefile (bench): Depend on bench-build.
11418 (bench-build): New target.
11419
11420 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11421
11422 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11423 profil_reply_port.
11424 (profile_waiter): Do not initialize profil_reply_port.
11425 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11426 frequency instead of tick length in us.
11427
11428 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
11429
11430 [BZ #18712]
11431 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11432 (__old_mempcpy_small): Likewise.
11433 (__old_strcpy_small): Likewise.
11434 (__old_stpcpy_small): Likewise.
11435 (__old_strpbrk_c2): Fix compat symbol name.
11436 (__old_strpbrk_c3): Likewise.
11437 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11438 (__mempcpy_small): Remove.
11439 (__strcpy_small): Remove.
11440 (__stpcpy_small): Remove.
11441
11442 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
11443
11444 [BZ #19400]
11445 * locale/iso-639.def: Add the Talossan/tzl language.
11446
11447 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11448
11449 [BZ #16983]
11450 * locale/programs/ld-address.c (address_finish): Update postal_fmt
11451 comment. Add "ln" to strchr check on postal_fmt.
11452
11453 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11454
11455 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
11456 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
11457 tel_dom_fmt.
11458
11459 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11460
11461 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11462 (sysdep_routines): Added __strlen_power8.
11463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
11464 __strlen_power8 entry.
11465 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
11466 Implementation for POWER8.
11467 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
11468 for __strlen_power8.
11469 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
11470 Implementation for POWER8.
11471
11472 2016-04-15 Mike Frysinger <vapier@gentoo.org>
11473
11474 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
11475
11476 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
11477
11478 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
11479 Goldmont and Airmont processors.
11480
11481 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
11482
11483 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
11484 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
11485 (__STRING2_SMALL_GET32): Remove.
11486 (memset): Remove.
11487 (__memset_1): Remove.
11488 (__memset_gc): Remove.
11489 (__mempcpy): Remove.
11490 (mempcpy): Remove.
11491 (__mempcpy_args): Remove.
11492 (strchr): Remove.
11493 (strcpy): Remove.
11494 (strcpy_args): Remove.
11495 (__stpcpy_args): Remove.
11496 (__strcmp_cc): Remove.
11497 (__strcmp_gc): Remove.
11498 (strstr): Remove.
11499
11500 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
11501
11502 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
11503 * nis/nis_call.c (nis_server_cache_add): Likewise.
11504
11505 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11506
11507 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
11508
11509 2016-04-14 Florian Weimer <fweimer@redhat.com>
11510
11511 * malloc/arena.c (__malloc_fork_lock_parent)
11512 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
11513 internal_function attribute.
11514
11515 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
11516
11517 * stdio-common/printf_fp.c (__printf_fp_l):
11518 Rename ___printf_fp_l to __printf_fp_l and
11519 remove strong alias. Use libc_hidden_def instead
11520 of ldbl_hidden_def macro.
11521
11522 2016-04-14 Florian Weimer <fweimer@redhat.com>
11523
11524 Remove malloc hooks from fork handler. They are no longer needed
11525 because malloc runs right before fork, and no malloc calls from
11526 other fork handlers are not possible anymore.
11527 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
11528 declarations.
11529 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
11530 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
11531 (atfork_recursive_cntr): Remove.
11532 (__malloc_fork_lock_parent): Do not override malloc hooks and
11533 thread_arena.
11534 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
11535 thread_arena.
11536 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
11537 thread_arena instead of save_arena.
11538
11539 2016-04-14 Florian Weimer <fweimer@redhat.com>
11540
11541 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
11542 (thread_atfork, thread_atfork_static): Remove.
11543 * sysdeps/mach/hurd/malloc-machine.h:
11544 (thread_atfork, thread_atfork_static): Remove.
11545
11546 2016-04-14 Florian Weimer <fweimer@redhat.com>
11547
11548 [BZ #19431]
11549 Run the malloc fork handler as late as possible to avoid deadlocks.
11550 * malloc/malloc-internal.h: New file.
11551 * malloc/malloc.c: Include it.
11552 * malloc/arena.c (ATFORK_MEM): Remove.
11553 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
11554 Update comment.
11555 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
11556 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
11557 Remove outdated comment.
11558 (ptmalloc_init): Do not call thread_atfork. Remove
11559 thread_atfork_static.
11560 * malloc/tst-malloc-fork-deadlock.c: New file.
11561 * Makefile (tests): Add tst-malloc-fork-deadlock.
11562 (tst-malloc-fork-deadlock): Link against libpthread.
11563 * manual/memory.texi (Aligned Memory Blocks): Update safety
11564 annotation comments.
11565 * sysdeps/nptl/fork.c (__libc_fork): Call
11566 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11567 __malloc_fork_unlock_child.
11568 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
11569
11570 2016-04-14 Florian Weimer <fweimer@redhat.com>
11571
11572 [BZ #19613]
11573 Remove union wait.
11574 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
11575 (w_stopsig, w_stopval): Remove.
11576 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
11577 stat_loc argument.
11578 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
11579 (__WAIT_STATUS_DEFN): Remove.
11580 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11581 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
11582 (wait, wait3, wait4): Use int * for the stat_loc argument.
11583 * posix/wait.c (__wait): Likewise.
11584 * posix/wait3.c (__wait3): Likewise.
11585 * posix/wait4.c (__wait4): Likewise.
11586 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
11587 (__WAIT_STATUS_DEFN): Remove.
11588 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11589 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
11590 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
11591 argument.
11592 * sysdeps/posix/wait.c (__libc_wait): Likewise.
11593 * sysdeps/posix/wait3.c (__wait3): Likewise.
11594 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
11595 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11596 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
11597 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
11598 stat_loc argument.
11599 * manual/process.texi (BSD Wait Functions): Remove union wait.
11600
11601 2016-04-13 Andreas Schwab <schwab@suse.de>
11602
11603 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
11604 (test-extras): Add tst-tlsalign-vars.
11605 * math/Makefile: Wrap long lines.
11606 (libm-vec-test-wrappers): Define.
11607 (test-extras): Add $(libm-vec-test-wrappers).
11608 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
11609 * nss/Makefile (extra-test-objs): Add nss_test1.os.
11610 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
11611 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
11612 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
11613 (extra-test-objs): Add corresponding objects.
11614
11615 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
11616
11617 [BZ #19928]
11618 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
11619 New.
11620 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
11621 times of shared cache size.
11622 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
11623 (VMOVNT): New.
11624 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
11625 (VMOVNT): Likewise.
11626 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
11627 (VMOVNT): Likewise.
11628 (VMOVU): Changed to movups for smaller code sizes.
11629 (VMOVA): Changed to movaps for smaller code sizes.
11630 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
11631 comments.
11632 (PREFETCH): New.
11633 (PREFETCH_SIZE): Likewise.
11634 (PREFETCHED_LOAD_SIZE): Likewise.
11635 (PREFETCH_ONE_SET): Likewise.
11636 Rewrite to use forward and backward loops, which move 4 vector
11637 registers at a time, to support overlapping addresses and use
11638 non temporal store if size is above the threshold and there is
11639 no overlap between destination and source.
11640
11641 2016-04-12 Alex Smith <alex.smith@imgtec.com>
11642
11643 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
11644 Include dl-vdso.
11645 * sysdeps/unix/sysv/linux/mips/Versions: Add
11646 __vdso_clock_gettime.
11647 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
11648 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
11649 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
11650 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
11651 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
11652 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11653 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11654 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11655 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11656
11657 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11658
11659 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
11660 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
11661 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11662 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11663 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11664 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11667 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
11668 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
11669 syscalls generation.
11670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11671 [__NR_pwrite64] (__NR_write): Remove define.
11672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11673 [__NR_pwrite64] (__NR_write): Remove define.
11674 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
11675 Remove define.
11676 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
11677 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
11678 Remove define.
11679 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
11680 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
11681 Linux implementation as base.
11682 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11683
11684 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
11685 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
11686 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11687 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11690 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
11691 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
11692 syscall generation.
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11694 [__NR_pread64] (__NR_pread): Remove define.
11695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11696 [__NR_pread64] (__NR_pread): Likewise.
11697 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
11698 define.
11699 (__libc_pread): Use SYSCALL_LL macro on offset argument.
11700 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
11701 Remove define.
11702 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
11703 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
11704 Linux implementation as base.
11705 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11706 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11707 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11708
11709 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
11710 definition.
11711 (__ALIGNMENT_COUNT): Likewise.
11712 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
11713 (__ALIGNMENT_COUNT): Likewise.
11714 (SYSCALL_LL): New define.
11715 (SYSCALL_LL64): Likewise.
11716 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
11717 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
11718 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
11719 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
11720
11721 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11722 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
11723 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11724 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11725 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11726 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11727
11728 2016-04-11 Florian Weimer <fweimer@redhat.com>
11729
11730 [BZ #19865]
11731 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
11732 original buffer before retry.
11733
11734 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11735
11736 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
11737 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
11738 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
11739 GLRO(dl_auxv) list.
11740 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
11741 including <ldsodefs.h>.
11742 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
11743
11744 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
11745
11746 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
11747 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
11748 $(CPPFLAGS).
11749
11750 2016-04-09 Khem Raj <raj.khem@gmail.com>
11751
11752 [BZ #17950]
11753 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
11754 Add -mfpmath=387.
11755
11756 2016-04-09 Mike Frysinger <vapier@gentoo.org>
11757
11758 * sysdeps/i386/configure.ac: Change == to = when calling test.
11759 * sysdeps/x86_64/configure.ac: Likewise.
11760 * sysdeps/i386/configure: Regenerated.
11761 * sysdeps/x86_64/configure: Likewise.
11762
11763 2016-04-08 Mike Frysinger <vapier@gentoo.org>
11764
11765 [BZ #16137]
11766 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
11767 * benchtests/bench-strcoll.c (input_files): Likewise.
11768 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11769 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
11770 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
11771
11772 2016-04-08 Joseph Myers <joseph@codesourcery.com>
11773
11774 [BZ #19929]
11775 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
11776 [__USE_XOPEN2K8 && !__USE_GNU].
11777 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
11778 variable.
11779
11780 [BZ #19925]
11781 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
11782 define if [!__USE_MISC && __USE_XOPEN2K].
11783 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
11784 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
11785 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
11786 Likewise.
11787 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
11788 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
11789 variable.
11790 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11791
11792 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11793
11794 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11795 (sysdep_routines): Add new strspn targets.
11796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11797 (__libc_ifunc_impl_list): Add strspn.
11798 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11799 New file.
11800 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
11801 Likewise.
11802 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
11803 Likewise.
11804 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11805 Likewise.
11806
11807 2016-04-07 Florian Weimer <fweimer@redhat.com>
11808
11809 * misc/hsearch_r.c: Include <limits.h>.
11810
11811 2016-04-07 Florian Weimer <fweimer@redhat.com>
11812
11813 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
11814
11815 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11816
11817 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11818 (MEMCPY_SYMBOL): New.
11819 (MEMPCPY_SYMBOL): Likewise.
11820 (MEMMOVE_CHK_SYMBOL): Likewise.
11821 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
11822 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
11823 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
11824 Provide alias for memcpy in libc.a and ld.so.
11825
11826 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11827
11828 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11829 (MEMSET_CHK_SYMBOL): New. Define if not defined.
11830 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
11831 Disabled fro now.
11832 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
11833 symbols. Properly check USE_MULTIARCH on __memset symbols.
11834
11835 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11836
11837 * benchtests/Makefile (string-benchset): Add memcpy-large,
11838 memmove-large and memset-large.
11839 * benchtests/bench-memcpy-large.c: New file.
11840 * benchtests/bench-memmove-large.c: Likewise.
11841 * benchtests/bench-memmove-large.c: Likewise.
11842 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
11843
11844 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
11845
11846 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
11847 32-bit displacement to avoid long nop between instructions.
11848
11849 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
11850
11851 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
11852 a comment on VMOVU and VMOVA.
11853
11854 2016-04-04 Florian Weimer <fweimer@redhat.com>
11855
11856 [BZ #19633]
11857 Use specified locale for number formatting in strfmon_l.
11858 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
11859 (__nl_lookup_word): New inline functions.
11860 * include/printf.h (__print_fp_l): Declare.
11861 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
11862 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
11863 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
11864 (___printf_fp): New function.
11865 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
11866 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
11867 * stdlib/tst-strfmon_l.c (do_test): New test.
11868 * stdlib/Makefile (tests): Add kt.
11869 (LOCALES): Build additional locales.
11870 (tst-strfmon_l.out): Require locales.
11871
11872 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
11873
11874 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
11875 if not in libc.
11876 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11877 Likewise.
11878 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
11879 Likewise.
11880 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11881 Likewise.
11882
11883 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
11884
11885 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11886 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
11887 with unaligned_erms.
11888 (__memmove_erms): Skip if source == destination.
11889 (__memmove_unaligned_erms): Don't check source == destination
11890 first.
11891
11892 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11893
11894 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11895 bit_arch_Fast_Copy_Backward for Intel Core proessors.
11896
11897 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11898
11899 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
11900 * string/strspn.c (strspn): Likewise.
11901
11902 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11903
11904 * benchtests/bench-memset.c (do_test): Support 64-byte
11905 alignment.
11906 (test_main): Test 64-byte alignment.
11907
11908 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11909
11910 * benchtests/bench-memmove.c (test_main): Test 64-byte
11911 alignment.
11912
11913 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11914
11915 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
11916
11917 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11918
11919 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
11920 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
11921 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
11922
11923 * string/strpbrk.c (strpbrk): Rewrite function.
11924 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
11925 (__strpbrk_c2): Likewise.
11926 (__strpbrk_c3): Likewise.
11927 * string/string-inlines.c
11928 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
11929 Likewise.
11930 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
11931 Likewise.
11932
11933 * string/strspn.c (strcspn): Rewrite function.
11934 * string/bits/string2.h (strspn): Use __builtin_strcspn.
11935 (__strspn_c1): Remove inline function.
11936 (__strspn_c2): Likewise.
11937 (__strspn_c3): Likewise.
11938 * string/string-inlines.c
11939 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
11940 compatibility symbol.
11941 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
11942 Likewise.
11943 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
11944 Likewise.
11945 * string/string-inlines.c: Include generic version.
11946
11947 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
11948 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11949
11950 * string/Version (libc): Add GLIBC_2.24.
11951 * string/strcspn.c (strcspn): Rewrite function.
11952 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
11953 (__strcspn_c1): Remove inline function.
11954 (__strcspn_c2): Likewise.
11955 (__strcspn_c3): Likewise.
11956 * string/string-inline.c
11957 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
11958 compatibility symbol.
11959 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
11960 Likewise.
11961 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
11962 Likewise.
11963 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
11964
11965 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11966
11967 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11968 Use ahi instead of aghi to adjust stack pointer.
11969
11970 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11971
11972 [BZ #19853]
11973 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
11974 TEST to take significant digits as second parameter.
11975 [TEST]: Redefine in terms of TEST_N taking 30
11976 significant digits.
11977 (do_test): Add test case to demonstrate precision
11978 failure in the ldbl-128ibm printf.
11979 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
11980 (__mpn_extract_long_double): Carry 7 extra intermediate
11981 bits of precision to aide computing difference when
11982 signs differ.
11983
11984 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
11985
11986 [BZ #19881]
11987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11988 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
11989 memset-avx512-unaligned-erms.
11990 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11991 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
11992 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
11993 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
11994 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
11995 __memset_sse2_unaligned_erms, __memset_erms,
11996 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
11997 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11998 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
11999 file.
12000 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12001 Likewise.
12002 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12003 Likewise.
12004 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12005 Likewise.
12006
12007 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12008
12009 [BZ #19776]
12010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12011 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12012 memmove-avx512-unaligned-erms.
12013 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12014 (__libc_ifunc_impl_list): Test
12015 __memmove_chk_avx512_unaligned_2,
12016 __memmove_chk_avx512_unaligned_erms,
12017 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12018 __memmove_chk_sse2_unaligned_2,
12019 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12020 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12021 __memmove_avx512_unaligned_erms, __memmove_erms,
12022 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12023 __memcpy_chk_avx512_unaligned_2,
12024 __memcpy_chk_avx512_unaligned_erms,
12025 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12026 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12027 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12028 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12029 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12030 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12031 __mempcpy_chk_avx512_unaligned_erms,
12032 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12033 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12034 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12035 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12036 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12037 __mempcpy_erms.
12038 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12039 file.
12040 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12041 Likewise.
12042 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12043 Likewise.
12044 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12045 Likewise.
12046
12047 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12048
12049 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12050 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12051 (La_s390_64_regs): Likewise.
12052 (La_s390_32_retval): Append vector register lrv_v24.
12053 (La_s390_64_retval): Likeweise.
12054 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12055 Handle extended structs La_s390_32_regs and La_s390_32_retval.
12056 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12057 Handle extended structs La_s390_64_regs and La_s390_64_retval.
12058
12059 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12060
12061 [BZ #19916]
12062 * sysdeps/s390/s390-32/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-32/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 if _dl_call_pltexit is called.
12069 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12070 Choose the correct resolver function if running on a machine with vx.
12071 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12072 to create a non-vector/vector version for _dl_runtime_resolve and
12073 _dl_runtime_profile. Move implementation to ...
12074 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12075 (_dl_runtime_resolve) Save and restore fpr/vrs.
12076 (_dl_runtime_profile) Save and restore vrs and fix some issues
12077 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12078 Choose the correct resolver function if running on a machine with vx.
12079
12080 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12081
12082 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12083
12084 2016-03-31 Florian Weimer <fweimer@redhat.com>
12085
12086 [BZ #19509]
12087 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12088 skip_map != NULL.
12089 * elf/tst-dlsym-error.c: New file.
12090 * elf/Makefile (tests): Add tst-dlsym-error.
12091 (tst-dlsym-error): Link against libdl.
12092
12093 2016-03-29 Joseph Myers <joseph@codesourcery.com>
12094
12095 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12096 (__ASSUME_FUTIMESAT): Remove macro.
12097 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12098
12099 2016-03-29 Florian Weimer <fweimer@redhat.com>
12100
12101 [BZ #19879]
12102 CVE-2016-3075
12103 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12104 copy name.
12105
12106 2016-03-29 Florian Weimer <fweimer@redhat.com>
12107
12108 [BZ #19837]
12109 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12110 error if parse_line fails.
12111
12112 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12113
12114 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12115 (index_cpu_ERMS): Likewise.
12116 (reg_ERMS): Likewise.
12117
12118 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
12119
12120 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12121 PER_LINUX_FDPIC): Add.
12122
12123 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12124
12125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12126 memcpy-avx512-no-vzeroupper.
12127 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12128 to ...
12129 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12130 (MEMCPY): Don't define.
12131 (MEMCPY_CHK): Likewise.
12132 (MEMPCPY): Likewise.
12133 (MEMPCPY_CHK): Likewise.
12134 (MEMPCPY_CHK): Renamed to ...
12135 (__mempcpy_chk_avx512_no_vzeroupper): This.
12136 (MEMPCPY_CHK): Renamed to ...
12137 (__mempcpy_chk_avx512_no_vzeroupper): This.
12138 (MEMCPY_CHK): Renamed to ...
12139 (__memmove_chk_avx512_no_vzeroupper): This.
12140 (MEMCPY): Renamed to ...
12141 (__memmove_avx512_no_vzeroupper): This.
12142 (__memcpy_avx512_no_vzeroupper): New alias.
12143 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12144
12145 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12146
12147 [BZ #18858]
12148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12149 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12150 and mempcpy-avx512-no-vzeroupper.
12151 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12152 New.
12153 (MEMPCPY): Likewise.
12154 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12155 (MEMPCPY_CHK): New.
12156 (MEMPCPY): Likewise.
12157 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12158 (MEMPCPY): Likewise.
12159 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12160 (MEMPCPY): Likewise.
12161 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12162 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12163 Likewise.
12164 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12165 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12166
12167 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12168 Amit Pawar <Amit.Pawar@amd.com>
12169
12170 [BZ #19583]
12171 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12172 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12173 processors. Set Fast_Copy_Backward for AMD Excavator
12174 processors.
12175 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12176 New.
12177 (index_arch_Fast_Unaligned_Copy): Likewise.
12178 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12179 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12180
12181 2016-03-25 Florian Weimer <fweimer@redhat.com>
12182
12183 [BZ #19791]
12184 * resolv/res_send.c (close_and_return_error): New function.
12185 (send_dg): Initialize *resplen2 after reopen failure. Call
12186 close_and_return_error for error returns. On error paths without
12187 __res_iclose, initialze *resplen2 explicitly. Update comment for
12188 successful return.
12189
12190 2016-03-25 Florian Weimer <fweimer@redhat.com>
12191
12192 [BZ# 19860]
12193 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12194 zero if the compiler does not provide the AVX512F bit.
12195
12196 2016-03-24 Joseph Myers <joseph@codesourcery.com>
12197
12198 [BZ #19848]
12199 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12200 from 8 to 4.
12201 (__ieee754_powl): Compare integer exponent against 4 not 8.
12202 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12203 from 8 to 4.
12204 (__ieee754_powl): Compare integer exponent against 4 not 8.
12205 * math/auto-libm-test-in: Add more tests of pow.
12206 * math/auto-libm-test-out: Regenerated.
12207 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12209
12210 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12211
12212 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12213 Make code unconditional.
12214 [!__NR_utimensat]: Remove conditional code.
12215 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12216 Make code unconditional.
12217 [!__NR_utimensat]: Remove conditional code.
12218 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12219 Make code unconditional.
12220 [!__NR_utimensat]: Remove conditional code.
12221
12222 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12223
12224 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12225 Make code unconditional.
12226
12227 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
12228
12229 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12230 call-clobbered %eax on retry path.
12231 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12232
12233 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12234
12235 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12236 Don't set %rcx twice before "rep movsb".
12237
12238 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12239
12240 [BZ #19583]
12241 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12242 inline. Check family before setting family, model and
12243 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
12244 bits here.
12245 (init_cpu_features): Replace HAS_CPU_FEATURE and
12246 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12247 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
12248 for Intel processors with usable AVX2. Call get_common_indeces
12249 for other processors with family == NULL.
12250 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12251 (CPU_FEATURES_ARCH_P): Likewise.
12252 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12253 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12254
12255 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12256
12257 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12258 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12259 $(shared-thread-library) instead of hardcoding the path to libpthread.
12260
12261 2016-03-22 Joseph Myers <joseph@codesourcery.com>
12262
12263 * sysdeps/unix/sysv/linux/kernel-features.h
12264 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12265 * sysdeps/unix/sysv/linux/getdents.c
12266 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12267 [!have_no_getdents64_defined]: Likewise.
12268 (__GETDENTS): Remove __have_no_getdents64 conditional.
12269
12270 2016-03-21 Joseph Myers <joseph@codesourcery.com>
12271
12272 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12273 Remove macro.
12274 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12275 <kernel-features.h>.
12276 (signalfd) [__NR_signalfd4]: Make code unconditional.
12277 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12278
12279 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12280
12281 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12282 style.
12283
12284 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
12285
12286 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12287 (__pthread_enable_asynccancel): Use JUMPTARGET to call
12288 __pthread_unwind.
12289 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12290 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12291 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12292 (__condvar_cleanup1): Likewise.
12293
12294 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
12295
12296 [BZ #19822]
12297 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12298 move it to the final $@ location.
12299
12300 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12301
12302 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12303 access where posix_spawn success and pid argument is null.
12304 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12305 success case.
12306
12307 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
12308
12309 * sysdeps/mach/hurd/i386/c++-types.data: New file.
12310
12311 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12312
12313 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12314 and __fcntl.
12315 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12316 __fcntl only.
12317 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12318 adding attribute_hidden to __open and __fcntl.
12319
12320 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12321 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12322 depend on libc-modules.h,
12323 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12324
12325 2016-03-17 Joseph Myers <joseph@codesourcery.com>
12326
12327 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12328 Remove macro.
12329 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12330 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12331 entry.
12332
12333 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12334 Remove macro.
12335 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12336 include <kernel-features.h>.
12337 [!__ASSUME_FALLOCATE]: Remove conditional code.
12338 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12339
12340 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
12341
12342 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12343 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12344 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12345 (_ZGVdN4v_cos_avx2): Likewise.
12346 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12347 (_ZGVdN4v_cos): Likewise.
12348 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12349 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12350 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12351 (_ZGVdN4v_exp_avx2): Likewise.
12352 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12353 (_ZGVdN4v_exp): Likewise.
12354 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12355 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12356 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12357 (_ZGVdN4v_log_avx2): Likewise.
12358 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12359 (_ZGVdN4v_log): Likewise.
12360 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12361 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12362 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12363 (_ZGVdN4vv_pow_avx2): Likewise.
12364 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12365 (_ZGVdN4vv_pow): Likewise.
12366 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12367 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12368 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12369 (_ZGVdN4v_sin_avx2): Likewise.
12370 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12371 (_ZGVdN4v_sin): Likewise.
12372 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12373 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12374 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12375 (_ZGVdN4vvv_sincos_avx2): Likewise.
12376 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12377 (_ZGVdN4vvv_sincos): Likewise.
12378 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12379 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12380 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12381 (_ZGVbN4v_cosf_sse4): Likewise.
12382 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12383 (_ZGVdN8v_cosf_avx2): Likewise.
12384 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12385 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12386 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12387 (_ZGVbN4v_expf_sse4): Likewise.
12388 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12389 (_ZGVdN8v_expf_avx2): Likewise.
12390 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12391 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12392 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12393 (_ZGVbN4v_logf_sse4): Likewise.
12394 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12395 (_ZGVdN8v_logf_avx2): Likewise.
12396 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12397 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12398 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12399 (_ZGVbN4vv_powf_sse4): Likewise.
12400 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12401 (_ZGVdN8vv_powf_avx2): Likewise.
12402 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12403 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12404 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12405 (_ZGVbN4vvv_sincosf_sse4): Likewise.
12406 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12407 (_ZGVdN8vvv_sincosf_avx2): Likewise.
12408 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12409 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12410 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12411 (_ZGVbN4v_sinf_sse4): Likewise.
12412 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12413 (_ZGVdN8v_sinf_avx2): Likewise.
12414 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12415 Use JUMPTARGET to call callee.
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 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12424 Likewise.
12425 (WRAPPER_IMPL_SSE2_ff): Likewise.
12426 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12427 (WRAPPER_IMPL_AVX): Likewise.
12428 (WRAPPER_IMPL_AVX_ff): Likewise.
12429 (WRAPPER_IMPL_AVX_fFF): Likewise.
12430 (WRAPPER_IMPL_AVX512): Likewise.
12431 (WRAPPER_IMPL_AVX512_ff): Likewise.
12432 (WRAPPER_IMPL_AVX512_fFF): Likewise.
12433
12434 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12435
12436 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12437 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12438 qualifier.
12439 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12440 internal_function qualifiers.
12441
12442 2016-03-15 Carlos O'Donell <carlos@redhat.com>
12443
12444 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
12445 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
12446 * math/atest-exp.c (exp_mpn): Mark chk unused.
12447 * math/atest-exp2.c (exp_mpn): Likewise.
12448 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
12449 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
12450
12451 2016-03-15 Joseph Myers <joseph@codesourcery.com>
12452
12453 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
12454 Remove macro.
12455 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
12456 <kernel-features.h>.
12457 [__NR_ppoll]: Make code unconditional.
12458 [!__ASSUME_PPOLL]: Remove conditional code.
12459
12460 * sysdeps/unix/sysv/linux/kernel-features.h
12461 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
12462 (__ASSUME_ACCEPT4): Likewise.
12463 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12464 Define.
12465 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
12466 Likewise.
12467 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12468 Likewise.
12469 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
12470 Likewise.
12471 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
12472 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
12473 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12474 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12475 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12476 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12477 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12478 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12479 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12480 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12481 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12482 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12483 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12484 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12485 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12486 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12487 Likewise.
12488 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12489 Likewise.
12490 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12491 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12492 0x040300].
12493 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12494 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12495 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12496 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12497 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12498 0x030300].
12499 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
12500 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12501 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12502 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12503 0x040300].
12504 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12505 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12506 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12507 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12508 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12509 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12510 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12511 0x030300].
12512 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12513 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12514 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12515 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12516 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12517 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12518 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12519 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12520 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12521 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12522 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12523 0x040300].
12524 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12525 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12526 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12527 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12528 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12529 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12530 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12531 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12532 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12533 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12534 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12535 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12536 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12537 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12538 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
12539 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12540 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12541 Likewise.
12542 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12543 Likewise.
12544
12545 2016-03-15 Andreas Schwab <schwab@suse.de>
12546
12547 [BZ #19257]
12548 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
12549 statp->_u._ext.nscount as loop count.
12550
12551 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
12552
12553 * math/test-signgam-finite-c99.c: Also #undef
12554 __LIBC_INTERNAL_MATH_INLINES.
12555 * math/test-signgam-main.c: Likewise.
12556
12557 2016-03-14 Joseph Myers <joseph@codesourcery.com>
12558
12559 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
12560 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12561 (MADV_FREE): Likewise.
12562 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
12563 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
12564 EPOLLEXCLUSIVE.
12565
12566 2016-03-14 Carlos O'Donell <carlos@redhat.com>
12567
12568 * timezone/README: Remove mention of checktab.awk. Mention wiki
12569 SharedSourceFiles.
12570
12571 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
12572
12573 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
12574 WUNTRACED.
12575
12576 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12577
12578 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
12579 order to match the type of p when calling atomic_exchange_acq().
12580
12581 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12582
12583 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
12584 cfi_offset calls.
12585 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
12586 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
12587 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
12588 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
12589 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
12590
12591 2016-03-10 Carlos O'Donell <carlos@redhat.com>
12592
12593 * timezone/checktab.awk: Removed.
12594
12595 2016-03-10 Joseph Myers <joseph@codesourcery.com>
12596
12597 * manual/math.texi (Errors in Math Functions): Document relaxed
12598 accuracy goals for IBM long double.
12599 * math/libm-test.inc (test_exceptions): Always allow spurious
12600 "underflow" and "inexact" exceptions for IBM long double.
12601
12602 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
12603
12604 [BZ #19762]
12605 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12606 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
12607 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
12608 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
12609 (bit_arch_*): This for feature array.
12610 (bit_*): Renamed to ...
12611 (bit_cpu_*): This for cpu array.
12612 (index_*): Renamed to ...
12613 (index_arch_*): This for feature array.
12614 (index_*): Renamed to ...
12615 (index_cpu_*): This for cpu array.
12616 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
12617 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
12618 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
12619 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
12620 bit_##name with index_cpu_##name and bit_cpu_##name.
12621 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
12622 bit_##name with index_arch_##name and bit_arch_##name.
12623
12624 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
12625
12626 [BZ #19792]
12627 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
12628 Terminate FDE before return label.
12629
12630 2016-03-09 Joseph Myers <joseph@codesourcery.com>
12631
12632 [BZ #19790]
12633 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
12634 (rintl): Define as macro.
12635 [USE_AS_NEARBYINTL] (__rintl): Likewise.
12636 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
12637 of fesetround. Ensure results are evaluated before end of scope.
12638 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
12639 USE_AS_NEARBYINTL and include s_rintl.c.
12640 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
12641 Disable exception traps in new environment.
12642 (libc_feholdsetround_ppc_ctx): Likewise.
12643
12644 2016-03-08 Roland McGrath <roland@hack.frob.com>
12645
12646 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
12647 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
12648 (tst_audit10_aux) [__AVX512F__]: ... here.
12649
12650 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
12651
12652 * include/sys/auxv.h: New file.
12653
12654 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
12655
12656 [BZ #19759]
12657 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
12658
12659 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12660
12661 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
12662 operand modifier.
12663 (feclearexcept): Likewise.
12664
12665 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12666
12667 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
12668 to reflect the entire 32-bit HWCAP.
12669 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
12670 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
12671
12672 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
12673
12674 [BZ #19783]
12675 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
12676 $(test-via-rtld-prefix).
12677 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
12678
12679 2016-03-08 Florian Weimer <fweimer@redhat.com>
12680
12681 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
12682 union wait. Report any non-zero exit status as error.
12683
12684 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12685
12686 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
12687 configured with --enable-hardcoded-path-in-tests.
12688
12689 2016-03-08 Joseph Myers <joseph@codesourcery.com>
12690
12691 [BZ #19677]
12692 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12693 (__ieee754_remainderl): Put zero low parts in canonical form.
12694 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
12695 file. Based on
12696 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
12697 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
12698 with wrapper round test-fmodrem-ldbl-128ibm.c.
12699 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
12700 file.
12701 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
12702 Likewise.
12703 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12704 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
12705
12706 2016-03-07 Florian Weimer <fweimer@redhat.com>
12707
12708 [BZ #19610]
12709 * elf/ldconfig.c (opt_link): Update comment.
12710 (options): Update help string for option -X.
12711 (search_dir): Unlink stale symbolic link only if updating symbolic
12712 links.
12713 * elf/tst-ldconfig-X.sh: New file.
12714 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
12715 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
12716
12717 2016-03-07 Andreas Schwab <schwab@suse.de>
12718
12719 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
12720 needed arguments.
12721
12722 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
12723
12724 [BZ #15333]
12725 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
12726 to lstat64.
12727
12728 2016-03-07 Florian Weimer <fweimer@redhat.com>
12729
12730 * libio/filedoalloc.c (isatty): Remove.
12731 (local_isatty): Add comment. Call __isatty directly.
12732 (_IO_file_doallocate): Update comment. Assume _LIBC.
12733 * libio/wfiledoalloc.c (isatty): Remove.
12734 (_IO_wfile_doallocate): Update comment.
12735
12736 2016-03-07 Florian Weimer <fweimer@redhat.com>
12737
12738 [BZ #19269]
12739 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
12740 tst-audit4-aux.o.
12741 (tst-audit10): Depend on tst-audit10-aux.o.
12742 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
12743 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
12744 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
12745 instead of inline AVX code.
12746 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
12747 instead of inline AVX512 code.
12748 * sysdeps/x86_64/tst-audit4-aux.c: New file
12749 * sysdeps/x86_64/tst-audit10-aux.c: New file
12750
12751 [BZ #19648]
12752 * test-skeleton.c (main): Do not set RLIMIT_DATA.
12753
12754 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12755
12756 [BZ #14750]
12757 [BZ #10354]
12758 [BZ #18433]
12759 * include/sched.h (__clone): Add hidden prototype.
12760 (__clone2): Likewise.
12761 * include/unistd.h (__dup): Likewise.
12762 * posix/Makefile (tests): Add tst-spawn2.
12763 * posix/tst-spawn2.c: New file.
12764 * sysdeps/posix/dup.c (__dup): Add hidden definition.
12765 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
12766 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12767 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12768 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12769 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12770 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
12771 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12772 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
12773 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12774 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12776 Likewise.
12777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12778 Likewise.
12779 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12780 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12781 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12782 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12783 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12784 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12785 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12786 * sysdeps/unix/sysv/linux/nptl-signals.h
12787 (____nptl_is_internal_signal): New function.
12788 * sysdeps/unix/sysv/linux/spawni.c: New file.
12789
12790 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
12791 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
12792 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
12793 * posix/tst-execvp2.c (do_test): Likewise.
12794 * posix/tst-execvp3.c (do_test): Likewise.
12795 * posix/tst-execvp4.c (do_test): Likewise.
12796 * posix/tst-execvpe1.c: New file.
12797 * posix/tst-execvpe2.c: Likewise.
12798 * posix/tst-execvpe3.c: Likewise.
12799 * posix/tst-execvpe4.c: Likewise.
12800 * posix/tst-execvpe5.c: Likewise.
12801 * posix/tst-execvpe6.c: Likewise.
12802
12803 [BZ #19534]
12804 * posix/execl.c (execl): Remove dynamic memory allocation.
12805 * posix/execle.c (execle): Likewise.
12806 * posix/execlp.c (execlp): Likewise.
12807
12808 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
12809
12810 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
12811 Replace .text with .text.avx512.
12812 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12813 Likewise.
12814
12815 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
12816
12817 * sysdeps/generic/libnsl.abilist: New file.
12818 * sysdeps/generic/libutil.abilist: New file.
12819
12820 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
12821
12822 [BZ #19762]
12823 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
12824 HAS_ARCH_FEATURE with Fast_Rep_String.
12825 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
12826 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
12827 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
12828 Likewise.
12829 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
12830 Likewise.
12831 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
12832 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
12833 Likewise.
12834 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
12835 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
12836 Likewise.
12837
12838 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12839
12840 [BZ #19745]
12841 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12842 with *%rax in call.
12843
12844 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12845
12846 [BZ #19745]
12847 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
12848 with *__libc_start_main@GOTPCREL(%rip) in call.
12849
12850 2016-03-04 Roland McGrath <roland@hack.frob.com>
12851
12852 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
12853 inside conditional for nonempty $(CXX).
12854
12855 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
12856 nonempty.
12857
12858 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
12859 to test for empty $(CXX) rather than $(CXX) of "no".
12860
12861 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12862
12863 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
12864
12865 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
12866 H.J. Lu <hongjiu.lu@intel.com>
12867
12868 [BZ #18880]
12869 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
12870 instead of Slow_BSF, and also check for Fast_Copy_Backward to
12871 enable __memcpy_ssse3_back.
12872
12873 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
12874
12875 [BZ #19758]
12876 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12877 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
12878
12879 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12880
12881 [BZ #19490]
12882 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
12883 (__fentry__): Likewise.
12884
12885 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
12886
12887 * gmon/Makefile (noprof): Add $(sysdep_noprof).
12888 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
12889
12890 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
12891
12892 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
12893 __mcount_internal directly.
12894 (C_LABEL(__fentry__)): Likewise.
12895 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
12896 directly.
12897
12898 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
12899
12900 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12901 (__start_context): Call __setcontext directly.
12902
12903 2016-02-26 Joseph Myers <joseph@codesourcery.com>
12904
12905 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12906 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12907 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
12908 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12909 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12910 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12911 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
12912 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12913 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12914 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
12915 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12916 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12917 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12918 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12919 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12920 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12921 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
12922 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12923 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12924 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12925 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
12926 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12927 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12928 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12929 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
12930 Remove conditional code.
12931 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12932 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
12933 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12934 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12935 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
12936 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12937 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12938 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12939 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12940 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12941 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12942 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12943
12944 2016-02-24 Marko Myllynen <myllynen@redhat.com>
12945
12946 * NEWS (2.23): Fix typo in bug 19048 text.
12947
12948 2016-02-24 Carlos O'Donell <carlos@redhat.com>
12949
12950 [BZ #14259]
12951 * Makeconfig: Rename msgcatdir to localedir.
12952 Rename inst_msgcatdir to inst_localedir.
12953 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
12954 * config.make.in: Add localedir.
12955 * elf/Makefile ($(objpfx)sotruss): Use localedir.
12956 (ldd-rewrite): Likewise.
12957 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
12958 (install-others): Use inst_localedir.
12959 (CPPFLAGS): Use localedir.
12960 * locale/Makefile (locale-CPPFLAGS): Likewise.
12961 * po/Makefile (mo-installed): Use inst_localedir.
12962
12963 [BZ #19575]
12964 * localedata/charmaps/GB18030: Update comments regarding PAU to
12965 non-PUA mappings.
12966
12967 2016-02-24 Joseph Myers <joseph@codesourcery.com>
12968
12969 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
12970 test for header.
12971 * sysdeps/unix/sysv/linux/configure: Regenerated.
12972 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
12973 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
12974 Remove conditional code.
12975 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
12976
12977 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12978 Define to 3.2.0.
12979 (arch_minimum_kernel): Likewise.
12980 * sysdeps/unix/sysv/linux/configure: Regenerated.
12981 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
12982 Define to 2.6.32.
12983 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12984 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
12985 (arch_minimum_kernel): Define to 2.6.32.
12986 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
12987 * README: Document Linux 3.2 requirement.
12988 * manual/install.texi (Linux): Document Linux 3.2 headers
12989 requirement.
12990 * INSTALL: Regenerated.
12991
12992 2016-02-24 Andreas Schwab <schwab@suse.de>
12993
12994 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
12995 if !NO_LONG_DOUBLE.
12996
12997 2016-02-22 Roland McGrath <roland@hack.frob.com>
12998
12999 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13000 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13001
13002 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
13003
13004 [BZ #19512]
13005 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13006
13007 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13008
13009 * posix/tst-dir.c: Include libc-internal.h.
13010
13011 2016-02-20 Florian Weimer <fweimer@redhat.com>
13012
13013 [BZ #19056]
13014 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13015 * manual/filesys.texi (Reading/Closing Directory): Mention
13016 deprecaion.
13017 * posix/tst-dir.c (main): Disable deprecation warning in test.
13018
13019 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
13020
13021 [BZ #19679]
13022 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13023 Renamed to ...
13024 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
13025 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13026 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
13027 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13028 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13029 * sysdeps/x86_64/dl-trampoline.h
13030 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13031 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13032
13033 2016-02-19 Mark Wielaard <mjw@redhat.com>
13034
13035 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13036
13037 2016-02-19 Mark Wielaard <mjw@redhat.com>
13038
13039 * elf/elf.h (R_386_GOT32X): New.
13040 (R_386_NUM): Update.
13041 (R_X86_64_GOTPCRELX: New.
13042 (R_X86_64_REX_GOTPCRELX): New.
13043 (R_X86_64_NUM): Update.
13044
13045 2016-02-19 Mike Frysinger <vapier@gentoo.org>
13046
13047 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13048
13049 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
13050
13051 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13052 assign attr->stackaddr to it, and adjust it down when
13053 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
13054 [_STACK_GROWS_UP]: Delete assert.
13055 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13056 Implement stack grows up logic.
13057 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13058 stack grows up logic.
13059
13060 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13061
13062 * NEWS: Update with 2.24 template.
13063
13064 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13065
13066 [BZ #19678]
13067 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13068 Ensure +0.0 is returned when taking the next value below the least
13069 positive value.
13070
13071 2016-02-19 Florian Weimer <fweimer@redhat.com>
13072
13073 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13074 available. Do not define NO_THREADS.
13075 * malloc/malloc.c: Do not check NO_THREADS.
13076 * malloc/arena.c: Likewise.
13077
13078 2016-02-19 Florian Weimer <fweimer@redhat.com>
13079
13080 * malloc/malloc.c (__libc_mallinfo): Update comment.
13081 (struct malloc_par): Remove max_total_mem member, it was always 0.
13082 (int_mallinfo): Store 0 into usmblks (no functional change).
13083 * malloc/hooks.c (struct malloc_state): Document that
13084 max_total_mem is always 0.
13085 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13086 always 0.
13087 * manual/memory.texi (Statistics of Malloc): Likewise.
13088
13089 2016-02-19 Florian Weimer <fweimer@redhat.com>
13090
13091 * malloc/malloc.c (sysmalloc): Do not update arena_max.
13092 * malloc/arena.c (arena_max): Remove.
13093 (heap_trim, _int_new_arena): Do not update arena_max.
13094
13095 2016-02-19 Florian Weimer <fweimer@redhat.com>
13096
13097 * resolv/res_init.c (res_ninit): Update comment.
13098
13099 2016-02-19 Florian Weimer <fweimer@redhat.com>
13100
13101 [BZ #19505]
13102 * posix/spawn_int.h: Add headers and include guard.
13103 (__spawn_valid_fd): New function.
13104 * posix/spawn_faction_addopen.c
13105 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13106 * posix/spawn_faction_addclose.c
13107 (posix_spawn_file_actions_addclose): Likewise.
13108 * posix/spawn_faction_adddup2.c
13109 (posix_spawn_file_actions_adddup2): Likewise. Add check for
13110 second file descriptor.
13111 * posix/spawn_valid_fd.c: New file.
13112 * posix/tst-posix_spawn-fd.c: New file.
13113 * posix/Makefile (routines): Add spawn_valid_fd.
13114 (tests): Add tst-posix_spawn-fd.
13115
13116 2016-02-19 Florian Weimer <fweimer@redhat.com>
13117
13118 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13119 (do_test): Limit the number of arenas, so that we can use fewer
13120 outer threads. Limit timeout to 3 seconds, in preparation for a
13121 larger TIMEOUT value.
13122
13123 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13124
13125 [BZ #19674]
13126 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13127 sign in overflowing and underflowing results when overflow or
13128 underflow is detected early. Include sign in result before rather
13129 than after scaling.
13130
13131 [BZ #19603]
13132 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13133 (__ieee754_remainderl): Adjust sign of integer version of low part
13134 when taking absolute value of high part.
13135 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13136 * math/libm-test.inc (remainder_test_data): Add another test.
13137 (remquo_test_data): Likewise.
13138
13139 2016-02-18 Joseph Myers <joseph@codesourcery.com>
13140
13141 [BZ #19602]
13142 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13143 equal high parts and both low parts zero specially.
13144 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13145 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13146 Add test-fmodl-ldbl-128ibm.
13147
13148 [BZ #19595]
13149 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13150 common logic for all cases of shifting subnormal results. Do not
13151 insert sign bit in shifted mantissa. Always pass -1023 as biased
13152 exponent to ldbl_insert_mantissa in subnormal case.
13153
13154 [BZ #19594]
13155 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13156 on high and low parts then adjust result and use
13157 ldbl_canonicalize_int if needed.
13158
13159 [BZ #19593]
13160 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13161 on high part and __floor or __ceil on low part then use
13162 ldbl_canonicalize_int if needed.
13163
13164 [BZ #19592]
13165 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13166 high and low parts then use ldbl_canonicalize_int if needed.
13167
13168 [BZ #17899]
13169 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13170 New function.
13171 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13172 on high and low parts then use ldbl_canonicalize_int if needed.
13173
13174 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13175
13176 * configure: Regenerated.
13177
13178 * po/libc.pot: Regenerated.
13179
13180 * po/be.po: Updated translation.
13181 * po/bg.po: Likewise.
13182 * po/ca.po: Likewise.
13183 * po/cs.po: Likewise.
13184 * po/da.po: Likewise.
13185 * po/el.po: Likewise.
13186 * po/eo.po: Likewise.
13187 * po/es.po: Likewise.
13188 * po/fi.po: Likewise.
13189 * po/fr.po: Likewise.
13190 * po/gl.po: Likewise.
13191 * po/hr.po: Likewise.
13192 * po/hu.po: Likewise.
13193 * po/ia.po: Likewise.
13194 * po/id.po: Likewise.
13195 * po/it.po: Likewise.
13196 * po/ja.po: Likewise.
13197 * po/lt.po: Likewise.
13198 * po/nb.po: Likewise.
13199 * po/nl.po: Likewise.
13200 * po/pt_BR.po: Likewise.
13201 * po/rw.po: Likewise.
13202 * po/sk.po: Likewise.
13203 * po/sl.po: Likewise.
13204 * po/sv.po: Likewise.
13205 * po/tr.po: Likewise.
13206 * po/zh_CN.po: Likewise.
13207 * po/zh_TW.po: Likewise.
13208
13209 * version.h (RELEAES): Set to "development".
13210 (VERSION): Set to 2.23.90.
13211
13212 * version.h (RELEASE): Set to "stable".
13213 (VERSION): Set to 2.23.
13214 * include/feature.h (__GLIBC_MINOR__): Set to 23.
13215
13216 * NEWS: Updated fixed bugs.
13217
13218 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
13219 Wilco Dijkstra <wdijkstr@arm.com>
13220
13221 [BZ #19462]
13222 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13223 (_STRING_INLINE_unaligned): This.
13224 * include/string.h: Include <string_private.h>.
13225 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13226 _STRING_INLINE_unaligned.
13227 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13228 (_STRING_INLINE_unaligned): New.
13229 * sysdeps/aarch64/string_private.h: New file.
13230 * sysdeps/generic/string_private.h: Likewise.
13231 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13232 * sysdeps/s390/string_private.h: Likewise.
13233 * sysdeps/x86/string_private.h: Likewise.
13234 * sysdeps/m68k/m680x0/m68020/bits/string.h
13235 (_STRING_ARCH_unaligned): Renamed to ...
13236 (_STRING_INLINE_unaligned): This.
13237 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13238 to ...
13239 (_STRING_INLINE_unaligned): This.
13240 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13241 to ...
13242 (_STRING_INLINE_unaligned): This.
13243 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13244 to ...
13245 (_STRING_INLINE_unaligned): This.
13246
13247 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
13248 H.J. Lu <hongjiu.lu@intel.com>
13249
13250 [BZ #19590]
13251 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13252 relocation.
13253
13254 2016-02-15 Carlos O'Donell <carlos@redhat.com>
13255
13256 [BZ #18665]
13257 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13258 *herrno_p.
13259 (gaih_getanswer): Document functional behviour. Return tryagain
13260 if any result is tryagain.
13261 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13262 when freed.
13263 * resolv/res_send.c: Add copyright text.
13264 (__libc_res_nsend): Document that MAXPACKET is expected.
13265 (send_vc): Document. Remove buffer reuse.
13266 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13267 size of the buffer. Add Dprint for truncated UDP buffer.
13268
13269 2016-02-14 Carlos O'Donell <carlos@redhat.com>
13270
13271 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13272 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13273 * INSTALL: Regenerate.
13274
13275 2016-02-14 Jakub Jelinek <jakub@redhat.com>
13276 Jonathan Wakely <jwakely@redhat.com>
13277 Carlos O'Donell <carlos@redhat.com>
13278
13279 [BZ 19439]
13280 * math/Makefile (tests): Add test-math-isinff.
13281 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13282 * math/bits/mathcalls.h [__USE_MISC]: Use
13283 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13284 functions not in C++11 and which don't conflict e.g. isinff,
13285 isinfl etc.
13286 * math/test-math-isinff.cc: New file.
13287
13288 2016-02-12 Florian Weimer <fweimer@redhat.com>
13289
13290 * misc/bug18240.c (do_test): Set RLIMIT_AS.
13291
13292 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
13293
13294 [BZ #19529]
13295 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13296
13297 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13298
13299 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13300
13301 2016-02-01 Joseph Myers <joseph@codesourcery.com>
13302
13303 [BZ #19550]
13304 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13305 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13306 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13307 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13308 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13309 New syscall entry.
13310 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13311 New syscall entry.
13312 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13313 syscall entry.
13314
13315 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
13316
13317 [BZ #18240]
13318 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13319 unsigned int wraparound.
13320
13321 2016-01-27 Florian Weimer <fweimer@redhat.com>
13322
13323 [BZ #18240]
13324 * misc/bug18240.c: New test.
13325 * misc/Makefile (tests): Add it.
13326
13327 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
13328 Joseph Myers <joseph@codesourcery.com>
13329
13330 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13331 load in branch delay slot when less than a word of input left.
13332
13333 2016-01-27 Andreas Schwab <schwab@suse.de>
13334
13335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13336 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13337 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13338 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13339
13340 2016-01-26 David S. Miller <davem@davemloft.net>
13341
13342 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13343
13344 2016-01-25 David S. Miller <davem@davemloft.net>
13345
13346 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13347 __sqrtl_finite.
13348 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13349 instead using versioned_symbol.
13350 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13351 of entries.
13352
13353 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13354 __sqrtl_finite to GLIBC_2.23
13355
13356 2016-01-25 Ricchard Henderson <rth@redhat.com>
13357
13358 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13359
13360 2016-01-25 Andreas Schwab <schwab@suse.de>
13361
13362 [BZ #17514]
13363 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13364 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13365 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13366 * nptl/tst-mutex-errorcheck.c: New file.
13367
13368 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13369
13370 [BZ #18560]
13371 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13372 (IPCOP_semop): Likewise.
13373 (IPCOP_semget): Likewise.
13374 (IPCOP_semctl): Likewise.
13375 (IPCOP_msgsnd): Likewise.
13376 (IPCOP_msgrcv): Likewise.
13377 (IPCOP_msgget): Likewise.
13378 (IPCOP_msgctl): Likewise.
13379 (IPCOP_shmat): Likewise.
13380 (IPCOP_shmdt): Likewise.
13381 (IPCOP_shmget): Likewise.
13382 (IPCOP_shmctl): Likewise.
13383
13384 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13385
13386 * string/tst-endian.c: Include <libc-internal.h>.
13387 (do_test): Ignore tautological-compare warnings around
13388 "htobeXX (beXXtoh (i)) != i" and
13389 "htoleXX (leXXtoh (i)) != i" if-statements.
13390
13391 2016-01-24 David S. Miller <davem@davemloft.net>
13392
13393 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13394 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13395 alias.
13396 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13397 __sqrtl_finite.
13398
13399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13400
13401 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
13402
13403 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13404 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13405 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13406
13407 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13408
13409 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13410 (thread_func): Use new function to simplify barrier check.
13411 (do_test): Use new function to simplify checking barrier exit
13412 code, and actually join the child thread.
13413
13414 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13415
13416 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13417 semicolon.
13418 (__libc_tend): Likewise.
13419 (__libc_tabort): Likewise.
13420
13421 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
13422
13423 * sysdeps/nios2/libm-test-ulps: Update.
13424 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13425 (__gtsf2): Likewise.
13426 (__unorddf2): Likewise.
13427 (__unordsf2): Likewise.
13428 (__ledf2): Likewise.
13429
13430 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
13431
13432 * nis/nis_table.c (__follow_path): Disable diagnostic for
13433 uninitialized variable that is a false positive for gcc 4.7.
13434 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13435
13436 2016-01-20 Roland McGrath <roland@hack.frob.com>
13437
13438 * sysdeps/nacl/lowlevellock-futex.h
13439 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13440 Always evaluate PRIVATE argument.
13441
13442 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
13443
13444 [BZ #19490]
13445 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
13446 (pthread_cond_broadcast): Use ENTRY/END
13447 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
13448 (pthread_cond_signal): Likewise.
13449 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
13450 Likewise.
13451 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
13452 Likewise.
13453 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
13454 Likewise.
13455
13456 2016-01-20 Joseph Myers <joseph@codesourcery.com>
13457
13458 * sysdeps/ieee754/dbl-64/s_finite.c
13459 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
13460 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
13461 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
13462 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
13463 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
13464
13465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13466 (__gtsf2): Add as optional for libc.so.
13467 (__unordsf2): Likewise.
13468 (__signbit): Remove for libc.so.
13469 (__signbitl): Likewise.
13470
13471 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13472
13473 * iconvdata/bug-iconv11.c (test_ibm93x):
13474 Use %zu printf format specifier for size_t argument.
13475
13476 2016-01-19 Joseph Myers <joseph@codesourcery.com>
13477
13478 * math/gen-libm-test.pl (parse_ulps): Do not reduce
13479 already-recorded ulps.
13480 * sysdeps/arm/libm-test-ulps: Regenerated.
13481 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13482 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13483 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13484
13485 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
13486 Paul Pluzhnikov <ppluzhnikov@google.com>
13487
13488 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
13489 assembler not supporting AVX-512.
13490
13491 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
13492
13493 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13494
13495 2016-01-18 Joseph Myers <joseph@codesourcery.com>
13496
13497 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13498 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13499
13500 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13501
13502 * sysdeps/arm/libm-test-ulps: Regenerated.
13503
13504 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13505
13506 [BZ #19451]
13507 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
13508
13509 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13510
13511 [BZ #19486]
13512 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
13513 * sysdeps/generic/fix-fp-int-convert-overflow.h
13514 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
13515 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
13516 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
13517 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
13518 Likewise.
13519 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
13520 Avoid conversions to long int where inexact exceptions
13521 could be raised.
13522 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
13523 Likewise.
13524 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
13525 Avoid conversions to long long int where inexact exceptions
13526 could be raised.
13527 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
13528 Likewise.
13529
13530 2016-01-17 Mike Frysinger <vapier@gentoo.org>
13531
13532 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
13533 * configure: Regenerated.
13534
13535 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13536
13537 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
13538
13539 2016-01-16 Mike Frysinger <vapier@gentoo.org>
13540
13541 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
13542 outside of comment.
13543
13544 2016-01-15 Torvald Riegel <triegel@redhat.com>
13545
13546 * nptl/tst-barrier1.c: Add description on first line.
13547 * nptl/tst-barrier2.c: Likewise.
13548 * nptl/tst-barrier3.c: Likewise.
13549 * nptl/tst-barrier4.c: Likewise.
13550 * nptl/tst-barrier5.c: Likewise.
13551
13552 2016-01-15 Torvald Riegel <triegel@redhat.com>
13553
13554 [BZ #18868]
13555 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
13556
13557 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13558
13559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
13560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13561 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
13562 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
13563 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
13564 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
13565 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13566 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13567 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13568 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13569 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13570
13571 2016-01-15 Torvald Riegel <triegel@redhat.com>
13572
13573 [BZ #13065]
13574 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
13575 new implementation.
13576 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
13577 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
13578 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
13579 (BARRIER_IN_THRESHOLD): New macro.
13580 * nptl/pthread_barrierattr_setpshared.c
13581 (pthread_barrierattr_setpshared): Clean up.
13582 * nptl/tst-barrier4.c: Correct comment.
13583 * nptl/tst-barrier5.c: New file.
13584 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
13585 (gen-as-const-headers): Remove lowlevelbarrier.sym.
13586 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
13587 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
13588 * nptl/lowlevelbarrier.sym: Remove.
13589 * nptl/DESIGN-barrier.txt: Remove.
13590 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
13591 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
13592 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
13593 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
13594 error.
13595 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
13596 implementation.
13597
13598 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13599
13600 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
13601 (do_child): Mask SIGRTMIN while thr is running.
13602
13603 2016-01-15 Martin Sebor <msebor@redhat.com>
13604
13605 [BZ #19432]
13606 * iconvdata/Makefile: Add bug-iconv11.
13607 * iconvdata/bug-iconv11.c: New test.
13608 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
13609 * iconvdata/ibm933.c: Same.
13610 * iconvdata/ibm935.c: Same.
13611 * iconvdata/ibm937.c: Same.
13612 * iconvdata/ibm939.c: Same.
13613
13614 2016-01-15 Martin Sebor <msebor@redhat.com>
13615
13616 [BZ #19443]
13617 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
13618 [DEBUG] (_ufc_set_bits): Declare used.
13619 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
13620 [DEBUG] (print_all): Declare used.
13621 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
13622 operands of the ternary ?: expression to target type.
13623 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
13624 calling the undeclared abort.
13625 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
13626
13627 2016-01-15 Martin Sebor <msebor@redhat.com>
13628
13629 [BZ #18755]
13630 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
13631 warnings.
13632 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
13633 (__gai_create_helper_thread): Same.
13634 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
13635 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
13636 to suppress -Wmaybe-uninitialized warnings.
13637
13638 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
13639
13640 [BZ #19465]
13641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
13642 inside if.
13643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13644 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13645 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13646
13647 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
13648
13649 [BZ #19466]
13650 * time/tst-mktime2.c (time_t_max): Removed.
13651 (time_t_min): Likewise.
13652 (TYPE_SIGNED): New.
13653 (TYPE_MINIMUM): Likewise.
13654 (TYPE_MAXIMUM): Likewise.
13655 (TIME_T_MIN): Likewise.
13656 (TIME_T_MAX): Likewise.
13657 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
13658 and TIME_T_MIN.
13659 (do_test): Likewise.
13660
13661 2016-01-14 Amit Pawar <amit.pawar@amd.com>
13662
13663 [BZ #19467]
13664 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13665 index_Fast_Unaligned_Load flag for Excavator family CPUs.
13666
13667 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
13668
13669 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
13670
13671 2016-01-13 Carlos O'Donell <carlos@redhat.com>
13672
13673 * benchtests/Makefile (PYTHON): Define.
13674 (bench-func): Use $(PYTHON) to run python scripts.
13675 ($(objpfx)bench-%.c): Likewise.
13676
13677 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
13678
13679 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
13680 leading slash when `file_name' is "/".
13681
13682 2016-01-12 Joseph Myers <joseph@codesourcery.com>
13683
13684 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
13685 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
13686 Likewise.
13687 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
13688 Likewise.
13689 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
13690 Likewise.
13691 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
13692 enum constant and macro.
13693 (PTRACE_SETSIGMASK): Likewise.
13694 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13695 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13696 (PTRACE_GETSIGMASK): Likewise.
13697 (PTRACE_SETSIGMASK): Likewise.
13698 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13699 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
13700 Likewise.
13701 (PTRACE_SETSIGMASK): Likewise.
13702 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13703 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13704 (PTRACE_GETSIGMASK): Likewise.
13705 (PTRACE_SETSIGMASK): Likewise.
13706 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13707 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
13708 Likewise.
13709 (PTRACE_SETSIGMASK): Likewise.
13710 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13711 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
13712 Likewise.
13713 (PTRACE_SETSIGMASK): Likewise.
13714 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13715 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
13716 Likewise.
13717 (PTRACE_SETSIGMASK): Likewise.
13718 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13719
13720 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
13721 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13722
13723 [BZ #19439]
13724 * math/bits/mathcalls.h
13725 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
13726 prototype.
13727 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
13728
13729 2016-01-11 Andreas Schwab <schwab@suse.de>
13730
13731 [BZ #19253]
13732 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
13733 cache when TZDEFRULES was used.
13734 * time/tst-tzname.c: New file.
13735 * time/Makefile (test): Add tst-tzname.
13736 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
13737 * timezone/Makefile (test-zones): Add $(posixrules-file).
13738 ($(testdata)/$(posixrules-file)): New rule.
13739
13740 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
13741
13742 Fix doc quoting problems with Texinfo 5
13743 Without this change, in the info file output, Texinfo 5 quotes code
13744 in text with undirected single quotes 'like this' and generates
13745 code examples that with many PDF readers cannot be cut out of PDFs
13746 and pasted into code.
13747 * manual/libc.texinfo: Configure the libc manual like the GNU
13748 Emacs manual, by using @documentencoding and setting
13749 txicodequoteundirected and txicodequotebacktick. This way,
13750 Texinfo 5 quotes code in text with directed single quotes ‘like
13751 this’ and produces examples that can be cut out of PDFs. This
13752 change causes Texinfo 5 to generate info files that contain UTF-8
13753 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
13754 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
13755
13756 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13757
13758 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
13759 __libc_tabort, __libc_tend): New wrappers that enforce compiler
13760 barriers to their respective compiler built-ins.
13761 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
13762 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
13763 * sysdeps/powerpc/sysdep.h: Likewise.
13764 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
13765 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
13766 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
13767
13768 2016-01-08 Marko Myllynen <myllynen@redhat.com>
13769
13770 * scripts/config.guess: Revert previous shebang change.
13771 * scripts/config.sub: Likewise.
13772 * scripts/mkinstalldirs: Likewise.
13773
13774 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13775
13776 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
13777 PPC_FEATURE2_HAS_IEEE128.
13778 * sysdeps/powerpc/dl-procinfo.c:
13779 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
13780
13781 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
13782
13783 [BZ #19415]
13784 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
13785 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
13786 (_dl_lookup_address): Rewrite using function resolver trampoline.
13787 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
13788 two bits in address.
13789
13790 2016-01-07 Mike Frysinger <vapier@gentoo.org>
13791
13792 * longlong.h: Change !__SHMEDIA__ to
13793 (!defined (__SHMEDIA__) || !__SHMEDIA__).
13794 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
13795
13796 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
13797 Joseph Myers <joseph@codesourcery.com>
13798 Mark Shinwell <shinwell@codesourcery.com>
13799 Andrew Stubbs <ams@codesourcery.com>
13800 Rich Felker <dalias@libc.org>
13801
13802 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
13803
13804 2016-01-07 Richard Henderson <rth@redhat.com>
13805
13806 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
13807
13808 2016-01-07 Mike Frysinger <vapier@gentoo.org>
13809
13810 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
13811 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
13812 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13813 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13814 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
13815
13816 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
13817 Joseph Myers <joseph@codesourcery.com>
13818
13819 * timezone/private.h: Update from tzcode 2015g.
13820 * timezone/tzfile.h: Likewise.
13821 * timezone/tzselect.ksh: Likewise.
13822 * timezone/zdump.c: Likewise.
13823 * timezone/zic.c: Likewise.
13824 * timezone/ialloc.c: Remove file.
13825 * timezone/scheck.c: Likewise.
13826 * timezone/Makefile (extra-objs): Remove variable.
13827 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
13828 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
13829 -Wno-maybe-uninitialized.
13830 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
13831 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
13832 (CFLAGS-ialloc.c): Remove variable.
13833 (CFLAGS-scheck.c): Likewise.
13834 * timezone/README: Update list of files from tzcode.
13835
13836 2016-01-07 Khem Raj <raj.khem@gmail.com>
13837
13838 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
13839 instead of __fxprintf when _LIBC is undefined.
13840
13841 2016-01-07 Marko Myllynen <myllynen@redhat.com>
13842
13843 * catgets/test-gencat.sh: Remove space after shebang.
13844 * conform/GlibcConform.pm: Likewise.
13845 * conform/check-header-lists.sh: Likewise.
13846 * conform/conformtest.pl: Likewise.
13847 * conform/linknamespace.pl: Likewise.
13848 * conform/list-header-symbols.pl: Likewise.
13849 * debug/catchsegv.sh: Likewise.
13850 * elf/genrtldtbl.awk: Likewise.
13851 * elf/tst-pathopt.sh: Likewise.
13852 * elf/tst-rtld-load-self.sh: Likewise.
13853 * grp/tst_fgetgrent.sh: Likewise.
13854 * iconvdata/gen-8bit-gap-1.sh: Likewise.
13855 * iconvdata/gen-8bit-gap.sh: Likewise.
13856 * iconvdata/gen-8bit.sh: Likewise.
13857 * iconvdata/run-iconv-test.sh: Likewise.
13858 * intl/tst-gettext.sh: Likewise.
13859 * intl/tst-gettext2.sh: Likewise.
13860 * intl/tst-gettext4.sh: Likewise.
13861 * intl/tst-gettext6.sh: Likewise.
13862 * intl/tst-translit.sh: Likewise.
13863 * io/ftwtest-sh: Likewise.
13864 * libio/test-freopen.sh: Likewise.
13865 * locale/gen-translit.pl: Likewise.
13866 * malloc/tst-mtrace.sh: Likewise.
13867 * manual/check-safety.sh: Likewise.
13868 * manual/libc-texinfo.sh: Likewise.
13869 * manual/tsort.awk: Likewise.
13870 * manual/xtract-typefun.awk: Likewise.
13871 * nptl/tst-cancel-wrappers.sh: Likewise.
13872 * nptl/tst-tls6.sh: Likewise.
13873 * posix/globtest.sh: Likewise.
13874 * posix/tst-getconf.sh: Likewise.
13875 * posix/wordexp-tst.sh: Likewise.
13876 * scripts/check-c++-types.sh: Likewise.
13877 * scripts/check-local-headers.sh: Likewise.
13878 * scripts/config.guess: Likewise.
13879 * scripts/config.sub: Likewise.
13880 * scripts/cpp: Likewise.
13881 * scripts/cross-test-ssh.sh: Likewise.
13882 * scripts/documented.sh: Likewise.
13883 * scripts/evaluate-test.sh: Likewise.
13884 * scripts/gen-libc-abis: Likewise.
13885 * scripts/gen-sorted.awk: Likewise.
13886 * scripts/list-fixed-bugs.py: Likewise.
13887 * scripts/merge-test-results.sh: Likewise.
13888 * scripts/mkinstalldirs: Likewise.
13889 * scripts/rellns-sh: Likewise.
13890 * scripts/test-installation.pl: Likewise.
13891 * scripts/update-copyrights: Likewise.
13892 * stdio-common/tst-printf.sh: Likewise.
13893 * stdio-common/tst-unbputc.sh: Likewise.
13894 * stdlib/tst-fmtmsg.sh: Likewise.
13895 * stdlib/tst-setcontext3.sh: Likewise.
13896 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
13897 * sysdeps/unix/make-syscalls.sh: Likewise.
13898
13899 2016-01-06 John David Anglin <dave.anglin@bell.net>
13900
13901 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
13902 asm stw with atomic_exchange_rel. Add explanatory comment.
13903 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13904 Likewise.
13905
13906 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
13907
13908 [BZ #19122]
13909 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
13910 * sysdeps/generic/dl-unistd.h: New file.
13911 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
13912
13913 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
13914
13915 [BZ #19122]
13916 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
13917 * sysdeps/generic/dl-mman.h: New file.
13918 * sysdeps/mach/hurd/dl-mman.h: Likewise.
13919
13920 2016-01-05 Joseph Myers <joseph@codesourcery.com>
13921
13922 * manual/texinfo.tex: Update to version 2016-01-04.21 with
13923 trailing whitespace removed.
13924 * scripts/config.guess: Update to version 2016-01-01.
13925 * scripts/config.sub: Update to version 2016-01-01.
13926 * scripts/move-if-change: Update from gnulib.
13927
13928 2016-01-04 Anton Blanchard <anton@samba.org>
13929
13930 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
13931 for array indices.
13932 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
13933
13934 2016-01-04 Joseph Myers <joseph@codesourcery.com>
13935
13936 * NEWS: Update copyright dates.
13937 * catgets/gencat.c (print_version): Likewise.
13938 * csu/version.c (banner): Likewise.
13939 * debug/catchsegv.sh: Likewise.
13940 * debug/pcprofiledump.c (print_version): Likewise.
13941 * debug/xtrace.sh (do_version): Likewise.
13942 * elf/ldconfig.c (print_version): Likewise.
13943 * elf/ldd.bash.in: Likewise.
13944 * elf/pldd.c (print_version): Likewise.
13945 * elf/sotruss.sh: Likewise.
13946 * elf/sprof.c (print_version): Likewise.
13947 * iconv/iconv_prog.c (print_version): Likewise.
13948 * iconv/iconvconfig.c (print_version): Likewise.
13949 * locale/programs/locale.c (print_version): Likewise.
13950 * locale/programs/localedef.c (print_version): Likewise.
13951 * login/programs/pt_chown.c (print_version): Likewise.
13952 * malloc/memusage.sh (do_version): Likewise.
13953 * malloc/memusagestat.c (print_version): Likewise.
13954 * malloc/mtrace.pl: Likewise.
13955 * manual/libc.texinfo: Likewise.
13956 * nptl/version.c (banner): Likewise.
13957 * nscd/nscd.c (print_version): Likewise.
13958 * nss/getent.c (print_version): Likewise.
13959 * nss/makedb.c (print_version): Likewise.
13960 * posix/getconf.c (main): Likewise.
13961 * scripts/test-installation.pl: Likewise.
13962 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13963
13964 * All files with FSF copyright notices: Update copyright dates
13965 using scripts/update-copyrights.
13966 * intl/plural.c: Regenerated.
13967 * locale/programs/charmap-kw.h: Likewise.
13968 * locale/programs/locfile-kw.h: Likewise.
13969
13970 2016-01-02 Helge Deller <deller@gmx.de>
13971
13972 [BZ #19285]
13973 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
13974 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
13975 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
13976 (MADV_xxK_PAGES): Remove.
13977
13978 2016-01-01 Mike Frysinger <vapier@gentoo.org>
13979
13980 [BZ #15421]
13981 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13982 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
13983 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
13984 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
13985
13986 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
13987
13988 [BZ #19408]
13989 * sysdeps/unix/sysv/linux/personality.c: New file.
13990 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
13991 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
13992 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
13993 (sysdep_routines): Add personality.
13994 (tests): Add tst-personality.
13995 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
13996 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
13997 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
13998 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
13999 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14000 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14001 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14002 Likewise.
14003 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14004 Likewise.
14005 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14006 Likewise.
14007 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14008 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14009 Likewise.
14010
14011 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
14012
14013 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14014 (PATH_ARM_SYSTYPE): Remove.
14015 (PATH_CPUINFO): Likewise.
14016 (IO_BASE_FOOTBRIDGE): Likewise.
14017 (IO_SHIFT_FOOTBRIDGE): Likewise.
14018 (struct platform): Likewise.
14019 (init_iosys): Remove compatibility code for 2.4 kernels.
14020 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14021
14022 2015-12-29 Florian Weimer <fweimer@redhat.com>
14023
14024 * malloc/tst-malloc-thread-fail.c: New file.
14025 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14026 (tst-malloc-thread-fail): Link against libpthread.
14027
14028 2015-12-29 Mike Frysinger <vapier@gentoo.org>
14029
14030 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
14031 (get_parser): New function.
14032 (main): New function.
14033
14034 2015-12-29 Rob Wu <rob@robwu.nl>
14035
14036 [BZ #19369]
14037 * resolv/res_init.c (__res_vinit): Reset defdname before use.
14038
14039 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
14040
14041 [BZ #19270]
14042 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14043
14044 2015-12-28 Mike Frysinger <vapier@gentoo.org>
14045
14046 [BZ #15421]
14047 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14048
14049 2015-12-23 Torvald Riegel <triegel@redhat.com>
14050
14051 [BZ #13690]
14052 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14053 after releasing it.
14054 (__lll_robust_unlock): Likewise.
14055 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14056 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14057 (lll_robust_unlock): Likewise.
14058 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14059 Prevent warnings in callers.
14060
14061 2015-12-23 Florian Weimer <fweimer@redhat.com>
14062
14063 * malloc/arena.c (list_lock): Update comment.
14064
14065 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14066
14067 * sysdeps/powerpc/hwcapinfo.c: Export symbol
14068 __parse_hwcap_and_convert_at_platform to libc.a.
14069
14070 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14071
14072 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14073 platform and feature support for POWER9.
14074 * sysdeps/powerpc/dl-procinfo.h: Likewise.
14075 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14076 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14077 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14078 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14079 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14080 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14081 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14082
14083 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14084
14085 Harmonize generic stdio-lock support with nptl
14086
14087 This fixes build when _IO_funlockfile is a macro, fixes build where
14088 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14089 stack unwind.
14090
14091 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14092 _IO_release_lock ): Use cleanup attribute on new
14093 _IO_acquire_lock_file variable instead of assuming that
14094 _IO_release_lock will be called.
14095 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14096 _IO_acquire_lock_needs_exceptions_enabled.
14097 (_IO_acquire_lock_clear_flags2): New macro.
14098
14099 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14100
14101 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14102
14103 2015-12-21 Florian Weimer <fweimer@redhat.com>
14104
14105 [BZ #19182]
14106 * malloc/arena.c (list_lock): Document lock ordering requirements.
14107 (free_list_lock): New lock.
14108 (ptmalloc_lock_all): Comment on free_list_lock.
14109 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14110 (detach_arena): Update comment. free_list_lock is now needed.
14111 (_int_new_arena): Use free_list_lock around detach_arena call.
14112 Acquire arena lock after list_lock. Add comment, including FIXME
14113 about incorrect synchronization.
14114 (get_free_list): Switch to free_list_lock.
14115 (reused_arena): Acquire free_list_lock around detach_arena call
14116 and attached threads counter update. Add two FIXMEs about
14117 incorrect synchronization.
14118 (arena_thread_freeres): Switch to free_list_lock.
14119 * malloc/malloc.c (struct malloc_state): Update comments to
14120 mention free_list_lock.
14121
14122 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
14123
14124 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14125 Remove functions.
14126 (sloww, sloww1): Accept argument to offset quadrant.
14127 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14128 quadrant.
14129 (__sin, __cos): Consolidate common code into new functions.
14130 (reduce_sincos_1, do_sincos_1): New functions.
14131 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14132
14133 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14134 code to new functions.
14135 (reduce_sincos_2, do_sincos_2): New functions.
14136 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14137
14138 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14139 common code for sincos.
14140 (__cos) [!IN_SINCOS]: Likewise.
14141 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14142 New function.
14143 (__sincos): Use it.
14144
14145 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
14146
14147 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14148 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14149 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14150
14151 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
14152
14153 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14155 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14156 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14157 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14158 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14159 index_Prefer_No_VZEROUPPER): New feature.
14160 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14161 Prefer_No_VZEROUPPER for Knights Landing.
14162
14163 015-12-18 Torvald Riegel <triegel@redhat.com>
14164
14165 * math/atest-exp2.c (mp_exp_m1): Remove.
14166
14167 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14168
14169 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14170 syscalls.
14171 (__SYSCALL0): New macro.
14172 (__SYSCALL1): Likewise.
14173 (__SYSCALL2): Likewise.
14174 (__SYSCALL3): Likewise.
14175 (__SYSCALL4): Likewise.
14176 (__SYSCALL5): Likewise.
14177 (__SYSCALL6): Likewise.
14178 (__SYSCALL_CONCAT_X): Likewise.
14179 (__SYSCALL_CONCAT): Likewise.
14180 (__SYSCALL_DIST): Likewise.
14181 (__SYSCALL_CALL): Likewise.
14182
14183 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
14184
14185 [BZ #19363]
14186 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14187
14188 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14189
14190 [BZ #19375]
14191 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14192 negative subnormals.
14193
14194 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
14195
14196 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14197 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14198 (INTERNAL_SYSCALL_NCS): Use it.
14199 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14200
14201 2015-12-16 Florian Weimer <fweimer@redhat.com>
14202
14203 [BZ #19243]
14204 * malloc/arena.c (get_free_list): Remove assert and adjust
14205 reference count handling. Add comment about reused_arena
14206 interaction.
14207 (reused_arena): Add comments abount get_free_list interaction.
14208 * malloc/tst-malloc-thread-exit.c: New file.
14209 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14210 (tst-malloc-thread-exit): Link against libpthread.
14211
14212 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14213
14214 [BZ #19367]
14215 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14216 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14217 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14218 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14219 (index_Prefer_MAP_32BIT_EXEC): Likewise.
14220
14221 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14222
14223 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14224 Silvermont optimizations for Knights Landing.
14225
14226 2015-12-15 Andreas Schwab <schwab@suse.de>
14227
14228 [BZ #17197]
14229 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14230 immediately after emitting SI.
14231 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14232 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14233 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14234 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14235 * iconvdata/bug-iconv10.c: New file.
14236 * iconvdata/Makefile (tests): Add bug-iconv10.
14237 ($(objpfx)bug-iconv10.out): New rule.
14238
14239 2015-12-15 Florian Weimer <fweimer@redhat.com>
14240
14241 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14242 aliasing violation.
14243
14244 2015-12-14 Joseph Myers <joseph@codesourcery.com>
14245
14246 [BZ #18472]
14247 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14248 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14249 conditionals for them.
14250 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14251 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14253 sys/kdaemon.h.
14254 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14255 compat-only syscall, obsoleted in glibc 2.23.
14256 (create_module): Likewise.
14257 (get_kernel_syms): Likewise.
14258 (query_module): Likewise.
14259 (uselib): Likewise.
14260 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14261
14262 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
14263
14264 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14265 <linux/version.h>.
14266 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14267 conditional code.
14268 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14269 and ioshift_name initialization.
14270
14271 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14272
14273 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14274 Fix indentation.
14275
14276 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14277
14278 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14279
14280 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14281
14282 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14283
14284 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
14285 Jakub Wilk <jwilk@debian.org>
14286
14287 [BZ #19347]
14288 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14289 to change the group of the device to the tty group.
14290
14291 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
14292
14293 Split large string section; add truncation advice
14294 * manual/examples/strncat.c: Remove.
14295 This example was misleading, as the code would have undefined
14296 behavior if "hello" was longer than SIZE. Anyway, the manual
14297 shouldn't encourage strncpy+strncat for this sort of thing.
14298 * manual/string.texi (Copying Strings and Arrays): Split into
14299 three sections Copying Strings and Arrays, Concatenating Strings,
14300 and Truncating Strings, as this section was way too long. All
14301 cross-referenced changed. Add advice about string-truncation
14302 functions. Remove misleading strncat example.
14303
14304 2015-12-10 Carlos O'Donell <carlos@redhat.com>
14305
14306 * manual/nss.texi (NSS Modules Interface): Document
14307 NSS_STATUS_NOTFOUND and SUCCESS.
14308
14309 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14310
14311 [BZ 18568]
14312 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14313 201505L, for Unicode 8.
14314
14315 2015-12-09 Carlos O'Donell <carlos@redhat.com>
14316
14317 * locale/C-translit.h: Regenerate.
14318
14319 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14320
14321 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14322 and U+0153.
14323
14324 2015-12-09 Joseph Myers <joseph@codesourcery.com>
14325
14326 [BZ #19351]
14327 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14328 expanding log(1+z), compare z rather than its square with epsilon
14329 to determine when to avoid evaluating the expansion.
14330
14331 [BZ #19350]
14332 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14333 Increase overflow threshold.
14334
14335 [BZ #19349]
14336 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14337 when small.
14338
14339 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14340 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14341 New macro.
14342 [__LINUX_KERNEL_VERSION >= 0x040300]
14343 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14344 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14345 Likewise.
14346 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14347 Likewise.
14348 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14349 Likewise.
14350 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14351 Likewise.
14352 [__LINUX_KERNEL_VERSION >= 0x040300]
14353 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14354 [__LINUX_KERNEL_VERSION >= 0x040300]
14355 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14356 [__LINUX_KERNEL_VERSION >= 0x040300]
14357 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14358 [__LINUX_KERNEL_VERSION >= 0x040300]
14359 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14360 [__LINUX_KERNEL_VERSION >= 0x040300]
14361 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14362 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14363 Likewise.
14364 [__LINUX_KERNEL_VERSION >= 0x040300]
14365 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14366 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14367 Likewise.
14368 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14369 Likewise.
14370 [__LINUX_KERNEL_VERSION >= 0x040300]
14371 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14372 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14373 Likewise.
14374 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14375 Likewise.
14376 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14377 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14378 Likewise.
14379 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14380 Likewise.
14381 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14382 Likewise.
14383 [__LINUX_KERNEL_VERSION >= 0x040300]
14384 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14385 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14386 Likewise.
14387 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14388 Likewise.
14389 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14390 Likewise.
14391 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14392 Likewise.
14393 [__LINUX_KERNEL_VERSION >= 0x040300]
14394 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14395 [__LINUX_KERNEL_VERSION >= 0x040300]
14396 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14397 [__LINUX_KERNEL_VERSION >= 0x040300]
14398 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14399 [__LINUX_KERNEL_VERSION >= 0x040300]
14400 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14401 [__LINUX_KERNEL_VERSION >= 0x040300]
14402 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14403 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14404 Likewise.
14405 [__LINUX_KERNEL_VERSION >= 0x040300]
14406 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14407 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14408 Likewise.
14409 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14410 Likewise.
14411 [__LINUX_KERNEL_VERSION >= 0x040300]
14412 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14413 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14414 Likewise.
14415 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14416 Likewise.
14417 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14418 (__ASSUME_SOCKET_SYSCALL): Likewise.
14419 (__ASSUME_BIND_SYSCALL): Likewise.
14420 (__ASSUME_CONNECT_SYSCALL): Likewise.
14421 (__ASSUME_LISTEN_SYSCALL): Likewise.
14422 (__ASSUME_ACCEPT_SYSCALL): Likewise.
14423 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14424 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14425 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14426 (__ASSUME_SEND_SYSCALL): Likewise.
14427 (__ASSUME_SENDTO_SYSCALL): Likewise.
14428 (__ASSUME_RECV_SYSCALL): Likewise.
14429 (__ASSUME_RECVFROM_SYSCALL): Likewise.
14430 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14431 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14432 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14433 (__ASSUME_SENDMSG_SYSCALL): Likewise.
14434 (__ASSUME_RECVMSG_SYSCALL): Likewise.
14435 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14436 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14437 Likewise.
14438 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14439 Likewise.
14440 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
14441 Likewise.
14442 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
14443 Likewise.
14444 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
14445 Likewise.
14446 [__LINUX_KERNEL_VERSION >= 0x020625]
14447 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14448 [__LINUX_KERNEL_VERSION >= 0x020625]
14449 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14450 [__LINUX_KERNEL_VERSION >= 0x020625]
14451 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14452 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
14453 Likewise.
14454 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
14455 Likewise.
14456 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
14457 Likewise.
14458 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
14459 Likewise.
14460 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
14461 Likewise.
14462 [__LINUX_KERNEL_VERSION >= 0x020625]
14463 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14464 [__LINUX_KERNEL_VERSION >= 0x020625]
14465 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14466 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
14467 Likewise.
14468 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
14469 Likewise.
14470
14471 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14472
14473 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
14474 record the current if the current ABI and CPU support the FP64
14475 extension.
14476 (has-modd-spreg): Define to record the current if the current ABI and
14477 CPU support 32-bit floating point values in odd FPU registers.
14478 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14479 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
14480 $(has-modd-spreg) equals yes.
14481 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
14482 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
14483 $(has-modd-spreg) equal yes.
14484
14485 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14486
14487 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
14488 basename.
14489
14490 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
14491
14492 * benchtests/Makefile (bench-math): Move ffs and ffsll...
14493 (bench-string): ... here.
14494 (bench): Add bench-string.
14495 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
14496 to *-benchset to reflect what they are.
14497 (benchset): Adjust.
14498
14499 * benchtests/sincos-inputs: Add inputs from sin-inputs and
14500 cos-inputs.
14501
14502 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
14503
14504 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
14505 __attribute__ ((__simd__)) for vector math function declarations.
14506
14507 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14508
14509 Fix typo in strncat, wcsncat manual entries
14510 * manual/string.texi (Copying and Concatenation): Fix typos in
14511 sample implementations of strncat and wcsncat, by having them use
14512 the old value of the destination length, not the new one.
14513
14514 2015-12-04 Joseph Myers <joseph@codesourcery.com>
14515
14516 [BZ #16961]
14517 [BZ #16962]
14518 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
14519 string on the stack for strtod.
14520 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
14521 a string on the stack for strtof.
14522 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
14523 constructing a string on the stack for strtold.
14524 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
14525 __strtold_nan to GLIBC_PRIVATE.
14526 * math/test-nan-overflow.c: New file.
14527 * math/test-nan-payload.c: Likewise.
14528 * math/Makefile (tests): Add test-nan-overflow and
14529 test-nan-payload.
14530
14531 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14532
14533 Consistency about byte vs character in string.texi
14534 * manual/string.texi (String and Array Utilities):
14535 Distinguish more carefully among bytes, multibyte characters,
14536 and wide characters. Use "byte" when talking about C 'char',
14537 to distinguish it more clearly from multibyte characters.
14538 Say "wide character" or "multibyte character" instead of
14539 "character", when a wide or multibyte character is intended.
14540 Similarly for "multibyte string" versus "string".
14541 Define these terms more carefully.
14542
14543 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
14544
14545 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
14546 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
14547 Likewise.
14548 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14549 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14550 * sysdeps/sh/math_private.h: New file.
14551 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
14552 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
14553 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
14554 long double function name.
14555 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14556 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14557 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14558 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
14561 Remove __finitel, __isinfl, and __isnanl.
14562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14563 Likewise.
14564 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14566 Remove __finitel.
14567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14568 Likewise.
14569 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14570
14571 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
14572
14573 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
14574 installed libmvec_nonshared.a.
14575
14576 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14577
14578 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
14579 (sysdep_routines): Likewise.
14580 (sysdep-rtld-routines): Likewise.
14581 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
14582 [$(subdir) = nptl](tests-static): test-get_hwcap-static
14583 * sysdeps/powerpc/Versions: Added new
14584 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
14585 * sysdeps/powerpc/hwcapinfo.c: New file.
14586 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
14587 and parse hwcap, hwcap2 and platform number information.
14588 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
14589 to store HWCAP+HWCAP2 and platform number.
14590 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
14591 for HWCAP+HWCAP2 and platform number in the TCB.
14592 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
14593 the HWCAP, HWCAP2 and platform number in the TCB.
14594 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
14595 (TLS_INIT_TP): Included calls to add the hwcap and
14596 at_platform values in the TCB in TP initialization.
14597 (TLS_DEFINE_INIT_TP): Likewise.
14598 (THREAD_GET_HWCAP): New macro.
14599 (THREAD_SET_HWCAP): Likewise.
14600 (THREAD_GET_AT_PLATFORM): Likewise.
14601 (THREAD_SET_AT_PLATFORM): Likewise.
14602 * sysdeps/powerpc/powerpc32/dl-machine.h:
14603 (dl_platform_init): New function that calls
14604 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
14605 powerpc32.
14606 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
14607 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
14608 this functionality, static linking case.
14609 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
14610 linking case.
14611 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
14612 __parse_hwcap_and_convert_at_platform for the static linking case.
14613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
14614 Included the new __parse_hwcap_and_convert_at_platform symbol in the
14615 ABI list for GLIBC 2.23.
14616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
14617 Likewise.
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
14619 Likewise.
14620
14621 2015-12-02 Ludovic Courtès <ludo@gnu.org>
14622
14623 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
14624 * configure: Regenerate.
14625 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
14626 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
14627
14628 2015-12-02 Carlos O'Donell <carlos@redhat.com>
14629
14630 * iconvdata/ibm930.c: Add comment explaining encoding uses.
14631 * iconvdata/ibm933.c: Likewise.
14632 * iconvdata/ibm935.c: Likewise.
14633 * iconvdata/ibm937.c: Likewise.
14634 * iconvdata/ibm939.c: Likewise.
14635
14636 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14637
14638 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
14639 pthread_join.
14640 * nptl/tst-cancel21.c (tf): Likewise.
14641
14642 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
14643
14644 [BZ #19313]
14645 * bits/typesizes.h (__CPU_MASK_TYPE): New.
14646 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14647 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14648 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
14649 Likewise.
14650 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
14651 Likewise.
14652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
14653 Likewise.
14654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
14655 Likewise.
14656 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
14657 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
14658 unsigned long int with __CPU_MASK_TYPE.
14659
14660 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
14661
14662 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14663
14664 2015-12-01 Joseph Myers <joseph@codesourcery.com>
14665
14666 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
14667 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
14668 t512.x.
14669 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
14670
14671 2015-11-30 Amit Pawar <amit.pawar@amd.com>
14672
14673 [BZ #19214]
14674 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
14675 argument to return extended model. Update family and model
14676 with extended family and model when family == 0x0f.
14677 (init_cpu_features): Updated.
14678
14679 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14680
14681 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
14682 signed off_t, so 32bit bigger than 2GiB values are fine actually.
14683
14684 * sysdeps/mach/hurd/mmap64.c: New file.
14685
14686 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
14687
14688 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
14689 rights for its main user thread in NEWTASK.
14690
14691 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
14692
14693 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
14694 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
14695
14696 2015-11-27 Carlos O'Donell <carlos@redhat.com>
14697
14698 [BZ #14259]
14699 * Makeconfig: Rename localedir to complocaledir.
14700 Rename inst_localedir to inst_complocaledir.
14701 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
14702 * config.make.in: Use complocaledir and libc_cv_complocaledir.
14703 * configure.ac: Use libc_cv_complocaledir.
14704 * configure: Regenerate.
14705 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
14706 -DCOMPLOCALEDIR.
14707 * locale/findlocale.c: Use COMPLOCALEDIR.
14708 * locale/loadarchive.c: Likewise.
14709 * locale/programs/locale.c: Likewise.
14710 * locale/programs/localedef.c: Likewise.
14711 * locale/programs/locarchive.c: Likewise.
14712 * localedata/Makefile: Use inst_complocaledir.
14713 * sysdeps/gnu/configure: Regenerate.
14714 * sysdeps/hppa/configure: Regenerate.
14715 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14716 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14718 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14719 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14720 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14721 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14722
14723 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
14724
14725 [BZ #19058]
14726 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
14727 AS_NEEDED.
14728 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
14729 workaround.
14730 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
14731 libmvec-static-only-routines): Added new file.
14732 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
14733
14734 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14735
14736 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
14737 of interrupted RPC instead of restoring it.
14738
14739 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
14740 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
14741 libc_hidden_def.
14742 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
14743 into initialized data instead of common. Define rtld_hidden_data_def.
14744 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
14745 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
14746 libc_hidden_def.
14747 (if_freenameindex): Add libc_hidden_weak.
14748 (if_nameindex): Add libc_hidden_weak.
14749 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
14750 __open64.
14751 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
14752 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
14753 * sysdeps/mach/nanosleep.c: Include <time.h>
14754 (__nanosleep): Rename to __libc_nanosleep.
14755 (__nanosleep): Add weak_alias.
14756 (nanosleep): Update alias.
14757
14758 2015-11-24 Joseph Myers <joseph@codesourcery.com>
14759
14760 * stdlib/strtod_nan.c: New file.
14761 * stdlib/strtod_nan_double.h: Likewise.
14762 * stdlib/strtod_nan_float.h: Likewise.
14763 * stdlib/strtod_nan_main.c: Likewise.
14764 * stdlib/strtod_nan_narrow.h: Likewise.
14765 * stdlib/strtod_nan_wide.h: Likewise.
14766 * stdlib/strtof_nan.c: Likewise.
14767 * stdlib/strtold_nan.c: Likewise.
14768 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
14769 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
14770 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
14771 * wcsmbs/wcstod_nan.c: Likewise.
14772 * wcsmbs/wcstof_nan.c: Likewise.
14773 * wcsmbs/wcstold_nan.c: Likewise.
14774 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
14775 strtold_nan.
14776 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
14777 wcstof_nan.
14778 * include/stdlib.h (__strtof_nan): Declare and use
14779 libc_hidden_proto.
14780 (__strtod_nan): Likewise.
14781 (__strtold_nan): Likewise.
14782 (__wcstof_nan): Likewise.
14783 (__wcstod_nan): Likewise.
14784 (__wcstold_nan): Likewise.
14785 * include/wchar.h (____wcstoull_l_internal): Declare.
14786 * stdlib/strtod_l.c: Do not include <ieee754.h>.
14787 (____strtoull_l_internal): Remove declaration.
14788 (STRTOF_NAN): Define macro.
14789 (SET_MANTISSA): Remove macro.
14790 (STRTOULL): Likewise.
14791 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
14792 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
14793 (STRTOF_NAN): Define macro.
14794 (SET_MANTISSA): Remove macro.
14795 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
14796 (SET_MANTISSA): Remove macro.
14797 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
14798 macro.
14799 (SET_MANTISSA): Remove macro.
14800 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
14801 macro.
14802 (SET_MANTISSA): Remove macro.
14803 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
14804 (SET_MANTISSA): Remove macro.
14805 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
14806 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
14807 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
14808
14809 [BZ #19266]
14810 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
14811 upper case and lower case letters inside NAN(), not using TOLOWER.
14812 * stdlib/tst-strtod-nan-locale-main.c: New file.
14813 * stdlib/tst-strtod-nan-locale.c: Likewise.
14814 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
14815 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
14816 Depend on $(gen-locales).
14817 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
14818 * wcsmbs/tst-wcstod-nan-locale.c: New file.
14819 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
14820 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
14821 Depend on $(gen-locales).
14822 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
14823
14824 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
14825
14826 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
14827
14828 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
14830 __finitel, __isinfl, and __isnanl.
14831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14832 Likewise.
14833 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
14835 __finitel.
14836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14837 Likewise.
14838 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14839
14840 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
14841
14842 * malloc/memusage.c (me): Remove redundant getenv call.
14843
14844 2015-10-24 Florian Weimer <fweimer@redhat.com>
14845
14846 [BZ #19143]
14847 [BZ #19164]
14848 * nptl/check-cpuset.h: Remove.
14849 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
14850 Remove CPU set size check.
14851 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
14852 Likewise.
14853 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
14854 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14855 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
14856 (__pthread_setaffinity_new): Remove CPU set size check.
14857 * sysdeps/unix/sysv/linux/sched_setaffinity.c
14858 (__kernel_cpumask_size): Remove.
14859 (__sched_setaffinity_new): Remove CPU set size check.
14860 * manual/threads.texi (Default Thread Attributes): Remove stale
14861 reference to check_cpuset_attr, determine_cpumask_size in comment.
14862 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
14863 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
14864 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
14865 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
14866 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
14867 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
14868 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
14869 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
14870 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
14871 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
14872 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
14873 skeleton test file.
14874 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
14875 tst-affinity-pid.
14876
14877 2015-11-24 Florian Weimer <fweimer@redhat.com>
14878
14879 * scripts/update-abilist.sh: New file.
14880 * Makefile (+subdir_targets): Add subdir_update-all-abi.
14881 * Makerules (update-all-abi-%, update-all-abi)
14882 (subdir_update-all-abi): New targets.
14883 * elf/Makefile (update-all-abi): New target.
14884
14885 2015-11-24 Florian Weimer <fweimer@redhat.com>
14886
14887 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
14888 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
14889 (__libc_lock_define_initialized): Use it.
14890 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
14891 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
14892 * malloc/malloc.c (main_arena): Likewise.
14893 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14894 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14895
14896 2015-11-23 Joseph Myers <joseph@codesourcery.com>
14897
14898 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14899 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
14900 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14901 (PTRACE_O_MASK): Update value.
14902 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
14903 New value in enum __ptrace_setoptions.
14904 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14905 (PTRACE_O_MASK): Update value.
14906 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14907 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14908 (PTRACE_O_MASK): Update value.
14909 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14910 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14911 (PTRACE_O_MASK): Update value.
14912 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14913 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14914 (PTRACE_O_MASK): Update value.
14915 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
14916 New value in enum __ptrace_setoptions.
14917 (PTRACE_O_MASK): Update value.
14918 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
14919 New value in enum __ptrace_setoptions.
14920 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14921 (PTRACE_O_MASK): Update value.
14922
14923 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
14924 New macro.
14925 (PACKET_AUXDATA): Likewise.
14926 (PACKET_ORIGDEV): Likewise.
14927 (PACKET_VERSION): Likewise.
14928 (PACKET_HDRLEN): Likewise.
14929 (PACKET_RESERVE): Likewise.
14930 (PACKET_TX_RING): Likewise.
14931 (PACKET_LOSS): Likewise.
14932 (PACKET_VNET_HDR): Likewise.
14933 (PACKET_TX_TIMESTAMP): Likewise.
14934 (PACKET_TIMESTAMP): Likewise.
14935 (PACKET_FANOUT): Likewise.
14936 (PACKET_TX_HAS_OFF): Likewise.
14937 (PACKET_QDISC_BYPASS): Likewise.
14938 (PACKET_ROLLOVER_STATS): Likewise.
14939 (PACKET_FANOUT_DATA): Likewise.
14940 (PACKET_MR_UNICAST): Likewise.
14941
14942 [BZ #19242]
14943 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
14944 (TOUPPER): Likewise.
14945 * stdlib/tst-strtol-locale-main.c: New file.
14946 * stdlib/tst-strtol-locale.c: Likewise.
14947 * stdlib/Makefile (tests): Add tst-strtol-locale.
14948 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
14949 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
14950 Depend on $(gen-locales).
14951 * wcsmbs/tst-wcstol-locale.c: New file.
14952 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
14953 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
14954 tr_TR.ISO-8859-9.
14955 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
14956 Depend on $(gen-locales).
14957
14958 2015-11-20 Roland McGrath <roland@hack.frob.com>
14959
14960 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
14961 __glibc_likely instead of __builtin_expect. After falling back to
14962 dyncode_create in a non-ET_DYN case, use the allocate_code_data
14963 system interface to register the code pages as occupied.
14964
14965 2015-11-20 Joseph Myers <joseph@codesourcery.com>
14966
14967 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14968 [!ARM_MATH_PRIVATE_H].
14969 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
14970 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14971 [!HPPA_MATH_PRIVATE_H].
14972 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
14973 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
14974 to [!I386_MATH_PRIVATE_H].
14975 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
14976 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
14977 Change guard to [!M68K_MATH_PRIVATE_H].
14978 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
14979 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
14980 guard to [!MICROBLAZE_MATH_PRIVATE_H].
14981 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
14982 macro.
14983 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14984 [!MIPS_MATH_PRIVATE_H].
14985 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
14986 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14987 [!NIO2_MATH_PRIVATE_H].
14988 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
14989 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14990 [!TILE_MATH_PRIVATE_H].
14991 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
14992
14993 [BZ #15421]
14994 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
14995 initialize with 0 and define as weak alias of __signgam.
14996 * include/math.h [!_ISOMAC] (__signgam): Declare.
14997 * math/Makefile (libm-calls): Add w_lgamma_compat.
14998 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
14999 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15000 test-signgam-ullong-init.
15001 (tests-static): Add test-signgam-uchar-static,
15002 test-signgam-uchar-init-static, test-signgam-uint-static,
15003 test-signgam-uint-init-static, test-signgam-ullong-static and
15004 test-signgam-ullong-init-static.
15005 (CFLAGS-test-signgam-uchar.c): New variable.
15006 (CFLAGS-test-signgam-uchar-init.c): Likewise.
15007 (CFLAGS-test-signgam-uchar-static.c): Likewise.
15008 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15009 (CFLAGS-test-signgam-uint.c): Likewise.
15010 (CFLAGS-test-signgam-uint-init.c): Likewise.
15011 (CFLAGS-test-signgam-uint-static.c): Likewise.
15012 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15013 (CFLAGS-test-signgam-ullong.c): Likewise.
15014 (CFLAGS-test-signgam-ullong-init.c): Likewise.
15015 (CFLAGS-test-signgam-ullong-static.c): Likewise.
15016 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15017 * math/Versions (libm): Add GLIBC_2.23.
15018 * math/lgamma-compat.h: New file.
15019 * math/test-signgam-main.c: Likewise.
15020 * math/test-signgam-uchar-init-static.c: Likewise.
15021 * math/test-signgam-uchar-init.c: Likewise.
15022 * math/test-signgam-uchar-static.c: Likewise.
15023 * math/test-signgam-uchar.c: Likewise.
15024 * math/test-signgam-uint-init-static.c: Likewise.
15025 * math/test-signgam-uint-init.c: Likewise.
15026 * math/test-signgam-uint-static.c: Likewise.
15027 * math/test-signgam-uint.c: Likewise.
15028 * math/test-signgam-ullong-init-static.c: Likewise.
15029 * math/test-signgam-ullong-init.c: Likewise.
15030 * math/test-signgam-ullong-static.c: Likewise.
15031 * math/test-signgam-ullong.c: Likewise.
15032 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15033 wrapper of w_lgamma_main.c.
15034 * math/w_lgamma_compat.c: New file.
15035 * math/w_lgamma_compatf.c: Likewise.
15036 * math/w_lgamma_compatl.c: Likewise.
15037 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
15038 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15039 defining compatibility symbols.
15040 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
15041 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15042 wrapper of w_lgammaf_main.c.
15043 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
15044 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15045 defining compatibility symbols.
15046 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
15047 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15048 wrapper of w_lgammal_main.c.
15049 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
15050 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15051 defining compatibility symbols.
15052 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
15053 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15054 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15055 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
15056 <lgamma-compat.h>.
15057 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
15058 (__ieee754_gamma): Define as alias.
15059 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15060 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
15061 <lgamma-compat.h>.
15062 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
15063 (__ieee754_gammaf): Define as alias.
15064 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15065 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
15066 <lgamma-compat.h>.
15067 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
15068 (__ieee754_gammal): Define as alias.
15069 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15070 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
15071 <math/w_lgamma_compat.c>.
15072 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15073 Define as alias of __lgamma_compat and use in defining lgammal.
15074 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15075 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
15076 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15077 (USE_AS_COMPAT): New macro.
15078 (LGAMMA_OLD_VER): Undefine and redefine.
15079 (lgammal): Do not define here.
15080 (gammal): Only define here if [GAMMA_ALIAS].
15081 * conform/linknamespace.pl (@whitelist): Remove signgam.
15082 * sysdeps/nacl/libm.abilist: Update.
15083 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15084 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15085 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15086 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15087 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15088 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15089 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15090 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15091 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15092 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15093 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15094 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15096 Likewise.
15097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15098 Likewise.
15099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15100 Likewise.
15101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15102 Likewise.
15103 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15104 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15105 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15106 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15107 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15109 Likewise.
15110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15111 Likewise.
15112 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15113 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15114 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15115
15116 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15117
15118 [BZ #16364]
15119 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15120 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15121
15122 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15123
15124 * sysdeps/s390/fpu/bits/mathinline.h:
15125 Use __asm__ [__volatile__] instead of asm [volatile].
15126 * sysdeps/s390/abort-instr.h: Likewise.
15127 * sysdeps/s390/atomic-machine.h: Likewise.
15128 * sysdeps/s390/bits/string.h: Likewise.
15129 * sysdeps/s390/dl-tls.h: Likewise.
15130 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15131 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15132 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15133 * sysdeps/s390/fpu/fesetround.c: Likewise.
15134 * sysdeps/s390/fpu/fpu_control.h: Likewise.
15135 * sysdeps/s390/fpu/s_fma.c: Likewise.
15136 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15137 * sysdeps/s390/memusage.h: Likewise.
15138 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15139 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15140 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15141 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15142 * sysdeps/s390/nptl/tls.h: Likewise.
15143 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15144 * sysdeps/s390/s390-32/backtrace.c: Likewise.
15145 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15146 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15147 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15148 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15149 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15150 * sysdeps/s390/s390-64/backtrace.c: Likewise.
15151 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15152 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15153 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15154 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15155 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15156 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15157 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15158 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15159 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15160 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15161 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15163 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15165 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15166
15167 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15168 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15169
15170 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15171 Add lwarx hint, and use macro for acquire instruction.
15172 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15173 Likewise.
15174 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15175 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15176 update to use new atomic macros.
15177
15178 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15179
15180 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15181 (__lll_trylock_elision): Fix setting of adapt_count.
15182 * sysdeps/unix/sysv/linux/powerpc/htm.h
15183 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15184 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15185 (_ABORT_SYSCALL): Renumber, and clarify definition.
15186 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15187
15188 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15189
15190 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15191 after system headers to prevent MIN/MAX redefinition. Define
15192 HAVE_ALLOCA to preserve builtin alloca usage.
15193
15194 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
15195
15196 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15197 static and don't set or restore rounding.
15198 (__cos)[IN_SINCOS]: Likewise.
15199 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15200 (__sincos): Set and restore rounding mode. Remove check for infinite
15201 or NaN input.
15202
15203 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15204
15205 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15206 as used.
15207
15208 2015-11-16 Florian Weimer <fweimer@redhat.com>
15209
15210 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15211
15212 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
15213
15214 * config.make.in (have-glob-dat-reloc): New.
15215 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
15216 target supports GLOB_DAT relocaton. AC_SUBST.
15217 * configure: Regenerated.
15218 * elf/Makefile (tests): Add tst-prelink.
15219 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15220 (tst-prelink-ENV): New.
15221 ($(objpfx)tst-prelink-conflict.out): Likewise.
15222 ($(objpfx)tst-prelink-cmp.out): Likewise.
15223 * sysdeps/x86/tst-prelink.c: Moved to ...
15224 * elf/tst-prelink.c: Here.
15225 * sysdeps/x86/tst-prelink.exp: Moved to ...
15226 * elf/tst-prelink.exp: Here.
15227 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15228 (tst-prelink-ENV): Removed.
15229 ($(objpfx)tst-prelink-conflict.out): Likewise.
15230 ($(objpfx)tst-prelink-cmp.out): Likewise.
15231 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15232
15233 2015-11-13 Joseph Myers <joseph@codesourcery.com>
15234
15235 [BZ #14551]
15236 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15237 (__mpn_construct_long_double): If high part overflows to infinity,
15238 set errno and recompute overflowed result of the correct sign.
15239 * sysdeps/ieee754/ldbl-128ibm/Makefile
15240 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15241 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15242 $(libm).
15243 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15244
15245 2015-11-12 Joseph Myers <joseph@codesourcery.com>
15246
15247 [BZ #15479]
15248 [BZ #19238]
15249 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15250 floating-point state after first operation on input. Restore full
15251 state rather than just rounding mode.
15252 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15253 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15254 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15255
15256 [BZ #19235]
15257 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15258 add 0.5 to integer arguments.
15259 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15260 Likewise.
15261 (.LC2): New object.
15262
15263 2015-11-11 Mike Frysinger <vapier@gentoo.org>
15264
15265 * scripts/pylintrc (reports): Set to no.
15266
15267 2015-11-10 Roland McGrath <roland@hack.frob.com>
15268
15269 * elf/dl-load.c (open_verify): Take new argument FD.
15270 Skip __open call if passed FD is not -1.
15271 (_dl_map_object, open_path): Update callers.
15272 * elf/dl-sysdep-open.h: New file.
15273 * elf/dl-load.c: Include it.
15274 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15275 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15276 * sysdeps/nacl/dl-sysdep-open.h: New file.
15277 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15278 from libc to rtld.
15279
15280 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15281
15282 [BZ #19228]
15283 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15284 and restore full floating-point state.
15285 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15286 Likewise.
15287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15288 Likewise.
15289 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15290 Likewise.
15291 * math/test-nearbyint-except-2.c: New file.
15292 * math/Makefile (tests): Add test-nearbyint-except-2.
15293
15294 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
15295
15296 [BZ #19178]
15297 * sysdeps/x86/Makefile (tests): Add tst-prelink.
15298 (tst-prelink-ENV): New.
15299 ($(objpfx)tst-prelink-conflict.out): Likewise.
15300 ($(objpfx)tst-prelink-cmp.out): Likewise.
15301 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15302 * sysdeps/x86/tst-prelink.c: New file.
15303 * sysdeps/x86/tst-prelink.exp: Likewise.
15304
15305 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15306
15307 * math/auto-libm-test-in: Add another test of pow.
15308 * math/auto-libm-test-out: Regenerated.
15309 * math/libm-test.inc (pow_test_data): Add another test.
15310
15311 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15312
15313 [BZ #19219]
15314 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15315 weak_alias to nearbyintl.
15316
15317 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15318
15319 * sysdeps/aarch64/bits/string.h: New file.
15320 (_STRING_ARCH_unaligned): Define.
15321
15322 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15323
15324 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15325 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15326 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15327 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15329
15330 2015-11-09 Ulrich Drepper <drepper@gmail.com>
15331
15332 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15333 for original name of the DSO. Add it to the name list of the DSO
15334 if it is actually given.
15335 (_dl_map_object): Keep track of whether an audit module rewrote
15336 the file name. If yes, pass the original name to
15337 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
15338 debugging is enabled, log the change of the file name.
15339 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15340 _dl_map_object_from_fd.
15341 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15342 * elf/tst-audit11.c: New file
15343 * elf/tst-auditmod11.c: New file.
15344 * elf/tst-audit11mod1.c: New file.
15345 * elf/tst-audit11mod2.c: New file.
15346 * elf/tst-audit11mod2.map: New file.
15347 * elf/tst-audit12.c: New file
15348 * elf/tst-auditmod12.c: New file.
15349 * elf/tst-audit12mod1.c: New file.
15350 * elf/tst-audit12mod2.c: New file.
15351 * elf/tst-audit12mod2.map: New file.
15352 * elf/tst-audit12mod3.c: New file.
15353
15354 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15355
15356 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15357 Don't create weak aliases,
15358 because versioned symbols are created later.
15359 * sysdeps/s390/s390-32/setjmp.S
15360 (setjmp, _setjmp): Remove weak and rename to an unique name
15361 in SHARED case due to existing versioned symbols.
15362 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15363 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15364 (getcontext): Create weak alias only in non SHARED case.
15365 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15366
15367 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15368
15369 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15370 (__ASSUME_*_SYSCALL) Define new macros.
15371 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15372 Remove socketcall syscalls.
15373 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15374 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15375 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15376 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15377 * sysdeps/unix/sysv/linux/send.c (__libc_send):
15378 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15379
15380 2015-11-09 Florian Weimer <fweimer@redhat.com>
15381
15382 [BZ #12926]
15383 Terminate process on invalid netlink response.
15384 * sysdeps/unix/sysv/linux/netlinkaccess.h
15385 (__netlink_assert_response): Declare.
15386 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15387 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15388 (sysdep_routines): Add netlink_assert_response.
15389 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15390 __netlink_assert_response.
15391 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15392 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15393 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15394 __netlink_assert_response.
15395
15396 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
15397
15398 [BZ #19178]
15399 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15400 (RTYPE_CLASS_PLT): Likewise.
15401 (RTYPE_CLASS_COPY): Likewise.
15402 (RTYPE_CLASS_TLS): Likewise.
15403 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15404 to set relocation type class for DL_DEBUG_PRELINK. Keep only
15405 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15406 DL_DEBUG_PRELINK.
15407
15408 2015-11-06 Joseph Myers <joseph@codesourcery.com>
15409
15410 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15411 calls with argument -0.5.
15412 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15413
15414 * configure.ac (libc_cv_z_nodelete): Remove configure test.
15415 (libc_cv_z_nodlopen): Likewise.
15416 (libc_cv_z_initfirst): Likewise.
15417 * configure: Regenerated.
15418
15419 2015-11-06 Florian Weimer <fweimer@redhat.com>
15420
15421 Simplify abilist format to be line-based.
15422 * scripts/abilist.awk: Collect descriptors in the descs variable.
15423 (emit): Write descs variable and sort it
15424 externally, with sort.
15425 * sysdeps/**/*.abilist: Convert to new format.
15426
15427 2015-11-06 Mark Wielaard <mjw@redhat.com>
15428
15429 [BZ #11460]
15430 * io/Makefile (routines): Add fts64.
15431 (tests): Add tst-fts and tst-fts-lfs.
15432 (CFLAGS-fts64.c): New.
15433 * io/Versions (GLIBC_2.23): New.
15434 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15435 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15436 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15437 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15438 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15439 (FTSENT64): Likewise.
15440 (fts64_children): Likewise.
15441 (fts64_close): Likewise.
15442 (fts64_open): Likewise.
15443 (fts64_read): Likewise.
15444 (fts64_set): Likewise.
15445 * io/fts64.c: New file.
15446 * io/tst-fts.c: New test.
15447 * io/tst-fts-lfs.c: Likewise.
15448 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
15449 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
15450 fts64_set.
15451 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15452 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15453 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15454 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15455 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15456 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15457 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15458 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15459 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15460 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15461 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15462 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15463 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15465 Likewise.
15466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15467 Likewise.
15468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15470 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15471 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15472 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15473 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15474 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15477 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15478 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15479 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15480 * sysdeps/wordsize-64/fts.c: New file.
15481 * sysdeps/wordsize-64/fts64.c: Likewise.
15482 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
15483 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
15484 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
15485 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
15486
15487 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15488
15489 * math/libm-test.inc (NON_FINITE): New macro.
15490 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
15491 * math/gen-libm-test.pl (show_exceptions): Add argument
15492 $non_finite.
15493 (parse_args): Update call to show_exceptions.
15494 * math/test-math-finite.h: New file.
15495 * math/test-math-no-finite.h: Likewise.
15496 * math/test-double-finite.c: Likewise.
15497 * math/test-float-finite.c: Likewise.
15498 * math/test-ldouble-finite.c: Likewise.
15499 * math/test-double.c: Include "test-math-no-finite.h".
15500 * math/test-float.c: Include "test-math-no-finite.h".
15501 * math/test-ldouble.c: Include "test-math-no-finite.h".
15502 * math/test-math-inline.h (TEST_FINITE): New macro.
15503 * math/test-math-vector.h (TEST_FINITE): Likewise.
15504 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
15505 (libm-tests): Add test-float-finite and test-double-finite.
15506 ($(objpfx)test-float-finite.o): New dependency on
15507 $(objpfx)libm-test.stmp.
15508 ($(objpfx)test-double-finite.o): Likewise.
15509 ($(objpfx)test-ldouble-finite.o): Likewise.
15510 (libm-test-no-inline-cflags): New variable.
15511 (libm-test-finite-cflags): Likewise.
15512 (CFLAGS-test-float-finite.c): Likewise.
15513 (CFLAGS-test-double-finite.c): Likewise.
15514 (CFLAGS-test-ldouble-finite.c): Likewise.
15515 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
15516 (CFLAGS-test-double.c): Likewise.
15517 (CFLAGS-test-ldouble.c): Likewise.
15518
15519 2015-11-05 Roland McGrath <roland@hack.frob.com>
15520
15521 * io/fcntl.c (__fcntl): Add ... to prototype.
15522 * misc/ioctl.c (__ioctl): Likewise.
15523 * misc/syscall.c (syscall): Likewise.
15524
15525 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15526
15527 * scripts/list-fixed-bugs.py: New file.
15528
15529 [BZ #19213]
15530 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
15531 returned for argument 1.
15532 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
15533 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
15534 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
15535 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
15536 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
15537 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
15538
15539 [BZ #19211]
15540 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
15541 __USE_XOPEN], not if [!__USE_ISOC99].
15542 (lgammaf): Likewise.
15543 (lgammal): Likewise.
15544 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
15545 (gammaf): Likewise.
15546 (gammal): Likewise.
15547 * math/test-signgam-finite-c11.c: New file.
15548 * math/test-signgam-finite-c99.c: Likewise.
15549 * math/test-signgam-finite.c: Likewise.
15550 * math/Makefile (tests): Add test-signgam-finite,
15551 test-signgam-finite-c99 and test-signgam-finite-c11.
15552 (CFLAGS-test-signgam-finite.c): New variable.
15553 (CFLAGS-test-signgam-finite-c99.c): Likewise.
15554 (CFLAGS-test-signgam-finite-c11.c): Likewise.
15555
15556 [BZ #19212]
15557 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
15558 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
15559 500].
15560 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
15561 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
15562 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
15563 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
15564 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
15565 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
15566 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
15567 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
15568 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
15569 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
15570
15571 [BZ #19209]
15572 * math/bits/math-finite.h (ldexp): Remove declaration.
15573 (ldexpf): Likewise.
15574 (ldexpl): Likewise.
15575
15576 [BZ #19205]
15577 * math/bits/math-finite.h (acosf): Condition declaration on
15578 [__USE_ISOC99].
15579 (acosl): Likewise.
15580 (acoshf): Likewise.
15581 (acoshl): Likewise.
15582 (asinf): Likewise.
15583 (asinl): Likewise.
15584 (atan2f): Likewise.
15585 (atan2l): Likewise.
15586 (atanhf): Likewise.
15587 (atanhl): Likewise.
15588 (coshf): Likewise.
15589 (coshl): Likewise.
15590 (expf): Likewise.
15591 (expl): Likewise.
15592 (fmodf): Likewise.
15593 (fmodl): Likewise.
15594 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
15595 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
15596 (j0l): Likewise.
15597 (y0f): Likewise.
15598 (y0l): Likewise.
15599 (j1f): Likewise.
15600 (j1l): Likewise.
15601 (y1f): Likewise.
15602 (y1l): Likewise.
15603 (jnf): Likewise.
15604 (jnl): Likewise.
15605 (ynf): Likewise.
15606 (ynl): Likewise.
15607 (lgammaf_r): Condition declaration on [__USE_ISOC99].
15608 (lgammal_r): Likewise.
15609 (__lgamma_r_finite): New declaration.
15610 (__lgammaf_r_finite): Likewise.
15611 (__lgammal_r_finite): Likewise.
15612 (lgamma): Use __lgamma_r_finite.
15613 (lgammaf): Condition definition on [__USE_ISOC99]. Use
15614 __lgammaf_r_finite.
15615 (lgammal): Condition definition on [__USE_ISOC99]. Use
15616 __lgammal_r_finite.
15617 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
15618 __lgamma_r_finite.
15619 (gammaf): Condition definition on [__USE_ISOC99]. Use
15620 __lgammaf_r_finite.
15621 (gammal): Condition definition on [__USE_ISOC99]. Use
15622 __lgammal_r_finite.
15623 (logf): Condition declaration on [__USE_ISOC99].
15624 (logl): Likewise.
15625 (log10f): Likewise.
15626 (log10l): Likewise.
15627 (ldexpf): Likewise.
15628 (ldexpl): Likewise.
15629 (powf): Likewise.
15630 (powl): Likewise.
15631 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
15632 __USE_ISOC99].
15633 (remainderf): Condition declaration on [__USE_ISOC99].
15634 (remainderl): Likewise.
15635 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
15636 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
15637 (scalbl): Likewise.
15638 (sinhf): Condition declaration on [__USE_ISOC99].
15639 (sinhl): Likewise.
15640 (sqrtf): Likewise.
15641 (sqrtl): Likewise.
15642
15643 2015-11-04 Joseph Myers <joseph@codesourcery.com>
15644
15645 * sysdeps/arm/atomic-machine.h
15646 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15647 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15648 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
15649 Remove conditional code.
15650 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15651 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15652 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
15653 Change conditional to [__ASSEMBLER__].
15654 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15655 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
15656 [!__ASSEMBLER__].
15657 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
15658 code.
15659 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
15660 conditional macro definitions.
15661 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
15662 (__arch_compare_and_exchange_val_16_acq): Likewise.
15663 (__arch_compare_and_exchange_val_32_acq): Likewise.
15664 (atomic_exchange_and_add): Likewise.
15665 (atomic_add): Likewise.
15666 (atomic_add_negative): Likewise.
15667 (atomic_add_zero): Likewise.
15668 (atomic_bit_set): Likewise.
15669 (atomic_bit_test_set): Likewise.
15670 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
15671 code unconditional.
15672 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15673
15674 * math/test-math-errno.h: New file.
15675 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
15676 empty.
15677 (TEST_ERRNO): New macro.
15678 (TEST_EXCEPTIONS): Likewise.
15679 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
15680 (TEST_EXCEPTIONS): Likewise.
15681 * math/test-math-vector.h (TEST_ERRNO): Likewise.
15682 * math/test-double.c: Include "test-math-errno.h".
15683 * math/test-float.c: Likewise.
15684 * math/test-ldouble.c: Likewise.
15685 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
15686 code unconditional.
15687 (test_exceptions): Only run code if TEST_EXCEPTIONS.
15688 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
15689 unconditional.
15690 (test_errno): Only run code if TEST_ERRNO.
15691 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
15692
15693 2015-11-04 Florian Weimer <fweimer@redhat.com>
15694
15695 * nptl/tst-once5.cc: Remove attribution.
15696
15697 2015-11-04 Joseph Myers <joseph@codesourcery.com>
15698
15699 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
15700 sqrt, tan, tanh, y0, y1 and yn.
15701 * math/auto-libm-test-out: Regenerated.
15702 * math/libm-test.inc (scalb_test_data): Add more tests.
15703 (scalbn_test_data): Likewise.
15704 (scalbln_test_data): Likewise.
15705 (signbit_test_data): Likewise.
15706 (sin_test_data): Likewise.
15707 (sincos_test_data): Likewise.
15708 (sinh_test_data): Likewise.
15709 (sqrt_test_data): Likewise.
15710 (tan_test_data): Likewise.
15711 (tanh_test_data): Likewise.
15712 (tgamma_test_data): Likewise.
15713 (y0_test_data): Likewise.
15714 (y1_test_data): Likewise.
15715 (yn_test_data): Likewise.
15716 (significand_test_data): Likewise.
15717 * sysdeps/i386/fpu/libm-test-ulps: Update.
15718
15719 2015-11-03 David Kastrup <dak@gnu.org>
15720
15721 [BZ #18604]
15722 * assert/assert.h (assert): Don't macro-expand failed assertion
15723 expression in error message.
15724 * malloc/malloc.c (assert): Likewise.
15725
15726 2015-11-03 Joseph Myers <joseph@codesourcery.com>
15727
15728 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
15729 test.
15730 * configure: Regenerated.
15731
15732 2015-11-02 Joseph Myers <joseph@codesourcery.com>
15733
15734 * math/libm-test.inc (modf_test_data): Add more tests.
15735 (nearbyint_test_data): Likewise.
15736 (nextafter_test_data): Likewise.
15737 (nexttoward_test_data): Likewise.
15738 (pow_test_data): Likewise.
15739 (remainder_test_data): Likewise.
15740 (remquo_test_data): Likewise.
15741 (rint_test_data): Likewise.
15742
15743 [BZ #19201]
15744 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15745 Check for zero remainder in case of large exponents and ensure
15746 correct sign of result in that case.
15747 * math/libm-test.inc (remainder_test_data): Add more tests.
15748
15749 [BZ #6799]
15750 * math/s_nextafter.c: Include <errno.h>.
15751 (__nextafter): Set errno on overflow and underflow.
15752 * math/s_nexttowardf.c: Include <errno.h>.
15753 (__nexttowardf): Set errno on overflow and underflow.
15754 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
15755 (__nextafterl): Set errno on overflow and underflow.
15756 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
15757 (__nexttoward): Set errno on overflow and underflow.
15758 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
15759 (__nexttowardf): Set errno on overflow and underflow.
15760 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
15761 (__nextafterf): Set errno on overflow and underflow.
15762 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
15763 (__nextafterl): Set errno on overflow and underflow.
15764 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
15765 (__nexttoward): Set errno on overflow and underflow.
15766 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
15767 (__nexttowardf): Set errno on overflow and underflow.
15768 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
15769 (__nextafterl): Set errno on overflow and underflow.
15770 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
15771 (__nexttoward): Set errno on overflow and underflow.
15772 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
15773 (__nexttowardf): Set errno on overflow and underflow.
15774 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
15775 (__nexttoward): Set errno on overflow and underflow.
15776 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
15777 (__nexttowardf): Set errno on overflow and underflow.
15778 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
15779 (__nldbl_nexttowardf): Set errno on overflow and underflow.
15780 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
15781 (__nextafterl): Set errno on overflow and underflow.
15782 * math/libm-test.inc (nextafter_test_data): Do not allow errno
15783 setting to be missing on overflow. Add more tests.
15784 (nexttoward_test_data): Likewise.
15785
15786 * configure.ac (libc_cv_initfini_array): Remove configure test.
15787 * configure: Regenerated.
15788
15789 2015-10-29 Joseph Myers <joseph@codesourcery.com>
15790
15791 [BZ #19189]
15792 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
15793 non-finite argument handle arguments with negative sign.
15794
15795 * math/libm-test.inc (j0_test_data): Do not test sign of zero
15796 result from infinite argument.
15797 (j1_test_data): Likewise.
15798 (jn_test_data): Likewise.
15799 (y0_test_data): Likewise.
15800 (y1_test_data): Likewise.
15801 (yn_test_data): Likewise.
15802
15803 [BZ #16171]
15804 * math/w_remainder.c (drem): Define as weak alias of __remainder.
15805 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
15806 * math/w_remainderf.c (dremf): Define as weak alias of
15807 __remainderf.
15808 * math/w_remainderl.c (dreml): Define as weak alias of
15809 __remainderl.
15810 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
15811 __remainder.
15812 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
15813 __remainderf.
15814 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
15815 __remainderl.
15816 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
15817 weak alias of remainderl.
15818 * sysdeps/ieee754/ldbl-opt/w_remainder.c
15819 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
15820 alias of __remainder.
15821 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
15822 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
15823 strong alias of __remainderl.
15824 (dreml): Use long_double_symbol.
15825 * math/Makefile (libm-calls): Remove w_drem.
15826 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
15827 (CFLAGS-nldbl-drem.c): Remove variable.
15828 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
15829 * math/w_drem.c: Remove file.
15830 * math/w_dremf.c: Likewise.
15831 * math/w_dreml.c: Likewise.
15832 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
15833 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
15834 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
15835
15836 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
15837 * sysdeps/i386/configure: Regenerated.
15838 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
15839 * sysdeps/x86_64/configure: Regenerated.
15840
15841 * configure.ac (libc_cv_asm_protected_directive): Remove configure
15842 test.
15843 (libc_cv_visibility_attribute): Likewise.
15844 (libc_cv_protected_data): Test unconditionally.
15845 (libc_cv_broken_visibility_attribute): Remove configure test.
15846 (libc_cv_have_sdata_section): Test unconditionally.
15847 * configure: Regenerated.
15848
15849 * include/libc-internal.h (libc_max_align_t): Remove typedef.
15850 * include/scratch_buffer.h: Include <stddef.h> instead of
15851 <libc-internal.h>.
15852 (struct scratch_buffer): Use max_align_t instead of
15853 libc_max_align_t.
15854
15855 2015-10-29 Florian Weimer <fweimer@redhat.com>
15856
15857 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
15858 instead of extend_alloca. Change control flow to avoid a goto.
15859 Remove assert which is trivially always true.
15860
15861 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15862
15863 [BZ #16068]
15864 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
15865 (FE_ALL_EXCEPT_X86): New macro.
15866 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15867 FE_ALL_EXCEPT. Ensure precision control is included in
15868 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15869 handle "denormal operand exception" and clear FZ and DAZ bits.
15870 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
15871 (FE_ALL_EXCEPT_X86): New macro.
15872 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15873 FE_ALL_EXCEPT. Ensure precision control is included in
15874 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15875 handle "denormal operand exception" and clear FZ and DAZ bits.
15876 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
15877 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
15878 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15879 test-fenv-x87 and test-fenv-sse-2.
15880 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
15881
15882 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
15883 * math/test-double.h (BUILD_COMPLEX): New macro.
15884 * math/test-float.h (BUILD_COMPLEX): Likewise.
15885 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
15886
15887 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
15888 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
15889 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
15890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
15891 instead of DBL_DENORM_MIN in comment.
15892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
15893 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15894 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
15895 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
15896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
15897 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15898
15899 2015-10-28 Florian Weimer <fweimer@redhat.com>
15900
15901 [BZ# 19048]
15902 * malloc/malloc.c (struct malloc_state): Update comment. Add
15903 attached_threads member.
15904 (main_arena): Initialize attached_threads.
15905 * malloc/arena.c (list_lock): Update comment.
15906 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
15907 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
15908 (deattach_arena): New function.
15909 (_int_new_arena): Initialize arena reference count and deattach
15910 replaced arena.
15911 (get_free_list, reused_arena): Update reference count and deattach
15912 replaced arena.
15913 (arena_thread_freeres): Update arena reference count and only put
15914 unreferenced arenas on the free list.
15915
15916 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15917
15918 [BZ #19181]
15919 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
15920 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
15921 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
15922 * math/test-fenv-clear-main.c: New file.
15923 * math/test-fenv-clear.c: Likewise.
15924 * math/Makefile (tests): Add test-fenv-clear.
15925 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
15926 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15927 test-fenv-clear-sse.
15928 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
15929
15930 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
15931 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
15932 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
15933
15934 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15935
15936 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
15937 static libc.
15938
15939 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15940
15941 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
15942 test.
15943 * sysdeps/i386/configure: Regenerated.
15944 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
15945 test.
15946 * sysdeps/x86_64/configure: Regenerated.
15947 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
15948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15949 memset-avx2 unconditionally instead of conditionally on
15950 [$(config-cflags-avx2) = yes].
15951 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15952 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
15953 unconditional.
15954 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
15955 * sysdeps/x86_64/multiarch/memset_chk.S
15956 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
15957 to [IS_IN (libc) && SHARED].
15958
15959 2015-10-27 Joseph Myers <joseph@codesourcery.com>
15960
15961 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
15962 configure test.
15963 * sysdeps/arm/configure: Regenerated.
15964 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
15965 Define variable if not already defined.
15966
15967 [BZ #17404]
15968 * sysdeps/mips/atomic-machine.h
15969 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
15970 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
15971 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15972
15973 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
15974 unconditional.
15975 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
15976 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15977 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
15978 unconditional.
15979 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15980 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
15981 unconditional.
15982 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15983 * stdlib/setenv.c
15984 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
15985 code unconditional.
15986 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
15987 Remove conditional code.
15988 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
15989 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
15990 unconditional.
15991 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15992 code.
15993 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
15994 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
15995 unconditional.
15996 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15997 code.
15998 * sysdeps/ieee754/ldbl-128/k_tanl.c
15999 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16000 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16001 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16002 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16003 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16004 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16005 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16006 unconditional.
16007 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16008 code.
16009 * sysdeps/ieee754/ldbl-96/k_tanl.c
16010 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16011 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16012
16013 * nptl/tst-initializers1-c11.c: New file.
16014 * nptl/tst-initializers1-gnu11.c: Likewise.
16015 * nptl/Makefile (tests): Add these new tests.
16016 (CFLAGS-tst-initializers1-c11.c): New variable.
16017 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16018
16019 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16020 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16021 instead of -std=gnu99.
16022 * configure.ac (systemtap): Test with -std=gnu11 instead of
16023 -std=gnu99.
16024 * configure: Regenerated.
16025 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16026 in compilation command in comment.
16027
16028 * sysdeps/nptl/configure.ac: Remove file.
16029 * sysdeps/nptl/configure: Remove generated file.
16030 * configure.ac (libc_cv_forced_unwind): Do not substitute.
16031 * configure: Regenerated.
16032 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16033 * config.make.in (have-forced-unwind): Remove variable.
16034 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16035 unconditional.
16036 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16037 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16038 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16039 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16040 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16041 unconditional.
16042
16043 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16044
16045 [BZ #19174]
16046 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16047 .skip_lock_out_of_tbegin_retries.
16048 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16049 (__lll_lock_elision): Likewise, and respect a value of
16050 try_tbegin <= 0.
16051
16052 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16053
16054 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16055 statement.
16056
16057 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16058
16059 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16060 variable.
16061 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16062 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16063
16064 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16065 of -std=c1x -D_ISOC11_SOURCE.
16066
16067 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16068 * configure: Regenerated.
16069 * manual/install.texi (Tools for Compilation): Document
16070 requirement for GCC 4.7 or later.
16071 * INSTALL: Regenerated.
16072
16073 2015-10-27 Ludovic Courtès <ludo@gnu.org>
16074
16075 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16076 on CNT to a conditional jump to 'puntdata'.
16077
16078 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16079
16080 * configure.ac (libc_cv_gcc___thread): Remove configure test.
16081 (libc_cv_gcc_tls_model_attr): Likewise.
16082 * configure: Regenerated.
16083
16084 * configure.ac (libc_cv_need_minus_P): Remove configure test.
16085 * configure: Regenerated.
16086 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16087
16088 2015-10-26 Joseph Myers <joseph@codesourcery.com>
16089
16090 * configure.ac (old_glibc_headers): Remove configure test.
16091 * configure: Regenerated.
16092 * config.make.in (old-glibc-headers): Remove variable.
16093 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16094 (install): Remove dependency on remove-old-headers.
16095 (headers2_0): Remove variable.
16096 (remove-old-headers): Remove rule.
16097
16098 * configure.ac (libc_cv_dot_text): Remove configure test.
16099 (libc_cv_asm_set_directive): Use .text instead of
16100 ${libc_cv_dot_text} in configure test.
16101 * configure: Regenerated.
16102
16103 2015-10-26 Florian Weimer <fweimer@redhat.com>
16104
16105 [BZ #19168]
16106 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16107
16108 2015-10-26 Florian Weimer <fweimer@redhat.com>
16109
16110 * configure.ac (CXX): Clear the variable if the C++ toolchain does
16111 not support static linking.
16112 * configure: Regenerate.
16113
16114 2015-10-23 Joseph Myers <joseph@codesourcery.com>
16115
16116 * math/libm-test.inc (check_float_internal): Do not special-case
16117 errors up to 0.5 ulp.
16118
16119 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16120 log2.
16121 * math/auto-libm-test-out: Regenerated.
16122 * math/libm-test.inc (MAX_EXP): New macro.
16123 (ilogb_test_data): Add more tests.
16124 (isfinite_test_data): Likewise.
16125 (isgreater_test_data): Likewise.
16126 (isgreaterequal_test_data): Likewise.
16127 (isinf_test_data): Likewise.
16128 (isless_test_data): Likewise.
16129 (islessequal_test_data): Likewise.
16130 (islessgreater_test_data): Likewise.
16131 (isnan_test_data): Likewise.
16132 (isnormal_test_data): Likewise.
16133 (issignaling_test_data): Likewise.
16134 (isunordered_test_data): Likewise.
16135 (j0_test_data): Likewise.
16136 (j1_test_data): Likewise.
16137 (jn_test_data): Likewise.
16138 (lgamma_test_data): Likewise.
16139 (log_test_data): Likewise.
16140 (log10_test_data): Likewise.
16141 (log1p_test_data): Likewise.
16142 (log2_test_data): Likewise.
16143 (logb_test_data): Likewise.
16144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16145
16146 [BZ #18611]
16147 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16148 avoid excess range and precision on underflow.
16149 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16150 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16151 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16152 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16153 underflow.
16154 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16155 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16156 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16157 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16158 * math/auto-libm-test-in: Do not allow missing errno setting for
16159 tests of j1 and jn.
16160 * math/auto-libm-test-out: Regenerated.
16161
16162 2015-10-22 Joseph Myers <joseph@codesourcery.com>
16163
16164 [BZ #15491]
16165 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16166 floating-point environment instead of clearing all exceptions.
16167 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16168 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16169 merging in "invalid" exceptions from frndint.
16170 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16171 * math/test-nearbyint-except.c: New file.
16172 * math/Makefile (tests): Add test-nearbyint-except.
16173
16174 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
16175
16176 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16177
16178 * sysdeps/tile/libm-test-ulps: Regenerated.
16179
16180 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16181
16182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16183 (__NR_sync_file_range2): Assume it is always defined.
16184 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16185 (__NR_sync_file_range): Assume it is always defined.
16186
16187 2015-10-22 Andreas Schwab <schwab@suse.de>
16188
16189 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16190 INTERNAL_SYSCALL_ERRNO.
16191 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16192 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16193 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16194 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16195 Likewise.
16196 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16197
16198 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16199
16200 * io/tst-fcntl.c (fd): New static variable.
16201 (do_prepare): Open temporary file here....
16202 (do_test): ...not here.
16203
16204 * io/ftwtest-sh: Also trap on exit to remove temporary files.
16205
16206 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16207
16208 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16209 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16210 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16211 Moved before "#ifdef __ASSEMBLER__".
16212
16213 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16214
16215 [BZ #19156]
16216 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16217 arguments very close to 0.
16218
16219 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
16220
16221 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16222 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16223
16224 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16225
16226 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16227 New. Defined for GCC 5 and above when not compiling for
16228 profiling.
16229 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16230
16231 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16232 Renamed to ...
16233 (CFLAGS-epoll_pwait.o): This.
16234 (CFLAGS-mmap.c): Renamed to ...
16235 (CFLAGS-mmap.o): This.
16236 (CFLAGS-mmap64.c): Renamed to ...
16237 (CFLAGS-mmap64.o): This.
16238 (CFLAGS-epoll_pwait.os): New.
16239 (CFLAGS-mmap.os): Likewise.
16240 (CFLAGS-mmap64.os): Likewise.
16241 (CFLAGS-semtimedop.os): Likewise.
16242 (CFLAGS-semtimedop.c): Renamed to ...
16243 (CFLAGS-semtimedop.o): This.
16244
16245 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16246
16247 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16248 warning message.
16249
16250 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16251
16252 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16253 * Makefile ($(objpfx)c++-types-check.out): Filter out
16254 $(+gccwarn-c) instead of -Wstrict-prototypes.
16255
16256 * io/fts.c (fts_open): Convert to prototype-style function
16257 definition.
16258 * malloc/mcheck.c (mcheck): Likewise.
16259 (mcheck_pedantic): Likewise.
16260 * posix/regexec.c (re_search_2_stub): Likewise. Use
16261 internal_function.
16262 (re_search_internal): Likewise.
16263 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16264 prototype-style function definition.
16265 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16266 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16267 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16268 (xdr_utmpptr): Likewise.
16269 (xdr_utmparr): Likewise.
16270 (xdr_utmpidle): Likewise.
16271 (xdr_utmpidleptr): Likewise.
16272 (xdr_utmpidlearr): Likewise.
16273
16274 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16275 log, log10 and log2.
16276 * math/auto-libm-test-out: Regenerated.
16277 * math/libm-test.inc (fmod_test_data): Add more tests.
16278 (fpclassify_test_data): Likewise.
16279 (frexp_test_data): Likewise.
16280 (hypot_test_data): Likewise.
16281 (ilogb_test_data): Likewise.
16282
16283 2015-10-20 Joseph Myers <joseph@codesourcery.com>
16284
16285 * debug/fortify_fail.c (__fortify_fail): Convert to
16286 prototype-style function definition. Use internal_function.
16287 * libio/genops.c (save_for_backup): Convert to prototype-style
16288 function definition.
16289 * libio/wgenops.c (save_for_wbackup): Likewise.
16290 * login/grantpt.c (grantpt): Likewise.
16291 * login/ptsname.c (ptsname): Likewise.
16292 (__ptsname_r): Likewise.
16293 * login/unlockpt.c (unlockpt): Likewise.
16294 * mach/msgserver.c (__mach_msg_server): Likewise.
16295 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16296 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16297 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16298 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16299 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16300 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16301 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16302 Likewise.
16303 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
16304 internal_function.
16305 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16306 prototype-style function definition.
16307 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16308 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16309 (__pthread_create_2_0): Likewise.
16310 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16311 * nptl/register-atfork.c (__register_atfork): Likewise.
16312 * posix/glob.c (glob): Likewise.
16313 * posix/regcomp.c (re_comp): Likewise.
16314 * posix/regexec.c (re_exec): Likewise.
16315 * stdlib/add_n.c [__STDC__]: Make code unconditional.
16316 [!__STDC__]: Remove conditional code.
16317 * stdlib/cmp.c [__STDC__]: Make code unconditional.
16318 [!__STDC__]: Remove conditional code.
16319 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16320 [!__STDC__]: Remove conditional code.
16321 * stdlib/divrem.c [__STDC__]: Make code unconditional.
16322 [!__STDC__]: Remove conditional code.
16323 * stdlib/lshift.c [__STDC__]: Make code unconditional.
16324 [!__STDC__]: Remove conditional code.
16325 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16326 [!__STDC__]: Remove conditional code.
16327 * stdlib/mul.c [__STDC__]: Make code unconditional.
16328 [!__STDC__]: Remove conditional code.
16329 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16330 [!__STDC__]: Remove conditional code.
16331 * stdlib/rshift.c [__STDC__]: Make code unconditional.
16332 [!__STDC__]: Remove conditional code.
16333 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16334 function definition.
16335 (STRTOF): Likewise.
16336 * stdlib/strtod_l.c (__STRTOF): Likewise.
16337 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16338 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16339 (__strtol_l): Likewise.
16340 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16341 [!__STDC__]: Remove conditional code.
16342 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16343 definition.
16344 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16345 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16346 type.
16347 (__strcasecmp): Convert to prototype-style function definition.
16348 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16349 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16350 type.
16351 (__strncasecmp): Convert to prototype-style function definition.
16352 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16353 * sunrpc/xdr.c (xdr_union): Likewise.
16354 * sunrpc/xdr_array.c (xdr_array): Likewise.
16355 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16356 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16357 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16358 Likewise.
16359 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16360 Likewise.
16361 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16362 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16363 Likewise.
16364 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16365 (LOCALE_PARAM_PROTO): Likewise.
16366 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16367 argument type.
16368 (ut_argument_spec): Remove macro.
16369 (ut_argument_spec_iso): Rename to ut_argument_spec.
16370 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
16371 prototype-style function definition.
16372 (memcpy_uppcase): Likewise.
16373 (__strftime_internal): Likewise.
16374 (my_strftime): Likewise.
16375 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16376 (LOCALE_PARAM_DECL): Likewise.
16377 [_LIBC] (LOCALE_PARAM): Include argument type.
16378 (__strptime_internal): Convert to prototype-style function
16379 definition.
16380 (strptime): Likewise.
16381 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16382 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16383 type.
16384 (__wcscasecmp): Convert to prototype-style function definition.
16385 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16386 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16387 type.
16388 (__wcsncasecmp): Convert to prototype-style function definition.
16389
16390 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16391 function definition.
16392 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16393 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16394 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16395 * elf/dl-minimal.c (_itoa): Likewise.
16396 * hurd/hurdmalloc.c (malloc): Likewise.
16397 (free): Likewise.
16398 (realloc): Likewise.
16399 * inet/inet6_option.c (inet6_option_space): Likewise.
16400 (inet6_option_init): Likewise.
16401 (inet6_option_append): Likewise.
16402 (inet6_option_alloc): Likewise.
16403 (inet6_option_next): Likewise.
16404 (inet6_option_find): Likewise.
16405 * io/ftw.c (FTW_NAME): Likewise.
16406 (NFTW_NAME): Likewise.
16407 (NFTW_NEW_NAME): Likewise.
16408 (NFTW_OLD_NAME): Likewise.
16409 * libio/iofwide.c (_IO_fwide): Likewise.
16410 * libio/strops.c (_IO_str_init_static_internal): Likewise.
16411 (_IO_str_init_static): Likewise.
16412 (_IO_str_init_readonly): Likewise.
16413 (_IO_str_overflow): Likewise.
16414 (_IO_str_underflow): Likewise.
16415 (_IO_str_count): Likewise.
16416 (_IO_str_seekoff): Likewise.
16417 (_IO_str_pbackfail): Likewise.
16418 (_IO_str_finish): Likewise.
16419 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16420 (_IO_wstr_overflow): Likewise.
16421 (_IO_wstr_underflow): Likewise.
16422 (_IO_wstr_count): Likewise.
16423 (_IO_wstr_seekoff): Likewise.
16424 (_IO_wstr_pbackfail): Likewise.
16425 (_IO_wstr_finish): Likewise.
16426 * locale/programs/localedef.c (normalize_codeset): Likewise.
16427 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16428 (add_locales_to_archive): Likewise.
16429 (delete_locales_from_archive): Likewise.
16430 * malloc/malloc.c (__libc_mallinfo): Likewise.
16431 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16432 * misc/tsearch.c (__tfind): Likewise.
16433 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16434 * nptl/pthread_attr_getdetachstate.c
16435 (__pthread_attr_getdetachstate): Likewise.
16436 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16437 Likewise.
16438 * nptl/pthread_attr_getinheritsched.c
16439 (__pthread_attr_getinheritsched): Likewise.
16440 * nptl/pthread_attr_getschedparam.c
16441 (__pthread_attr_getschedparam): Likewise.
16442 * nptl/pthread_attr_getschedpolicy.c
16443 (__pthread_attr_getschedpolicy): Likewise.
16444 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
16445 Likewise.
16446 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
16447 Likewise.
16448 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
16449 Likewise.
16450 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
16451 Likewise.
16452 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
16453 (__pthread_attr_init_2_0): Likewise.
16454 * nptl/pthread_attr_setdetachstate.c
16455 (__pthread_attr_setdetachstate): Likewise.
16456 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
16457 Likewise.
16458 * nptl/pthread_attr_setinheritsched.c
16459 (__pthread_attr_setinheritsched): Likewise.
16460 * nptl/pthread_attr_setschedparam.c
16461 (__pthread_attr_setschedparam): Likewise.
16462 * nptl/pthread_attr_setschedpolicy.c
16463 (__pthread_attr_setschedpolicy): Likewise.
16464 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
16465 Likewise.
16466 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
16467 Likewise.
16468 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
16469 Likewise.
16470 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
16471 Likewise.
16472 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
16473 Likewise.
16474 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
16475 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16476 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
16477 use internal_function.
16478 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
16479 prototype-style function definition.
16480 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
16481 (__pthread_mutex_cond_lock_adjust): Likewise. Use
16482 internal_function.
16483 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
16484 Convert to prototype-style function definition.
16485 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16486 Likewise.
16487 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
16488 Likewise.
16489 (__pthread_mutex_unlock): Likewise.
16490 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
16491 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
16492 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
16493 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
16494 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
16495 * nss/makedb.c (process_input): Likewise.
16496 * posix/fnmatch.c (__strchrnul): Likewise.
16497 (__wcschrnul): Likewise.
16498 (fnmatch): Likewise.
16499 * posix/fnmatch_loop.c (FCT): Likewise.
16500 * posix/glob.c (globfree): Likewise.
16501 (__glob_pattern_type): Likewise.
16502 (__glob_pattern_p): Likewise.
16503 * posix/regcomp.c (re_compile_pattern): Likewise.
16504 (re_set_syntax): Likewise.
16505 (re_compile_fastmap): Likewise.
16506 (regcomp): Likewise.
16507 (regerror): Likewise.
16508 (regfree): Likewise.
16509 * posix/regexec.c (regexec): Likewise.
16510 (re_match): Likewise.
16511 (re_search): Likewise.
16512 (re_match_2): Likewise.
16513 (re_search_2): Likewise.
16514 (re_search_stub): Likewise. Use internal_function
16515 (re_copy_regs): Likewise.
16516 (re_set_registers): Convert to prototype-style function
16517 definition.
16518 (prune_impossible_nodes): Likewise. Use internal_function.
16519 * resolv/inet_net_pton.c (inet_net_pton): Convert to
16520 prototype-style function definition.
16521 (inet_net_pton_ipv4): Likewise.
16522 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16523 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
16524 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16525 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
16526 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16527 Make variadic.
16528 * time/strptime_l.c (localtime_r): Convert to prototype-style
16529 function definition.
16530 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16531 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16532 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16533 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16534
16535 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
16536 definition.
16537 (_ufc_doit_r): Likewise.
16538 * crypt/crypt_util.c (_ufc_copymem): Likewise.
16539 (_ufc_output_conversion_r): Likewise.
16540 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
16541 * inet/rcmd.c (rcmd_af): Likewise.
16542 (rcmd): Likewise.
16543 (ruserok_af): Likewise.
16544 (ruserok): Likewise.
16545 (ruserok2_sa): Likewise.
16546 (ruserok_sa): Likewise.
16547 (iruserok_af): Likewise.
16548 (iruserok): Likewise.
16549 (__ivaliduser): Likewise.
16550 (__validuser2_sa): Likewise.
16551 * inet/rexec.c (rexec_af): Likewise.
16552 (rexec): Likewise.
16553 * inet/ruserpass.c (ruserpass): Likewise.
16554 * locale/programs/xmalloc.c (xcalloc): Likewise.
16555 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
16556 * math/w_drem.c (__drem): Likewise.
16557 * math/w_dremf.c (__dremf): Likewise.
16558 * math/w_dreml.c (__dreml): Likewise.
16559 * misc/daemon.c (daemon): Likewise.
16560 * resolv/res_debug.c (p_fqnname): Likewise.
16561 * stdlib/div.c (div): Likewise.
16562 * string/memcmp.c (memcmp_bytes): Likewise.
16563 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
16564 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
16565
16566 * crypt/cert.c (main): Convert to prototype-style function
16567 definition.
16568 * io/pipe.c (__pipe): Likewise.
16569 * io/pipe2.c (__pipe2): Likewise.
16570 * misc/futimesat.c (futimesat): Likewise.
16571 * misc/utimes.c (__utimes): Likewise.
16572 * posix/execve.c (__execve): Likewise.
16573 * posix/execvp.c (execvp): Likewise.
16574 * posix/execvpe.c (__execvpe): Likewise.
16575 * posix/fexecve.c (fexecve): Likewise.
16576 * socket/socketpair.c (socketpair): Likewise.
16577 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16578 * stdlib/erand48.c (erand48): Likewise.
16579 * stdlib/erand48_r.c (__erand48_r): Likewise.
16580 * stdlib/jrand48.c (jrand48): Likewise.
16581 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
16582 * stdlib/lcong48.c (lcong48): Likewise.
16583 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
16584 * stdlib/nrand48.c (nrand48): Likewise.
16585 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
16586 * stdlib/seed48.c (seed48): Likewise.
16587 * stdlib/seed48_r.c (__seed48_r): Likewise.
16588 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
16589 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
16590 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
16591
16592 2015-10-19 Joseph Myers <joseph@codesourcery.com>
16593
16594 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
16595 * configure: Regenerated.
16596 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
16597 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
16598 unconditional.
16599 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16600 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16601 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16602 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
16603 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
16604 unconditional.
16605 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16606
16607 * posix/Makefile (CFLAGS-regex.c): Remove variable.
16608 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
16609
16610 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
16611 function definition.
16612 * crypt/crypt_util.c (__encrypt_r): Likewise.
16613 * libio/genops.c (_IO_no_init): Likewise.
16614 * libio/iofopncook.c (_IO_fopencookie): Likewise.
16615 (_IO_old_fopencookie): Likewise.
16616 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16617 * libio/iogetline.c (_IO_getline): Likewise.
16618 (_IO_getline_info): Likewise.
16619 * libio/iogetwline.c (_IO_getwline): Likewise.
16620 (_IO_getwline_info): Likewise.
16621 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
16622 * libio/vswprintf.c (_IO_vswprintf): Likewise.
16623 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
16624 (find_entry): Likewise.
16625 (iterate_table): Likewise.
16626 (lookup): Likewise.
16627 * login/forkpty.c (forkpty): Likewise.
16628 * misc/hsearch_r.c (__hsearch_r): Likewise.
16629 * misc/select.c (__select): Likewise.
16630 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
16631 Likewise.
16632 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
16633 Likewise.
16634 * nptl/old_pthread_cond_timedwait.c
16635 (__pthread_cond_timedwait_2_0): Likewise.
16636 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
16637 * nptl/pthread_barrierattr_getpshared.c
16638 (pthread_barrierattr_getpshared): Likewise.
16639 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
16640 Likewise.
16641 * nptl/pthread_mutex_setprioceiling.c
16642 (pthread_mutex_setprioceiling): Likewise.
16643 * nptl/pthread_mutexattr_getprioceiling.c
16644 (pthread_mutexattr_getprioceiling): Likewise.
16645 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
16646 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16647 Likewise.
16648 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16649 Likewise.
16650 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
16651 Likewise.
16652 * socket/recvfrom.c (__recvfrom): Likewise.
16653 * socket/sendto.c (__sendto): Likewise.
16654 * socket/setsockopt.c (__setsockopt): Likewise.
16655 * stdio-common/_itoa.c (_itoa): Likewise.
16656 * stdio-common/_itowa.c (_itowa): Likewise.
16657 * stdio-common/reg-printf.c (__register_printf_specifier):
16658 Likewise.
16659 (__register_printf_function): Likewise.
16660 * stdio-common/tempname.c (__path_search): Likewise.
16661 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
16662 * stdlib/mul_1.c (mpn_mul_1): Likewise.
16663 * stdlib/random_r.c (__initstate_r): Likewise.
16664 * stdlib/setenv.c (__add_to_environ): Likewise.
16665 * stdlib/submul_1.c (mpn_submul_1): Likewise.
16666 * streams/getpmsg.c (getpmsg): Likewise.
16667 * streams/putmsg.c (putmsg): Likewise.
16668 * streams/putpmsg.c (putpmsg): Likewise.
16669 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
16670 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
16671 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
16672 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
16673 * sunrpc/pm_getport.c (pmap_getport): Likewise.
16674 * sunrpc/svc_udp.c (cache_get): Likewise.
16675 * sunrpc/xdr_array.c (xdr_vector): Likewise.
16676 * sysdeps/mach/hurd/getcwd.c
16677 (__canonicalize_directory_name_internal): Likewise.
16678 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
16679 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
16680 * sysdeps/mach/hurd/select.c (__select): Likewise.
16681 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
16682 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16683 * sysdeps/sparc/nptl/pthread_barrier_init.c
16684 (__pthread_barrier_init): Likewise.
16685 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
16686 (__pthread_cond_timedwait): Likewise.
16687 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
16688 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
16689 Likewise.
16690 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
16691 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
16692 Likewise.
16693 * sysvipc/semtimedop.c (semtimedop): Likewise.
16694 * time/setitimer.c (__setitimer): Likewise.
16695 * time/strftime_l.c (emacs_strftime): Likewise.
16696
16697 2015-10-19 Mike Frysinger <vapier@gentoo.org>
16698
16699 * config.make.in (have-ssp): Delete.
16700 (stack-protector): New variable.
16701 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
16702 cache test for -fstack-protector-strong. Export stack_protector to
16703 the best ssp flag.
16704 * configure: Regenerated.
16705 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
16706 * nscd/Makefile (CFLAGS-nscd): Likewise.
16707 * resolv/Makefile (CFLAGS-libresolv): Likewise.
16708
16709 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
16710
16711 [BZ #19122]
16712 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
16713 attribute_hidden.
16714
16715 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16716
16717 [BZ #18743]
16718 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
16719 code to...
16720 (ELIDE_LOCK): ...here.
16721 (__get_new_count): New function with part of the code from
16722 __elide_lock that updates the value of adapt_count after a
16723 transaction abort.
16724 (__elided_trylock): Moved this code to...
16725 (ELIDE_TRYLOCK): ...here.
16726
16727 2015-10-19 Mike Frysinger <vapier@gentoo.org>
16728
16729 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
16730 * configure: Regenerate.
16731 * INSTALL: Regenerate.
16732 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
16733 and tweak grammar.
16734
16735 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
16736
16737 * login/programs/pt_chown.c: Include signal.h
16738 (main): Clear any signal mask from the parent process.
16739
16740 2015-10-19 Joseph Myers <joseph@codesourcery.com>
16741
16742 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
16743 * configure: Regenerated.
16744 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
16745 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
16746 $(gnu89-inline-CFLAGS).
16747
16748 * configure.ac (libc_cv_asm_weak_directive): Remove configure
16749 test.
16750 (libc_cv_asm_weakext_directive): Likewise.
16751 * configure: Regenerated.
16752 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
16753 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
16754 * include/libc-symbols.h
16755 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
16756 #error.
16757 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
16758 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
16759
16760 * sysdeps/arm/backtrace.c (__backtrace): Convert to
16761 prototype-style function definition.
16762 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16763 * sysdeps/i386/ffs.c (__ffs): Likewise.
16764 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16765 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
16766 Likewise.
16767 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16768 Likewise.
16769 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
16770 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16771 Likewise.
16772 * sysdeps/m68k/ffs.c (__ffs): Likewise.
16773 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
16774 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
16775 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
16776 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
16777 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
16778 * sysdeps/mach/hurd/access.c (__access): Likewise.
16779 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
16780 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
16781 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
16782 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
16783 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
16784 (cthread_getspecific): Likewise.
16785 (cthread_setspecific): Likewise.
16786 (__libc_getspecific): Likewise.
16787 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
16788 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
16789 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
16790 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
16791 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
16792 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
16793 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
16794 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
16795 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
16796 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
16797 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
16798 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
16799 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
16800 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
16801 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
16802 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
16803 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
16804 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
16805 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
16806 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
16807 * sysdeps/mach/hurd/link.c (__link): Likewise.
16808 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
16809 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
16810 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
16811 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
16812 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16813 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
16814 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
16815 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
16816 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16817 * sysdeps/mach/hurd/rename.c (rename): Likewise.
16818 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
16819 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
16820 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
16821 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
16822 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
16823 * sysdeps/mach/hurd/send.c (__send): Likewise.
16824 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
16825 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
16826 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
16827 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
16828 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
16829 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
16830 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
16831 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
16832 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
16833 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
16834 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
16835 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
16836 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
16837 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
16838 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
16839 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
16840 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
16841 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
16842 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
16843 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16844 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
16845 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
16846 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
16847 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
16848 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
16849 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
16850 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
16851 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
16852 * sysdeps/posix/alarm.c (alarm): Likewise.
16853 * sysdeps/posix/cuserid.c (cuserid): Likewise.
16854 * sysdeps/posix/dirfd.c (dirfd): Likewise.
16855 * sysdeps/posix/dup.c (__dup): Likewise.
16856 * sysdeps/posix/dup2.c (__dup2): Likewise.
16857 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
16858 (main): Likewise.
16859 * sysdeps/posix/flock.c (__flock): Likewise.
16860 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
16861 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16862 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
16863 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
16864 * sysdeps/posix/isatty.c (__isatty): Likewise.
16865 * sysdeps/posix/killpg.c (killpg): Likewise.
16866 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16867 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
16868 * sysdeps/posix/raise.c (raise): Likewise.
16869 * sysdeps/posix/remove.c (remove): Likewise.
16870 * sysdeps/posix/rename.c (rename): Likewise.
16871 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
16872 * sysdeps/posix/seekdir.c (seekdir): Likewise.
16873 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16874 * sysdeps/posix/sigignore.c (sigignore): Likewise.
16875 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
16876 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16877 * sysdeps/posix/sigset.c (sigset): Likewise.
16878 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
16879 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
16880 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
16881 * sysdeps/posix/time.c (time): Likewise.
16882 * sysdeps/posix/ttyname.c (getttyname): Likewise.
16883 (ttyname): Likewise.
16884 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
16885 * sysdeps/posix/utime.c (utime): Likewise.
16886 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
16887 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16888 Likewise.
16889 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
16890 (pthread_spin_trylock): Likewise.
16891 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
16892 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
16893 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
16894 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
16895 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
16896 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
16897 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
16898 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
16899 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
16900 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
16901 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
16902 * sysdeps/s390/ffs.c (__ffs): Likewise.
16903 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
16904 Likewise.
16905 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16906 Likewise.
16907 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
16908 Likewise.
16909 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
16910 (pthread_barrier_destroy): Likewise.
16911 * sysdeps/sparc/nptl/pthread_barrier_wait.c
16912 (__pthread_barrier_wait): Likewise.
16913 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
16914 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16915 (__pthread_barrier_wait): Likewise.
16916 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
16917 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
16918 (memcmp_not_common_alignment): Likewise.
16919 (MEMCMP): Likewise.
16920 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
16921 (_wordcopy_fwd_dest_aligned): Likewise.
16922 (_wordcopy_bwd_aligned): Likewise.
16923 (_wordcopy_bwd_dest_aligned): Likewise.
16924 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
16925 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
16926 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16927 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
16928 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
16929 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
16930 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
16931 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
16932 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
16933 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
16934 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
16935 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16936 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
16937 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
16938 * sysdeps/unix/stime.c (stime): Likewise.
16939 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
16940 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
16941 Likewise. Use internal_function.
16942 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
16943 Convert to prototype-style function definition.
16944 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16945 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16946 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
16947 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16948 Likewise. Use internal_function.
16949 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
16950 prototype-style function definition
16951 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16952 Likewise.
16953 (__getlogin_r): Likewise.
16954 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
16955 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
16956 (__pthread_cond_broadcast): Likewise.
16957 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
16958 (__pthread_cond_destroy): Likewise.
16959 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
16960 (__pthread_cond_init): Likewise.
16961 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
16962 (__pthread_cond_signal): Likewise.
16963 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
16964 (__pthread_cond_wait): Likewise.
16965 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
16966 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16967 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
16968 Likewise.
16969 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
16970 Likewise.
16971 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16972 Likewise.
16973 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
16974 Likewise.
16975 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
16976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
16977 (__ftruncate64): Likewise.
16978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
16979 (truncate64): Likewise.
16980 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
16981 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
16982 (pthread_getcpuclockid): Likewise.
16983 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16984 Likewise.
16985 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16986 Likewise.
16987 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
16988 Likewise.
16989 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
16990 Likewise.
16991 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
16992 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
16993 (__libc_sigaction): Likewise.
16994 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
16995 Likewise.
16996 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
16997 (__sigprocmask): Likewise.
16998 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
16999 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17000 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17001 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17002 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17003 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17004 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17005 Likewise.
17006 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17007 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17008 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17009 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17011 Likewise.
17012 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17013 (__sigprocmask): Likewise.
17014 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17015 (cfgetispeed): Likewise.
17016 (cfsetospeed): Likewise.
17017 (cfsetispeed): Likewise.
17018 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17019 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17020 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17021 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17022 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17023 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17024 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17025 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17026 Likewise.
17027 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17028 Likewise.
17029 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17030 Likewise.
17031 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17032 Likewise.
17033 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17034
17035 2015-10-17 Florian Weimer <fweimer@redhat.com>
17036
17037 sunrpc: Rewrite with explicit TLS access using __thread.
17038 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17039 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17040 directly.
17041 (__rpc_thread_variables): Access thread_rpc_vars directly.
17042 Eliminate redundant assignment of the tvp variable.
17043
17044 2015-10-17 Florian Weimer <fweimer@redhat.com>
17045
17046 malloc: Rewrite with explicit TLS access using __thread.
17047 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17048 (tsd_setspecific, tsd_getspecific): Remove.
17049 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17050 (tsd_setspecific, tsd_getspecific): Likewise.
17051 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17052 (tsd_setspecific, tsd_getspecific): Likewise.
17053 * malloc/arena.c (thread_arena): New TLS variable.
17054 (arena_key): Remove variable.
17055 (arena_get): Use thread_arena.
17056 (arena_lookup): Remove macro.
17057 (malloc_atfork, free_atfork, ptmalloc_lock_all)
17058 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17059 (_int_new_arena, get_free_list, reused_arena)
17060 (arena_thread_freeres): Use thread_arena.
17061 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17062 tsd_getspecific, tsd_setspecific from safety annotations.
17063 (Allocating Cleared Space): Remove arena_lookup from safety
17064 annotations.
17065
17066 2015-10-17 Florian Weimer <fweimer@redhat.com>
17067
17068 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17069 struct scratch_buffer instead of extend_alloca.
17070
17071 2015-10-17 Florian Weimer <fweimer@redhat.com>
17072
17073 * sysdeps/unix/sysv/linux/kernel-features.h
17074 (__ASSUME_SOCK_CLOEXEC): Remove.
17075 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17076 (__have_paccept): Remove unused macro.
17077 * include/unistd.h (__have_sock_cloexec): Remove declaration.
17078 * misc/syslog.c (openlog_internal): Remove fallback code for
17079 !__ASSUME_SOCK_CLOEXEC.
17080 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17081 missing SOCK_CLOEXEC.
17082 * nscd/connections.c (have_sock_cloexec): Remove definition.
17083 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17084 * nscd/nscd_helper.c (open_socket): Remove fallback code for
17085 !__ASSUME_SOCK_CLOEXEC.
17086 * resolv/res_send.c (__have_o_nonblock): Remove definition.
17087 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17088 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17089 definition.
17090 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17091 code for !__ASSUME_SOCK_CLOEXEC.
17092
17093 2015-10-17 Florian Weimer <fweimer@redhat.com>
17094
17095 [BZ #18982]
17096 * manual/stdio.texi (Variable Arguments Output): Add portability
17097 note, explaining that vfprintf clobbers the va_list pointer.
17098
17099 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17100
17101 * math/libm-test.inc (fabs_test_data): Add more tests.
17102 (fdim_test_data): Likewise.
17103 (fma_test_data): Likewise.
17104 (fmax_test_data): Likewise.
17105 (fmin_test_data): Likewise.
17106 (fmod_test_data): Likewise.
17107
17108 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
17109
17110 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
17111 data.
17112
17113 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17114
17115 * math/libm-test.inc (ceil_test_data): Add more tests and more
17116 expectations for "inexact".
17117 (floor_test_data): Add more tests.
17118 (round_test_data): Likewise.
17119 (trunc_test_data): Likewise.
17120
17121 * crypt/cert.c (good_bye): Convert to prototype-style function
17122 definition.
17123 (get8): Likewise.
17124 (put8): Likewise.
17125 * crypt/crypt-entry.c (crypt): Likewise.
17126 (__fcrypt): Likewise.
17127 * crypt/crypt_util.c (_ufc_prbits): Likewise.
17128 (_ufc_set_bits): Likewise.
17129 (_ufc_clearmem): Likewise.
17130 (__init_des_r): Likewise.
17131 (shuffle_sb): Likewise.
17132 (shuffle_sb): Likewise.
17133 (_ufc_setup_salt_r): Likewise.
17134 (_ufc_mk_keytab_r): Likewise.
17135 (_ufc_dofinalperm_r): Likewise.
17136 (encrypt): Likewise.
17137 (__setkey_r): Likewise.
17138 (setkey): Likewise.
17139 * crypt/md5.c (md5_init_ctx): Likewise.
17140 (md5_read_ctx): Likewise.
17141 (md5_finish_ctx): Likewise.
17142 (md5_stream): Likewise.
17143 (md5_buffer): Likewise.
17144 (md5_process_bytes): Likewise.
17145 * crypt/sha256.c (__sha256_init_ctx): Likewise.
17146 (__sha256_finish_ctx): Likewise.
17147 (__sha256_process_bytes): Likewise.
17148 * crypt/sha512.c (__sha512_init_ctx): Likewise.
17149 (__sha512_finish_ctx): Likewise.
17150 (__sha512_process_bytes): Likewise.
17151 * ctype/isctype.c (__isctype): Likewise.
17152 * debug/backtrace.c (__backtrace): Likewise.
17153 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17154 * debug/fgets_chk.c (__fgets_chk): Likewise.
17155 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17156 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17157 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17158 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17159 * debug/memset_chk.c (__memset_chk): Likewise.
17160 * debug/strcat_chk.c (__strcat_chk): Likewise.
17161 * debug/strncat_chk.c (__strncat_chk): Likewise.
17162 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17163 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17164 * dirent/dirfd.c (dirfd): Likewise.
17165 * dirent/getdents.c (__getdirentries): Likewise.
17166 * dirent/getdents64.c (getdirentries64): Likewise.
17167 * dirent/rewinddir.c (__rewinddir): Likewise.
17168 * dirent/seekdir.c (seekdir): Likewise.
17169 * dirent/telldir.c (telldir): Likewise.
17170 * elf/sln.c (makesymlinks): Likewise.
17171 (makesymlink): Likewise.
17172 * gmon/gmon.c (__moncontrol): Likewise.
17173 (__monstartup): Likewise.
17174 (write_hist): Likewise.
17175 (write_call_graph): Likewise.
17176 (write_bb_counts): Likewise.
17177 * grp/setgroups.c (setgroups): Likewise.
17178 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17179 * inet/inet_net.c (inet_network): Likewise.
17180 * inet/inet_netof.c (inet_netof): Likewise.
17181 * inet/rcmd.c (rresvport_af): Likewise.
17182 (rresvport): Likewise.
17183 * io/access.c (__access): Likewise.
17184 * io/chdir.c (__chdir): Likewise.
17185 * io/chmod.c (__chmod): Likewise.
17186 * io/chown.c (__chown): Likewise.
17187 * io/close.c (__close): Likewise.
17188 * io/creat.c (creat): Likewise.
17189 * io/creat64.c (creat64): Likewise.
17190 * io/dup.c (__dup): Likewise.
17191 * io/dup2.c (__dup2): Likewise.
17192 * io/dup3.c (__dup3): Likewise.
17193 * io/euidaccess.c (__euidaccess): Likewise.
17194 * io/faccessat.c (faccessat): Likewise.
17195 * io/fchmod.c (__fchmod): Likewise.
17196 * io/fchmodat.c (fchmodat): Likewise.
17197 * io/fchown.c (__fchown): Likewise.
17198 * io/fchownat.c (fchownat): Likewise.
17199 * io/fcntl.c (__fcntl): Likewise.
17200 * io/flock.c (__flock): Likewise.
17201 * io/fts.c (fts_load): Likewise.
17202 (fts_close): Likewise.
17203 (fts_read): Likewise.
17204 (fts_set): Likewise.
17205 (fts_children): Likewise.
17206 (fts_build): Likewise.
17207 (fts_stat): Likewise.
17208 (fts_sort): Likewise.
17209 (fts_alloc): Likewise.
17210 (fts_lfree): Likewise.
17211 (fts_palloc): Likewise.
17212 (fts_padjust): Likewise.
17213 (fts_maxarglen): Likewise.
17214 (fts_safe_changedir): Likewise.
17215 * io/getwd.c (getwd): Likewise.
17216 * io/isatty.c (__isatty): Likewise.
17217 * io/lchown.c (__lchown): Likewise.
17218 * io/link.c (__link): Likewise.
17219 * io/linkat.c (linkat): Likewise.
17220 * io/lseek.c (__libc_lseek): Likewise.
17221 * io/mkdir.c (__mkdir): Likewise.
17222 * io/mkdirat.c (mkdirat): Likewise.
17223 * io/mkfifo.c (mkfifo): Likewise.
17224 * io/mkfifoat.c (mkfifoat): Likewise.
17225 * io/open.c (__libc_open): Likewise.
17226 * io/open64.c (__libc_open64): Likewise.
17227 * io/readlink.c (__readlink): Likewise.
17228 * io/readlinkat.c (readlinkat): Likewise.
17229 * io/rmdir.c (__rmdir): Likewise.
17230 * io/symlink.c (__symlink): Likewise.
17231 * io/symlinkat.c (symlinkat): Likewise.
17232 * io/ttyname.c (ttyname): Likewise.
17233 * io/ttyname_r.c (__ttyname_r): Likewise.
17234 * io/umask.c (__umask): Likewise.
17235 * io/unlink.c (__unlink): Likewise.
17236 * io/unlinkat.c (unlinkat): Likewise.
17237 * io/utime.c (utime): Likewise.
17238 * libio/clearerr.c (clearerr): Likewise.
17239 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17240 * libio/feof.c (_IO_feof): Likewise.
17241 * libio/feof_u.c (feof_unlocked): Likewise.
17242 * libio/ferror.c (_IO_ferror): Likewise.
17243 * libio/ferror_u.c (ferror_unlocked): Likewise.
17244 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17245 * libio/fileno.c (__fileno): Likewise.
17246 * libio/fputc.c (fputc): Likewise.
17247 * libio/fputc_u.c (fputc_unlocked): Likewise.
17248 * libio/fputwc.c (fputwc): Likewise.
17249 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17250 * libio/freopen.c (freopen): Likewise.
17251 * libio/freopen64.c (freopen64): Likewise.
17252 * libio/fseek.c (fseek): Likewise.
17253 * libio/fseeko.c (fseeko): Likewise.
17254 * libio/fseeko64.c (fseeko64): Likewise.
17255 * libio/ftello.c (__ftello): Likewise.
17256 * libio/ftello64.c (ftello64): Likewise.
17257 * libio/fwide.c (fwide): Likewise.
17258 * libio/genops.c (_IO_un_link): Likewise.
17259 (_IO_link_in): Likewise.
17260 (_IO_least_marker): Likewise.
17261 (_IO_switch_to_main_get_area): Likewise.
17262 (_IO_switch_to_backup_area): Likewise.
17263 (_IO_switch_to_get_mode): Likewise.
17264 (_IO_free_backup_area): Likewise.
17265 (_IO_switch_to_put_mode): Likewise.
17266 (__overflow): Likewise.
17267 (__underflow): Likewise.
17268 (__uflow): Likewise.
17269 (_IO_setb): Likewise.
17270 (_IO_doallocbuf): Likewise.
17271 (_IO_default_underflow): Likewise.
17272 (_IO_default_uflow): Likewise.
17273 (_IO_default_xsputn): Likewise.
17274 (_IO_sgetn): Likewise.
17275 (_IO_default_xsgetn): Likewise.
17276 (_IO_sync): Likewise.
17277 (_IO_default_setbuf): Likewise.
17278 (_IO_default_seekpos): Likewise.
17279 (_IO_default_doallocate): Likewise.
17280 (_IO_init): Likewise.
17281 (_IO_old_init): Likewise.
17282 (_IO_default_sync): Likewise.
17283 (_IO_default_finish): Likewise.
17284 (_IO_default_seekoff): Likewise.
17285 (_IO_sputbackc): Likewise.
17286 (_IO_sungetc): Likewise.
17287 (_IO_set_column): Likewise.
17288 (_IO_set_column): Likewise.
17289 (_IO_adjust_column): Likewise.
17290 (_IO_get_column): Likewise.
17291 (_IO_init_marker): Likewise.
17292 (_IO_remove_marker): Likewise.
17293 (_IO_marker_difference): Likewise.
17294 (_IO_marker_delta): Likewise.
17295 (_IO_seekmark): Likewise.
17296 (_IO_unsave_markers): Likewise.
17297 (_IO_nobackup_pbackfail): Likewise.
17298 (_IO_default_pbackfail): Likewise.
17299 (_IO_default_seek): Likewise.
17300 (_IO_default_stat): Likewise.
17301 (_IO_default_read): Likewise.
17302 (_IO_default_write): Likewise.
17303 (_IO_default_showmanyc): Likewise.
17304 (_IO_default_imbue): Likewise.
17305 (_IO_iter_next): Likewise.
17306 (_IO_iter_file): Likewise.
17307 * libio/getc.c (_IO_getc): Likewise.
17308 * libio/getwc.c (_IO_getwc): Likewise.
17309 * libio/iofclose.c (_IO_new_fclose): Likewise.
17310 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17311 * libio/iofflush.c (_IO_fflush): Likewise.
17312 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17313 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17314 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17315 * libio/iofgets.c (_IO_fgets): Likewise.
17316 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17317 * libio/iofgetws.c (fgetws): Likewise.
17318 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17319 * libio/iofopen64.c (_IO_fopen64): Likewise.
17320 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17321 (_IO_cookie_write): Likewise.
17322 (_IO_cookie_seek): Likewise.
17323 (_IO_cookie_close): Likewise.
17324 (_IO_cookie_seekoff): Likewise.
17325 (_IO_old_cookie_seek): Likewise.
17326 * libio/iofputs.c (_IO_fputs): Likewise.
17327 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17328 * libio/iofputws.c (fputws): Likewise.
17329 * libio/iofputws_u.c (fputws_unlocked): Likewise.
17330 * libio/iofread.c (_IO_fread): Likewise.
17331 * libio/iofread_u.c (__fread_unlocked): Likewise.
17332 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17333 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17334 * libio/ioftell.c (_IO_ftell): Likewise.
17335 * libio/iofwrite.c (_IO_fwrite): Likewise.
17336 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17337 * libio/iogets.c (_IO_gets): Likewise.
17338 * libio/iopadn.c (_IO_padn): Likewise.
17339 * libio/iopopen.c (_IO_new_proc_open): Likewise.
17340 (_IO_new_popen): Likewise.
17341 (_IO_new_proc_close): Likewise.
17342 * libio/ioputs.c (_IO_puts): Likewise.
17343 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17344 (_IO_seekoff): Likewise.
17345 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17346 (_IO_seekpos): Likewise.
17347 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17348 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17349 * libio/ioungetc.c (_IO_ungetc): Likewise.
17350 * libio/ioungetwc.c (ungetwc): Likewise.
17351 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17352 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17353 * libio/iowpadn.c (_IO_wpadn): Likewise.
17354 * libio/libc_fatal.c (__libc_fatal): Likewise.
17355 * libio/memstream.c (__open_memstream): Likewise.
17356 (_IO_mem_sync): Likewise.
17357 (_IO_mem_finish): Likewise.
17358 * libio/oldfileops.c (_IO_old_file_init): Likewise.
17359 (_IO_old_file_close_it): Likewise.
17360 (_IO_old_file_finish): Likewise.
17361 (_IO_old_file_fopen): Likewise.
17362 (_IO_old_file_attach): Likewise.
17363 (_IO_old_file_setbuf): Likewise.
17364 (_IO_old_do_write): Likewise.
17365 (old_do_write): Likewise.
17366 (_IO_old_file_underflow): Likewise.
17367 (_IO_old_file_overflow): Likewise.
17368 (_IO_old_file_sync): Likewise.
17369 (_IO_old_file_seekoff): Likewise.
17370 (_IO_old_file_write): Likewise.
17371 (_IO_old_file_xsputn): Likewise.
17372 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17373 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17374 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17375 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17376 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17377 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17378 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17379 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17380 (_IO_old_popen): Likewise.
17381 (_IO_old_proc_close): Likewise.
17382 * libio/oldpclose.c (__old_pclose): Likewise.
17383 * libio/pclose.c (__new_pclose): Likewise.
17384 * libio/peekc.c (_IO_peekc_locked): Likewise.
17385 * libio/putc.c (_IO_putc): Likewise.
17386 * libio/putc_u.c (putc_unlocked): Likewise.
17387 * libio/putchar.c (putchar): Likewise.
17388 * libio/putchar_u.c (putchar_unlocked): Likewise.
17389 * libio/putwc.c (putwc): Likewise.
17390 * libio/putwc_u.c (putwc_unlocked): Likewise.
17391 * libio/putwchar.c (putwchar): Likewise.
17392 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17393 * libio/rewind.c (rewind): Likewise.
17394 * libio/setbuf.c (setbuf): Likewise.
17395 * libio/setlinebuf.c (setlinebuf): Likewise.
17396 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17397 * libio/vscanf.c (_IO_vscanf): Likewise.
17398 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17399 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17400 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17401 * libio/wgenops.c (_IO_least_wmarker): Likewise.
17402 (_IO_switch_to_main_wget_area): Likewise.
17403 (_IO_switch_to_wbackup_area): Likewise.
17404 (_IO_wsetb): Likewise.
17405 (_IO_wdefault_pbackfail): Likewise.
17406 (_IO_wdefault_finish): Likewise.
17407 (_IO_wdefault_uflow): Likewise.
17408 (__woverflow): Likewise.
17409 (__wuflow): Likewise.
17410 (__wunderflow): Likewise.
17411 (_IO_wdefault_xsputn): Likewise.
17412 (_IO_wdefault_xsgetn): Likewise.
17413 (_IO_wdoallocbuf): Likewise.
17414 (_IO_wdefault_doallocate): Likewise.
17415 (_IO_switch_to_wget_mode): Likewise.
17416 (_IO_free_wbackup_area): Likewise.
17417 (_IO_switch_to_wput_mode): Likewise.
17418 (_IO_sputbackwc): Likewise.
17419 (_IO_sungetwc): Likewise.
17420 (_IO_adjust_wcolumn): Likewise.
17421 (_IO_init_wmarker): Likewise.
17422 (_IO_wmarker_delta): Likewise.
17423 (_IO_seekwmark): Likewise.
17424 (_IO_unsave_wmarkers): Likewise.
17425 * libio/wmemstream.c (open_wmemstream): Likewise.
17426 (_IO_wmem_sync): Likewise.
17427 (_IO_wmem_finish): Likewise.
17428 * locale/nl_langinfo.c (nl_langinfo): Likewise.
17429 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17430 * locale/programs/simple-hash.c (init_hash): Likewise.
17431 (delete_hash): Likewise.
17432 (insert_entry): Likewise.
17433 (set_entry): Likewise.
17434 (next_prime): Likewise.
17435 (is_prime): Likewise.
17436 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17437 (xmalloc): Likewise.
17438 (xrealloc): Likewise.
17439 * locale/programs/xstrdup.c (xstrdup): Likewise.
17440 * localedata/collate-test.c (xstrcoll): Likewise.
17441 * localedata/xfrm-test.c (xstrcmp): Likewise.
17442 * login/getlogin_r.c (__getlogin_r): Likewise.
17443 * login/getpt.c (__posix_openpt): Likewise.
17444 * login/login_tty.c (login_tty): Likewise.
17445 * login/setlogin.c (setlogin): Likewise.
17446 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
17447 (mach_msg_destroy_port): Likewise.
17448 (mach_msg_destroy_memory): Likewise.
17449 * malloc/mcheck.c (flood): Likewise.
17450 * misc/acct.c (acct): Likewise.
17451 * misc/brk.c (__brk): Likewise.
17452 * misc/chflags.c (chflags): Likewise.
17453 * misc/chroot.c (chroot): Likewise.
17454 * misc/fchflags.c (fchflags): Likewise.
17455 * misc/fstab.c (getfsspec): Likewise.
17456 (getfsfile): Likewise.
17457 * misc/fsync.c (fsync): Likewise.
17458 * misc/ftruncate.c (__ftruncate): Likewise.
17459 * misc/ftruncate64.c (__ftruncate64): Likewise.
17460 * misc/getdomain.c (getdomainname): Likewise.
17461 (getdomainname): Likewise.
17462 * misc/gethostname.c (__gethostname): Likewise.
17463 * misc/getpass.c (getpass): Likewise.
17464 * misc/getttyent.c (skip): Likewise.
17465 (value): Likewise.
17466 * misc/gtty.c (gtty): Likewise.
17467 * misc/hsearch.c (hsearch): Likewise.
17468 (hcreate): Likewise.
17469 * misc/hsearch_r.c (__hcreate_r): Likewise.
17470 (__hdestroy_r): Likewise.
17471 * misc/ioctl.c (__ioctl): Likewise.
17472 * misc/mkdtemp.c (mkdtemp): Likewise.
17473 * misc/mkostemp.c (mkostemp): Likewise.
17474 * misc/mkostemp64.c (mkostemp64): Likewise.
17475 * misc/mkostemps.c (mkostemps): Likewise.
17476 * misc/mkostemps64.c (mkostemps64): Likewise.
17477 * misc/mkstemp.c (mkstemp): Likewise.
17478 * misc/mkstemp64.c (mkstemp64): Likewise.
17479 * misc/mkstemps.c (mkstemps): Likewise.
17480 * misc/mkstemps64.c (mkstemps64): Likewise.
17481 * misc/mktemp.c (__mktemp): Likewise.
17482 * misc/preadv.c (preadv): Likewise.
17483 * misc/preadv64.c (preadv64): Likewise.
17484 * misc/pwritev.c (pwritev): Likewise.
17485 * misc/pwritev64.c (pwritev64): Likewise.
17486 * misc/readv.c (__readv): Likewise.
17487 * misc/revoke.c (revoke): Likewise.
17488 * misc/setdomain.c (setdomainname): Likewise.
17489 * misc/setegid.c (setegid): Likewise.
17490 * misc/seteuid.c (seteuid): Likewise.
17491 * misc/sethostid.c (sethostid): Likewise.
17492 * misc/sethostname.c (sethostname): Likewise.
17493 * misc/setregid.c (__setregid): Likewise.
17494 * misc/setreuid.c (__setreuid): Likewise.
17495 * misc/sstk.c (sstk): Likewise.
17496 * misc/stty.c (stty): Likewise.
17497 * misc/syscall.c (syscall): Likewise.
17498 * misc/syslog.c (setlogmask): Likewise.
17499 * misc/truncate.c (__truncate): Likewise.
17500 * misc/truncate64.c (truncate64): Likewise.
17501 * misc/ualarm.c (ualarm): Likewise.
17502 * misc/usleep.c (usleep): Likewise.
17503 * misc/ustat.c (ustat): Likewise.
17504 * misc/writev.c (__writev): Likewise.
17505 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
17506 * nptl/old_pthread_cond_broadcast.c
17507 (__pthread_cond_broadcast_2_0): Likewise.
17508 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
17509 Likewise.
17510 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
17511 Likewise.
17512 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
17513 Likewise.
17514 * nptl/pt-raise.c (raise): Likewise.
17515 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
17516 Likewise.
17517 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
17518 * nptl/pthread_barrierattr_destroy.c
17519 (pthread_barrierattr_destroy): Likewise.
17520 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
17521 Likewise.
17522 * nptl/pthread_barrierattr_setpshared.c
17523 (pthread_barrierattr_setpshared): Likewise.
17524 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17525 Likewise.
17526 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
17527 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
17528 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
17529 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
17530 Likewise.
17531 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
17532 Likewise.
17533 * nptl/pthread_condattr_getpshared.c
17534 (pthread_condattr_getpshared): Likewise.
17535 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
17536 Likewise.
17537 * nptl/pthread_condattr_setpshared.c
17538 (pthread_condattr_setpshared): Likewise.
17539 * nptl/pthread_detach.c (pthread_detach): Likewise.
17540 * nptl/pthread_equal.c (__pthread_equal): Likewise.
17541 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
17542 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
17543 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
17544 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
17545 Likewise.
17546 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
17547 Likewise.
17548 * nptl/pthread_mutex_getprioceiling.c
17549 (pthread_mutex_getprioceiling): Likewise.
17550 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
17551 Likewise.
17552 * nptl/pthread_mutexattr_getprotocol.c
17553 (pthread_mutexattr_getprotocol): Likewise.
17554 * nptl/pthread_mutexattr_getpshared.c
17555 (pthread_mutexattr_getpshared): Likewise.
17556 * nptl/pthread_mutexattr_getrobust.c
17557 (pthread_mutexattr_getrobust): Likewise.
17558 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17559 Likewise.
17560 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
17561 Likewise.
17562 * nptl/pthread_mutexattr_setprioceiling.c
17563 (pthread_mutexattr_setprioceiling): Likewise.
17564 * nptl/pthread_mutexattr_setprotocol.c
17565 (pthread_mutexattr_setprotocol): Likewise.
17566 * nptl/pthread_mutexattr_setpshared.c
17567 (pthread_mutexattr_setpshared): Likewise.
17568 * nptl/pthread_mutexattr_setrobust.c
17569 (pthread_mutexattr_setrobust): Likewise.
17570 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
17571 Likewise.
17572 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
17573 Likewise.
17574 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
17575 Likewise.
17576 * nptl/pthread_rwlockattr_getkind_np.c
17577 (pthread_rwlockattr_getkind_np): Likewise.
17578 * nptl/pthread_rwlockattr_getpshared.c
17579 (pthread_rwlockattr_getpshared): Likewise.
17580 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
17581 Likewise.
17582 * nptl/pthread_rwlockattr_setkind_np.c
17583 (pthread_rwlockattr_setkind_np): Likewise.
17584 * nptl/pthread_rwlockattr_setpshared.c
17585 (pthread_rwlockattr_setpshared): Likewise.
17586 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
17587 Likewise.
17588 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
17589 Likewise.
17590 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
17591 Likewise.
17592 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
17593 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
17594 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
17595 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
17596 * nptl/sem_close.c (sem_close): Likewise.
17597 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
17598 * nptl/sem_init.c (__old_sem_init): Likewise.
17599 * nptl/sigaction.c (__sigaction): Likewise.
17600 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17601 * posix/_exit.c (_exit): Likewise.
17602 * posix/alarm.c (alarm): Likewise.
17603 * posix/confstr.c (confstr): Likewise.
17604 * posix/fpathconf.c (__fpathconf): Likewise.
17605 * posix/getgroups.c (__getgroups): Likewise.
17606 * posix/getpgid.c (__getpgid): Likewise.
17607 * posix/group_member.c (__group_member): Likewise.
17608 * posix/pathconf.c (__pathconf): Likewise.
17609 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
17610 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
17611 * posix/setgid.c (__setgid): Likewise.
17612 * posix/setpgid.c (__setpgid): Likewise.
17613 * posix/setuid.c (__setuid): Likewise.
17614 * posix/sleep.c (__sleep): Likewise.
17615 * posix/sysconf.c (__sysconf): Likewise.
17616 * posix/times.c (__times): Likewise.
17617 * posix/uname.c (__uname): Likewise.
17618 * posix/waitid.c (__waitid): Likewise.
17619 * pwd/getpw.c (__getpw): Likewise.
17620 * resolv/base64.c (b64_pton): Likewise.
17621 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
17622 * resolv/gethnamaddr.c (Dprintf): Likewise.
17623 (gethostbyname): Likewise.
17624 (gethostbyname2): Likewise.
17625 (gethostbyaddr): Likewise.
17626 (_sethtent): Likewise.
17627 (_gethtbyname): Likewise.
17628 (_gethtbyname2): Likewise.
17629 (_gethtbyaddr): Likewise.
17630 (map_v4v6_address): Likewise.
17631 (map_v4v6_hostent): Likewise.
17632 (addrsort): Likewise.
17633 (ht_sethostent): Likewise.
17634 (ht_gethostbyname): Likewise.
17635 (ht_gethostbyaddr): Likewise.
17636 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
17637 (inet_net_ntop_ipv4): Likewise.
17638 * resolv/inet_neta.c (inet_neta): Likewise.
17639 * resolv/inet_ntop.c (inet_ntop): Likewise.
17640 (inet_ntop4): Likewise.
17641 (inet_ntop6): Likewise.
17642 * resolv/inet_pton.c (__inet_pton): Likewise.
17643 (inet_pton4): Likewise.
17644 (inet_pton6): Likewise.
17645 * resolv/res_debug.c (loc_aton): Likewise.
17646 (loc_ntoa): Likewise.
17647 * resource/getpriority.c (__getpriority): Likewise.
17648 * resource/getrusage.c (__getrusage): Likewise.
17649 * resource/nice.c (nice): Likewise.
17650 * resource/setpriority.c (__setpriority): Likewise.
17651 * resource/setrlimit64.c (setrlimit64): Likewise.
17652 * resource/vlimit.c (vlimit): Likewise.
17653 * resource/vtimes.c (vtimes): Likewise.
17654 * rt/aio_error.c (aio_error): Likewise.
17655 * rt/aio_return.c (aio_return): Likewise.
17656 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
17657 * signal/kill.c (__kill): Likewise.
17658 * signal/killpg.c (killpg): Likewise.
17659 * signal/raise.c (raise): Likewise.
17660 * signal/sigaction.c (__sigaction): Likewise.
17661 * signal/sigaddset.c (sigaddset): Likewise.
17662 * signal/sigaltstack.c (sigaltstack): Likewise.
17663 * signal/sigandset.c (sigandset): Likewise.
17664 * signal/sigblock.c (__sigblock): Likewise.
17665 * signal/sigdelset.c (sigdelset): Likewise.
17666 * signal/sigempty.c (sigemptyset): Likewise.
17667 * signal/sigfillset.c (sigfillset): Likewise.
17668 * signal/sighold.c (sighold): Likewise.
17669 * signal/sigignore.c (sigignore): Likewise.
17670 * signal/sigintr.c (siginterrupt): Likewise.
17671 * signal/sigisempty.c (sigisemptyset): Likewise.
17672 * signal/sigismem.c (sigismember): Likewise.
17673 * signal/signal.c (signal): Likewise.
17674 * signal/sigorset.c (sigorset): Likewise.
17675 * signal/sigpause.c (__sigpause): Likewise.
17676 * signal/sigpending.c (sigpending): Likewise.
17677 * signal/sigprocmask.c (__sigprocmask): Likewise.
17678 * signal/sigrelse.c (sigrelse): Likewise.
17679 * signal/sigreturn.c (__sigreturn): Likewise.
17680 * signal/sigset.c (sigset): Likewise.
17681 * signal/sigsetmask.c (__sigsetmask): Likewise.
17682 * signal/sigstack.c (sigstack): Likewise.
17683 * signal/sigsuspend.c (__sigsuspend): Likewise.
17684 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
17685 * signal/sysv_signal.c (__sysv_signal): Likewise.
17686 * socket/accept.c (accept): Likewise.
17687 * socket/accept4.c (__libc_accept4): Likewise.
17688 * socket/bind.c (__bind): Likewise.
17689 * socket/connect.c (__connect): Likewise.
17690 * socket/getpeername.c (getpeername): Likewise.
17691 * socket/getsockname.c (__getsockname): Likewise.
17692 * socket/getsockopt.c (getsockopt): Likewise.
17693 * socket/listen.c (__listen): Likewise.
17694 * socket/recv.c (__recv): Likewise.
17695 * socket/recvmsg.c (__recvmsg): Likewise.
17696 * socket/send.c (__send): Likewise.
17697 * socket/sendmsg.c (__sendmsg): Likewise.
17698 * socket/shutdown.c (shutdown): Likewise.
17699 * socket/sockatmark.c (sockatmark): Likewise.
17700 * socket/socket.c (__socket): Likewise.
17701 * stdio-common/ctermid.c (ctermid): Likewise.
17702 * stdio-common/cuserid.c (cuserid): Likewise.
17703 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
17704 * stdio-common/remove.c (remove): Likewise.
17705 * stdio-common/rename.c (rename): Likewise.
17706 * stdio-common/renameat.c (renameat): Likewise.
17707 * stdio-common/tempname.c (__gen_tempname): Likewise.
17708 * stdio-common/xbug.c (InitBuffer): Likewise.
17709 (AppendToBuffer): Likewise.
17710 (ReadFile): Likewise.
17711 * stdlib/a64l.c (a64l): Likewise.
17712 * stdlib/drand48_r.c (drand48_r): Likewise.
17713 * stdlib/getcontext.c (getcontext): Likewise.
17714 * stdlib/getenv.c (getenv): Likewise.
17715 * stdlib/l64a.c (l64a): Likewise.
17716 * stdlib/llabs.c (llabs): Likewise.
17717 * stdlib/lldiv.c (lldiv): Likewise.
17718 * stdlib/lrand48_r.c (lrand48_r): Likewise.
17719 * stdlib/mrand48_r.c (mrand48_r): Likewise.
17720 * stdlib/putenv.c (putenv): Likewise.
17721 * stdlib/random.c (__srandom): Likewise.
17722 (__initstate): Likewise.
17723 (__setstate): Likewise.
17724 * stdlib/random_r.c (__srandom_r): Likewise.
17725 (__setstate_r): Likewise.
17726 (__random_r): Likewise.
17727 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
17728 * stdlib/setcontext.c (setcontext): Likewise.
17729 * stdlib/setenv.c (setenv): Likewise.
17730 (unsetenv): Likewise.
17731 * stdlib/srand48.c (srand48): Likewise.
17732 * stdlib/srand48_r.c (__srand48_r): Likewise.
17733 * stdlib/swapcontext.c (swapcontext): Likewise.
17734 * stdlib/system.c (__libc_system): Likewise.
17735 * stdlib/tst-strtod.c (expand): Likewise.
17736 * stdlib/tst-strtol.c (expand): Likewise.
17737 * stdlib/tst-strtoll.c (expand): Likewise.
17738 * streams/fattach.c (fattach): Likewise.
17739 * streams/fdetach.c (fdetach): Likewise.
17740 * streams/getmsg.c (getmsg): Likewise.
17741 * streams/isastream.c (isastream): Likewise.
17742 * string/ffs.c (__ffs): Likewise.
17743 * string/ffsll.c (ffsll): Likewise.
17744 * string/memcmp.c (memcmp_common_alignment): Likewise.
17745 (memcmp_not_common_alignment): Likewise.
17746 (MEMCMP): Likewise.
17747 * string/memcpy.c (memcpy): Likewise.
17748 * string/memmove.c (MEMMOVE): Likewise.
17749 * string/memset.c (memset): Likewise.
17750 * string/rawmemchr.c (RAWMEMCHR): Likewise.
17751 * string/strchrnul.c (STRCHRNUL): Likewise.
17752 * string/strerror.c (strerror): Likewise.
17753 * string/strndup.c (__strndup): Likewise.
17754 * string/strverscmp.c (__strverscmp): Likewise.
17755 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
17756 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
17757 (clnttcp_freeres): Likewise.
17758 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
17759 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
17760 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
17761 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
17762 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
17763 (xdr_callhdr): Likewise.
17764 * sunrpc/rpcinfo.c (udpping): Likewise.
17765 (tcpping): Likewise.
17766 (pstatus): Likewise.
17767 (pmapdump): Likewise.
17768 (brdcst): Likewise.
17769 (deletereg): Likewise.
17770 (getprognum): Likewise.
17771 (getvers): Likewise.
17772 (get_inet_address): Likewise.
17773 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
17774 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17775 (svcudp_stat): Likewise.
17776 (svcudp_recv): Likewise.
17777 (svcudp_reply): Likewise.
17778 (svcudp_getargs): Likewise.
17779 (svcudp_freeargs): Likewise.
17780 (svcudp_destroy): Likewise.
17781 * sunrpc/xdr.c (xdr_bytes): Likewise.
17782 (xdr_netobj): Likewise.
17783 (xdr_string): Likewise.
17784 (xdr_wrapstring): Likewise.
17785 * sunrpc/xdr_float.c (xdr_float): Likewise.
17786 (xdr_double): Likewise.
17787 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
17788 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
17789 * sysvipc/ftok.c (ftok): Likewise.
17790 * sysvipc/msgctl.c (msgctl): Likewise.
17791 * sysvipc/msgget.c (msgget): Likewise.
17792 * sysvipc/msgrcv.c (msgrcv): Likewise.
17793 * sysvipc/msgsnd.c (msgsnd): Likewise.
17794 * sysvipc/semget.c (semget): Likewise.
17795 * sysvipc/semop.c (semop): Likewise.
17796 * sysvipc/shmat.c (shmat): Likewise.
17797 * sysvipc/shmctl.c (shmctl): Likewise.
17798 * sysvipc/shmdt.c (shmdt): Likewise.
17799 * sysvipc/shmget.c (shmget): Likewise.
17800 * termios/cfmakeraw.c (cfmakeraw): Likewise.
17801 * termios/speed.c (cfgetospeed): Likewise.
17802 (cfgetispeed): Likewise.
17803 (cfsetospeed): Likewise.
17804 (cfsetispeed): Likewise.
17805 * termios/tcflow.c (tcflow): Likewise.
17806 * termios/tcflush.c (tcflush): Likewise.
17807 * termios/tcgetattr.c (__tcgetattr): Likewise.
17808 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
17809 * termios/tcgetsid.c (tcgetsid): Likewise.
17810 * termios/tcsendbrk.c (tcsendbreak): Likewise.
17811 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
17812 * time/adjtime.c (__adjtime): Likewise.
17813 * time/dysize.c (dysize): Likewise.
17814 * time/ftime.c (ftime): Likewise.
17815 * time/getitimer.c (__getitimer): Likewise.
17816 * time/gettimeofday.c (__gettimeofday): Likewise.
17817 * time/gmtime.c (__gmtime_r): Likewise.
17818 (gmtime): Likewise.
17819 * time/localtime.c (__localtime_r): Likewise.
17820 (localtime): Likewise.
17821 * time/offtime.c (__offtime): Likewise.
17822 * time/settimeofday.c (__settimeofday): Likewise.
17823 * time/stime.c (stime): Likewise.
17824 * time/strftime_l.c (tm_diff): Likewise.
17825 (iso_week_days): Likewise.
17826 * time/strptime.c (strptime): Likewise.
17827 * time/time.c (time): Likewise.
17828 * time/timespec_get.c (timespec_get): Likewise.
17829 * time/tzset.c (tzset_internal): Likewise.
17830 (compute_change): Likewise.
17831 (__tz_compute): Likewise.
17832 * wcsmbs/btowc.c (__btowc): Likewise.
17833 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
17834 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
17835 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
17836 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
17837 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
17838 * wcsmbs/wcscat.c (__wcscat): Likewise.
17839 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17840 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
17841 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
17842 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17843 * wcsmbs/wcsdup.c (wcsdup): Likewise.
17844 * wcsmbs/wcslen.c (__wcslen): Likewise.
17845 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
17846 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
17847 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
17848 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
17849 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17850 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
17851 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17852 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17853 * wcsmbs/wcstok.c (wcstok): Likewise.
17854 * wcsmbs/wctob.c (wctob): Likewise.
17855 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
17856 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17857 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
17858 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
17859 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
17860 * wcsmbs/wmemset.c (__wmemset): Likewise.
17861 * wctype/wcfuncs.c (__towlower): Likewise.
17862 (__towupper): Likewise.
17863
17864 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
17865 (lll_unlock_elision): Add adapt_count parameter.
17866
17867 2015-10-15 Joseph Myers <joseph@codesourcery.com>
17868
17869 * sysdeps/nptl/configure.ac: Do not give errors based on the
17870 results of top-level configure tests.
17871 * sysdeps/nptl/configure: Regenerated.
17872
17873 * configure.ac (libc_cv_Bgroup): Remove configure test.
17874 * configure: Regenerated.
17875 * config.make.in (have-Bgroup): Remove variable.
17876
17877 * configure.ac (sizeof_long_double): Remove configure test.
17878 * configure: Regenerated.
17879 * config.make.in (sizeof-long-double): Remove variable.
17880
17881 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
17882 * configure: Regenerated.
17883 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
17884 variable.
17885 (exceptions): Likewise.
17886 * sysdeps/arm/configure: Regenerated.
17887 * config.make.in (exceptions): Remove variable.
17888 * Makeconfig (uses-callbacks): Use -fexceptions instead of
17889 $(exceptions).
17890 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
17891 (CFLAGS-vdprintf_chk.c): Likewise.
17892 (CFLAGS-printf_chk.c): Likewise.
17893 (CFLAGS-fprintf_chk.c): Likewise.
17894 (CFLAGS-vprintf_chk.c): Likewise.
17895 (CFLAGS-vfprintf_chk.c): Likewise.
17896 (CFLAGS-gets_chk.c): Likewise.
17897 (CFLAGS-fgets_chk.c): Likewise.
17898 (CFLAGS-fgets_u_chk.c): Likewise.
17899 (CFLAGS-fread_chk.c): Likewise.
17900 (CFLAGS-fread_u_chk.c): Likewise.
17901 (CFLAGS-wprintf_chk.c): Likewise.
17902 (CFLAGS-fwprintf_chk.c): Likewise.
17903 (CFLAGS-vwprintf_chk.c): Likewise.
17904 (CFLAGS-vfwprintf_chk.c): Likewise.
17905 (CFLAGS-fgetws_chk.c): Likewise.
17906 (CFLAGS-fgetws_u_chk.c): Likewise.
17907 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17908 (CFLAGS-fputc.c): Likewise.
17909 (CFLAGS-fputwc.c): Likewise.
17910 (CFLAGS-freopen64.c): Likewise.
17911 (CFLAGS-freopen.c): Likewise.
17912 (CFLAGS-fseek.c): Likewise.
17913 (CFLAGS-fseeko64.c): Likewise.
17914 (CFLAGS-fseeko.c): Likewise.
17915 (CFLAGS-ftello64.c): Likewise.
17916 (CFLAGS-ftello.c): Likewise.
17917 (CFLAGS-fwide.c): Likewise.
17918 (CFLAGS-genops.c): Likewise.
17919 (CFLAGS-getc.c): Likewise.
17920 (CFLAGS-getchar.c): Likewise.
17921 (CFLAGS-getwc.c): Likewise.
17922 (CFLAGS-getwchar.c): Likewise.
17923 (CFLAGS-iofclose.c): Likewise.
17924 (CFLAGS-iofflush.c): Likewise.
17925 (CFLAGS-iofgetpos64.c): Likewise.
17926 (CFLAGS-iofgetpos.c): Likewise.
17927 (CFLAGS-iofgets.c): Likewise.
17928 (CFLAGS-iofgetws.c): Likewise.
17929 (CFLAGS-iofputs.c): Likewise.
17930 (CFLAGS-iofputws.c): Likewise.
17931 (CFLAGS-iofread.c): Likewise.
17932 (CFLAGS-iofsetpos64.c): Likewise.
17933 (CFLAGS-iofsetpos.c): Likewise.
17934 (CFLAGS-ioftell.c): Likewise.
17935 (CFLAGS-iofwrite.c): Likewise.
17936 (CFLAGS-iogetdelim.c): Likewise.
17937 (CFLAGS-iogetline.c): Likewise.
17938 (CFLAGS-iogets.c): Likewise.
17939 (CFLAGS-iogetwline.c): Likewise.
17940 (CFLAGS-ioputs.c): Likewise.
17941 (CFLAGS-ioseekoff.c): Likewise.
17942 (CFLAGS-ioseekpos.c): Likewise.
17943 (CFLAGS-iosetbuffer.c): Likewise.
17944 (CFLAGS-iosetvbuf.c): Likewise.
17945 (CFLAGS-ioungetc.c): Likewise.
17946 (CFLAGS-ioungetwc.c): Likewise.
17947 (CFLAGS-oldfileops.c): Likewise.
17948 (CFLAGS-oldiofclose.c): Likewise.
17949 (CFLAGS-oldiofgetpos64.c): Likewise.
17950 (CFLAGS-oldiofgetpos.c): Likewise.
17951 (CFLAGS-oldiofsetpos64.c): Likewise.
17952 (CFLAGS-oldiofsetpos.c): Likewise.
17953 (CFLAGS-peekc.c): Likewise.
17954 (CFLAGS-putc.c): Likewise.
17955 (CFLAGS-putchar.c): Likewise.
17956 (CFLAGS-putwc.c): Likewise.
17957 (CFLAGS-putwchar.c): Likewise.
17958 (CFLAGS-rewind.c): Likewise.
17959 (CFLAGS-wfileops.c): Likewise.
17960 (CFLAGS-wgenops.c): Likewise.
17961 (CFLAGS-oldiofopen.c): Likewise.
17962 (CFLAGS-iofopen.c): Likewise.
17963 (CFLAGS-iofopen64.c): Likewise.
17964 (CFLAGS-oldtmpfile.c): Likewise.
17965 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17966 (CFLAGS-fprintf.c): Likewise.
17967 (CFLAGS-printf.c): Likewise.
17968 (CFLAGS-vfwprintf.c): Likewise.
17969 (CFLAGS-vfscanf.c): Likewise.
17970 (CFLAGS-vfwscanf.c): Likewise.
17971 (CFLAGS-fscanf.c): Likewise.
17972 (CFLAGS-scanf.c): Likewise.
17973 (CFLAGS-isoc99_vfscanf.c): Likewise.
17974 (CFLAGS-isoc99_vscanf.c): Likewise.
17975 (CFLAGS-isoc99_fscanf.c): Likewise.
17976 (CFLAGS-isoc99_scanf.c): Likewise.
17977 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
17978 (CFLAGS-isoc99_fwscanf.c): Likewise.
17979 (CFLAGS-isoc99_vwscanf.c): Likewise.
17980 (CFLAGS-isoc99_vfwscanf.c): Likewise.
17981
17982 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
17983 after mkstemp64.
17984 * login/tst-utmp.c (do_prepare): Likewise.
17985 * rt/tst-aio.c (do_prepare): Likewise.
17986 * rt/tst-aio64.c (do_prepare): Likewise.
17987
17988 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17989
17990 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17991 (__lll_lock_elision): Remove adapt_count decrement...
17992 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17993 (__lll_trylock_elision): Likewise.
17994 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17995 (__lll_unlock_elision): ... to here. And utilize
17996 new adapt_count parameter.
17997 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17998 (__lll_unlock_elision): Update to include adapt_count
17999 parameter.
18000 (lll_unlock_elision): Pass pointer to adapt_count
18001 variable.
18002
18003 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18004
18005 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18006 Add elision adapt_count parameter to list of arguments.
18007 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18008 (lll_unlock_elision): Update with new parameter list
18009 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18010 (lll_unlock_elision): Likewise.
18011 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18012 (lll_unlock_elision): Likewise.
18013
18014 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18015
18016 [BZ #19122]
18017 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18018 attribute_hidden.
18019
18020 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18021 attribute_hidden.
18022 [IS_IN (rtld)] (__strdup): Likewise.
18023 [IS_IN (rtld)] (__strerror_r): Likewise.
18024 [IS_IN (rtld)] (__strsep_g): Likewise.
18025 [IS_IN (rtld)] (memchr): Likewise.
18026 [IS_IN (rtld)] (memcmp): Likewise.
18027 [IS_IN (rtld)] (memcpy): Likewise.
18028 [IS_IN (rtld)] (memmove): Likewise.
18029 [IS_IN (rtld)] (memset): Likewise.
18030 [IS_IN (rtld)] (rawmemchr): Likewise.
18031 [IS_IN (rtld)] (stpcpy): Likewise.
18032 [IS_IN (rtld)] (strchr): Likewise.
18033 [IS_IN (rtld)] (strcmp): Likewise.
18034 [IS_IN (rtld)] (strlen): Likewise.
18035 [IS_IN (rtld)] (strnlen): Likewise.
18036 [IS_IN (rtld)] (strsep): Likewise.
18037
18038 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18039 attribute_hidden.
18040 [IS_IN (rtld)] (__strtoul_internal): Likewise.
18041
18042 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18043 attribute_hidden.
18044 [IS_IN (rtld)] (__libc_sigaction): Likewise.
18045
18046 * include/setjmp.h (__longjmp): Add attribute_hidden.
18047 [IS_IN (rtld)] (__sigsetjmp): Likewise.
18048
18049 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18050 Add attribute_hidden.
18051
18052 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18053 [IS_IN (rtld)] (__open): Likewise.
18054 [IS_IN (rtld)] (__fcntl): Likewise.
18055
18056 * include/dirent.h (__opendirat): Add attribute_hidden.
18057 (__getdents): Likewise.
18058 (__getdents64): Likewise.
18059 (__alloc_dir): Likewise.
18060 [IS_IN (rtld)] (__closedir): Likewise.
18061 [IS_IN (rtld)] (__fdopendir): Likewise.
18062 [IS_IN (rtld)] (__readdir): Likewise.
18063 [IS_IN (rtld)] (__readdir64): Likewise.
18064 [IS_IN (rtld)] (__rewinddir): Likewise.
18065
18066 * include/dlfcn.h (_dl_catch_error): Moved to ...
18067 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18068 attribute_hidden.
18069
18070 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18071 (_itoa_word): Likewise.
18072
18073 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18074 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18075 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18076 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18077 (_dl_higher_prime_number): Likewise.
18078 (_dl_debug_printf_c): Likewise.
18079 (_dl_signal_cerror): Likewise.
18080 (_dl_receive_error): Likewise.
18081 (_dl_reloc_bad_type): Likewise.
18082 (_dl_resolve_conflicts): Likewise.
18083 (_dl_check_all_versions): Likewise.
18084 (_dl_check_map_versions): Likewise.
18085 (_dl_sort_fini): Likewise.
18086 (_dl_debug_initialize): Likewise.
18087 (_dl_init_paths): Likewise.
18088 (_dl_show_auxv): Likewise.
18089 (_dl_next_ld_env_entry): Likewise.
18090 (_dl_important_hwcaps): Likewise.
18091 (_dl_load_cache_lookup): Likewise.
18092 (_dl_update_slotinfo): Likewise.
18093 (_dl_show_scope): Likewise.
18094
18095 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18096 attribute_hidden.
18097 (_wordcopy_fwd_dest_aligned): Likewise.
18098 (_wordcopy_bwd_aligned): Likewise.
18099 (_wordcopy_bwd_dest_aligned): Likewise.
18100
18101 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18102 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18103 Likewise.
18104 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18105 Likewise.
18106 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18107
18108 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18109
18110 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18111 GCC 5 requirement.
18112
18113 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18114
18115 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18116 test.
18117 * sysdeps/i386/configure: Regenerated.
18118 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18119 code unconditional.
18120
18121 * configure.ac (libc_cv_asm_previous_directive): Remove configure
18122 test.
18123 (libc_cv_asm_popsection_directive): Likewise.
18124 * configure: Regenerated.
18125 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18126 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18127 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18128 (__make_section_unallocated): Make definition unconditional.
18129 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18130 Remove conditional definition.
18131 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18132 (__make_section_unallocated): Likewise.
18133
18134 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18135 * configure: Regenerated.
18136 * config.make.in (static-libgcc): Remove variable.
18137 * Makerules (build-shlib-helper): Use -static-libgcc instead of
18138 $(static-libgcc).
18139 (build-module-helper): Likewise.
18140
18141 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18142 * configure: Regenerated.
18143
18144 2015-10-15 Florian Weimer <fweimer@redhat.com>
18145
18146 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18147 (struct char_buffer): New type.
18148 (char_buffer_start, char_buffer_size, char_buffer_error)
18149 (char_buffer_rewind, char_buffer_add): New functions.
18150 (ADDW): Remove macro, replaced by the char_buffer_add function.
18151 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18152 of extend_alloca. Make control flow more explicit.
18153
18154 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18155
18156 [BZ #19137]
18157 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18158 Add -fomit-frame-pointer.
18159 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18160
18161 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18162
18163 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18164 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18165 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18166 only if !__GNUC_PREREQ (5,0).
18167 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18168 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18169 (INTERNAL_SYSCALL_NCS): Likewise.
18170 (LOADREGS_0): New macro for GCC 5.
18171 (ASMARGS_0): Likewise.
18172 (LOADREGS_1): Likewise.
18173 (ASMARGS_1): Likewise.
18174 (LOADREGS_2): Likewise.
18175 (ASMARGS_2): Likewise.
18176 (LOADREGS_3): Likewise.
18177 (ASMARGS_3): Likewise.
18178 (LOADREGS_4): Likewise.
18179 (ASMARGS_4): Likewise.
18180 (LOADREGS_5): Likewise.
18181 (ASMARGS_5): Likewise.
18182 (LOADREGS_6): Likewise.
18183 (ASMARGS_6): Likewise.
18184
18185 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18186
18187 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18188 -fomit-frame-pointer.
18189 (CFLAGS-mmap64.c): Likewise.
18190 (CFLAGS-semtimedop.c): Likewise.
18191 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18192 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18193 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18194 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18195
18196 2015-10-15 Florian Weimer <fweimer@redhat.com>
18197
18198 [BZ #18928]
18199 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18200 _dl_pointer_guard member.
18201 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18202 initializer.
18203 (security_init): Always set up pointer guard.
18204 (process_envvars): Do not process LD_POINTER_GUARD.
18205
18206 2015-10-14 Joseph Myers <joseph@codesourcery.com>
18207
18208 [BZ #19134]
18209 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18210 (.LC2): Likewise.
18211 (.LC3): Likewise.
18212 (__lround): Do not add 0.5 to integer or out-of-range arguments.
18213
18214 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
18215
18216 [BZ #19129]
18217 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18218 r0 and r1.
18219
18220 2015-10-14 Namhyung Kim <namhyung@gmail.com>
18221
18222 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18223
18224 2015-10-14 Carlos O'Donell <carlos@redhat.com>
18225
18226 * include/stap-probe.h: Fix macro definition formatting.
18227
18228 2015-10-14 Florian Weimer <fweimer@redhat.com>
18229
18230 [BZ #19074]
18231 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18232 load and store num_ifs.
18233
18234 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18235
18236 [BZ #18822]
18237 * sysdeps/unix/sysv/linux/sched_getaffinity.c
18238 (__sched_getaffinity_new): Add libc_hidden_proto and
18239 libc_hidden_def.
18240
18241 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18242
18243 [BZ #19007]
18244 * scripts/localplt.awk: Also allow GOT references.
18245 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18246 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18247 with "+ REL R_386_GLOB_DAT".
18248 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18249 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18250
18251 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18252
18253 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18254 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18255 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18256 Likewise.
18257 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18258 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18259 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18260 INTERNAL_SYSCALLINTERNAL_SYSCALL and
18261 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18262 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18263 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18264 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18265 Likewise.
18266 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18267
18268 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18269
18270 [BZ #19125]
18271 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18272 <math_private.h> and <stdint.h>.
18273 (__llround): Avoid conversions to and from long long int, and
18274 subtractions, where those might raise spurious exceptions.
18275 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18276 <math_private.h> and <stdint.h>.
18277 (__llroundf): Avoid conversions to and from long long int, and
18278 subtractions, where those might raise spurious exceptions.
18279
18280 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18281
18282 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18283 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18284 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18285 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18286 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18287 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18288 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18289 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18290 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18291 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18292 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18293 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18294 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18295 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18296 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18297 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18298 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18299 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18300 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18301 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18302 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18303 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18304 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18305 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18306 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18307 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18308 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18309 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18310 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18311 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18312 (__xstat64_conv): Likewise.
18313 (__xstat32_conv): Likewise.
18314
18315 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18316
18317 * sysdeps/unix/sysv/linux/sysdep.h: New file.
18318 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18319 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18320 <sysdeps/unix/sysv/linux/sysdep.h>.
18321 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18322 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18323 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18324 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18325 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18326 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18327 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18328 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18329 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18332 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18333 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18334 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18335 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18337 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18338 (sysdep-dl-routines): Add sysdep.
18339 [$(subdir) == nptl] (libpthread-routines): Likewise.
18340 [$(subdir) == rt] (librt-routines): Likewise.
18341 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18342 PIC when branching to SYSCALL_ERROR_LABEL.
18343 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18344 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18345 <sysdeps/unix/sysv/linux/sysdep.h>.
18346 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18347 (SYSCALL_ERROR_ERRNO): Removed.
18348 (SYSCALL_ERROR_HANDLER): Changed to empty.
18349 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18350 (__syscall_error): New prototype.
18351 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18352 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18353
18354 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18355
18356 [BZ #19124]
18357 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18358 (_dl_runtime_resolve_avx512): Make it a hidden alias of
18359 _dl_runtime_resolve_avx.
18360 (_dl_runtime_profile_avx512): Make it a hidden alias of
18361 _dl_runtime_profile_avx.
18362
18363 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18364
18365 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18366 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18367 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18368 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18369
18370 [BZ #16422]
18371 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18372 New configure test.
18373 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18374 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18375 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18376 <math_private.h> and <stdint.h>.
18377 (__llrint): Avoid conversions to long long int where those might
18378 raise spurious exceptions.
18379 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18380 <math_private.h> and <stdint.h>.
18381 (__llrintf): Avoid conversions to long long int where those might
18382 raise spurious exceptions.
18383
18384 2015-10-12 Andreas Schwab <schwab@suse.de>
18385
18386 [BZ #18969]
18387 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
18388 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18389 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
18390 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18391 $(gen-locales).
18392 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
18393 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18394 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18395 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18396 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18397 $(gen-locales).
18398 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
18399 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18400 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18401 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18402 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18403 ($(objpfx)tst-ftell-active-handler.out)
18404 ($(objpfx)tst-ftell-append.out)
18405 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18406 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18407 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18408 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18409 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
18410 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18411 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18412 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18413 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18414 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18415 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18416 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18417 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18418 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18419 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18420 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18421 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18422 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18423 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
18424 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18425 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18426 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18427 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18428 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
18429 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18430 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18431 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18432 $(gen-locales).
18433 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
18434 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18435 $(gen-locales).
18436 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
18437 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18438 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18439 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18440 $(gen-locales).
18441 * libio/tst_wprintf2.c (main): Use explicit locale.
18442 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
18443
18444 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18445
18446 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
18447 __msg_sig_post.
18448 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
18449
18450 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18451
18452 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18453 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18454
18455 * sysdeps/arm/libm-test-ulps: Regenerated.
18456
18457 [BZ #15470]
18458 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
18459
18460 [BZ #16399]
18461 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
18462 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
18463 and <fix-fp-int-convert-overflow.h>.
18464 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18465 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18466 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
18467 and <fix-fp-int-convert-overflow.h>.
18468 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
18469 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18470 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
18471 <fix-fp-int-convert-overflow.h>.
18472 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18473 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18474 * sysdeps/ieee754/dbl-64/s_lround.c: Include
18475 <fix-fp-int-convert-overflow.h>.
18476 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
18477 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18478 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
18479 and <fix-fp-int-convert-overflow.h>.
18480 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18481 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18482 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
18483 <limits.h> and <fix-fp-int-convert-overflow.h>.
18484 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18485 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18486 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
18487 and <fix-fp-int-convert-overflow.h>.
18488 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18489 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18490 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
18491 and <fix-fp-int-convert-overflow.h>.
18492 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18493 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18494 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
18495
18496 2015-10-09 Carlos O'Donell <carlos@redhat.com>
18497
18498 [BZ #18589]
18499 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
18500 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
18501 $(gen-locales).
18502
18503 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18504 Phil Blundell <pb@pbcl.net>
18505
18506 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
18507 * nptl/tst-cancel26.c: New file.
18508 * nptl/tst-cancel27.c: Likewise.
18509
18510 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
18511
18512 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18513 __ILP32__ isn't defined.
18514 (lrint): Likewise.
18515 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
18516 (lrintf): Likewise.
18517 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
18518 (lrintl): Likewise.
18519 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
18520 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
18521 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
18522
18523 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18524
18525 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18526 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18527
18528 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
18529 file.
18530 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
18531 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18532
18533 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18534
18535 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
18536 configure test.
18537 * sysdeps/i386/configure: Regenerated.
18538 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
18539 configure test.
18540 * sysdeps/x86_64/configure: Regenerated.
18541 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
18542 Make code unconditional.
18543
18544 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
18545 test.
18546 * sysdeps/i386/configure: Regenerated.
18547 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
18548 test.
18549 * sysdeps/x86_64/configure: Regenerated.
18550 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
18551 Make code unconditional.
18552 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18553 Likewise.
18554 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
18555 Likewise.
18556 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18557 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
18558 code unconditional.
18559 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18560 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
18561 code unconditional.
18562 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18563 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
18564 code unconditional.
18565 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
18566 code unconditional.
18567 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18568 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
18569 code unconditional.
18570 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18571 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
18572 code unconditional.
18573 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18574 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
18575 code unconditional.
18576 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18577 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
18578 code unconditional.
18579 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18580 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
18581
18582 [BZ #19095]
18583 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
18584 mantissa to long int before shifting left.
18585
18586 2015-10-08 Joseph Myers <joseph@codesourcery.com>
18587
18588 [BZ #19094]
18589 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
18590 <limits.h>.
18591 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18592 when result overflows but exception would not result from cast.
18593 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
18594 <limits.h>.
18595 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18596 when result overflows but exception would not result from cast.
18597 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
18598 <limits.h>.
18599 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18600 when result overflows but exception would not result from cast.
18601 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
18602 <limits.h>.
18603 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18604 when result overflows but exception would not result from cast.
18605 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
18606 <limits.h>.
18607 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18608 when result overflows but exception would not result from cast.
18609 * math/libm-test.inc (lrint_test_data): Add more tests.
18610 (llrint_test_data): Likewise.
18611
18612 2015-10-08 Roland McGrath <roland@hack.frob.com>
18613
18614 [BZ #18872]
18615 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
18616 Move out from under [$(run-built-tests) = yes] conditional.
18617 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
18618 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
18619
18620 2015-10-08 Carlos O'Donell <carlos@redhat.com>
18621
18622 [BZ #18589]
18623 * string/Makefile (tests): Add bug-strcoll2.
18624 (LOCALES): Add cs_CZ.UTF-8.
18625 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
18626
18627 [BZ #18589]
18628 * string/bug-strcoll2.c: New file.
18629 * locale/categories.def: Revert commit
18630 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
18631 * locale/langinfo.h: Likewise.
18632 * locale/localeinfo.h: Likewise.
18633 * locale/C-collate.c: Likewise.
18634 * locale/programs/ld-collate.c (collate_output): Likewise.
18635 * string/strcoll_l.c (STRDIFF): Likewise.
18636 (STRCOLL): Likewise.
18637 * wcsmbs/wcscoll_l.c: Likewise.
18638
18639 2015-10-08 Joseph Myers <joseph@codesourcery.com>
18640
18641 * math/libm-test.inc (lround_test_data): Do not expect the absence
18642 of "inexact" for some tests with non-integer arguments.
18643 (llround_test_data): Likewise.
18644
18645 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
18646 test.
18647 (libc_cv_cc_sse2avx): Likewise.
18648 * sysdeps/i386/configure: Regenerated.
18649 * sysdeps/i386/i686/multiarch/Makefile
18650 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
18651 [$(subdir) = math].
18652 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
18653 code unconditional.
18654 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18655 Likewise.
18656 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
18657 Likewise.
18658 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18659 Likewise.
18660 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
18661 test.
18662 (libc_cv_cc_sse2avx): Likewise.
18663 * sysdeps/x86_64/configure: Regenerated.
18664 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
18665 unconditional.
18666 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
18667 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
18668 unconditional.
18669 (_dl_runtime_profile)
18670 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
18671 conditional code.
18672 * sysdeps/x86_64/fpu/multiarch/Makefile
18673 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
18674 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18675 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18676 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18677 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18678 * sysdeps/x86_64/fpu/multiarch/e_log.c
18679 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18680 * sysdeps/x86_64/fpu/multiarch/s_atan.c
18681 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18682 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18683 Likewise.
18684 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18685 Likewise.
18686 * sysdeps/x86_64/fpu/multiarch/s_sin.c
18687 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18688 * sysdeps/x86_64/fpu/multiarch/s_tan.c
18689 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18690 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
18691 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
18692 (HAVE_SSE2AVX_SUPPORT): Likewise.
18693
18694 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
18695
18696 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
18697 instead of #pragma optimize.
18698
18699 2015-10-07 Carlos O'Donell <carlos@redhat.com>
18700
18701 [BZ #17195]
18702 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
18703 as is similarly done in systrim and _int_free already.
18704
18705 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
18706
18707 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
18708
18709 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18710
18711 [BZ #19088]
18712 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
18713 <limits.h>.
18714 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18715 overflows but exception would not result from cast.
18716 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
18717 and <limits.h>.
18718 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18719 overflows but exception would not result from cast.
18720 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
18721 <limits.h>.
18722 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18723 overflows but exception would not result from cast.
18724 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
18725 <limits.h>.
18726 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18727 overflows but exception would not result from cast.
18728 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
18729 <limits.h>.
18730 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18731 overflows but exception would not result from cast.
18732 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
18733 <limits.h>.
18734 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18735 overflows but exception would not result from cast.
18736 * math/libm-test.inc (lround_test_data): Add more tests.
18737 (llround_test_data): Likewise.
18738
18739 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
18740
18741 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
18742 (CFLAGS-ialloc.c): Ditto.
18743 (CFLAGS-scheck.c): Ditto.
18744
18745 2015-10-07 Carlos O'Donell <carlos@redhat.com>
18746
18747 [BZ #19086]
18748 * manual/filesys.texi (Storage Allocation): Fix argument order for
18749 posix_fallocate64.
18750
18751 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18752
18753 [BZ #19085]
18754 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
18755 exponent below 48 inside case for non-overflowing exponent.
18756 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18757
18758 2015-10-07 Florian Weimer <fweimer@redhat.com>
18759
18760 * iconvdata/cp737.h (from_idx): Add const.
18761 * iconvdata/cp775.h (from_idx): Likewise.
18762
18763 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18764
18765 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
18766 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18767 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
18768
18769 [BZ #19079]
18770 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
18771 file, conditioned on [!_LP64].
18772 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
18773 [!_LP64] (__lround): Do not define as function or alias.
18774 [!_LP64] (lround): Likewise.
18775 [!_LP64] (__lroundl): Likewise.
18776 [!_LP64] (lroundl): Likewise.
18777 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
18778 macro.
18779 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18780 Likewise.
18781
18782 2015-10-06 Joseph Myers <joseph@codesourcery.com>
18783
18784 * math/libm-test.inc (lrint_test_data): Add more tests.
18785 (llrint_test_data): Likewise.
18786 (lround_test_data): Likewise.
18787 (llround_test_data): Likewise.
18788
18789 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
18790 (llrint_test_data): Add tests used for lrint.
18791
18792 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
18793 test.
18794 * sysdeps/i386/configure: Regenerated.
18795 * sysdeps/i386/i686/multiarch/Makefile
18796 [$(config-cflags-sse4) = yes]: Make code unconditional.
18797 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18798 Likewise.
18799 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
18800 Likewise.
18801 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
18802 test.
18803 * sysdeps/x86_64/configure: Regenerated.
18804 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
18805 Make code unconditional.
18806 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18807 Likewise.
18808 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
18809 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
18810
18811 * scripts/rpm2dynsym.sh: Remove file.
18812
18813 2015-10-06 Florian Weimer <fweimer@redhat.com>
18814
18815 * configure.ac (libc_cv_cxx_thread_local): Define.
18816 * configure: Regenerate.
18817 * config.make.in (have-cxx-thread_local): Define.
18818 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
18819 (LDLIBS-tst-thread_local1): Define.
18820 (tests): Add tst-thread_local1.
18821 [have-cxx-thread_local != yes] (tests-unsupported): Add
18822 tst-thread_local1.
18823 * nptl/tst-thread_local1.cc: New file.
18824
18825 2015-10-06 Joseph Myers <joseph@codesourcery.com>
18826
18827 [BZ #19078]
18828 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
18829 (u_thres): Likewise.
18830 (__expl): Determine whether to call __kernel_standard_l based on
18831 value of result, not argument.
18832
18833 * math/libm-test.inc (scalb_test_data): Add more expectations for
18834 the "inexact" exception.
18835
18836 [BZ #19077]
18837 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
18838 0.0L for argument 1.0L.
18839
18840 [BZ #19076]
18841 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
18842 constant 0.0L when computing infinite result.
18843
18844 2015-10-06 Florian Weimer <fweimer@redhat.com>
18845
18846 [BZ #10432]
18847 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
18848 malloc_usable_size.
18849
18850 2015-10-06 Florian Weimer <fweimer@redhat.com>
18851
18852 [BZ #19018]
18853 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18854 Mangle function pointer before storing it.
18855 (__call_tls_dtors): Demangle function pointer before calling it.
18856
18857 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18858
18859 [BZ #19012]
18860 * iconv/gconv_db.c (gen_steps): Check for additional errors.
18861 Clean up on failure.
18862
18863 2015-10-05 Joseph Myers <joseph@codesourcery.com>
18864
18865 [BZ #19071]
18866 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
18867 long int variable to store possibly incremented high part of
18868 mantissa.
18869 * math/libm-test.inc (lround_test_data): Add tests used for
18870 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
18871 for tests requiring 64-bit long. Do not condition tests on
18872 [TEST_FLOAT] unnecessarily.
18873 (llround_test_data): Add tests used for lround. Add another
18874 expectation for the "inexact" exception. Do not condition tests
18875 on [TEST_FLOAT] unnecessarily.
18876
18877 [BZ #887]
18878 [BZ #19049]
18879 [BZ #19050]
18880 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
18881 * sysdeps/ieee754/dbl-64/e_log10.c: Include
18882 <fix-int-fp-convert-zero.h>.
18883 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18884 * sysdeps/ieee754/dbl-64/e_log2.c: Include
18885 <fix-int-fp-convert-zero.h>.
18886 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18887 * sysdeps/ieee754/dbl-64/s_erf.c: Include
18888 <fix-int-fp-convert-zero.h>.
18889 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18890 * sysdeps/ieee754/dbl-64/s_logb.c: Include
18891 <fix-int-fp-convert-zero.h>.
18892 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18893 * sysdeps/ieee754/flt-32/e_log10f.c: Include
18894 <fix-int-fp-convert-zero.h>.
18895 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18896 * sysdeps/ieee754/flt-32/e_log2f.c: Include
18897 <fix-int-fp-convert-zero.h>.
18898 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18899 * sysdeps/ieee754/flt-32/s_erff.c: Include
18900 <fix-int-fp-convert-zero.h>.
18901 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18902 * sysdeps/ieee754/flt-32/s_logbf.c: Include
18903 <fix-int-fp-convert-zero.h>.
18904 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18905 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
18906 <fix-int-fp-convert-zero.h>.
18907 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18908 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
18909 <fix-int-fp-convert-zero.h>.
18910 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18911 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
18912 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
18913 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
18914 file.
18915 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
18916
18917 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
18918
18919 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18920
18921 2015-10-02 Joseph Myers <joseph@codesourcery.com>
18922
18923 [BZ #19059]
18924 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
18925 overflowing computation.
18926 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18927 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18928 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18929 Likewise.
18930 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18931 Likewise.
18932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18933 Likewise.
18934 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18935 Likewise.
18936 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18937 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18938 Likewise.
18939 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18940 Likewise.
18941 * math/libm-test.inc (nexttoward_test_data): Add more tests.
18942
18943 * nss/rewrite_field.c (__nss_rewrite_field): Use
18944 internal_function.
18945 * nss/valid_field.c (__nss_valid_field): Likewise.
18946 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
18947
18948 2015-10-02 Florian Weimer <fweimer@redhat.com>
18949
18950 [BZ #18724]
18951 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
18952 (__nss_invalid_field_characters, __nss_valid_field)
18953 (__nss_valid_list_field, __nss_rewrite_field): Declare.
18954 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
18955 tst-field.c: New file.
18956 * nss/Makefile (routines): Add valid_field, rewrite_field.
18957 (tests-static): Define unconditionally.
18958 (tests): Include tests-static.
18959 [build-static-nss] (tests-static): Use append.
18960 [build-static-nss] (tests): Remove modification.
18961 * nss/getent.c (print_group): Call putgrent. Report error.
18962 (print_gshadow): Call putsgent. Report error.
18963 (print_passwd): Call putpwent. Report error.
18964 (print_shadow): Call putspent. Report error.
18965 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
18966 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
18967 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
18968 name, password, directory, shell fields for valid syntax. Rewrite
18969 GECOS field to match syntax.
18970 * pwd/Makefile (tests): Add tst-putpwent.
18971 * pwd/tst-putpwent.c: New file.
18972 * grp/putgrent.c (putgrent): Convert to ISO function definition.
18973 Check grName, grpasswd, gr_mem fields for valid syntax.
18974 Change loop variable i to size_t.
18975 * grp/Makefile (tests): Add tst-putgrent.
18976 * grp/tst-putgrent.c: New file.
18977 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
18978 valid syntax.
18979 * shadow/Makefile (tests): Add tst-putspent.
18980 * shadow/tst-putspent.c: New file.
18981 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
18982 sg_mem fields for valid syntax.
18983 * gshadow/Makefile (tests): Add tst-putsgent.
18984 * gshadow/tst-putsgent.c: New file.
18985
18986 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18987
18988 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
18989 assembly instructions.
18990
18991 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18992
18993 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
18994 prefix from operands.
18995
18996 2015-10-01 Joseph Myers <joseph@codesourcery.com>
18997
18998 [BZ #16347]
18999 [BZ #19046]
19000 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19001 <libc-internal.h>.
19002 (MAXLGM): Do not use diagnostic control macros.
19003 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19004 threshold for ldbl-128ibm.
19005 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19006 instead of multiplying by log then subtracting.
19007 * math/auto-libm-test-in: Add more tests of lgamma.
19008 * math/auto-libm-test-out: Regenerated.
19009
19010 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19011 (TYPE_HEX_DIG): Likewise.
19012 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19013 precisions when printing floating-point numbers.
19014 (check_float_internal): Likewise.
19015
19016 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19017
19018 [BZ #16620]
19019 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19020 of log (10) rounded downward to 48 bits.
19021 (log10_low): Use corresponding low part of log (10).
19022
19023 [BZ #19032]
19024 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19025 compute result as (x - x) / (x - x) not as 0 / 0.
19026 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19027 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19028
19029 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19030 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19031 and expm1.
19032 * math/auto-libm-test-out: Regenerated.
19033 * math/libm-test.inc (acos_test_data): Add more tests.
19034 (asin_test_data): Likewise.
19035 (asinh_test_data): Likewise.
19036 (atan_test_data): Likewise.
19037 (atanh_test_data): Likewise.
19038 (atan2_test_data): Likewise.
19039 (cbrt_test_data): Likewise.
19040 (ceil_test_data): Likewise.
19041 (copysign_test_data): Likewise.
19042 (cos_test_data): Likewise.
19043 (cosh_test_data): Likewise.
19044 (erf_test_data): Likewise.
19045 (erfc_test_data): Likewise.
19046 (exp_test_data): Likewise.
19047 (exp10_test_data): Likewise.
19048 (exp2_test_data): Likewise.
19049 (expm1_test_data): Likewise.
19050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19051
19052 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
19053
19054 [BZ #19006]
19055 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19056 to ...
19057 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19058 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19059 to ...
19060 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19061 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19062 to ...
19063 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19064 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19065 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19066 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19067 to ...
19068 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19069 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19070 Moved to ...
19071 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19072 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19073 Moved to ...
19074 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19075 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19076 to ...
19077 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19078 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19079 Moved to ...
19080 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19081 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19082 to ...
19083 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19084 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19085 Removed.
19086 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19087 Likewise.
19088 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19089 Likewise.
19090 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19091 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19092 Likewise.
19093 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19094 Likewise.
19095 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19096 Likewise.
19097 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19098 Likewise.
19099 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19100 Likewise.
19101 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19102 Likewise.
19103 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19104 Likewise.
19105 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19106 Likewise.
19107 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19108 Likewise.
19109 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19110 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19111 Likewise.
19112 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19113 Likewise.
19114 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19115 Likewise.
19116 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19117 Likewise.
19118 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19119 Likewise.
19120 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19121 Replace ../i486/pthread_cond_timedwait.S with
19122 ../pthread_cond_timedwait.S.
19123
19124 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19125
19126 * math/libm-test.inc (acos_test_data): Refine expectations for
19127 errno and "inexact" exceptions.
19128 (acosh_test_data): Likewise.
19129 (asin_test_data): Likewise.
19130 (asinh_test_data): Likewise.
19131 (atan_test_data): Likewise.
19132 (atanh_test_data): Likewise.
19133 (atan2_test_data): Likewise.
19134 (cbrt_test_data): Likewise.
19135 (ceil_test_data): Likewise.
19136 (copysign_test_data): Likewise.
19137 (cosh_test_data): Likewise.
19138 (erf_test_data): Likewise.
19139 (erfc_test_data): Likewise.
19140 (exp_test_data): Likewise.
19141 (exp10_test_data): Likewise.
19142 (exp2_test_data): Likewise.
19143 (expm1_test_data): Likewise.
19144 (fabs_test_data): Likewise.
19145 (floor_test_data): Likewise.
19146 (fma_test_data): Likewise.
19147 (fmax_test_data): Likewise.
19148 (fmin_test_data): Likewise.
19149 (fmod_test_data): Likewise.
19150 (fpclassify_test_data): Likewise.
19151 (frexp_test_data): Likewise.
19152 (hypot_test_data): Likewise.
19153 (ilogb_test_data): Likewise.
19154 (isgreater_test_data): Likewise.
19155 (isgreaterequal_test_data): Likewise.
19156 (isinf_test_data): Likewise.
19157 (isless_test_data): Likewise.
19158 (islessequal_test_data): Likewise.
19159 (islessgreater_test_data): Likewise.
19160 (isnan_test_data): Likewise.
19161 (isnormal_test_data): Likewise.
19162 (issignaling_test_data): Likewise.
19163 (isunordered_test_data): Likewise.
19164 (j0_test_data): Likewise.
19165 (j1_test_data): Likewise.
19166 (jn_test_data): Likewise.
19167 (lgamma_test_data): Likewise.
19168 (lrint_test_data): Likewise.
19169 (llrint_test_data): Likewise.
19170 (log_test_data): Likewise.
19171 (log10_test_data): Likewise.
19172 (log1p_test_data): Likewise.
19173 (log2_test_data): Likewise.
19174 (logb_test_data): Likewise.
19175 (lround_test_data): Likewise.
19176 (llround_test_data): Likewise.
19177 (modf_test_data): Likewise.
19178 (nearbyint_test_data): Likewise.
19179 (nextafter_test_data): Likewise.
19180 (nexttoward_test_data): Likewise.
19181 (pow_test_data): Likewise.
19182 (remainder_test_data): Likewise.
19183 (remquo_test_data): Likewise.
19184 (rint_test_data): Likewise.
19185 (round_test_data): Likewise.
19186 (signbit_test_data): Likewise.
19187 (sinh_test_data): Likewise.
19188 (sqrt_test_data): Likewise.
19189 (tanh_test_data): Likewise.
19190 (tgamma_test_data): Likewise.
19191 (trunc_test_data): Likewise.
19192 (y0_test_data): Likewise.
19193 (y1_test_data): Likewise.
19194 (yn_test_data): Likewise.
19195 (significand_test_data): Likewise.
19196
19197 2015-09-29 Carlos O'Donell <carlos@redhat.com>
19198
19199 * manual/filesys.texi (Storage Allocation): Document that
19200 posix_fallocate emulation fails when fd is open with O_WRONLY.
19201
19202 2015-09-28 Joseph Myers <joseph@codesourcery.com>
19203
19204 [BZ #19016]
19205 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19206 allow more cases with X^2 + Y^2 >= 0.5.
19207 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
19208 normal element in sum instead of special-casing based on values of
19209 arguments.
19210 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19211 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
19212 -1 as normal element in sum instead of special-casing based on
19213 values of arguments.
19214 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19215 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19216 (__x2y2m1): Update comment.
19217 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
19218 as normal element in sum instead of special-casing based on values
19219 of arguments.
19220 * math/s_clog.c (__clog): Handle more cases using log1p without
19221 hypot.
19222 * math/s_clog10.c (__clog10): Likewise.
19223 * math/s_clog10f.c (__clog10f): Likewise.
19224 * math/s_clog10l.c (__clog10l): Likewise.
19225 * math/s_clogf.c (__clogf): Likewise.
19226 * math/s_clogl.c (__clogl): Likewise.
19227 * math/auto-libm-test-in: Add more tests of clog and clog10.
19228 * math/auto-libm-test-out: Regenerated.
19229 * sysdeps/i386/fpu/libm-test-ulps: Update.
19230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19231
19232 2015-09-28 Martin Sebor <msebor@redhat.com>
19233
19234 [BZ #18969]
19235 * string/Makefile (LOCALES): Define.
19236 (gen-locales.mk): Include.
19237 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19238 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19239 * string/tst-strxfrm2.c (do_test): Print the name of the locale
19240 on setlocale failure.
19241
19242 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19243
19244 [BZ #18985]
19245 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19246 (__strftime_internal): Likewise.
19247 * time/tst-strftime.c (do_bz18985): New test.
19248 (do_test): Call it.
19249
19250 2015-09-26 Joseph Myers <joseph@codesourcery.com>
19251
19252 [BZ #18956]
19253 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19254 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
19255 extracting high part.
19256 * math/auto-libm-test-in: Add another test of pow.
19257 * math/auto-libm-test-out: Regenerated.
19258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19259
19260 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19261
19262 [BZ #18825]
19263 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19264 New macro.
19265 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19266 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19267 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19268 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19269 DBL_NARROW_EVAL, reloading the PIC register as needed.
19270 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19271 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19272 FLT_NARROW_EVAL. Use separate return path for case when first
19273 argument is NaN.
19274 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
19275 DEFINE_LDBL_MIN.
19276 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19277 PIC register.
19278 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19279 math_check_force_underflow_nonneg.
19280 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19281 underflow for subnormal result.
19282 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19283 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19284 math_check_force_underflow_nonneg.
19285 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19286 math_check_force_underflow.
19287 * sysdeps/x86_64/fpu/x86_64-math-asm.h
19288 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19289 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
19290 DEFINE_LDBL_MIN.
19291 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19292 * math/auto-libm-test-in: Add more tests of pow.
19293 * math/auto-libm-test-out: Regenerated.
19294
19295 2015-09-25 Florian Weimer <fweimer@redhat.com>
19296
19297 * nss/bug17079.c (init_test_items): Add diagnostic for
19298 inconsistent entries.
19299 (test_buffer_size): Skip inconsistent entries.
19300
19301 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19302
19303 [BZ #13304]
19304 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19305 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19306 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19307
19308 [BZ #13304]
19309 * sysdeps/microblaze/s_fma.c: New file.
19310 * sysdeps/microblaze/s_fmaf.c: Likewise.
19311 * sysdeps/microblaze/sfp-machine.h: Likewise.
19312
19313 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
19314
19315 [BZ #17250]
19316 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19317 member.
19318
19319 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19320
19321 [BZ #18803]
19322 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19323 (MO): New macro.
19324 (__ieee754_hypot) [PIC]: Load PIC register.
19325 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19326 DBL_NARROW_EVAL.
19327 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19328 math_check_force_underflow_nonneg in case where result might be
19329 tiny.
19330 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19331 Likewise.
19332 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19333 Likewise.
19334 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19335 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19336 * math/auto-libm-test-in: Add more tests of hypot.
19337 * math/auto-libm-test-out: Regenerated.
19338
19339 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
19340
19341 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19342
19343 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19344
19345 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19346 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19347 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19348 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19349 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19350 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19351 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19352
19353 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19354 LOAD_PIC_REG.
19355
19356 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19357 (FLT_CHECK_FORCE_UFLOW): Likewise.
19358 (DBL_CHECK_FORCE_UFLOW): Likewise.
19359 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19360 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19361 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19362 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19363 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19364 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19365 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19366 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19367 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19368 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19369 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19370 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19371 (flt_min): Replace with use of DEFINE_FLT_MIN.
19372 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19373 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19374 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19375 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19376 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19377 (flt_min): Replace with use of DEFINE_FLT_MIN.
19378 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19379 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19380 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19381 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19382 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19383 (flt_min): Replace with use of DEFINE_FLT_MIN.
19384 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19385 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19386 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19387 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19388 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19389 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19390 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19391 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19392 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19393 (__atan): Use DBL_CHECK_FORCE_UFLOW.
19394 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19395 (flt_min): Replace with use of DEFINE_FLT_MIN.
19396 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19397 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19398 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19399 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
19400 main computation.
19401 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19402 (flt_min): Replace with use of DEFINE_FLT_MIN.
19403 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
19404 main computation.
19405 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19406 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19407 (MO): New macro.
19408 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19409 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19410 (flt_min): Replace with use of DEFINE_FLT_MIN.
19411 (MO): New macro.
19412 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19413 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19414 (__log1pl): Use MO.
19415
19416 [BZ #19003]
19417 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19418 $(config-cflags-nofma).
19419
19420 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19421
19422 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19423
19424 2015-09-23 Joseph Myers <joseph@codesourcery.com>
19425
19426 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19427 (TWO127): Likewise.
19428
19429 * sysdeps/generic/math_private.h (fabs_tg): New macro.
19430 (min_of_type): Likewise.
19431 (math_check_force_underflow): Likewise.
19432 (math_check_force_underflow_nonneg): Likewise.
19433 (math_check_force_underflow_complex): Likewise.
19434 * math/e_exp2l.c (__ieee754_exp2l): Use
19435 math_check_force_underflow_nonneg.
19436 * math/k_casinh.c (__kernel_casinh): Likewise.
19437 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19438 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19439 * math/s_catan.c (__catan): Use
19440 math_check_force_underflow_complex.
19441 * math/s_catanf.c (__catanf): Likewise.
19442 * math/s_catanh.c (__catanh): Likewise.
19443 * math/s_catanhf.c (__catanhf): Likewise.
19444 * math/s_catanhl.c (__catanhl): Likewise.
19445 * math/s_catanl.c (__catanl): Likewise.
19446 * math/s_ccosh.c (__ccosh): Likewise.
19447 * math/s_ccoshf.c (__ccoshf): Likewise.
19448 * math/s_ccoshl.c (__ccoshl): Likewise.
19449 * math/s_cexp.c (__cexp): Likewise.
19450 * math/s_cexpf.c (__cexpf): Likewise.
19451 * math/s_cexpl.c (__cexpl): Likewise.
19452 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
19453 * math/s_clog10.c (__clog10): Likewise.
19454 * math/s_clog10f.c (__clog10f): Likewise.
19455 * math/s_clog10l.c (__clog10l): Likewise.
19456 * math/s_clogf.c (__clogf): Likewise.
19457 * math/s_clogl.c (__clogl): Likewise.
19458 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
19459 * math/s_csinf.c (__csinf): Likewise.
19460 * math/s_csinh.c (__csinh): Likewise.
19461 * math/s_csinhf.c (__csinhf): Likewise.
19462 * math/s_csinhl.c (__csinhl): Likewise.
19463 * math/s_csinl.c (__csinl): Likewise.
19464 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
19465 * math/s_csqrtf.c (__csqrtf): Likewise.
19466 * math/s_csqrtl.c (__csqrtl): Likewise.
19467 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
19468 * math/s_ctanf.c (__ctanf): Likewise.
19469 * math/s_ctanh.c (__ctanh): Likewise.
19470 * math/s_ctanhf.c (__ctanhf): Likewise.
19471 * math/s_ctanhl.c (__ctanhl): Likewise.
19472 * math/s_ctanl.c (__ctanl): Likewise.
19473 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
19474 instead of volatile.
19475 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
19476 math_check_force_underflow.
19477 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19478 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
19479 volatile when forcing underflow.
19480 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19481 math_check_force_underflow_nonneg.
19482 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19483 Likewise.
19484 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
19485 math_check_force_underflow.
19486 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19487 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19488 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19489 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
19490 math_check_force_underflow_nonneg.
19491 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
19492 math_check_force_underflow.
19493 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
19495 instead of volatile.
19496 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
19497 math_check_force_underflow.
19498 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19499 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19500 math_check_force_underflow_nonneg.
19501 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
19502 math_check_force_underflow.
19503 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19504 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19505 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
19506 math_check_force_underflow_nonneg.
19507 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19508 Likewise.
19509 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
19510 math_check_force_underflow.
19511 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19512 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19513 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
19514 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
19515 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19516 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
19517 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19518 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19519 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19520 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
19521 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19522 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19523 Likewise.
19524 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
19525 math_check_force_underflow_nonneg.
19526 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19527 Likewise.
19528 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
19529 math_check_force_underflow.
19530 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19531 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19532 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19533 Likewise.
19534 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19535 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
19536 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
19537 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
19538 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
19539 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
19540 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
19541 instead of volatile.
19542 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
19543 math_check_force_underflow.
19544 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19545 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
19546 math_check_force_underflow.
19547 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
19548 Likewise.
19549 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19550 Use math_check_force_underflow_nonneg.
19551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
19552 math_check_force_underflow.
19553 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19554 Likewise.
19555 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19556 Likewise.
19557 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19558 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19559 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19560 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19561 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
19562 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19563 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19564 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
19565 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
19566 math_check_force_underflow_nonneg.
19567 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
19568 math_check_force_underflow.
19569 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19570 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
19571 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
19572 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
19573 math_check_force_underflow_nonneg.
19574 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
19575 math_check_force_underflow.
19576 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
19577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
19578 instead of volatile.
19579 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
19580 math_check_force_underflow.
19581
19582 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
19583 * stdlib/strtod_l.c: Include <math_private.h>.
19584 (overflow_value): Use math_narrow_eval.
19585 (underflow_value): Likewise.
19586 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19587 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19588 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19589 (__ieee754_gamma_r): Likewise.
19590 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
19591 Likewise.
19592 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
19593 Likewise.
19594 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
19595 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
19596 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
19597 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
19598 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19599 (__ieee754_gammaf_r): Likewise.
19600 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19601 Likewise.
19602 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
19603 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
19604 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
19605 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
19606 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
19607 volatile.
19608 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
19609 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
19610 math_narrow_eval.
19611 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19612 Likewise.
19613 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19614 Likewise.
19615 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
19616 Likewise.
19617 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
19618 volatile.
19619 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
19620 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
19621 math_narrow_eval.
19622 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19623 Likewise.
19624 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19625 Likewise.
19626
19627 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
19628
19629 * nptl/Versions: Remove ignored symbols.
19630
19631 2015-09-22 Florian Weimer <fweimer@redhat.com>
19632
19633 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
19634 * nss/Makefile (tests): Update.
19635
19636 2015-09-22 Florian Weimer <fweimer@redhat.com>
19637
19638 * nss/bug18287.c: New file.
19639 * nss/Makefile (tests): Add bug18287.
19640
19641 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19642
19643 * mach/Versions (__mach_host_self_): Add symbol.
19644
19645 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19646
19647 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
19648 vm_page_size.
19649
19650 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19651
19652 Really fix sysdeps/i386/fpu/s_scalbn.S build
19653
19654 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
19655 (libc: GLIBC_2_22): Remove unused version set.
19656
19657 2015-09-18 Mike Frysinger <vapier@gentoo.org>
19658
19659 * config.make.in (enable-timezone-tools): New variable.
19660 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
19661 (enable_timezone_tools): Export to generated files.
19662 * configure: Regenerate.
19663 * INSTALL: Regenerate.
19664 * manual/install.texi (--disable-timezone-tools): Document new flag.
19665 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
19666 ifeq ($(enable-timezone-tools),yes) check.
19667
19668 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19669
19670 * timezone/Makefile: Revert previous change.
19671
19672 [BZ #18980]
19673 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
19674 (DEFINE_DBL_MIN): Likewise.
19675 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19676 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19677 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19678 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19679 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
19680 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19681 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19682 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
19683 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
19684 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19685 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19686 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
19687 (flt_min): Replace with use of DEFINE_FLT_MIN.
19688 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19689 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
19690 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19691 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19692 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
19693 (flt_min): Replace with use of DEFINE_FLT_MIN.
19694 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19695 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
19696 (flt_min): Replace with use of DEFINE_FLT_MIN.
19697 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19698 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
19699 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
19700 (__ieee754_hypot): Use DBL_NARROW_EVAL.
19701 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
19702 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
19703 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
19704 (__ieee754_pow): Use DBL_NARROW_EVAL.
19705 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
19706 (__ieee754_powf): Use FLT_NARROW_EVAL.
19707 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
19708 (__ieee754_expf_sse2): Convert double-precision result to single
19709 precision.
19710 * sysdeps/i386/fpu/libm-test-ulps: Update.
19711
19712 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19713
19714 * timezone/Makefile: Ignore unused variable errors due to private.h
19715 (time_t_min) and (time_t_max).
19716 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
19717 Likewise.
19718
19719 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19720
19721 [BZ #18981]
19722 * sysdeps/i386/fpu/i386-math-asm.h: New file.
19723 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
19724 (__ieee754_scalb): Use DBL_NARROW_EVAL.
19725 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
19726 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
19727 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
19728 (__scalbn): Use DBL_NARROW_EVAL.
19729 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
19730 (__scalbnf): Use FLT_NARROW_EVAL.
19731
19732 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19733
19734 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
19735 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
19736 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
19737 * stdio-common/printf_fp.c (___printf_fp):
19738 Use signbit to get the sign. Use isinf macro to allow inlining.
19739 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
19740 * stdio-common/printf_size.c (__printf_size): Likewise.
19741
19742 2015-09-18 Mike Frysinger <vapier@gentoo.org>
19743
19744 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
19745
19746 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19747
19748 [BZ #18980]
19749 * sysdeps/generic/math_private.h: Include <float.h>.
19750 (math_narrow_eval): New macro.
19751 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
19752 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
19753 math_narrow_eval on overflowing return value.
19754 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
19755 Likewise.
19756 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19757 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
19758 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
19759 Likewise.
19760 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19761
19762 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19763
19764 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
19765 * math/Makefile: Remove isinf_ns.c.
19766 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
19767 * math/multc3.c (__multc3): Likewise.
19768 * math/s_casin.c (__casin): Likewise.
19769 * math/s_casinf.c (__casinf): Likewise.
19770 * math/s_casinl.c (__casinl): Likewise.
19771 * math/s_cproj.c (__cproj): Likewise.
19772 * math/s_cprojf.c (__cprojf): Likewise.
19773 * math/s_cprojl.c (__cprofl): Likewise.
19774 * math/s_ctan.c (__ctan): Likewise.
19775 * math/s_ctanf.c (__ctanf): Likewise.
19776 * math/s_ctanh.c (__ctanh): Likewise.
19777 * math/s_ctanhf.c (__ctanhf): Likewise.
19778 * math/s_ctanhl.c (__ctanhl): Likewise.
19779 * math/s_ctanl.c (__ctanl): Likewise.
19780 * math/w_fmod.c (__fmod): Likewise.
19781 * math/w_fmodf.c (__fmodf): Likewise.
19782 * math/w_fmodl.c (_fmodl): Likewise.
19783 * math/w_remainder.c (__remainder): Likewise.
19784 * math/w_remainderf.c (__remainderf): Likewise.
19785 * math/w_remainderl.c (__remainderl): Likewise.
19786 * math/w_scalb.c (__scalb): Likewise.
19787 * math/w_scalbf.c (__scalbf): Likewise.
19788 * math/w_scalbl.c (__scalbl): Likewise.
19789 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
19790 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
19791 with isinf.
19792 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
19793 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
19794 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
19795 __isinf_nsf with isinf.
19796 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
19797 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
19798 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
19799 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
19800 with isinf.
19801 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
19802 __isinf_nsl with isinf.
19803 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
19804 with isinf.
19805 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
19806 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
19807 __isinf_nsl with isinf.
19808 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
19809 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
19810 with isinf.
19811
19812 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19813
19814 * resolv/base64.c (rcsid): Remove unused static.
19815 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
19816 static. (tqpi1): Likewise.
19817 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
19818 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
19819 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
19820 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
19821 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
19822 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
19823 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
19824 * timezone/private.h (time_t_min): Likewise. (time_t_max):
19825 Likewise.
19826
19827 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
19828
19829 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
19830 <nptl/pthreadP.h>.
19831 (_longjmp_unwind): Use __libc_ptf_call.
19832 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
19833
19834 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
19835
19836 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
19837 * sysdeps/arm/__longjmp.S: Likewise.
19838
19839 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19840
19841 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
19842 Use __builtin_signbit.
19843 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
19844 Use __builtin_signbitf.
19845 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
19846 Use __builtin_signbitl.
19847 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19848 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
19849
19850 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19851
19852 [BZ #15367]
19853 [BZ #17441]
19854
19855 * math/Makefile: Build test-snan.c with -fsignaling-nans.
19856 * math/math.h (fpclassify): Use __builtin_fpclassify when
19857 available. (signbit): Use __builtin_signbit(f/l).
19858 (isfinite): Use__builtin_isfinite. (isnormal): Use
19859 __builtin_isnormal. (isnan): Use __builtin_isnan.
19860 (isinf): Use __builtin_isinf_sign.
19861
19862 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19863
19864 * benchtests/Makefile: Add bench-math-inlines, link with libm.
19865 * benchtests/bench-math-inlines.c: New benchmark.
19866 * benchtests/bench-util.h: New file.
19867 * benchtests/bench-util.c: New file.
19868 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
19869
19870 2015-09-18 Carlos O'Donell <carlos@redhat.com>
19871
19872 * elf/tst-dlmopen1.c: Define TEST_SO.
19873 (do_test): Use TEST_SO.
19874
19875 * elf/dl-load.c: Include libc-internal.h.
19876 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
19877
19878 2015-09-18 Vincent Bernat <vincent@bernat.im>
19879
19880 [BZ #17887]
19881 * time/strptime_l.c (__strptime_internal): Make %z accept
19882 [+-]HH:MM time zones.
19883
19884 2015-09-18 Vincent Bernat <vincent@bernat.im>
19885
19886 [BZ #17886]
19887 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
19888 valid time zone.
19889
19890 2015-09-17 Mike Frysinger <vapier@gentoo.org>
19891
19892 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
19893 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
19894 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19895 (__ASSUME_FDATASYNC): Delete.
19896
19897 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19898
19899 * conform/linknamespace.pl: Require weak undefined symbols to be
19900 in the standard namespace.
19901 (%strong_syms): Rename to %seen_syms.
19902 (%strong_seen): Rename to %seen_where.
19903
19904 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
19905
19906 [BZ #18970]
19907 * misc/error.c (error): Replace pthread_setcancelstate with
19908 __pthread_setcancelstate.
19909 (error_at_line): Likewise.
19910 * posix/wordexp.c (parse_comm): Likewise.
19911 * stdlib/fmtmsg.c (fmtmsg): Likewise.
19912 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
19913 (__pthread_setcancelstate): This.
19914 (pthread_setcancelstate): Add an alias.
19915 * nptl/nptl-init.c (pthread_functions): Replace
19916 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
19917 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
19918 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
19919 hidden_proto.
19920 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
19921 it with hidden_def.
19922 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
19923 (pthread_setcancelstate): Renamed to ...
19924 (__pthread_setcancelstate): This.
19925 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
19926 __libc_ptf_call with __pthread_setcancelstate.
19927
19928 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19929 Andreas Schwab <schwab@suse.de>
19930
19931 [BZ #17118]
19932 * math/s_ctan.c (__ctan): Determine sign of zero real part of
19933 result when imaginary part of argument is infinite using sine and
19934 cosine.
19935 * math/s_ctanf.c (__ctanf): Likewise.
19936 * math/s_ctanl.c (__ctanl): Likewise.
19937 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
19938 of result when real part of argument is infinite using sine and
19939 cosine.
19940 * math/s_ctanhf.c (__ctanhf): Likewise.
19941 * math/s_ctanhl.c (__ctanhl): Likewise.
19942 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
19943 (ctanh_test_data): Add more tests of ctanh.
19944
19945 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19946
19947 [BZ #15384]
19948 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
19949 bit-mask as in subtraction.
19950 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
19951 Likewise.
19952 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19953 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19954 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
19955
19956 [BZ #18951]
19957 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
19958 underflow exception for small results.
19959 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19960 Likewise.
19961 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19962 Likewise.
19963 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19964 Likewise.
19965 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19966 Likewise.
19967 * math/auto-libm-test-in: Add more tests of tgamma.
19968 * math/auto-libm-test-out: Regenerated.
19969
19970 2015-09-17 Andreas Schwab <schwab@suse.de>
19971
19972 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
19973
19974 2015-09-16 Joseph Myers <joseph@codesourcery.com>
19975
19976 [BZ #18977]
19977 * math/bits/mathcalls.h
19978 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
19979 not declare.
19980 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
19981 Likewise.
19982 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
19983 Likewise.
19984 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
19985 Likewise.
19986 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
19987 Likewise.
19988 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
19989 Likewise.
19990 * conform/data/math.h-data
19991 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19992 function.
19993 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
19994 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
19995 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
19996 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
19997 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
19998 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
19999 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20000 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20001 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20002 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20003 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20004
20005 [BZ #6803]
20006 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20007 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20008 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20009 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20010 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20011 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20012 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20013 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20014 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20015 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20016 Likewise.
20017 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20018 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20019 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20020 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20021 long_double_symbol calls.
20022 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20023 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20024 strong alias of __ldexpl.
20025 (scalbnl): Define using long_double_symbol.
20026 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20027 Remove alias.
20028 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20029 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20030 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20031 (scalbln_test_data): Add more errno expectations.
20032
20033 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
20034
20035 Cache the host port like we cache the task port. This way we do not
20036 need to call the kernel just to get the port. Furthermore, we no
20037 longer increase the reference count on every invocation of
20038 `mach_host_self'.
20039
20040 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20041 Protect declarations against the macro expansion.
20042 * mach/mach_init.c (__mach_host_self_): New variable.
20043 (mach_init): Initialize `__mach_host_self_'.
20044 * mach/mach_init.h (__mach_host_self_): New declaration.
20045 (__mach_host_self, mach_host_self): New macros.
20046 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20047 Release reference.
20048
20049 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20050
20051 [BZ #4404]
20052 * po/de.po: Update from Translation Project.
20053
20054 [BZ #16415]
20055 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20056 (__expm1l): Remove code to handle positive infinity and overflow.
20057 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20058 variable.
20059 (__expm1l): Remove code to handle positive infinity and overflow.
20060
20061 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
20062 Paul Pluzhnikov <ppluzhnikov@google.com>
20063
20064 [BZ #18872]
20065 * stdio-common/Makefile (tst-printf-bz18872): New test.
20066 (tst-printf-bz18872-mem.out): Likewise.
20067 * stdio-common/tst-printf-bz18872.sh: Generate new test.
20068 * stdio-common/vfprintf.c: Fix memory leaks.
20069
20070 2015-09-16 Andreas Schwab <schwab@suse.de>
20071
20072 [BZ #17244]
20073 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20074 Remove extra va_start/va_end calls.
20075
20076 [BZ #17243]
20077 * posix/execl.c (execl): Add missing va_end.
20078 * posix/execle.c (execle): Likewise.
20079 * posix/execlp.c (execlp): Likewise.
20080
20081 2015-09-15 Roland McGrath <roland@hack.frob.com>
20082
20083 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20084 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20085
20086 2015-09-15 Joseph Myers <joseph@codesourcery.com>
20087
20088 [BZ #18967]
20089 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
20090 undefine around includes of <bits/mathcalls.h>.
20091 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20092 not declare function.
20093 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20094 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20095 (scalb): Likewise.
20096 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20097 not define macro.
20098 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20099 variable.
20100 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20101 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20102 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20103
20104 [BZ #18857]
20105 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20106 return non-finite argument without doing ordered comparisons on
20107 it.
20108
20109 [BZ #16296]
20110 * math/fenv.h (fegetround): Use __attribute_pure__.
20111 * include/fenv.h (__fegetround): Likewise.
20112
20113 [BZ #18595]
20114 * math/s_ctan.c (__ctan): Force underflow exception for results
20115 whose real or imaginary part has small absolute value.
20116 * math/s_ctanf.c (__ctanf): Likewise.
20117 * math/s_ctanh.c (__ctanh): Likewise.
20118 * math/s_ctanhf.c (__ctanhf): Likewise.
20119 * math/s_ctanhl.c (__ctanhl): Likewise.
20120 * math/s_ctanl.c (__ctanl): Likewise.
20121 * math/auto-libm-test-in: Do not allow missing underflow for ctan
20122 and ctanh. Add more tests of ctan and ctanh.
20123
20124 [BZ #15918]
20125 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20126 handling of cases where one argument is an infinity.
20127
20128 [BZ #18875]
20129 [BZ #18966]
20130 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20131 (MO): New macro.
20132 (__ieee754_exp10): For small results, force underflow exception
20133 and remove excess range and precision from return value.
20134 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20135 (MO): New macro.
20136 (__ieee754_exp10f): For small results, force underflow exception
20137 and remove excess range and precision from return value.
20138 * math/auto-libm-test-in: Add more tests of exp10.
20139 * math/auto-libm-test-out: Regenerated.
20140
20141 2015-09-14 Joseph Myers <joseph@codesourcery.com>
20142
20143 [BZ #18875]
20144 [BZ #18961]
20145 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20146 (MO): New macro.
20147 (__ieee754_exp): For small results, force underflow exception and
20148 remove excess range and precision from return value.
20149 (__exp_finite): Likewise.
20150 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20151 (MO): New macro.
20152 (__ieee754_expf): For small results, force underflow exception and
20153 remove excess range and precision from return value.
20154 (__expf_finite): Likewise.
20155 * math/auto-libm-test-in: Add more tests of exp.
20156 * math/auto-libm-test-out: Regenerated.
20157
20158 [BZ #16521]
20159 [BZ #18875]
20160 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20161 small results.
20162 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20163 (MO): New macro.
20164 (__ieee754_exp2): For small results, force underflow exception and
20165 remove excess range and precision from return value.
20166 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20167 (MO): New macro.
20168 (__ieee754_exp2f): For small results, force underflow exception
20169 and remove excess range and precision from return value.
20170 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20171 (MO): New macro.
20172 (__ieee754_exp2l): Force underflow exception for small results.
20173 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20174 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20175 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20176 (MO): New macro.
20177 (__ieee754_exp2l): Force underflow exception for small results.
20178 * math/auto-libm-test-in: Add more tests or exp2.
20179 * math/auto-libm-test-out: Regenerated.
20180
20181 2015-09-14 Carlos O'Donell <carlos@redhat.com>
20182
20183 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20184
20185 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20186 /dev/null.
20187
20188 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
20189
20190 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20191 io fs process)): Drop spurious backslash.
20192
20193 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20194
20195 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20196 Use sysinfo system call instead of parsing /proc/meminfo.
20197 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20198 Likewise.
20199
20200 2015-09-11 Mike Frysinger <vapier@gentoo.org>
20201
20202 [BZ #16985]
20203 * programs/localedef.c (main): Display argv[remaining] when
20204 output_path is NULL.
20205
20206 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20207
20208 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20209 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20210 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20211 tanh.
20212 * math/auto-libm-test-out: Regenerated.
20213 * sysdeps/i386/fpu/libm-test-ulps: Update.
20214 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20215 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20217
20218 2015-09-11 Roland McGrath <roland@hack.frob.com>
20219
20220 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20221 Use 'override' keyword to freeze the value here, preventing
20222 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20223
20224 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20225
20226 [BZ #14912]
20227 * sysdeps/aarch64/bits/atomic.h: Move to ...
20228 * sysdeps/aarch64/atomic-machine.h: ...here.
20229 (_AARCH64_BITS_ATOMIC_H): Rename macro to
20230 _AARCH64_ATOMIC_MACHINE_H.
20231 * sysdeps/alpha/bits/atomic.h: Move to ...
20232 * sysdeps/alpha/atomic-machine.h: ...here.
20233 * sysdeps/arm/bits/atomic.h: Move to ...
20234 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
20235 * bits/atomic.h: Move to ...
20236 * sysdeps/generic/atomic-machine.h: ...here.
20237 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20238 * sysdeps/i386/bits/atomic.h: Move to ...
20239 * sysdeps/i386/atomic-machine.h: ...here.
20240 * sysdeps/ia64/bits/atomic.h: Move to ...
20241 * sysdeps/ia64/atomic-machine.h: ...here.
20242 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20243 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20244 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20245 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20246 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20247 * sysdeps/microblaze/bits/atomic.h: Move to ...
20248 * sysdeps/microblaze/atomic-machine.h: ...here.
20249 * sysdeps/mips/bits/atomic.h: Move to ...
20250 * sysdeps/mips/atomic-machine.h: ...here.
20251 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20252 * sysdeps/powerpc/bits/atomic.h: Move to ...
20253 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
20254 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20255 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
20256 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
20257 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20258 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
20259 <atomic-machine.h> instead of <bits/atomic.h>.
20260 * sysdeps/s390/bits/atomic.h: Move to ...
20261 * sysdeps/s390/atomic-machine.h: ...here.
20262 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20263 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20264 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20265 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20266 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20267 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20268 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20269 * sysdeps/tile/bits/atomic.h: Move to ...
20270 * sysdeps/tile/atomic-machine.h: ...here.
20271 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20272 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
20273 <sysdeps/tile/atomic-machine.h> instead of
20274 <sysdeps/tile/bits/atomic.h>.
20275 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20276 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20277 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
20278 <sysdeps/tile/atomic-machine.h> instead of
20279 <sysdeps/tile/bits/atomic.h>.
20280 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20281 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20282 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
20283 <sysdeps/arm/atomic-machine.h> instead of
20284 <sysdeps/arm/bits/atomic.h>.
20285 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20286 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20287 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20288 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20289 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20290 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20291 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20292 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20293 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20294 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20295 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20296 * sysdeps/x86_64/bits/atomic.h: Move to ...
20297 * sysdeps/x86_64/atomic-machine.h: ...here.
20298 * include/atomic.h: Include <atomic-machine.h> instead of
20299 <bits/atomic.h>.
20300
20301 * sysdeps/mips/mips32/libm-test-ulps: Update.
20302 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20303
20304 [BZ #18952]
20305 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20306 not convert non-integer negative arguments to int to determine the
20307 value of signgam.
20308 * math/auto-libm-test-in: Add more tests of lgamma.
20309 * math/auto-libm-test-out: Regenerated.
20310
20311 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20312 cosh, csqrt, erfc, expm1 and lgamma.
20313 * math/auto-libm-test-out: Regenerated.
20314 * sysdeps/i386/fpu/libm-test-ulps: Update.
20315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20316
20317 2015-09-10 Joseph Myers <joseph@codesourcery.com>
20318
20319 [BZ #2542]
20320 [BZ #2543]
20321 [BZ #2558]
20322 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20323 __lgamma_neg for arguments from -28.0 to -2.0.
20324 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20325 __lgamma_negf for arguments from -15.0 to -2.0.
20326 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20327 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20328 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20329 Call __lgamma_negl for arguments from -33.0 to -2.0.
20330 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20331 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20332 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20333 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20334 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20335 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20336 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20337 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20338 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20339 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20340 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20341 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20342 (__lgamma_neg): Likewise.
20343 (__lgamma_negl): Likewise.
20344 (__lgamma_product): Likewise.
20345 (__lgamma_productl): Likewise.
20346 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20347 * math/auto-libm-test-in: Add more tests of lgamma.
20348 * math/auto-libm-test-out: Regenerated.
20349 * sysdeps/i386/fpu/libm-test-ulps: Update.
20350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20351
20352 2015-09-09 Justin Maggard <jmaggard@netgear.com>
20353
20354 [BZ #18675]
20355 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20356
20357 2015-09-08 Joseph Myers <joseph@codesourcery.com>
20358
20359 [BZ #14912]
20360 * bits/libc-lock.h: Move to ...
20361 * sysdeps/generic/libc-lock.h: ...here.
20362 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20363 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20364 * sysdeps/mach/hurd/libc-lock.h: ...here.
20365 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20366 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20367 * sysdeps/mach/bits/libc-lock.h: Move to ...
20368 * sysdeps/mach/libc-lock.h: ...here.
20369 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20370 * sysdeps/nptl/bits/libc-lock.h: Move to ...
20371 * sysdeps/nptl/libc-lock.h: ...here.
20372 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20373 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20374 * sysdeps/nptl/libc-lockP.h: ...here.
20375 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20376 * crypt/crypt_util.c: Include <libc-lock.h> instead of
20377 <bits/libc-lock.h>.
20378 * dirent/scandir-tail.c: Likewise.
20379 * dlfcn/dlerror.c: Likewise.
20380 * elf/dl-close.c: Likewise.
20381 * elf/dl-iteratephdr.c: Likewise.
20382 * elf/dl-lookup.c: Likewise.
20383 * elf/dl-open.c: Likewise.
20384 * elf/dl-support.c: Likewise.
20385 * elf/dl-writev.h: Likewise.
20386 * elf/rtld.c: Likewise.
20387 * grp/fgetgrent.c: Likewise.
20388 * gshadow/fgetsgent.c: Likewise.
20389 * gshadow/sgetsgent.c: Likewise.
20390 * iconv/gconv_conf.c: Likewise.
20391 * iconv/gconv_db.c: Likewise.
20392 * iconv/gconv_dl.c: Likewise.
20393 * iconv/gconv_int.h: Likewise.
20394 * iconv/gconv_trans.c: Likewise.
20395 * include/link.h: Likewise.
20396 * inet/getnameinfo.c: Likewise.
20397 * inet/getnetgrent.c: Likewise.
20398 * inet/getnetgrent_r.c: Likewise.
20399 * intl/bindtextdom.c: Likewise.
20400 * intl/dcigettext.c: Likewise.
20401 * intl/finddomain.c: Likewise.
20402 * intl/gettextP.h: Likewise.
20403 * intl/loadmsgcat.c: Likewise.
20404 * intl/localealias.c: Likewise.
20405 * intl/textdomain.c: Likewise.
20406 * libidn/idn-stub.c: Likewise.
20407 * libio/libioP.h: Likewise.
20408 * locale/duplocale.c: Likewise.
20409 * locale/freelocale.c: Likewise.
20410 * locale/newlocale.c: Likewise.
20411 * locale/setlocale.c: Likewise.
20412 * login/getutent_r.c: Likewise.
20413 * login/getutid_r.c: Likewise.
20414 * login/getutline_r.c: Likewise.
20415 * login/utmp-private.h: Likewise.
20416 * login/utmpname.c: Likewise.
20417 * malloc/mtrace.c: Likewise.
20418 * misc/efgcvt.c: Likewise.
20419 * misc/error.c: Likewise.
20420 * misc/fstab.c: Likewise.
20421 * misc/getpass.c: Likewise.
20422 * misc/mntent.c: Likewise.
20423 * misc/syslog.c: Likewise.
20424 * nis/nis_call.c: Likewise.
20425 * nis/nis_callback.c: Likewise.
20426 * nis/nss-default.c: Likewise.
20427 * nis/nss_compat/compat-grp.c: Likewise.
20428 * nis/nss_compat/compat-initgroups.c: Likewise.
20429 * nis/nss_compat/compat-pwd.c: Likewise.
20430 * nis/nss_compat/compat-spwd.c: Likewise.
20431 * nis/nss_nis/nis-alias.c: Likewise.
20432 * nis/nss_nis/nis-ethers.c: Likewise.
20433 * nis/nss_nis/nis-grp.c: Likewise.
20434 * nis/nss_nis/nis-hosts.c: Likewise.
20435 * nis/nss_nis/nis-network.c: Likewise.
20436 * nis/nss_nis/nis-proto.c: Likewise.
20437 * nis/nss_nis/nis-pwd.c: Likewise.
20438 * nis/nss_nis/nis-rpc.c: Likewise.
20439 * nis/nss_nis/nis-service.c: Likewise.
20440 * nis/nss_nis/nis-spwd.c: Likewise.
20441 * nis/nss_nisplus/nisplus-alias.c: Likewise.
20442 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
20443 * nis/nss_nisplus/nisplus-grp.c: Likewise.
20444 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
20445 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
20446 * nis/nss_nisplus/nisplus-network.c: Likewise.
20447 * nis/nss_nisplus/nisplus-proto.c: Likewise.
20448 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
20449 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
20450 * nis/nss_nisplus/nisplus-service.c: Likewise.
20451 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
20452 * nis/ypclnt.c: Likewise.
20453 * nptl/libc_pthread_init.c: Likewise.
20454 * nss/getXXbyYY.c: Likewise.
20455 * nss/getXXent.c: Likewise.
20456 * nss/getXXent_r.c: Likewise.
20457 * nss/nss_db/db-XXX.c: Likewise.
20458 * nss/nss_db/db-netgrp.c: Likewise.
20459 * nss/nss_db/nss_db.h: Likewise.
20460 * nss/nss_files/files-XXX.c: Likewise.
20461 * nss/nss_files/files-alias.c: Likewise.
20462 * nss/nsswitch.c: Likewise.
20463 * posix/regex_internal.h: Likewise.
20464 * posix/wordexp.c: Likewise.
20465 * pwd/fgetpwent.c: Likewise.
20466 * resolv/res_hconf.c: Likewise.
20467 * resolv/res_libc.c: Likewise.
20468 * shadow/fgetspent.c: Likewise.
20469 * shadow/lckpwdf.c: Likewise.
20470 * shadow/sgetspent.c: Likewise.
20471 * socket/opensock.c: Likewise.
20472 * stdio-common/reg-modifier.c: Likewise.
20473 * stdio-common/reg-printf.c: Likewise.
20474 * stdio-common/reg-type.c: Likewise.
20475 * stdio-common/vfprintf.c: Likewise.
20476 * stdio-common/vfscanf.c: Likewise.
20477 * stdlib/abort.c: Likewise.
20478 * stdlib/cxa_atexit.c: Likewise.
20479 * stdlib/fmtmsg.c: Likewise.
20480 * stdlib/random.c: Likewise.
20481 * stdlib/setenv.c: Likewise.
20482 * string/strsignal.c: Likewise.
20483 * sunrpc/auth_none.c: Likewise.
20484 * sunrpc/bindrsvprt.c: Likewise.
20485 * sunrpc/create_xid.c: Likewise.
20486 * sunrpc/key_call.c: Likewise.
20487 * sunrpc/rpc_thread.c: Likewise.
20488 * sysdeps/arm/backtrace.c: Likewise.
20489 * sysdeps/generic/ldsodefs.h: Likewise.
20490 * sysdeps/generic/stdio-lock.h: Likewise.
20491 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
20492 * sysdeps/i386/backtrace.c: Likewise.
20493 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20494 * sysdeps/m68k/backtrace.c: Likewise.
20495 * sysdeps/mach/hurd/cthreads.c: Likewise.
20496 * sysdeps/mach/hurd/dirstream.h: Likewise.
20497 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20498 * sysdeps/nptl/malloc-machine.h: Likewise.
20499 * sysdeps/nptl/stdio-lock.h: Likewise.
20500 * sysdeps/posix/dirstream.h: Likewise.
20501 * sysdeps/posix/getaddrinfo.c: Likewise.
20502 * sysdeps/posix/system.c: Likewise.
20503 * sysdeps/pthread/aio_suspend.c: Likewise.
20504 * sysdeps/s390/s390-32/backtrace.c: Likewise.
20505 * sysdeps/s390/s390-64/backtrace.c: Likewise.
20506 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20507 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20508 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
20509 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
20510 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
20511 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20512 * sysdeps/unix/sysv/linux/system.c: Likewise.
20513 * sysdeps/x86_64/backtrace.c: Likewise.
20514 * time/alt_digit.c: Likewise.
20515 * time/era.c: Likewise.
20516 * time/tzset.c: Likewise.
20517 * wcsmbs/wcsmbsload.c: Likewise.
20518 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
20519 instead of <bits/libc-lock.h> in comment.
20520
20521 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
20522
20523 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
20524 Only use .set mips2 if the current ISA is below mips2.
20525 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
20526 Likewise.
20527 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
20528 mips32r2 if the current ISA is below mips32r2.
20529 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
20530 (TLS_IE): Updated to use the TLD_RDHWR macro.
20531 (TLS_LE): Likewise.
20532 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
20533 __ASSEMBLER__ condition.
20534
20535 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20536
20537 Fix parallel build of before-compile targets.
20538
20539 * sysdeps/mach/Makefile ($(patsubst
20540 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
20541 mach-before-compile target.
20542 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20543 io fs process)): Move rule to dedicated hurd-before-compile target.
20544
20545 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20546
20547 Fix rules generating headers in hurd/ and mach/ when initial make call
20548 has subdir= explicitly set.
20549
20550 * sysdeps/mach/Makefile ($(patsubst
20551 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
20552 calling $(MAKE).
20553 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20554 io fs process)): Force subdir to hurd when calling $(MAKE).
20555 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
20556 subdir to mach when calling $(MAKE).
20557
20558 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
20559
20560 Check sysheaders when looking for Mach and Hurd headers
20561
20562 * sysdeps/mach/configure.ac: Add sysheaders check.
20563 * sysdeps/mach/configure: Regenerate.
20564 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
20565 * sysdeps/mach/hurd/configure: Regenerate.
20566
20567 2015-09-04 Roland McGrath <roland@hack.frob.com>
20568
20569 [BZ #18921]
20570 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
20571 Fix inverted sense of test of 'o_directory_works' value.
20572 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
20573 Bernhard Voelker <mail@bernhard-voelker.de>.
20574
20575 2015-09-04 Joseph Myers <joseph@codesourcery.com>
20576
20577 [BZ #14912]
20578 * bits/linkmap.h: Move to ...
20579 * sysdeps/generic/linkmap.h: ...here.
20580 * sysdeps/aarch64/bits/linkmap.h: Move to ...
20581 * sysdeps/aarch64/linkmap.h: ...here.
20582 * sysdeps/arm/bits/linkmap.h: Move to ...
20583 * sysdeps/arm/linkmap.h: ...here.
20584 * sysdeps/hppa/bits/linkmap.h: Move to ...
20585 * sysdeps/hppa/linkmap.h: ...here.
20586 * sysdeps/ia64/bits/linkmap.h: Move to ...
20587 * sysdeps/ia64/linkmap.h: ...here.
20588 * sysdeps/mips/bits/linkmap.h: Move to ...
20589 * sysdeps/mips/linkmap.h: ...here.
20590 * sysdeps/s390/bits/linkmap.h: Move to ...
20591 * sysdeps/s390/linkmap.h: ...here.
20592 * sysdeps/sh/bits/linkmap.h: Move to ...
20593 * sysdeps/sh/linkmap.h: ...here.
20594 * sysdeps/x86/bits/linkmap.h: Move to ...
20595 * sysdeps/x86/linkmap.h: ...here.
20596 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
20597
20598 2015-09-04 Andreas Schwab <schwab@suse.de>
20599
20600 [BZ #18635]
20601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
20602 (__makecontext): Terminate FDE before return label.
20603 (__novec_makecontext): Likewise.
20604
20605 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20606
20607 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
20608 first member of struct sv in syscall macro.
20609
20610 2015-09-04 Joseph Myers <joseph@codesourcery.com>
20611
20612 [BZ #14912]
20613 * bits/stdio-lock.h: Move to ...
20614 * sysdeps/generic/stdio-lock.h: ...here.
20615 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20616 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
20617 * sysdeps/nptl/stdio-lock.h: ...here.
20618 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20619 * include/libio.h: Include <stdio-lock.h> instead of
20620 <bits/stdio-lock.h>.
20621 * sysdeps/nptl/fork.c: Likewise.
20622 * sysdeps/pthread/flockfile.c: Likewise.
20623 * sysdeps/pthread/ftrylockfile.c: Likewise.
20624 * sysdeps/pthread/funlockfile.c: Likewise.
20625
20626 [BZ #14912]
20627 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
20628 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
20629 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
20630 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
20631 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
20632 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20633 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
20634
20635 2015-09-03 Roland McGrath <roland@hack.frob.com>
20636
20637 * elf/Makefile (test-xfail-tst-protected1a): New variable.
20638 (test-xfail-tst-protected1b): New variable.
20639
20640 2015-09-03 Joseph Myers <joseph@codesourcery.com>
20641
20642 [BZ #14912]
20643 * bits/libc-tsd.h: Move to ...
20644 * sysdeps/generic/libc-tsd.h: ...here.
20645 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
20646 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
20647 * sysdeps/mach/hurd/libc-tsd.h: ...here.
20648 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
20649 * include/ctype.h: Include <libc-tsd.h> instead of
20650 <bits/libc-tsd.h>.
20651 * include/rpc/rpc.h: Likewise.
20652 * locale/localeinfo.h: Likewise.
20653 * sunrpc/rpc_thread.c: Likewise.
20654 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20655 * sysdeps/nptl/malloc-machine.h: Likewise.
20656
20657 * Makefile (headers): Remove bits/libc-lock.h.
20658 * libio/Makefile (headers): Remove bits/stdio-lock.h.
20659
20660 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
20661 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
20662 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
20663 <bits/stdio-lock.h>.
20664 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
20665 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
20666
20667 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
20668
20669 [BZ #18757]
20670 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
20671 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
20672 BZ #18757.
20673
20674 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
20675
20676 * malloc/mtrace.pl: Filter out NULL entries.
20677
20678 2015-09-01 Joseph Myers <joseph@codesourcery.com>
20679
20680 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
20681 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
20682 macro.
20683
20684 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
20685 (TCP_CC_INFO): Likewise.
20686 (TCP_SAVE_SYN): Likewise.
20687 (TCP_SAVED_SYN): Likewise.
20688
20689 2015-08-31 Brett Neumeier <brett@neumeier.us>
20690
20691 [BZ #18870]
20692 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
20693
20694 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
20695
20696 [BZ #18873]
20697 Fix broken overflow check in posix_fallocate
20698 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
20699 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20700 Fix parenthesization typo.
20701
20702 2015-08-28 Mike Frysinger <vapier@gentoo.org>
20703
20704 [BZ #18887]
20705 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
20706 tst-mntent-blank-passno.
20707 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
20708 * misc/tst-mntent-blank-corrupt.c: New test.
20709 * misc/tst-mntent-blank-passno.c: New test ripped from ...
20710 * misc/tst-mntent.c (do_test): ... here.
20711
20712 2015-08-29 Mike Frysinger <vapier@gentoo.org>
20713
20714 [BZ #4404]
20715 * po/de.po: Fix SIGALRM typo.
20716
20717 2015-08-28 James Perkins <james@loowit.net>
20718
20719 * time/tst-strptime2.c (tests): Replace short list of test
20720 strings for strptime %z specifier with code which exhaustively
20721 tests every combination of sign and 0 to 5 digits. Tests for
20722 rejection of invalid strings.
20723
20724 2015-08-28 James Perkins <james@loowit.net>
20725
20726 [BZ #16141]
20727 * time/strptime_l.c (__strptime_internal): Fix %z minutes
20728 calculation, removing incorrect decimal time rounding, so that
20729 all minute values result in a valid seconds value.
20730 * time/strptime_l.c (__strptime_internal): Extend %z time zone
20731 offset range limits to UTC-99:59 through UTC+99:59 to parse
20732 current and historical use cases.
20733 * time/tst-strptime2.c (tests): Modify and add tests for the
20734 strptime %z input field descriptor, specifically conversion of
20735 minutes to seconds and validating an offset range of -9959 to
20736 +9959.
20737
20738 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20739 Dmitry V. Levin <ldv@altlinux.org>
20740
20741 [BZ #18877]
20742 * posix/Makefile (tests): Add tst-mmap-offset.
20743 * posix/tst-mmap.c: New file.
20744 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
20745 offset calculation for negative values.
20746
20747 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20748
20749 * sysdeps/i386/init-arch.h: New file.
20750 * sysdeps/i386/i586/init-arch.h: Likewise.
20751 * sysdeps/i386/i686/init-arch.h: Likewise.
20752 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
20753 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
20754 * sysdeps/x86/cpu-features.h (bit_I586): New.
20755 (bit_I686): Likewise.
20756 (bit_CX8): Likewise.
20757 (bit_CMOV): Likewise.
20758 (index_CX8): Likewise.
20759 (index_CMOV): Likewise.
20760 (index_I586): Likewise.
20761 (index_I686): Likewise.
20762 (reg_CX8): Likewise.
20763 (reg_CMOV): Likewise.
20764 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
20765 available at compile-time.
20766 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
20767 available at compile-time.
20768 * sysdeps/x86/init-arch.h (USE_I586): New macro.
20769 (USE_I686): Likewise.
20770
20771 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20772
20773 * sysdeps/i386/bcopy.S: New file.
20774 * sysdeps/i386/bzero.S: Likewise.
20775 * sysdeps/i386/memcpy.S: Likewise.
20776 * sysdeps/i386/memmove.S: Likewise.
20777 * sysdeps/i386/mempcpy.S: Likewise.
20778 * sysdeps/i386/memset.S: Likewise.
20779 * sysdeps/i386/bzero.c: Removed.
20780 * sysdeps/i386/memset.c: Likewise.
20781 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
20782 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
20783 * sysdeps/i386/i586/memset_chk.S: Likewise.
20784 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
20785 * sysdeps/i386/memcpy_chk.S: Here.
20786 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
20787 * sysdeps/i386/memmove_chk.S: Here.
20788 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
20789 * sysdeps/i386/mempcpy_chk.S: Likewise.
20790 * sysdeps/i386/i686/memset_chk.S: Moved to ...
20791 * sysdeps/i386/memset_chk.S: Likewise.
20792
20793 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
20794
20795 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
20796 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
20797 file, move DIAG_POP_NEEDS_COMMENT to end of file.
20798 * soft-fp/fmadf4.c: Ditto.
20799 * soft-fp/fmatf4.c: Ditto.
20800
20801 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20802
20803 * sysdeps/i386/i586/Implies: Removed.
20804 * sysdeps/i386/i686/Implies: Likewise.
20805
20806 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20807
20808 * sysdeps/i386/i486/strlen.S: Moved to ...
20809 * sysdeps/i386/strlen.S: Here.
20810
20811 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20812
20813 * sysdeps/i386/i486/strcat.S: Moved to ...
20814 * sysdeps/i386/strcat.S: Here.
20815
20816 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20817
20818 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
20819 * sysdeps/i386/pthread_spin_trylock.S: Here.
20820 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
20821 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
20822
20823 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20824
20825 * sysdeps/i386/i486/string-inlines.c: Moved to ...
20826 * sysdeps/i386/string-inlines.c: Here.
20827
20828 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20829
20830 * sysdeps/i386/i486/htonl.S: Moved ...
20831 * sysdeps/i386/htonl.S: here.
20832
20833 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20834
20835 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
20836 * sysdeps/i386/bits/atomic.h: Here.
20837
20838 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20839
20840 * sysdeps/i386/i486/Versions: Removed.
20841
20842 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
20843
20844 [BZ #2898]
20845 * misc/mktemp.c: Add mkdtemp to the link_warning message.
20846 Based on patch by Aurelien Jarno.
20847
20848 2015-08-26 Stan Shebs <stanshebs@google.com>
20849
20850 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
20851 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20852
20853 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20854
20855 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
20856 * sysdeps/powerpc/dl-procinfo.c:
20857 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
20858 feature so it shows when LD_SHOW_AUXV=1.
20859
20860 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20861
20862 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20863 (__arch_compare_and_exchange_val_32_acq): Remove and use common
20864 definition. ISA 2.07B no longer requires full sync.
20865
20866 2015-08-26 Mike Frysinger <vapier@gentoo.org>
20867
20868 [BZ #18863]
20869 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
20870 (si_call_addr): Define.
20871 (si_syscall): Define.
20872 (si_arch): Define.
20873
20874 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
20875
20876 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
20877 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
20878 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
20879 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20880 (__memset_zero_constant_len_parameter): New.
20881 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
20882 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20883 (__memset_zero_constant_len_parameter): Don't define if
20884 __memset_chk or USE_AS_BZERO are defined.
20885
20886 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
20887 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
20888 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
20889
20890 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
20891 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
20892 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
20893 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
20894 comments.
20895 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
20896 -mno-mmx for $(all-rtld-routines).
20897 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
20898 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
20899 i386.
20900
20901 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20902
20903 * sysdeps/generic/unwind.h
20904 (_Unwind_Word): Use __mode__(__unwind_word__)
20905 instead of __mode__(__word__).
20906 (_Unwind_Sword): Likewise.
20907
20908 * sysdeps/s390/s390-64/utf8-utf16-z9.c
20909 (MAX_NEEDED_INPUT): New define.
20910 (MAX_NEEDED_OUTPUT): New define.
20911
20912 * NEWS: New item for IBM z13 string optimizations.
20913
20914 * sysdeps/s390/multiarch/memrchr-c.c: New File.
20915 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
20916 * sysdeps/s390/multiarch/memrchr.c: Likewise.
20917 * sysdeps/s390/multiarch/Makefile
20918 (sysdep_routines): Add memrchr functions.
20919 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20920 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
20921
20922 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
20923 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
20924 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
20925 * sysdeps/s390/multiarch/Makefile
20926 (sysdep_routines): Add wmemcmp functions.
20927 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20928 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
20929 * benchtests/bench-wmemcmp.c: New File.
20930 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
20931
20932 * sysdeps/s390/multiarch/wmemset-c.c: New File.
20933 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
20934 * sysdeps/s390/multiarch/wmemset.c: Likewise.
20935 * sysdeps/s390/multiarch/Makefile
20936 (sysdep_routines): Add wmemset functions.
20937 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20938 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
20939 * wcsmbs/wmemset.c: Use WMEMSET if defined.
20940 * string/test-memset.c: Add wmemset support.
20941 * wcsmbs/test-wmemset.c: New File.
20942 * wcsmbs/Makefile (strop-tests): Add wmemset.
20943 * benchtests/bench-memset.c: Add wmemset support.
20944 * benchtests/bench-wmemset.c: New File.
20945 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
20946
20947 * sysdeps/s390/multiarch/memccpy-c.c: New File.
20948 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
20949 * sysdeps/s390/multiarch/memccpy.c: Likewise.
20950 * sysdeps/s390/multiarch/Makefile
20951 (sysdep_routines): Add memccpy functions.
20952 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20953 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
20954 * string/memccpy.c: Use MEMCCPY if defined.
20955
20956 * sysdeps/s390/multiarch/memchr-vx.S: New File.
20957 * sysdeps/s390/multiarch/memchr.c: Likewise.
20958 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
20959 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
20960 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
20961 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
20962 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
20963 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
20964 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
20965 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
20966 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
20967 and rawmemchr functions.
20968 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20969 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
20970 and wmemchr.
20971 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
20972 * string/test-memchr.c: Add wmemchr support.
20973 * wcsmbs/test-wmemchr.c: New File.
20974 * wcsmbs/Makefile (strop-tests): Add wmemchr.
20975 * benchtests/bench-memchr.c: Add wmemchr support.
20976 * benchtests/bench-wmemchr.c: New File.
20977 * benchtests/Makefile (wcsmbs-bench): wmemchr.
20978
20979 * sysdeps/s390/multiarch/strcspn-c.c: New File.
20980 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
20981 * sysdeps/s390/multiarch/strcspn.c: Likewise.
20982 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
20983 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
20984 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
20985 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
20986 wcscspn functions.
20987 * sysdeps/s390/multiarch/ifunc-impl-list.c
20988 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
20989 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
20990 * string/test-strcspn.c: Add wcscspn support.
20991 * wcsmbs/test-wcscspn.c: New File.
20992 * wcsmbs/Makefile (strop-tests): Add wcscspn.
20993 * benchtests/bench-strcspn.c: Add wcscspn support.
20994 * benchtests/bench-wcscspn.c: New File.
20995 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
20996
20997 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
20998 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
20999 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21000 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21001 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21002 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21003 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21004 wcspbrk functions.
21005 * sysdeps/s390/multiarch/ifunc-impl-list.c
21006 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21007 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21008 * string/test-strpbrk.c: Add wcspbrk support.
21009 * wcsmbs/test-wcspbrk.c: New File.
21010 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21011 * benchtests/bench-strpbrk.c: Add wcspbrk support.
21012 * benchtests/bench-wcspbrk.c: New File.
21013 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21014
21015 * sysdeps/s390/multiarch/strspn-c.c: New File.
21016 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21017 * sysdeps/s390/multiarch/strspn.c: Likewise.
21018 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21019 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21020 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21021 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21022 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21023 wcsspn functions.
21024 * sysdeps/s390/multiarch/ifunc-impl-list.c
21025 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21026 * string/test-strspn.c: Add wcsspn support.
21027 * wcsmbs/test-wcsspn.c: New File.
21028 * wcsmbs/Makefile (strop-tests): Add wcsspn.
21029 * benchtests/bench-strspn.c: Add wcsspn support.
21030 * benchtests/bench-wcsspn.c: New File.
21031 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21032
21033 * sysdeps/s390/multiarch/strrchr-c.c: New File.
21034 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21035 * sysdeps/s390/multiarch/strrchr.c: Likewise.
21036 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21037 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21038 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21039 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21040 wcsrchr functions.
21041 * sysdeps/s390/multiarch/ifunc-impl-list.c
21042 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21043 * benchtests/bench-wcsrchr.c: New File.
21044 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21045
21046 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21047 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21048 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21049 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21050 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21051 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21052 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21053 wcschrnul functions.
21054 * sysdeps/s390/multiarch/ifunc-impl-list.c
21055 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21056 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21057 * string/test-strchr.c: Add wcschrnul support.
21058 * wcsmbs/test-wcschrnul.c: New File.
21059 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21060 * benchtests/bench-strchr.c: Add wcschrnul support.
21061 * benchtests/bench-wcschrnul.c: New File.
21062 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21063
21064 * sysdeps/s390/multiarch/strchr-c.c: New File.
21065 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21066 * sysdeps/s390/multiarch/strchr.c: Likewise.
21067 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21068 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21069 * sysdeps/s390/multiarch/wcschr.c: Likewise.
21070 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21071 wcschr functions.
21072 * sysdeps/s390/multiarch/ifunc-impl-list.c
21073 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21074 * string/strchr.c (STRCHR): Define and use macro.
21075 * benchtests/bench-wcschr.c: New File.
21076 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21077
21078 * sysdeps/s390/multiarch/strncmp-c.c: New File.
21079 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21080 * sysdeps/s390/multiarch/strncmp.c: Likewise.
21081 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21082 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21083 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21084 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21085 wcsncmp functions.
21086 * sysdeps/s390/multiarch/ifunc-impl-list.c
21087 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21088 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21089 * benchtests/bench-strncmp.c: Add wcsncmp support.
21090 * benchtests/bench-wcsncmp.c: New File.
21091 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21092
21093 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21094 * sysdeps/s390/multiarch/strcmp.c: Likewise.
21095 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21096 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21097 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21098 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21099 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21100 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21101 wcscmp functions.
21102 * sysdeps/s390/multiarch/ifunc-impl-list.c
21103 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21104 * string/strcmp.c (STRCMP): Define and use macro.
21105 * benchtests/bench-wcscmp.c: New File.
21106 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21107 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21108 instead of _HAVE_STRING_ARCH_memchr.
21109
21110 * sysdeps/s390/multiarch/strncat-c.c: New File.
21111 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21112 * sysdeps/s390/multiarch/strncat.c: Likewise.
21113 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21114 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21115 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21116 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21117 wcsncat functions.
21118 * sysdeps/s390/multiarch/ifunc-impl-list.c
21119 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21120 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21121 * string/test-strncat.c: Add wcsncat support.
21122 * wcsmbs/test-wcsncat.c: New File.
21123 * wcsmbs/Makefile (strop-tests): Add wcsncat.
21124 * benchtests/bench-strncat.c: Add wcsncat support.
21125 * benchtests/bench-wcsncat.c: New File.
21126 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21127
21128 * sysdeps/s390/multiarch/strcat-c.c: New File.
21129 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21130 * sysdeps/s390/multiarch/strcat.c: Likewise.
21131 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21132 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21133 * sysdeps/s390/multiarch/wcscat.c: Likewise.
21134 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21135 wcscat functions.
21136 * sysdeps/s390/multiarch/ifunc-impl-list.c
21137 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21138 * string/strcat.c (STRCAT): Define and use macro.
21139 * wcsmbs/wcscat.c: Use WCSCAT if defined.
21140 * string/test-strcat.c: Add wcscat support.
21141 * wcsmbs/test-wcscat.c: New File.
21142 * wcsmbs/Makefile (strop-tests): Add wcscat.
21143 * benchtests/bench-strcat.c: Add wcscat support.
21144 * benchtests/bench-wcscat.c: New File.
21145 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21146
21147 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21148 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21149 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21150 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21151 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21152 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21153 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21154 wcpncpy functions.
21155 * sysdeps/s390/multiarch/ifunc-impl-list.c
21156 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21157 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21158 * string/test-stpncpy.c: Add wcpncpy support.
21159 * wcsmbs/test-wcpncpy.c: New File.
21160 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21161 * benchtests/bench-stpncpy.c: Add wcpncpy support.
21162 * benchtests/bench-wcpncpy.c: New File.
21163 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21164
21165 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21166 * sysdeps/s390/multiarch/strncpy.c: Likewise.
21167 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21168 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21169 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21170 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21171 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21172 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21173 wcsncpy functions.
21174 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21175 * sysdeps/s390/multiarch/ifunc-impl-list.c
21176 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21177 * string/test-strncpy.c: Add wcsncpy support.
21178 * wcsmbs/test-wcsncpy.c: New File.
21179 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21180 * benchtests/bench-strncpy.c: Add wcsncpy support.
21181 * benchtests/bench-wcsncpy.c: New File.
21182 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21183
21184 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21185 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21186 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21187 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21188 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21189 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21190 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21191 wcpcpy functions.
21192 * string/stpcpy.c: Use STPCPY if defined.
21193 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21194 * sysdeps/s390/multiarch/ifunc-impl-list.c
21195 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21196 * string/test-stpcpy.c: Add wcpcpy support.
21197 * wcsmbs/test-wcpcpy.c: New File.
21198 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21199 * benchtests/bench-stpcpy.c: Add wcpcpy support.
21200 * benchtests/bench-wcpcpy.c: New File.
21201 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21202
21203 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21204 * sysdeps/s390/multiarch/strcpy.c: Likewise.
21205 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21206 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21207 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21208 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21209 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21210 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21211 wcscpy functions.
21212 * sysdeps/s390/multiarch/ifunc-impl-list.c
21213 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21214 * benchtests/bench-wcscpy.c: New File.
21215 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21216
21217 * sysdeps/s390/multiarch/strnlen-c.c: New File.
21218 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21219 * sysdeps/s390/multiarch/strnlen.c: Likewise.
21220 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21221 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21222 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21223 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21224 wcsnlen functions.
21225 * sysdeps/s390/multiarch/ifunc-impl-list.c
21226 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21227 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21228 * string/test-strnlen.c: Add wcsnlen support.
21229 * wcsmbs/test-wcsnlen.c: New File.
21230 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21231 * benchtests/bench-strnlen.c: Add wcsnlen support.
21232 * benchtests/bench-wcsnlen.c: New File.
21233 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21234
21235 * sysdeps/s390/multiarch/Makefile: New File.
21236 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21237 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21238 * sysdeps/s390/multiarch/strlen.c: Likewise.
21239 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21240 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21241 * sysdeps/s390/multiarch/wcslen.c: Likewise.
21242 * string/strlen.c (STRLEN): Define and use macro.
21243 * sysdeps/s390/multiarch/ifunc-impl-list.c
21244 (IFUNC_VX_IMPL): New macro function.
21245 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21246 * benchtests/Makefile (wcsmbs-bench): New variable.
21247 (string-bench-all): Added wcsmbs-bench.
21248 * benchtests/bench-wcslen.c: New File.
21249
21250 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21251 s390_vx_libc_ifunc2): New macro function.
21252
21253 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21254 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21255 assembler support.
21256 * sysdeps/s390/configure: Regenerated.
21257
21258 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21259 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21260
21261 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21262 * sysdeps/s390/dl-procinfo.h: Add vector capability.
21263 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21264
21265 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21266 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21268 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21269 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21270 (memcmp, bcmp): Use __memcmp_default as alias source.
21271 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21272 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21273 Rename to __memcmp_default.
21274 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21275 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21276 (memcpy): Use __memcpy_default as alias source.
21277 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21278 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21279 Rename to __memcpy_default.
21280 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21281 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21282 (memset): Use __memset_default as alias source.
21283 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21284 * sysdeps/s390/s390-32/memset.S (__memset_g5):
21285 Rename to __memset_default.
21286 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21287 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21288 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21289 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21290 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21291 (memcmp, bcmp): Use __memcmp_default as alias source.
21292 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21293 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21294 Rename to __memcmp_default.
21295 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21296 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21297 (memcpy): Use __memcpy_default as alias source.
21298 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21299 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21300 Rename to __memcpy_default.
21301 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21302 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21303 (memset): Use __memset_default as alias source.
21304 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21305 * sysdeps/s390/s390-64/memset.S (__memset_z900):
21306 Rename to __memset_default.
21307 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21308 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21309
21310 [BZ #18610]
21311 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21312 __ieee_instruction_pointer to __unused.
21313 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21314 __ieee_instruction_pointer.
21315 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21316 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21317 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21318 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21319 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21320 Mark dxc-field as reserved.
21321
21322 2015-08-25 Roland McGrath <roland@hack.frob.com>
21323
21324 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21325 if the weak reference is not null.
21326
21327 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21328
21329 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21330
21331 [BZ #11214]
21332 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21333
21334 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21335
21336 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21337 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21338 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21339 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21340 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21341 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21342 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21343 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21344 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21345 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21346 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21347 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21348 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21349 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21350 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21351 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21352 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21353 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21354
21355 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21356
21357 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21358 register other than r0 for tabort, it has special meaning.
21359 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21360 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21361 transaction before starting syscall.
21362
21363 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21364
21365 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21366
21367 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21368
21369 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21370
21371 * sysdeps/x86_64/rtld-memcmp.c: Removed.
21372 * sysdeps/x86_64/rtld-memset.S: Likewise.
21373 * sysdeps/x86_64/rtld-strchr.S: Likewise.
21374 * sysdeps/x86_64/rtld-strlen.S: Likewise.
21375 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21376 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21377
21378 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21379
21380 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
21381
21382 * debug/strcpy_chk.c: Improve performance.
21383 * debug/stpcpy_chk.c: Likewise.
21384 * sysdeps/x86_64/strcpy_chk.S: Remove.
21385 * sysdeps/x86_64/stpcpy_chk.S: Remove.
21386
21387 [BZ #18240]
21388 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21389
21390 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21391
21392 [BZ #15128]
21393 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21394 ifuncmain8.
21395 (modules-names): Add ifuncmod8.
21396 ($(objpfx)ifuncmain8): New rule.
21397 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21398 <cpuid.h>.
21399 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21400 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21401 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21402 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21403 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21404 * sysdeps/x86_64/dl-trampoline.h: Likewise.
21405 * sysdeps/x86_64/ifuncmain8.c: New file.
21406 * sysdeps/x86_64/ifuncmod8.c: Likewise.
21407 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21408 Removed.
21409 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21410 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21411 Change rtld_savespace_sse to __glibc_unused2.
21412 (RTLD_CHECK_FOREIGN_CALL): Removed.
21413 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21414 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21415 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21416
21417 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21418
21419 * sysdeps/aarch64/bzero.S (__bzero): Remove.
21420
21421 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21422
21423 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21424 Unconditionally set __fpcr to avoid uninialized warning.
21425 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21426
21427 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21428
21429 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21430 is corrupt.
21431
21432 * malloc/arena.c (arena_get2): Drop unused argument.
21433 (arena_lock): Adjust.
21434 (arena_get_retry): Likewise.
21435
21436 2015-08-24 Andreas Schwab <schwab@suse.de>
21437
21438 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21439 Don't define.
21440 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21441 (__ASSUME_IPC64): Don't undef.
21442 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
21443 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21444 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21445 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
21446 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
21447 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
21448 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
21449 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
21450 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
21451 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
21452 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
21453 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
21454 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
21455 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
21456 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
21457 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
21458 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
21459 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
21460 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
21461 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
21462 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
21463
21464 2015-08-21 Mike Frysinger <vapier@gentoo.org>
21465
21466 * manual/Makefile (install): Only build manual when perl is available.
21467
21468 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21469
21470 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
21471 '#undef memcpy' by '#undef memchr'.
21472
21473 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21474
21475 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
21476 memchr not point to the internal __GI_memchr implementation.
21477
21478 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21479
21480 * timezone/Makefile (CFLAGS-zdump.c): Remove
21481 -Wno-strict-prototypes.
21482 (CFLAGS-zic.c): Likewise.
21483 (CFLAGS-ialloc.c): Likewise.
21484 (CFLAGS-scheck.c): Likewise.
21485
21486 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
21487 -Wno-error=undef.
21488
21489 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21490
21491 * i386/i686/multiarch/strcasestr-c.c: Removed.
21492 * x86_64/multiarch/strcasestr.c: Likewise.
21493 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21494 Remove strcasestr.
21495
21496 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21497
21498 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
21499
21500 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
21501 variables for high and low parts before possibly modifying them.
21502
21503 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21504
21505 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
21506 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
21507 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
21508 of "multiarch/init-arch.h".
21509 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
21510 * sysdeps/x86/init-arch.h: This.
21511
21512 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21513
21514 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
21515 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
21516
21517 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
21518
21519 [BZ #17787]
21520 * manual/macros.texi: Add twoexp macro.
21521 * manual/filesys.texi: Fix exponents.
21522 * manual/llio.texi: Likewise.
21523 * manual/stdio.texi: Likewise.
21524
21525 2015-08-20 Florian Weimer <fweimer@redhat.com>
21526
21527 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
21528 incorrect use.
21529
21530 2015-08-19 Joseph Myers <joseph@codesourcery.com>
21531
21532 [BZ #18370]
21533 * math/s_csqrt.c (__csqrt): Force underflow exception for results
21534 whose real or imaginary part has small absolute value.
21535 * math/s_csqrtf.c (__csqrtf): Likewise.
21536 * math/s_csqrtl.c (__csqrtl): Likewise.
21537 * math/auto-libm-test-in: Add more tests of csqrt.
21538 * math/auto-libm-test-out: Regenerated.
21539 * sysdeps/i386/fpu/libm-test-ulps: Update.
21540
21541 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21542
21543 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
21544 __ppc_set_ppr_very_low): New functions.
21545 * manual/platform.texi: Add documentation about
21546 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
21547
21548 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
21549
21550 * string/stpncpy.c (stpncpy): Improve performance using
21551 __strnlen/memcpy/memset.
21552
21553 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
21554
21555 [BZ #18796]
21556 * scripts/test-installation.pl: Don't add -lmvec to build options if
21557 libmvec wasn't built.
21558
21559 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
21560
21561 [BZ #14341]
21562 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
21563 case when there is a gap between DT_REL and DT_JMPREL sections.
21564 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
21565 (LDFLAGS-tst-split-dynreloc): New.
21566 (tst-split-dynreloc-ENV): Likewise.
21567 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
21568 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
21569
21570 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21571
21572 [BZ #18822]
21573 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
21574 attribute_hidden.
21575 (__xstat64_conv): Likewise.
21576 (__xstat32_conv): Likewise.
21577
21578 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21579
21580 [BZ #18822]
21581 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21582 Don't load %ebx when calling __setcontext. Call __setcontext
21583 with HIDDEN_JUMPTARGET.
21584 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
21585 libc_hidden_def.
21586
21587 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21588
21589 * sysdeps/i386/i686/Makefile
21590 [$(subdir) == string] (sysdep_routines): Moved to ...
21591 * sysdeps/i386/Makefile: Here.
21592 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
21593 * sysdeps/i386/cacheinfo.c: Here.
21594 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
21595 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
21596 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
21597 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
21598
21599 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21600
21601 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
21602 __i586__ is defined.
21603 (HAS_I686): Defined to 1 if __i686__ is defined.
21604
21605 2015-08-19 Joseph Myers <joseph@codesourcery.com>
21606
21607 * elf/Makefile [$(have-z-execstack) = yes]
21608 (CPPFLAGS-tst-execstack.c): New variable.
21609
21610 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
21611 conditional to [defined UTMPX || _HAVE_UT_TYPE].
21612 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
21613 UTMPX || _HAVE_UT_TV].
21614 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
21615 UTMPX || _HAVE_UT_TV - 0].
21616
21617 2015-08-18 Joseph Myers <joseph@codesourcery.com>
21618
21619 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
21620 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
21621 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
21622
21623 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21624
21625 * sysdeps/powerpc/dl-procinfo.c:
21626 (_dl_powerpc_cap_flags): Added missing strings for some
21627 hwcap features.
21628 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
21629
21630 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
21631
21632 Port the 0x7efe...feff pattern to GCC 6.
21633 See Steve Ellcey's bug report in:
21634 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
21635 * string/memrchr.c (MEMRCHR):
21636 * string/rawmemchr.c (RAWMEMCHR):
21637 * string/strchr.c (strchr):
21638 * string/strchrnul.c (STRCHRNUL):
21639 Rewrite code to avoid issues with signed shift overflow.
21640
21641 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
21642
21643 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
21644 whether cpuid is available only if HAS_CPUID is 0.
21645 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
21646 (HAS_I586): Likewise.
21647 (HAS_I686): Likewise.
21648
21649 2015-08-18 Zack Weinberg <zackw@panix.com>
21650
21651 * misc/Versions (libc): Add GLIBC_2.23.
21652
21653 2015-08-18 Alan Modra <amodra@gmail.com>
21654
21655 [BZ #18421]
21656 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
21657 .Lp__global.
21658 (_start): Load %dp via .Lp__global.
21659 [!SHARED]: Use .section .rodata.
21660
21661 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21662
21663 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
21664 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
21665
21666 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21667
21668 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
21669 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
21670
21671 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21672
21673 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
21674 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
21675
21676 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21677
21678 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
21679 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
21680
21681 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21682
21683 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
21684 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
21685
21686 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21687
21688 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
21689 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
21690
21691 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21692
21693 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
21694
21695 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21696
21697 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
21698 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
21699 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21700 (__ASSUME_LWS_CAS): Delete.
21701
21702 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21703
21704 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
21705 * sysdeps/hppa/configure: Regenerated.
21706 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
21707 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
21708 * sysdeps/hppa/nptl/tls.h: Likewise.
21709
21710 2015-08-17 Joseph Myers <joseph@codesourcery.com>
21711
21712 [BZ #18823]
21713 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
21714 for scaling up small arguments.
21715 * math/s_csqrtf.c (__csqrtf): Likewise.
21716 * math/s_csqrtl.c (__csqrtl): Likewise.
21717 * math/auto-libm-test-in: Add more tests of csqrt.
21718 * math/auto-libm-test-out: Regenerated.
21719
21720 2015-08-17 Andreas Schwab <schwab@suse.de>
21721
21722 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
21723 version set GLIBC_2.19.
21724
21725 2015-08-16 Zack Weinberg <zackw@panix.com>
21726
21727 [BZ #18681]
21728 * misc/regexp.h: This interface is no longer supported.
21729 Remove all contents, leaving only an #error directive.
21730 * misc/regexp.c (loc1, loc2, locs, step, advance):
21731 Demote to compatibility symbols.
21732
21733 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
21734
21735 [BZ #18084]
21736 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
21737 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
21738 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21739 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
21740 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
21741 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
21742 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
21743 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
21744 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21745
21746 2015-08-15 Zack Weinberg <zackw@panix.com>
21747
21748 [BZ #18795]
21749 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
21750 buffer length is known to be too large, not if it's known to be
21751 small enough.
21752 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
21753 overflow at runtime, involving a length parameter, twice: once
21754 with a compile-time constant length parameter, once without.
21755
21756 2015-08-14 Joseph Myers <joseph@codesourcery.com>
21757
21758 [BZ #18824]
21759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
21760 scaling x * y up instead of down.
21761 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21762 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21763 * math/auto-libm-test-in: Add more tests of fma.
21764 * math/auto-libm-test-out: Regenerated.
21765
21766 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
21767
21768 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21769
21770 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21771
21772 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
21773 unnecessary movq.
21774 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
21775 Likewise.
21776
21777 2015-08-13 Joseph Myers <joseph@codesourcery.com>
21778
21779 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21780 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
21781 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
21782 and tgamma.
21783 * math/auto-libm-test-out: Regenerated.
21784 * sysdeps/i386/fpu/libm-test-ulps: Update.
21785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21786
21787 [BZ #16520]
21788 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
21789 (__tanh): Force underflow exception for arguments with small
21790 absolute value.
21791 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
21792 (__tanhf): Force underflow exception for arguments with small
21793 absolute value.
21794 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
21795 (__tanhl): Force underflow exception for arguments with small
21796 absolute value.
21797 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
21798 (__tanhl): Force underflow exception for arguments with small
21799 absolute value.
21800 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
21801 (__tanhl): Force underflow exception for arguments with small
21802 absolute value.
21803 * math/auto-libm-test-in: Add more tests of tanh.
21804 * math/auto-libm-test-out: Regenerated.
21805 * sysdeps/i386/fpu/libm-test-ulps: Update.
21806
21807 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21808
21809 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
21810 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
21811
21812 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21813
21814 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
21815 <cpuid.h>.
21816
21817 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21818
21819 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
21820 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
21821
21822 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21823
21824 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
21825 Remove $(objpfx)init-arch.o.
21826 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
21827 init-arch.
21828 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
21829 (INIT_ARCH_EXT): Defined as empty.
21830 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
21831 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
21832 __init_cpu_features call. Replace HAS_XXX with
21833 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21834 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
21835 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
21836 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
21837 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
21838 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21839 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
21840 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
21841 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21842 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
21843 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
21844 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21845 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
21846 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
21847 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21848 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
21849 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
21850 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21851 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21852 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
21853 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
21854 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21855 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
21856 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
21857 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21858 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
21859 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
21860 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21861 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
21862 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
21863 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21864 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
21865 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
21866 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21867 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
21868 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
21869
21870 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21871
21872 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
21873 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21874 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21875 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21876 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
21877 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
21878 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
21879 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
21880 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
21881 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
21882 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
21883 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
21884 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21885 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21886 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21887 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21888 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21889 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21890 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21891 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21892 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21893 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21894 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21895 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21896 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21897 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21898 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21899 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21900 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21901 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21902 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21903 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21904 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21905 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21906 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21907 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21908 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21909 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21910 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21911 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21912 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21913 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21914 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21915
21916 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21917
21918 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
21919 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21920 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21921 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21922 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21923 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
21924 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21925 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
21926 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21927 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21928 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21929 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
21930 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
21931 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
21932 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
21933 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
21934 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
21935 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21936 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
21937 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
21938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
21939 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
21940 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
21941 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21942 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21943 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
21944 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
21945 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
21946 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21947 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21948 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21949 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21950 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21951 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21952 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21953 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21954 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21955 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21956 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21957 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21958 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21959 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21960 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21961
21962 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21963
21964 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
21965 (dl_platform_init): Call init_cpu_features.
21966 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
21967 * sysdeps/i386/i686/cacheinfo.c
21968 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
21969 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
21970 * sysdeps/i386/i686/multiarch/Versions: Removed.
21971 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
21972 Removed.
21973 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
21974 * sysdeps/unix/sysv/linux/x86/Makefile
21975 (libpthread-sysdep_routines): Remove init-arch.
21976 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
21977 <sysdeps/x86_64/dl-procinfo.c> instead of
21978 sysdeps/generic/dl-procinfo.c>.
21979 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
21980 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
21981 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
21982 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
21983 [$(subdir) == elf] (tests-static): Add
21984 tst-get-cpu-features-static.
21985 * sysdeps/x86/Versions: New file.
21986 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
21987 * sysdeps/x86/cpu-features.c: Likewise.
21988 * sysdeps/x86/cpu-features.h: Likewise.
21989 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
21990 * sysdeps/x86/libc-start.c: Likewise.
21991 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21992 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
21993 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
21994 * sysdeps/x86_64/dl-procinfo.c: Likewise.
21995 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
21996 Assume USE_MULTIARCH is defined and don't check it.
21997 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
21998 (is_amd): Likewise.
21999 (max_cpuid): Likewise.
22000 (intel_check_word): Likewise.
22001 (__cache_sysconf): Don't call __init_cpu_features.
22002 (__x86_preferred_memory_instruction): Removed.
22003 (init_cacheinfo): Don't call __init_cpu_features. Replace
22004 __cpu_features with GLRO(dl_x86_cpu_features).
22005 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22006 (dl_platform_init): Call init_cpu_features.
22007 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22008 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22009 * sysdeps/x86_64/multiarch/Versions: Removed.
22010 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22011 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22012 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22013 Removed.
22014 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22015
22016 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22017
22018 [BZ #18820]
22019 * libio/Makefile (test-fmemopen-mem): New test.
22020 * libio/test-fmemopen.c (do_bz18820): New test.
22021 * libio/fmemopen.c (__fmemopen): Fix memory leak.
22022 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22023
22024 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22025
22026 [BZ #16734]
22027 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22028 (FREE_BUF): Delete.
22029 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22030 * libio/genops.c (_IO_setb): Use malloc and free directly.
22031 (_IO_default_doallocate, _IO_default_finish): Likewise.
22032 ( _IO_unbuffer_all): Likewise.
22033 ( libc_freeres_fn): Likewise.
22034 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22035 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22036 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22037 (_IO_wdefault_doallocate): Likewise.
22038
22039 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22040
22041 [BZ #18086]
22042 * sysdeps/posix/nice.c (nice): Restore old errno.
22043 * posix/tst-nice.c (do_test): Add test for BZ #18086.
22044
22045 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
22046
22047 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22048
22049 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22050
22051 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22052 __bcopy and add a weak_alias to bcopy.
22053 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22054 for static build.
22055
22056 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22057 cleanup macro usage.
22058 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22059 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22060 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22061 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22062 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22063 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22064 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22065 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22066 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22067 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22068 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22069 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22070 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22071 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22072 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22073 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22074 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22075 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22076 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22077
22078 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22079 libc_hidden_def.
22080 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22081
22082 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22083 (sysdep_routines): Add strstr-ppc64.
22084 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22085
22086 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
22087
22088 [BZ #18778]
22089 * elf/Makefile (tests): Add Add tst-nodelete2.
22090 (modules-names): Add tst-nodelete2mod.
22091 (tst-nodelete2mod.so-no-z-defs): New.
22092 ($(objpfx)tst-nodelete2): Likewise.
22093 ($(objpfx)tst-nodelete2.out): Likewise.
22094 (LDFLAGS-tst-nodelete2): Likewise.
22095 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22096 out of loop through all loaded libraries.
22097 * elf/tst-nodelete2.c: New file.
22098 * elf/tst-nodelete2mod.c: Likewise.
22099 * elf/tst-znodelete-zlib.cc: Delete.
22100
22101 2015-08-11 Andreas Schwab <schwab@suse.de>
22102
22103 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22104 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22105 (__openat64_nocancel): Likewise.
22106
22107 2015-08-11 Joseph Myers <joseph@codesourcery.com>
22108
22109 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22110 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22111 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22112 * math/auto-libm-test-out: Regenerated.
22113 * sysdeps/i386/fpu/libm-test-ulps: Update.
22114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22115
22116 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22117
22118 [BZ #18790]
22119 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22120 threshold for returning +/- 1.
22121 * math/auto-libm-test-in: Add more tests of tanh.
22122 * math/auto-libm-test-out: Regenerated.
22123 * sysdeps/i386/fpu/libm-test-ulps: Update.
22124
22125 2015-08-10 Andreas Schwab <schwab@suse.de>
22126
22127 [BZ #18781]
22128 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22129 MORE_OFLAGS to oflag.
22130 * io/test-lfs.c (do_test): Test openat64.
22131
22132 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22133
22134 [BZ #18789]
22135 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22136 smaller threshold for returning the argument.
22137 * math/auto-libm-test-in: Add more tests of sinh.
22138 * math/auto-libm-test-out: Regenerated.
22139 * sysdeps/i386/fpu/libm-test-ulps: Update.
22140
22141 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
22142
22143 [BZ #18674]
22144 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22145 break.
22146
22147 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
22148
22149 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22150 (generated): Don't add $(addprefix z.,$(tzfiles)).
22151
22152 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22153
22154 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22155 * scripts/sysd-rules.awk: Likewise.
22156
22157 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22158
22159 * iconvdata/tst-tables.sh: Change echo -n to printf.
22160 * nss/db-Makefile: Likewise.
22161 * posix/tst-getconf.sh: Likewise.
22162 * stdio-common/tst-unbputc.sh: Likewise.
22163
22164 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22165
22166 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22167 MADV_*_PAGES defines behind this feature check.
22168
22169 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
22170
22171 [BZ #18480]
22172 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22173 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22174 Define.
22175 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22176 LOAD_REGS_5, LOAD_REGS_6): Update.
22177 (INTERNAL_SYSCALL): Update using new LOAD defines.
22178 (INTERNAL_SYSCALL_NCS): Likewise.
22179 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22180
22181 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22182
22183 [BZ #16734]
22184 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22185
22186 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22187
22188 [BZ #17905]
22189 * catgets/Makefile (tst-catgets-mem): New test.
22190 * catgets/catgets.c (catopen): Don't use unbounded alloca.
22191 * catgets/open_catalog.c (__open_catalog): Likewise.
22192 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22193
22194 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
22195
22196 [BZ #18787]
22197 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22198 clobber registers.
22199 (atomic_compare_and_exchange_val_acq): Use register asms to assign
22200 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
22201 Cast return to __typeof (oldval).
22202
22203 2015-08-08 Mike Frysinger <vapier@gentoo.org>
22204
22205 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22206 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
22207 and delete sys/syscall.h include.
22208
22209 2015-08-07 Joseph Myers <joseph@codesourcery.com>
22210
22211 [BZ #16517]
22212 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22213 (tan): Force underflow exception for arguments with small absolute
22214 value.
22215 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22216 (__kernel_tanf): Force underflow exception for arguments with
22217 small absolute value.
22218 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22219 (__kernel_tanl): Force underflow exception for arguments with
22220 small absolute value.
22221 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22222 (__kernel_tanl): Force underflow exception for arguments with
22223 small absolute value.
22224 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22225 (__kernel_tanl): Force underflow exception for arguments with
22226 small absolute value.
22227 * math/auto-libm-test-in: Add more tests of tan.
22228 * math/auto-libm-test-out: Regenerated.
22229
22230 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22231
22232 Fix sysdeps/i386/fpu/s_scalbn.S build
22233
22234 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22235
22236 2015-08-07 Mike Frysinger <vapier@gentoo.org>
22237
22238 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22239
22240 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22241
22242 Fix gcrt0.o compilation
22243
22244 When static-start-installed-name is different from
22245 start-installed-name, we must not use the shared objects.
22246
22247 * csu/Makefile
22248 (extra-objs): Add gmon-start.o when building shared library and
22249 $(static-start-installed-name) is different from
22250 $(start-installed-name).
22251 $(objpfx)g$(static-start-installed-name): When building shared
22252 library and $(static-start-installed-name) is different from
22253 $(static-start-installed-name), revert to non-shared rule,
22254 i.e. using $(objpfx)% and gmon-start.o.
22255
22256 2015-08-06 Joseph Myers <joseph@codesourcery.com>
22257
22258 [BZ #16519]
22259 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22260 (__ieee754_sinh): Force underflow exception for arguments with
22261 small absolute value.
22262 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22263 (__ieee754_sinhf): Force underflow exception for arguments with
22264 small absolute value.
22265 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22266 (__ieee754_sinhl): Force underflow exception for arguments with
22267 small absolute value.
22268 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22269 (__ieee754_sinhl): Force underflow exception for arguments with
22270 small absolute value.
22271 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22272 (__ieee754_sinhl): Force underflow exception for arguments with
22273 small absolute value.
22274 * math/auto-libm-test-in: Add more tests of sinh.
22275 * math/auto-libm-test-out: Regenerated.
22276 * sysdeps/i386/fpu/libm-test-ulps: Update.
22277
22278 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22279
22280 * libio/oldfileops.c: Include unistd.h.
22281
22282 2015-08-06 Mike Frysinger <vapier@gentoo.org>
22283
22284 * stdlib/isomac.c: Include ctype.h.
22285
22286 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
22287
22288 * dirent/tst-seekdir.c (main): Converted to ...
22289 (do_test): ... this.
22290 (TEST_FUNCTION): New macro.
22291 Include test-skeleton.c.
22292 * elf/tst-dlmodcount.c (main): Converted to ...
22293 (do_test): ... this.
22294 (TEST_FUNCTION): New macro.
22295 Include test-skeleton.c.
22296 * elf/tst-order-main.c (main): Converted to ...
22297 (do_test): ... this.
22298 (TEST_FUNCTION): New macro.
22299 Include test-skeleton.c.
22300 * elf/tst-pie2.c (main): Converted to ...
22301 (do_test): ... this.
22302 (TEST_FUNCTION): New macro.
22303 Include test-skeleton.c.
22304 * inet/tst-ether_aton.c (main): Converted to ...
22305 (do_test): ... this.
22306 (TEST_FUNCTION): New macro.
22307 Include test-skeleton.c.
22308 * misc/tst-mntent.c (main): Converted to ...
22309 (do_test): ... this.
22310 (TEST_FUNCTION): New macro.
22311 Include test-skeleton.c.
22312 * misc/tst-tsearch.c (main): Converted to ...
22313 (do_test): ... this.
22314 (TEST_FUNCTION): New macro.
22315 Include test-skeleton.c.
22316 * posix/tst-regexloc.c (main): Converted to ...
22317 (do_test): ... this.
22318 (TEST_FUNCTION): New macro.
22319 Include test-skeleton.c.
22320 * resolv/tst-aton.c (main): Converted to ...
22321 (do_test): ... this.
22322 (TEST_FUNCTION): New macro.
22323 Include test-skeleton.c.
22324 * stdio-common/test-fwrite.c (main): Converted to ...
22325 (do_test): ... this.
22326 (TEST_FUNCTION): New macro.
22327 Include test-skeleton.c.
22328 * stdio-common/tst-ferror.c (main): Converted to ...
22329 (do_test): ... this.
22330 (TEST_FUNCTION): New macro.
22331 Include test-skeleton.c.
22332 * stdio-common/tst-printf.c (main): Converted to ...
22333 (do_test): ... this.
22334 (TEST_FUNCTION): New macro.
22335 Include test-skeleton.c.
22336 * stdio-common/tst-printfsz.c (main): Converted to ...
22337 (do_test): ... this.
22338 (TEST_FUNCTION): New macro.
22339 Include test-skeleton.c.
22340 * stdlib/tst-strtod.c (main): Converted to ...
22341 (do_test): ... this.
22342 (TEST_FUNCTION): New macro.
22343 Include test-skeleton.c.
22344 * string/tst-strlen.c (main): Converted to ...
22345 (do_test): ... this.
22346 (TEST_FUNCTION): New macro.
22347 Include test-skeleton.c.
22348 * string/tst-svc.c (main): Converted to ...
22349 (do_test): ... this.
22350 (TEST_FUNCTION): New macro.
22351 Include test-skeleton.c.
22352 * time/tst-strptime.c (main): Converted to ...
22353 (do_test): ... this.
22354 (TEST_FUNCTION): New macro.
22355 Include test-skeleton.c.
22356 * timezone/tst-timezone.c (main): Converted to ...
22357 (do_test): ... this.
22358 (TEST_FUNCTION): New macro.
22359 Include test-skeleton.c.
22360
22361 2015-08-05 Zack Weinberg <zackw@panix.com>
22362
22363 * misc/regexp.h: Update comments.
22364
22365 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
22366
22367 [BZ #18635]
22368 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22369 before return label.
22370
22371 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22372
22373 [BZ #18661]
22374 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22375 when calling __errno_location.
22376 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22377 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22378
22379 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22380
22381 [BZ #18661]
22382 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22383 (__lll_timedwait_tid): Align stack to 16 bytes when calling
22384 __gettimeofday.
22385
22386 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22387
22388 [BZ #18661]
22389 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22390 (__start_context): Don't use pop to restore %rdi so that stack
22391 is aligned to 16 bytes when calling __setcontext.
22392
22393 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22394
22395 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22396 only for libc.
22397 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22398
22399 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22400
22401 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22402 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
22403 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22404
22405 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22406
22407 * string/memccpy.c (memccpy):
22408 Improve performance by using memchr/memcpy/__mempcpy.
22409
22410 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22411
22412 * string/strncpy.c (strncpy):
22413 Improve performance by using __strnlen/memcpy.
22414
22415 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22416
22417 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22418 Optimize to avoid an unnecessary FPCR read.
22419
22420 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22421
22422 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22423 Optimize to reduce FPCR/FPSR accesses.
22424
22425 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22426
22427 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22428 dead->data[category] != NULL.
22429
22430 2015-08-05 Joseph Myers <joseph@codesourcery.com>
22431
22432 [BZ #18647]
22433 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22434 and |x| close to 1, use absolute value of x when computing log.
22435 * math/auto-libm-test-in: Add more tests of pow.
22436 * math/auto-libm-test-out: Regenerated.
22437
22438 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22439
22440 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
22441 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
22442 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
22443
22444 2015-08-05 Marko Myllynen <myllynen@redhat.com>
22445
22446 [BZ #18525]
22447 * locales/km_KH: Remove timezone definition.
22448 * locales/lo_LA: Likewise.
22449 * locales/my_MM: Likewise.
22450 * locales/nan_TW@latin: Likewise.
22451 * locales/th_TH: Likewise.
22452 * locales/uk_UA: Likewise.
22453
22454 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
22455
22456 [BZ #18265]
22457 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
22458 (wcsncat): Likewise.
22459 (wcscmp): Likewise.
22460 (wcsncmp): Likewise.
22461
22462 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22463
22464 * test-skeleton.c (usage): New function.
22465 (main): Call usage when opt is '?'.
22466
22467 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22468
22469 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
22470 before first use.
22471
22472 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22473
22474 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
22475 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
22476 in there too.
22477
22478 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
22479
22480 * version.h (RELEASE): Set to "development".
22481 (VERSION): Set to "2.22.90"
22482
22483 * version.h (RELEASE): Set to "stable".
22484 (VERSION): Set to "2.22"
22485 * include/features.h (__GLIBC_MINOR__): Set to 22.
22486
22487 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
22488
22489 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
22490 Restructure macro to avoid "value computed is not used" warning.
22491 (atomic_compare_and_exchange_val_acq): Likewise.
22492
22493 2015-08-04 Andreas Schwab <schwab@suse.de>
22494
22495 [BZ #18635]
22496 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
22497 ret.
22498 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
22499
22500 2015-08-01 Carlos O'Donell <carlos@redhat.com>
22501
22502 * po/pl.po: Updated translation.
22503 * po/uk.po: Likewise.
22504 * po/fi.po: Likewise.
22505 * po/ko.po: Likewise.
22506 * po/ru.po: Likewise.
22507 * po/vi.po: Likewise.
22508
22509 2015-07-31 Zack Weinberg <zackw@panix.com>
22510
22511 [BZ #18681]
22512 * regexp.h: Add unconditional #warning stating that this header
22513 will be removed soon. Revise banner comment to match.
22514 (compile): Consistently use ERROR instead of RETURN to report
22515 errors (partial fix for bz#18681).
22516 * regexp.c: Don't include regexp.h. Remove some unnecessary
22517 declarations.
22518
22519 2015-07-31 Carlos O'Donell <carlos@redhat.com>
22520
22521 * po/libc.pot: Regenerated.
22522
22523 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
22524
22525 [BZ #18740]
22526 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
22527 float-vlen4-arch-ext-cflags): Removed.
22528 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
22529 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
22530
22531 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22532
22533 [BZ #14113]
22534 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
22535 aligned to __aligned__.
22536 (pthread_cond_t, pthread_rwlock_t): Likewise.
22537
22538 2015-07-30 Torvald Riegel <triegel@redhat.com>
22539
22540 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
22541
22542 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22543
22544 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
22545 (struct sigaction): Change sa_flags from a long to an int, and add
22546 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
22547
22548 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22549
22550 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
22551 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
22552 sysdeps/generic/sysdep.h include.
22553 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
22554 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
22555 sysdeps/hppa/sysdep.h.
22556 (ENTRY, PSEUDO): Undefine before defining.
22557
22558 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22559
22560 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
22561 from scratch to use INTERNAL_SYSCALL.
22562
22563 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
22564
22565 [BZ #18078]
22566 * scripts/check-localplt.awk: Support alternate relocations.
22567 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
22568 sections.
22569 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
22570 malloc entries with + REL R_386_GLOB_DAT.
22571 * sysdeps/x86_64/localplt.data: New file.
22572
22573 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
22574
22575 [BZ #18731]
22576 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
22577 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22578 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22579
22580 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22581
22582 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
22583
22584 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22585
22586 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
22587 directly in terms of __sync_fetch_and_add and delete (int) cast.
22588
22589 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22590
22591 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
22592 the -D_ASM_IA64_CURRENT_H flag.
22593
22594 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22595
22596 [BZ #18641]
22597 * pwd/pwd.h (putpwent): Delete __nonnull markings.
22598
22599 2015-07-27 Andreas Schwab <schwab@suse.de>
22600
22601 * conform/conformtest.pl (checknamespace): Filter out string
22602 literals while tokenizing.
22603
22604 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
22605
22606 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22607 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
22608 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22609
22610 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
22611
22612 * nptl/tst-join7mod.c: Add #include <string.h>.
22613
22614 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
22615
22616 * sysdeps/nios2/libm-test-ulps: Update.
22617
22618 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
22619
22620 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
22621 Fix order of arguments to the rt_sigprocmask syscall.
22622 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
22623 Likewise.
22624
22625 2015-07-24 Roland McGrath <roland@hack.frob.com>
22626
22627 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
22628
22629 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22630
22631 [BZ #18457]
22632 * nptl/Makefile (tests): New test case tst-join7.
22633 (modules-names): New test case module tst-join7mod.
22634 * nptl/tst-join7.c: New file.
22635 * nptl/tst-join7mod.c: New file.
22636 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
22637 all translation units in libc.so, libpthread.so and rtld.
22638
22639 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22640
22641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22642
22643 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
22644
22645 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
22646 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22647 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22648 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22649 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22650 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22651 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22652 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22653 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22654 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22655 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22656 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22657 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
22658 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
22659 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
22660 implementation.
22661
22662 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22663
22664 [BZ #17711]
22665 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22666 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
22667 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22668 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22669 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
22670 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22671
22672 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22673
22674 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
22675 instead of just saying load lock in the comments.
22676
22677 2015-07-23 Roland McGrath <roland@hack.frob.com>
22678
22679 * sysdeps/unix/Subdirs: Moved ...
22680 * sysdeps/posix/Subdirs: ... here.
22681 * login/pty.h (struct termios, struct winsize): Add forward decls.
22682 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
22683 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
22684 * sysdeps/arm/nacl/libc.abilist: Updated.
22685 * sysdeps/nacl/libutil.abilist: New file.
22686
22687 * bits/signum.h: Update comments to mention 1003.1-2013 too.
22688 (SIGWINCH): New macro.
22689
22690 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
22691 * sysdeps/arm/nacl/libc.abilist: Add it.
22692
22693 2015-07-23 Mike Frysinger <vapier@gentoo.org>
22694
22695 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
22696
22697 2015-07-23 Mike Frysinger <vapier@gentoo.org>
22698
22699 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22700 Swap __glibc_reserved0 and sa_flags order.
22701
22702 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22703
22704 [BZ #18657]
22705 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
22706 are pending TLS destructor calls.
22707 * include/link.h (struct link_map): Add concurrency note for
22708 L_TLS_DTOR_COUNT.
22709 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22710 Don't touch the link map flag. Atomically increment
22711 l_tls_dtor_count.
22712 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
22713 Avoid taking the load lock and don't touch the link map flag.
22714 * stdlib/tst-tls-atexit-nodelete.c: New test case.
22715 * stdlib/Makefile (tests): Use it.
22716 * stdlib/tst-tls-atexit.c (do_test): dlopen
22717 tst-tls-atexit-lib.so again before dlclose. Add conditionals
22718 to allow tst-tls-atexit-nodelete test case to use it.
22719
22720 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22721
22722 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
22723 to bits/types.h.
22724 (msgqnum_t): New typedef.
22725 (msglen_t): Likewise.
22726 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
22727 and msg_qbytes type to msglen_t.
22728
22729 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22730
22731 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
22732 pad0 to __glibc_reserved0.
22733 (struct stat64): Likewise.
22734
22735 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22736
22737 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22738 Change sa_flags from a long to an int and add __glibc_reserved0 before
22739 it for padding.
22740
22741 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22742
22743 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
22744 anonymous by deleting "siginfo" name.
22745
22746 2015-07-21 Roland McGrath <roland@hack.frob.com>
22747
22748 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
22749 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
22750 rather than __nacl_irt_filename.
22751 * sysdeps/nacl/xstat.c (__xstat): Likewise.
22752
22753 * NEWS: New item for arm-nacl port.
22754 * sysdeps/arm/nacl/libc.abilist: New file.
22755 * sysdeps/nacl/ld.abilist: New file.
22756 * sysdeps/nacl/libBrokenLocale.abilist: New file.
22757 * sysdeps/nacl/libanl.abilist: New file.
22758 * sysdeps/nacl/libcrypt.abilist: New file.
22759 * sysdeps/nacl/libdl.abilist: New file.
22760 * sysdeps/nacl/libm.abilist: New file.
22761 * sysdeps/nacl/libpthread.abilist: New file.
22762 * sysdeps/nacl/libresolv.abilist: New file.
22763 * sysdeps/nacl/librt.abilist: New file.
22764
22765 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
22766
22767 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
22768 __startcontext to initialize the new context.
22769 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
22770 up CFI directive to forbid further backtracing.
22771
22772 2015-07-21 Marko Myllynen <myllynen@redhat.com>
22773
22774 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
22775 reference.
22776 * charmaps/ANSI_X3.4-1968: Likewise.
22777 * charmaps/BS_4730: Likewise.
22778 * charmaps/BS_VIEWDATA: Likewise.
22779 * charmaps/CP1250: Likewise.
22780 * charmaps/CP1251: Likewise.
22781 * charmaps/CP1252: Likewise.
22782 * charmaps/CP1253: Likewise.
22783 * charmaps/CP1254: Likewise.
22784 * charmaps/CP1255: Likewise.
22785 * charmaps/CP1256: Likewise.
22786 * charmaps/CSN_369103: Likewise.
22787 * charmaps/EBCDIC-DK-NO: Likewise.
22788 * charmaps/GB_1988-80: Likewise.
22789 * charmaps/GREEK-CCITT: Likewise.
22790 * charmaps/GREEK7: Likewise.
22791 * charmaps/INIS-8: Likewise.
22792 * charmaps/ISIRI-3342: Likewise.
22793 * charmaps/ISO_2033-1983: Likewise.
22794 * charmaps/ISO_5427-EXT: Likewise.
22795 * locales/POSIX: Likewise.
22796 * locales/ar_SA: Likewise.
22797 * locales/be_BY: Likewise.
22798 * locales/be_BY@latin: Likewise.
22799 * locales/ca_ES: Likewise.
22800 * locales/cs_CZ: Likewise.
22801 * locales/da_DK: Likewise.
22802 * locales/de_BE: Likewise.
22803 * locales/de_CH: Likewise.
22804 * locales/de_LU: Likewise.
22805 * locales/en_AU: Likewise.
22806 * locales/en_BW: Likewise.
22807 * locales/en_CA: Likewise.
22808 * locales/en_DK: Likewise.
22809 * locales/en_GB: Likewise.
22810 * locales/en_IE: Likewise.
22811 * locales/en_NZ: Likewise.
22812 * locales/en_ZA: Likewise.
22813 * locales/en_ZW: Likewise.
22814 * locales/es_AR: Likewise.
22815 * locales/es_BO: Likewise.
22816 * locales/es_CL: Likewise.
22817 * locales/es_CO: Likewise.
22818 * locales/es_DO: Likewise.
22819 * locales/es_EC: Likewise.
22820 * locales/es_ES: Likewise.
22821 * locales/es_HN: Likewise.
22822 * locales/es_MX: Likewise.
22823 * locales/es_PA: Likewise.
22824 * locales/es_PE: Likewise.
22825 * locales/es_PY: Likewise.
22826 * locales/es_SV: Likewise.
22827 * locales/es_US: Likewise.
22828 * locales/es_UY: Likewise.
22829 * locales/es_VE: Likewise.
22830 * locales/et_EE: Likewise.
22831 * locales/fa_IR: Likewise.
22832 * locales/fo_FO: Likewise.
22833 * locales/fr_CA: Likewise.
22834 * locales/fr_CH: Likewise.
22835 * locales/gv_GB: Likewise.
22836 * locales/he_IL: Likewise.
22837 * locales/hr_HR: Likewise.
22838 * locales/id_ID: Likewise.
22839 * locales/is_IS: Likewise.
22840 * locales/it_CH: Likewise.
22841 * locales/iw_IL: Likewise.
22842 * locales/kl_GL: Likewise.
22843 * locales/ko_KR: Likewise.
22844 * locales/kw_GB: Likewise.
22845 * locales/lg_UG: Likewise.
22846 * locales/lt_LT: Likewise.
22847 * locales/lv_LV: Likewise.
22848 * locales/mi_NZ: Likewise.
22849 * locales/nhn_MX: Likewise.
22850 * locales/nl_BE: Likewise.
22851 * locales/pl_PL: Likewise.
22852 * locales/sk_SK: Likewise.
22853 * locales/sl_SI: Likewise.
22854 * locales/sv_FI: Likewise.
22855 * locales/tl_PH: Likewise.
22856 * locales/tr_TR: Likewise.
22857 * locales/vi_VN: Likewise.
22858
22859 2015-07-21 Khem Raj <raj.khem@gmail.com>
22860
22861 [BZ #17475]
22862 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
22863 of tu_IN and bh_IN.
22864
22865 2015-07-21 Mike Frysinger <vapier@gentoo.org>
22866
22867 [BZ #18694]
22868 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
22869 bits/wordsize.h.
22870 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
22871
22872 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22873
22874 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
22875 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
22876 (spawn_thread): New function.
22877 (load): Rename to reg_dtor_and_close. Move dlopen to...
22878 (do_test): ... here. Use IS_LOADED to test for its
22879 availability.
22880
22881 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
22882
22883 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22884
22885 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
22886
22887 [BZ #18696]
22888 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
22889 si_addr_bnd.
22890 (si_lower): New.
22891 (si_upper): Likewise.
22892
22893 2015-07-16 David S. Miller <davem@davemloft.net>
22894
22895 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
22896
22897 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22898
22899 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
22900 buffer.
22901 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22902 fail output information.
22903
22904 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22905
22906 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
22907 and strstr-ppc64..
22908 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22909 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
22910 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
22911 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
22912 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
22913
22914 2015-07-16 Mike Frysinger <vapier@gentoo.org>
22915
22916 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22917 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22918 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22919 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22920
22921 2015-07-16 Mike Frysinger <vapier@gentoo.org>
22922
22923 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22924 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
22925 rtld_hidden_proto.
22926 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
22927
22928 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22929
22930 * tst-nodelete-opened.c (do_test): Add comment to clarify how
22931 the test can fail.
22932
22933 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22934
22935 [BZ #18676]
22936 * elf/tst-nodelete-opened.c: New test case.
22937 * elf/tst-nodelete-opened-lib.c: New test case module.
22938 * elf/Makefile (tests, modules-names): Use them.
22939 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
22940 early.
22941
22942 2015-07-15 David S. Miller <davem@davemloft.net>
22943
22944 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
22945 futex-intenal.h
22946 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
22947 * sysdeps/sparc/sparc64/Makefile: Likewise.
22948 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22949 Remove space from macro define.
22950 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
22951
22952 2015-07-15 Pravin Satpute <psatpute@redhat.com>
22953
22954 [BZ #17475]
22955 * locale/iso-639.def: Update Bhili and Tulu language codes as
22956 per iso639-3.
22957
22958 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
22959
22960 * elf/tst-leaks1.c (main): Converted to ...
22961 (do_test): ... this.
22962 (TEST_FUNCTION): New macro.
22963 Include test-skeleton.c.
22964 * localedata/tst-langinfo.c (main): Converted to ...
22965 (do_test): ... this.
22966 (TEST_FUNCTION): New macro.
22967 Include test-skeleton.c.
22968 * math/test-fpucw.c (main): Converted to ...
22969 (do_test): ... this.
22970 (TEST_FUNCTION): New macro.
22971 Include test-skeleton.c.
22972 * math/test-tgmath.c (main): Converted to ...
22973 (do_test): ... this.
22974 (TEST_FUNCTION): New macro.
22975 Include test-skeleton.c.
22976 * math/test-tgmath2.c (main): Converted to ...
22977 (do_test): ... this.
22978 (TEST_FUNCTION): New macro.
22979 Include test-skeleton.c.
22980 * setjmp/tst-setjmp.c (main): Converted to ...
22981 (do_test): ... this.
22982 (TEST_FUNCTION): New macro.
22983 Include test-skeleton.c.
22984 * stdio-common/tst-sscanf.c (main): Converted to ...
22985 (do_test): ... this.
22986 (TEST_FUNCTION): New macro.
22987 Include test-skeleton.c.
22988 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
22989 (do_test): ... this.
22990 (TEST_FUNCTION): New macro.
22991 Include test-skeleton.c.
22992
22993 * elf/tst-audit9.c (main): Converted to ...
22994 (do_test): ... this.
22995 (TEST_FUNCTION): New macro.
22996 Include test-skeleton.c.
22997
22998 2015-07-15 Mike Frysinger <vapier@gentoo.org>
22999
23000 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23001
23002 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23003
23004 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23005 New variable.
23006
23007 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23008
23009 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23010
23011 2015-07-14 Roland McGrath <roland@hack.frob.com>
23012
23013 * sysdeps/generic/dl-fileid.h: New file.
23014 * sysdeps/posix/dl-fileid.h: New file.
23015 * sysdeps/nacl/dl-fileid.h: New file.
23016 * include/link.h: Include <dl-fileid.h>.
23017 (struct link_map): Replace l_dev and l_ino with l_file_id.
23018 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23019 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
23020 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
23021
23022 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23023
23024 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23025
23026 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23027
23028 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23029 Add iff $CXX is set.
23030 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23031 Likewise.
23032 (tst-nodelete-zmodiff): Likewise.
23033 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23034
23035 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23036
23037 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23038
23039 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23040
23041 * sysdeps/aarch64/fpu/math_private.h
23042 (define math_opt_barrier): Add AArch64 version.
23043 (math_force_eval): Likewise.
23044
23045 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23046
23047 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23048
23049 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
23050
23051 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23052 %ld with %jd and cast to intmax_t.
23053 (do_test_length_zero): Likewise.
23054
23055 2015-07-10 Roland McGrath <roland@hack.frob.com>
23056
23057 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23058
23059 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
23060
23061 * sysdeps/tile/libm-test-ulps: Regenerated.
23062
23063 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23064 Comment out the whole function, not just its body.
23065
23066 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23067
23068 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23069 locks.
23070
23071 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23072
23073 2015-07-10 Torvald Riegel <triegel@redhat.com>
23074
23075 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23076 (sem_assume_only_signals_cause_futex_EINTR): Remove.
23077
23078 2015-07-10 Torvald Riegel <triegel@redhat.com>
23079
23080 * sysdeps/nptl/futex-internal.h: New file.
23081 * sysdeps/nacl/futex-internal.h: New file.
23082 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23083 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23084 error checking.
23085 (setxid_unmark_thread): Likewise.
23086 (__nptl_setxid): Likewise.
23087 (__wait_lookup_done): Likewise.
23088 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23089 * nptl/nptl-init.c (sighandler_setxid): Likewise.
23090 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23091 * nptl/pthread_once.c (clear_once_control): Likewise.
23092 (__pthread_once_slow): Likewise.
23093 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23094 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23095 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23096 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23097 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23098 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23099 Likewise.
23100 (__pthread_rwlock_rdlock): Likewise.
23101 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23102 Likewise.
23103 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23104 Likewise.
23105 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23106 Likewise.
23107 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23108 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23109 Likewise.
23110 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23111 __ASSUME_PRIVATE_FUTEX check.
23112 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23113 Check that shared futexes are supported.
23114 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23115 wrappers with error checking.
23116 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23117 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23118 * nptl/pthread_barrierattr_setpshared.c
23119 (pthread_barrierattr_setpshared): Check that shared futexes are
23120 supported.
23121 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23122 Likewise.
23123 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23124 Likewise.
23125 * nptl/sem_init.c (futex_private_if_supported): Remove.
23126 (__new_sem_init): Adapt and check that shared futexes are supported.
23127 * nptl/sem_open.c (sem_open): Likewise.
23128 * nptl/sem_post.c (futex_wake): Remove.
23129 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23130 (do_futex_wait): Use futex wrappers with error checking.
23131 * nptl/sem_wait.c: Include lowlevellock.h.
23132 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23133 Use futex_supports_pshared.
23134 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23135 Use futex wrappers with error checking.
23136 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23137 Likewise.
23138 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23139 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23140 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23141 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23142 (futex_wake): Likewise.
23143 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23144 (do_futex_wait): Use futex wrappers with error checking.
23145 (__new_sem_wait_slow): Update EINTR handling.
23146 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23147
23148 2015-07-09 Martin Sebor <msebor@redhat.com>
23149
23150 [BZ #18435]
23151 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23152 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23153 * nptl/Makefile (test-xfail-tst-once5): Define.
23154
23155 2015-07-09 Roland McGrath <roland@hack.frob.com>
23156
23157 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23158 * elf/dl-minimal.c: For readability, reorder some definitions and
23159 introduce more page breaks. Include <stdio.h>.
23160 (__libc_fatal): New function.
23161
23162 * include/unistd.h: Add rtld_hidden_proto for _exit.
23163 * posix/_exit.c: Add rtld_hidden_def.
23164 * sysdeps/mach/hurd/_exit.c: Likewise.
23165 * sysdeps/nacl/_exit.c: Likewise.
23166 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23167 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23168
23169 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
23170
23171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23172 bndmov encoding with zero displacement.
23173
23174 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
23175 H.J. Lu <hongjiu.lu@intel.com>
23176
23177 [BZ #18134]
23178 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23179 * sysdeps/i386/configure: Regenerated.
23180 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23181 (_dl_runtime_profile): Save and restore Intel MPX return bound
23182 registers when calling _dl_call_pltexit. Add
23183 PRESERVE_BND_REGS_PREFIX before return.
23184 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23185 (LRV_BND1_OFFSET): Likewise.
23186 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23187 lrv_bnd1.
23188 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23189 typo in bndmov encoding.
23190 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23191 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
23192 branch instructions to preserve bounds.
23193
23194 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23195
23196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23197 [GLIBC_2.22]: Add fmemopen.
23198
23199 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
23200
23201 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23202 returns an error, also try to use host port from __mach_host_self for
23203 the __vm_wire call.
23204 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23205
23206 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
23207
23208 [BZ #18400]
23209 [BZ #18648]
23210 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23211 Fix pr_uid and pr_gid members.
23212 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23213 definition to elf_greg_t.
23214
23215 2015-07-08 Roland McGrath <roland@hack.frob.com>
23216
23217 [BZ #18383]
23218 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23219 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23220 * sysdeps/arm/configure: Regenerated.
23221 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23222 (test-xfail-tst-tlsalign-static): Variable removed.
23223
23224 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23225 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23226 rather than explicit 'ln -s'.
23227
23228 * resolv/rpc/netdb.h: New file.
23229 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23230
23231 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23232
23233 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23234 length buffers.
23235 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23236 test-skeleton.c.
23237
23238 [BZ #6544]
23239 [BZ #11216]
23240 [BZ #12836]
23241 [BZ #13151]
23242 [BZ #13152]
23243 [BZ #14292]
23244 * include/stdio.h (fmemopen): Remove hidden prototype.
23245 (__fmemopen): Add new hidden prototype.
23246 * libio/Makefile: Add oldfmemopen object.
23247 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23248 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23249 compliance.
23250 * libio/oldfmemopen.c: New file: old fmemopen implementation for
23251 symbol compatibility.
23252 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23253 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23254 fmemopen.
23255 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23256 on append and read mode.
23257 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23258 fmemopen.
23259 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23260 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23261 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23262 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23263 Likewise.
23264 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23265 [GLIBC_2.22]: Likewise.
23266 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23267 Likewise.
23268 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23269 Likewise.
23270 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23271 [GLIBC_2.22]: Likewise.
23272 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23273 [GLIBC_2.22]: Likewise.
23274 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23275 [GLIBC_2.22]: Likewise.
23276 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23277 [GLIBC_2.22]: Likewise.
23278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23279 [GLIBC_2.22]: Likewise.
23280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23281 [GLIBC_2.22]: Likewise.
23282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23283 [GLIBC_2.22]: Likewise.
23284 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23285 Likewise.
23286 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23287 Likewise.
23288 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23289 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23290 [GLIBC_2.22]: Likewise.
23291 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23292 [GLIBC_2.22]: Likewise.
23293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23294 [GLIBC_2.22]: Likewise.
23295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23296 [GLIBC_2.22]: Likewise.
23297 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23298 Likewise.
23299 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23300 Likewise.
23301 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23302 Likewise.
23303 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23304 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23305
23306 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23307
23308 [BZ #18643]
23309 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23310 IPV6_PATHMTU, and IPV6_DONTFRAG.
23311
23312 2015-07-08 Feng Gao <gfree.wind@gmail.com>
23313
23314 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23315 and _IO_UNBUFFERED.
23316 * libio/oldfileops.c: Likewise.
23317 * libio/wfileops.c: Likewise.
23318
23319 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23320
23321 * nscd/selinux.c: Delete selinux/flask.h include.
23322
23323 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23324
23325 [BZ #18641]
23326 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23327 (putpwent): Likewise.
23328 (getpwnam): Likewise.
23329 (getpwent_r): Likewise.
23330 (getpwuid_r): Likewise.
23331 (getpwnam_r): Likewise.
23332 (fgetpwent_r): Likewise.
23333
23334 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23335
23336 [BZ #18557]
23337 * inet/rcmd.c (__validuser2_sa): Check user first to
23338 short-circuit host check.
23339
23340 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
23341 Mikhail Ilin <m.ilin@samsung.com>
23342
23343 [BZ #17833]
23344 * elf/Makefile (tests): Add tst-nodelete.
23345 (modules-names): Add tst-nodelete-uniquemod.
23346 (tst-nodelete-uniquemod.so-no-z-defs): New.
23347 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23348 (tst-nodelete-zmod.so-no-z-defs): Likewise.
23349 ($(objpfx)tst-nodelete): Likewise.
23350 ($(objpfx)tst-nodelete.out): Likewise.
23351 (LDFLAGS-tst-nodelete): Likewise.
23352 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23353 * elf/dl-close.c (_dl_close_worker): Add a parameter to
23354 implement forced object deletion.
23355 (_dl_close): Pass false to _dl_close_worker.
23356 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23357 * elf/tst-nodelete.cc: New file.
23358 * elf/tst-nodeletelib.cc: Likewise.
23359 * elf/tst-znodeletelib.cc: Likewise.
23360 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23361
23362 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23363
23364 [BZ #18508]
23365 * stdlib/Makefile ($(objpfx)tst-makecontext3):
23366 Depend on $(libdl).
23367 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23368 is not called infinitely times.
23369 (backtrace_helper): New function.
23370 (trace_arg): New struct.
23371 (st1): Enlarge stack size.
23372 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23373 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23374 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23375 Likewise.
23376
23377 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23378
23379 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23380
23381 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23382
23383 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23384 Include sys/types.h instead of bits/types.h.
23385 Remove inclusion of bits/wordsize.h.
23386
23387 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23388
23389 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23390 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23391 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23392 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23393 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23394 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23395
23396 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23397
23398 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23399 link-defines.sym.
23400 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23401 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23402 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23403 and LR_SIZE.
23404 * sysdeps/i386/link-defines.sym: New file.
23405
23406 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23407
23408 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23409 (modules-names): Add tst-auditmod3a tst-auditmod3b.
23410 ($(objpfx)tst-audit3): New rule.
23411 ($(objpfx)tst-audit3.out): Likewise.
23412 * sysdeps/i386/tst-audit3.c: New file.
23413 * sysdeps/i386/tst-audit3.h: Likewise.
23414 * sysdeps/i386/tst-auditmod3a.c: Likewise.
23415 * sysdeps/i386/tst-auditmod3b.c: Likewise.
23416
23417 2015-07-07 Torvald Riegel <triegel@redhat.com>
23418
23419 [BZ #18633]
23420 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23421 pointer in C code.
23422 (__strcat_c): Likewise.
23423 (__strcat_g): Likewise.
23424
23425 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
23426
23427 [BZ #18592]
23428 * misc/sbrk.c: Set errno to ENOMEM on overflow.
23429
23430 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23431
23432 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23433 New function. (__ieee754_sqrtf): New function.
23434 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23435 New function.
23436 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23437 New function.
23438
23439 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23440
23441 * sysdeps/ieee754/support.c: Remove unused file.
23442
23443 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
23444
23445 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
23446 registers instead of d ones so the layout is kernel abi compatible.
23447 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
23448 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
23449 Likewise.
23450
23451 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23452
23453 * sysdeps/aarch64/libm-test-ulps: Regenerated.
23454
23455 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23456
23457 [BZ #18619]
23458 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
23459 and return argument in case of subnormal argument.
23460
23461 2015-07-01 Martin Sebor <msebor@redhat.com>
23462
23463 [BZ #18435]
23464 * nptl/Makefile: Add tst-once5.cc.
23465 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23466 Remove macro redefinitions.
23467 * nptl/tst-once5.cc: New test.
23468
23469 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23470
23471 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23472
23473 * sysdeps/arm/libm-test-ulps: Regenerated.
23474
23475 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23476 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23477
23478 2015-06-30 Torvald Riegel <triegel@redhat.com>
23479
23480 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
23481 lll_lock_wait_private and lll_futex_wake probes.
23482
23483 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23484 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
23485 Likewise.
23486 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
23487 atomic_spin_nop.
23488 * sysdeps/x86_64/bits/atomic.h: Likewise.
23489 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
23490 to atomic_spin_nop and move ...
23491 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23492 ... here and ...
23493 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
23494 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
23495 atomic_spin_nop instead of BUSY_WAIT_NOP.
23496 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
23497 Likewise.
23498 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
23499 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23500 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
23501 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
23502 instead of atomic_delay.
23503
23504 2015-06-29 Joseph Myers <joseph@codesourcery.com>
23505
23506 [BZ #18613]
23507 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
23508 X_ADJ not X when adjusting exponent.
23509 (__ieee754_gamma_r): Do intermediate computations in
23510 round-to-nearest then adjust overflowing and underflowing results
23511 as needed.
23512 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
23513 of X_ADJ not X when adjusting exponent.
23514 (__ieee754_gammaf_r): Do intermediate computations in
23515 round-to-nearest then adjust overflowing and underflowing results
23516 as needed.
23517 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
23518 log of X_ADJ not X when adjusting exponent.
23519 (__ieee754_gammal_r): Do intermediate computations in
23520 round-to-nearest then adjust overflowing and underflowing results
23521 as needed. Use 1.0L not 1.0f as numerator of division.
23522 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
23523 log of X_ADJ not X when adjusting exponent.
23524 (__ieee754_gammal_r): Do intermediate computations in
23525 round-to-nearest then adjust overflowing and underflowing results
23526 as needed. Use 1.0L not 1.0f as numerator of division.
23527 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
23528 of X_ADJ not X when adjusting exponent.
23529 (__ieee754_gammal_r): Do intermediate computations in
23530 round-to-nearest then adjust overflowing and underflowing results
23531 as needed. Use 1.0L not 1.0f as numerator of division.
23532 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
23533 to auto-libm-test-in.
23534 (tgamma_test): Use ALL_RM_TEST.
23535 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
23536 tests of tgamma with spurious-overflow.
23537 * math/auto-libm-test-out: Regenerated.
23538 * math/gen-libm-have-vector-test.sh: Do not check for START.
23539 * sysdeps/i386/fpu/libm-test-ulps: Update.
23540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23541
23542 [BZ #18612]
23543 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
23544 arguments, just return 0.5 times the argument, with underflow
23545 forced as needed.
23546 * math/auto-libm-test-in: Add more tests of j1.
23547 * math/auto-libm-test-out: Regenerated.
23548
23549 [BZ #16559]
23550 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
23551 (__ieee754_j1): Force underflow exception for small results.
23552 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23553 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
23554 (__ieee754_j1f): Force underflow exception for small results.
23555 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23556 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23558 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
23559 (__ieee754_j1l): Force underflow exception for small results.
23560 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23561 * math/auto-libm-test-in: Add more tests of j1 and jn.
23562 * math/auto-libm-test-out: Regenerated.
23563
23564 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
23565 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
23566 (PF_MPLS): Likewise.
23567 (AF_IB): Likewise.
23568 (AF_MPLS): Likewise.
23569 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
23570 value and macro.
23571 (MS_RMT_MASK): Include MS_LAZYTIME.
23572
23573 2015-06-26 Mel Gorman <mgorman@suse.de>
23574
23575 [BZ #18502]
23576 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
23577 already minimal.
23578
23579 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
23580
23581 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
23582 (DT_MIPS_NUM): Update.
23583 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
23584 DT_MIPS_RLD_MAP_REL.
23585
23586 2015-06-25 Joseph Myers <joseph@codesourcery.com>
23587
23588 [BZ #16559]
23589 [BZ #18602]
23590 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
23591 round-to-nearest internally then recompute results that
23592 underflowed to zero in the original rounding mode.
23593 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23594 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23595 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23596 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23597 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
23598 * sysdeps/i386/fpu/libm-test-ulps: Update.
23599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23600
23601 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
23602
23603 * NEWS: Fixed description of link with vector math library.
23604
23605 2015-06-25 Andreas Schwab <schwab@suse.de>
23606
23607 [BZ #18549]
23608 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
23609 * libio/test-fmemopen.c (do_test): Add test for it.
23610
23611 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
23612
23613 [BZ #17841]
23614 * Makeconfig (no-pie-ldflag): New.
23615 (+link): Set to $(+link-pie) if default to PIE.
23616 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
23617 * config.make.in (build-pie-default): New.
23618 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
23619 is default. AC_SUBST.
23620 * configure: Regenerated.
23621 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
23622
23623 2015-06-24 Roland McGrath <roland@hack.frob.com>
23624
23625 * nptl/descr.h (struct pthread): Change type of field setxid_futex
23626 to 'unsigned int'.
23627
23628 * resolv/gai_misc.h (struct waitlist): Change type of field
23629 counterp to 'volatile unsigned int *'.
23630 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
23631 FUTEXADDR and OLDVAL.
23632 * resolv/getaddrinfo_a.c (getaddrinfo_a):
23633 Give local variable TOTAL type 'volatile unsigned int'.
23634 (struct async_waitlist): Change type of field counter to 'unsigned int'.
23635 * resolv/gai_suspend.c (gai_suspend):
23636 Give local variable CNTR type 'unsigned int'.
23637
23638 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
23639 counterp to 'volatile unsigned int *'.
23640 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
23641 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
23642 (aio_suspend): Give local variable CNTR type 'unsigned int'.
23643 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
23644 Give local variable TOTAL type 'volatile unsigned int'.
23645 (struct async_waitlist): Change type of field counter to 'unsigned int'.
23646
23647 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
23648
23649 [BZ #18383]
23650 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
23651 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
23652 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
23653 comment for i386/x86-64.
23654 (test-xfail-tst-tlsalign-extern-static): Removed.
23655
23656 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23657
23658 * math/test-double.h: New file.
23659 * math/test-float.h: Likewise.
23660 * math/test-ldouble.h: Likewise.
23661 * math/test-math-inline.h: Likewise.
23662 * math/test-math-no-inline.h: Likewise.
23663 * math/test-math-scalar.h: Likewise.
23664 * math/test-math-vector.h: Likewise.
23665 * math/test-vec-loop.h: Remove file. Contents moved into
23666 test-math-vector.h.
23667 * math/libm-test.inc (MATHCONST): Do not document macro.
23668 * math/test-double.c: Include test-double.h, test-math-no-inline.h
23669 and test-math-scalar.h.
23670 (FUNC): Remove macro.
23671 (FUNC_TEST): Likewise.
23672 (FLOAT): Likewise.
23673 (MATHCONST): Likewise.
23674 (PRINTF_EXPR): Likewise.
23675 (PRINTF_XEXPR): Likewise.
23676 (PRINTF_NEXPR): Likewise.
23677 (TEST_DOUBLE): Likewise.
23678 (TEST_MATHVEC): Likewise.
23679 (__NO_MATH_INLINES): Likewise.
23680 * math/test-float.c: Include test-float.h, test-math-no-inline.h
23681 and test-math-scalar.h.
23682 (FUNC): Remove macro.
23683 (FUNC_TEST): Likewise.
23684 (FLOAT): Likewise.
23685 (MATHCONST): Likewise.
23686 (PRINTF_EXPR): Likewise.
23687 (PRINTF_XEXPR): Likewise.
23688 (PRINTF_NEXPR): Likewise.
23689 (TEST_FLOAT): Likewise.
23690 (TEST_MATHVEC): Likewise.
23691 (__NO_MATH_INLINES): Likewise.
23692 * math/test-idouble.c: Include test-double.h, test-math-inline.h
23693 and test-math-scalar.h.
23694 (FUNC): Remove macro.
23695 (FUNC_TEST): Likewise.
23696 (FLOAT): Likewise.
23697 (MATHCONST): Likewise.
23698 (PRINTF_EXPR): Likewise.
23699 (PRINTF_XEXPR): Likewise.
23700 (PRINTF_NEXPR): Likewise.
23701 (TEST_DOUBLE): Likewise.
23702 (TEST_MATHVEC): Likewise.
23703 (TEST_INLINE): Likewise.
23704 (__NO_MATH_INLINES): Likewise.
23705 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
23706 test-math-scalar.h.
23707 (FUNC): Remove macro.
23708 (FUNC_TEST): Likewise.
23709 (FLOAT): Likewise.
23710 (MATHCONST): Likewise.
23711 (PRINTF_EXPR): Likewise.
23712 (PRINTF_XEXPR): Likewise.
23713 (PRINTF_NEXPR): Likewise.
23714 (TEST_FLOAT): Likewise.
23715 (TEST_MATHVEC): Likewise.
23716 (TEST_INLINE): Likewise.
23717 (__NO_MATH_INLINES): Likewise.
23718 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
23719 and test-math-scalar.h.
23720 (FUNC): Remove macro.
23721 (FUNC_TEST): Likewise.
23722 (FLOAT): Likewise.
23723 (MATHCONST): Likewise.
23724 (PRINTF_EXPR): Likewise.
23725 (PRINTF_XEXPR): Likewise.
23726 (PRINTF_NEXPR): Likewise.
23727 (TEST_LDOUBLE): Likewise.
23728 (TEST_MATHVEC): Likewise.
23729 (TEST_INLINE): Likewise.
23730 (__NO_MATH_INLINES): Likewise.
23731 * math/test-ldouble.c: Include test-ldouble.h,
23732 test-math-no-inline.h and test-math-scalar.h.
23733 (FUNC): Remove macro.
23734 (FUNC_TEST): Likewise.
23735 (FLOAT): Likewise.
23736 (MATHCONST): Likewise.
23737 (PRINTF_EXPR): Likewise.
23738 (PRINTF_XEXPR): Likewise.
23739 (PRINTF_NEXPR): Likewise.
23740 (TEST_LDOUBLE): Likewise.
23741 (TEST_MATHVEC): Likewise.
23742 (__NO_MATH_INLINES): Likewise.
23743 * math/test-double-vlen2.h: Include test-double.h,
23744 test-math-no-inline.h and test-math-vector.h.
23745 (FLOAT): Remove macro.
23746 (FUNC): Likewise.
23747 (MATHCONST): Likewise.
23748 (PRINTF_EXPR): Likewise.
23749 (PRINTF_XEXPR): Likewise.
23750 (PRINTF_NEXPR): Likewise.
23751 (TEST_DOUBLE): Likewise.
23752 (TEST_MATHVEC): Likewise.
23753 (__NO_MATH_INLINES): Likewise.
23754 (CNCT): Likewise.
23755 (CONCAT): Likewise.
23756 (WRAPPER_NAME): Likewise.
23757 (WRAPPER_DECL): Likewise.
23758 (WRAPPER_DECL_ff): Likewise.
23759 (WRAPPER_DECL_fFF): Likewise.
23760 (VECTOR_WRAPPER): Likewise.
23761 (VECTOR_WRAPPER_ff): Likewise.
23762 (VECTOR_WRAPPER_fFF): Likewise.
23763 (VEC_LEN): New macro.
23764 * math/test-double-vlen4.h: Include test-double.h,
23765 test-math-no-inline.h and test-math-vector.h.
23766 (FLOAT): Remove macro.
23767 (FUNC): Likewise.
23768 (MATHCONST): Likewise.
23769 (PRINTF_EXPR): Likewise.
23770 (PRINTF_XEXPR): Likewise.
23771 (PRINTF_NEXPR): Likewise.
23772 (TEST_DOUBLE): Likewise.
23773 (TEST_MATHVEC): Likewise.
23774 (__NO_MATH_INLINES): Likewise.
23775 (CNCT): Likewise.
23776 (CONCAT): Likewise.
23777 (WRAPPER_NAME): Likewise.
23778 (WRAPPER_DECL): Likewise.
23779 (WRAPPER_DECL_ff): Likewise.
23780 (WRAPPER_DECL_fFF): Likewise.
23781 (VECTOR_WRAPPER): Likewise.
23782 (VECTOR_WRAPPER_ff): Likewise.
23783 (VECTOR_WRAPPER_fFF): Likewise.
23784 (VEC_LEN): New macro.
23785 * math/test-double-vlen8.h: Include test-double.h,
23786 test-math-no-inline.h and test-math-vector.h.
23787 (FLOAT): Remove macro.
23788 (FUNC): Likewise.
23789 (MATHCONST): Likewise.
23790 (PRINTF_EXPR): Likewise.
23791 (PRINTF_XEXPR): Likewise.
23792 (PRINTF_NEXPR): Likewise.
23793 (TEST_DOUBLE): Likewise.
23794 (TEST_MATHVEC): Likewise.
23795 (__NO_MATH_INLINES): Likewise.
23796 (CNCT): Likewise.
23797 (CONCAT): Likewise.
23798 (WRAPPER_NAME): Likewise.
23799 (WRAPPER_DECL): Likewise.
23800 (WRAPPER_DECL_ff): Likewise.
23801 (WRAPPER_DECL_fFF): Likewise.
23802 (VECTOR_WRAPPER): Likewise.
23803 (VECTOR_WRAPPER_ff): Likewise.
23804 (VECTOR_WRAPPER_fFF): Likewise.
23805 (VEC_LEN): New macro.
23806 * math/test-float-vlen4.h: Include test-float.h,
23807 test-math-no-inline.h and test-math-vector.h.
23808 (FLOAT): Remove macro.
23809 (FUNC): Likewise.
23810 (MATHCONST): Likewise.
23811 (PRINTF_EXPR): Likewise.
23812 (PRINTF_XEXPR): Likewise.
23813 (PRINTF_NEXPR): Likewise.
23814 (TEST_FLOAT): Likewise.
23815 (TEST_MATHVEC): Likewise.
23816 (__NO_MATH_INLINES): Likewise.
23817 (CNCT): Likewise.
23818 (CONCAT): Likewise.
23819 (WRAPPER_NAME): Likewise.
23820 (WRAPPER_DECL): Likewise.
23821 (WRAPPER_DECL_ff): Likewise.
23822 (WRAPPER_DECL_fFF): Likewise.
23823 (VECTOR_WRAPPER): Likewise.
23824 (VECTOR_WRAPPER_ff): Likewise.
23825 (VECTOR_WRAPPER_fFF): Likewise.
23826 (VEC_LEN): New macro.
23827 * math/test-float-vlen8.h: Include test-float.h,
23828 test-math-no-inline.h and test-math-vector.h.
23829 (FLOAT): Remove macro.
23830 (FUNC): Likewise.
23831 (MATHCONST): Likewise.
23832 (PRINTF_EXPR): Likewise.
23833 (PRINTF_XEXPR): Likewise.
23834 (PRINTF_NEXPR): Likewise.
23835 (TEST_FLOAT): Likewise.
23836 (TEST_MATHVEC): Likewise.
23837 (__NO_MATH_INLINES): Likewise.
23838 (CNCT): Likewise.
23839 (CONCAT): Likewise.
23840 (WRAPPER_NAME): Likewise.
23841 (WRAPPER_DECL): Likewise.
23842 (WRAPPER_DECL_ff): Likewise.
23843 (WRAPPER_DECL_fFF): Likewise.
23844 (VECTOR_WRAPPER): Likewise.
23845 (VECTOR_WRAPPER_ff): Likewise.
23846 (VECTOR_WRAPPER_fFF): Likewise.
23847 (VEC_LEN): New macro.
23848 * math/test-float-vlen16.h: Include test-float.h,
23849 test-math-no-inline.h and test-math-vector.h.
23850 (FLOAT): Remove macro.
23851 (FUNC): Likewise.
23852 (MATHCONST): Likewise.
23853 (PRINTF_EXPR): Likewise.
23854 (PRINTF_XEXPR): Likewise.
23855 (PRINTF_NEXPR): Likewise.
23856 (TEST_FLOAT): Likewise.
23857 (TEST_MATHVEC): Likewise.
23858 (__NO_MATH_INLINES): Likewise.
23859 (CNCT): Likewise.
23860 (CONCAT): Likewise.
23861 (WRAPPER_NAME): Likewise.
23862 (WRAPPER_DECL): Likewise.
23863 (WRAPPER_DECL_ff): Likewise.
23864 (WRAPPER_DECL_fFF): Likewise.
23865 (VECTOR_WRAPPER): Likewise.
23866 (VECTOR_WRAPPER_ff): Likewise.
23867 (VECTOR_WRAPPER_fFF): Likewise.
23868 (VEC_LEN): New macro.
23869 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
23870 test-vec-loop.h.
23871 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23872 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23873 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23874 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23875 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23876 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23877 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23878
23879 2015-06-24 Roland McGrath <roland@hack.frob.com>
23880
23881 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
23882 (__getlogin_r): ... this.
23883
23884 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23885
23886 [BZ #18594]
23887 * math/s_ccosh.c (__ccosh): Compare with least normal value
23888 instead of comparing class with FP_SUBNORMAL.
23889 * math/s_ccoshf.c (__ccoshf): Likewise.
23890 * math/s_ccoshl.c (__ccoshl): Likewise.
23891 * math/s_cexp.c (__cexp): Likewise.
23892 * math/s_cexpf.c (__cexpf): Likewise.
23893 * math/s_cexpl.c (__cexpl): Likewise.
23894 * math/s_csin.c (__csin): Likewise.
23895 * math/s_csinf.c (__csinf): Likewise.
23896 * math/s_csinh.c (__csinh): Likewise.
23897 * math/s_csinhf.c (__csinhf): Likewise.
23898 * math/s_csinhl.c (__csinhl): Likewise.
23899 * math/s_csinl.c (__csinl): Likewise.
23900 * math/s_ctan.c (__ctan): Likewise.
23901 * math/s_ctanf.c (__ctanf): Likewise.
23902 * math/s_ctanh.c (__ctanh): Likewise.
23903 * math/s_ctanhf.c (__ctanhf): Likewise.
23904 * math/s_ctanhl.c (__ctanhl): Likewise.
23905 * math/s_ctanl.c (__ctanl): Likewise.
23906 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
23907 csin, csinh, ctan and ctanh.
23908 * math/auto-libm-test-out: Regenerated.
23909 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
23910 * sysdeps/i386/fpu/libm-test-ulps: Update.
23911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23912
23913 2015-06-24 Roland McGrath <roland@hack.frob.com>
23914
23915 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
23916 return value is wrong, print the expected value too.
23917
23918 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
23919
23920 [BZ #18585]
23921 * elf/readlib.c (is_gdb_python_file): New.
23922 (process_file): Don't issue errors on filenames with -gdb.py
23923 suffix.
23924
23925 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23926
23927 * math/auto-libm-test-in: Add more tests of csin and csinh.
23928 * math/auto-libm-test-out: Regenerated.
23929 * math/libm-test.inc (csin_test_data): Remove tests moved to
23930 auto-libm-test-in.
23931 (csinh_test_data): Likewise.
23932
23933 [BZ #18593]
23934 * math/s_csin.c (__csin): Negate before rather than after possibly
23935 overflowing multiplication.
23936 * math/s_csinf.c (__csinf): Likewise.
23937 * math/s_csinh.c (__csinh): Likewise.
23938 * math/s_csinhf.c (__csinhf): Likewise.
23939 * math/s_csinhl.c (__csinhl): Likewise.
23940 * math/s_csinl.c (__csinl): Likewise.
23941 * math/auto-libm-test-in: Add some tests of csin and csinh.
23942 * math/auto-libm-test-out: Regenerated.
23943 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
23944 (csinh_test_data): Likewise.
23945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23946
23947 [BZ #18586]
23948 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
23949 underflow exception for small results.
23950
23951 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
23952
23953 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23954 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
23955 variable and included header.
23956 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
23957 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
23958 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
23959 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
23960 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
23961 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
23962 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
23963 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
23964 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
23965 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
23966 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23967 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
23968 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
23969 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
23970 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
23971 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
23972
23973 2015-06-23 Joseph Myers <joseph@codesourcery.com>
23974
23975 [BZ #16526]
23976 [BZ #16538]
23977 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
23978 (__sin): Force underflow exception for arguments with small
23979 absolute value.
23980 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
23981 (__kernel_sinf): Force underflow exception for arguments with
23982 small absolute value.
23983 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
23984 (__kernel_sincosl): Force underflow exception for arguments with
23985 small absolute value.
23986 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
23987 (__kernel_sinl): Force underflow exception for arguments with
23988 small absolute value.
23989 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
23990 (__kernel_sincosl): Force underflow exception for arguments with
23991 small absolute value.
23992 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
23993 (__kernel_sinl): Force underflow exception for arguments with
23994 small absolute value.
23995 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
23996 (__kernel_sinl): Force underflow exception for arguments with
23997 small absolute value.
23998 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
23999 (__kernel_sinf): Force underflow exception for arguments with
24000 small absolute value.
24001 * math/auto-libm-test-in: Add more tests of sin and sincos.
24002 * math/auto-libm-test-out: Regenerated.
24003
24004 [BZ #18245]
24005 [BZ #18583]
24006 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24007 (__kernel_standard_l): Use feholdexcept and fesetenv around
24008 conversion to double instead of special-casing overflow and
24009 underflow.
24010 * math/libm-test.inc (fmod_test_data): Add more tests.
24011 (remainder_test_data): Likewise.
24012 (sqrt_test_data): Likewise.
24013
24014 2015-06-23 Torvald Riegel <triegel@redhat.com>
24015
24016 [BZ #17403]
24017 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24018 atomic_read_barrier, atomic_write_barrier): Define.
24019 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24020 atomic_read_barrier, atomic_write_barrier): Define.
24021
24022 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24023
24024 * math/Makefile [$(PERL) != no]
24025 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24026 dependency on libm-test.stmp below the inclusion of Rules.
24027
24028 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
24029
24030 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24031 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24032 and included header.
24033 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24034 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24035 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24036 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24037 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24038 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24039 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24040 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24041 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24042 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24043 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24044 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24045 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24046 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24047 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24048 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24049 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24050 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24051 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24052
24053 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24054
24055 [BZ #18371]
24056 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24057 intermediate but not final result might underflow.
24058 * math/s_csqrtf.c (__csqrtf): Likewise.
24059 * math/s_csqrtl.c (__csqrtl): Likewise.
24060 * math/auto-libm-test-in: Add more tests of csqrt.
24061 * math/auto-libm-test-out: Regenerated.
24062 * sysdeps/i386/fpu/libm-test-ulps: Update.
24063
24064 [BZ #18219]
24065 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24066 threshold on absolute value of exponent for which scaling is used.
24067 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24068 * math/auto-libm-test-in: Add more tests of exp2.
24069 * math/auto-libm-test-out: Regenerated.
24070
24071 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
24072
24073 [BZ #17977]
24074 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24075 when initializing interface list, based on the bug analysis
24076 and the patch proposed by Eric Newton.
24077 * resolv/tst-res_hconf_reorder.c: New test.
24078 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24079 tst-res_hconf_reorder.
24080 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24081 and $(shared-thread-library).
24082 (tst-res_hconf_reorder-ENV): New variable.
24083
24084 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24085 in comment.
24086
24087 2015-06-22 Joseph Myers <joseph@codesourcery.com>
24088
24089 [BZ #16353]
24090 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24091 (__expm1): Force underflow exception for arguments with small
24092 absolute value.
24093 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24094 (__expm1f): Force underflow exception for arguments with small
24095 absolute value.
24096 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24097 (__expm1): Force underflow exception for arguments with small
24098 absolute value.
24099 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24100 (__expm1f): Force underflow exception for arguments with small
24101 absolute value.
24102 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24103 Check for small arguments before calling __expm1.
24104 * math/auto-libm-test-in: Do not mark underflow exceptions as
24105 possibly missing for bug 16353.
24106 * math/auto-libm-test-out: Regenerated.
24107
24108 2015-06-22 Andreas Schwab <schwab@suse.de>
24109
24110 [BZ #18513]
24111 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24112 PTR queries.
24113
24114 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
24115
24116 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24117
24118 * string/strcoll_l.c: Remove unused struct element idxnow.
24119
24120 2015-06-21 Joseph Myers <joseph@codesourcery.com>
24121
24122 [BZ #18569]
24123 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24124 underflow and return argument in case of subnormal argument.
24125 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24126 Likewise.
24127 * math/auto-libm-test-in: Add more tests of expm1.
24128 * math/auto-libm-test-out: Regenerated.
24129
24130 [BZ #16361]
24131 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24132 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24133 tiny results.
24134 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24135 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24136 tiny results.
24137 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
24138 mark underflow exceptions as possibly missing for bug 16361.
24139 * math/auto-libm-test-out: Regenerated.
24140
24141 2015-06-19 Joseph Myers <joseph@codesourcery.com>
24142
24143 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24144 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24145 Remove variable.
24146 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24147 (test-xfail-XOPEN2K8/utmpx.h/conform).
24148
24149 * conform/conformtest.pl ($xerrors): New variable.
24150 (note_error): New function.
24151 (compiletest): New argument $xfail. Use not_error.
24152 (runtest): Likewise.
24153 (top level): Handle xfail- lines. Update calls to compiletest and
24154 runtest. Handle xfail- and optional- in headers listed with
24155 allow-header.
24156 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24157 (O_EXEC): Likewise.
24158 (O_SEARCH): Likewise.
24159 * conform/data/stropts.h-data (ioctl): Likewise.
24160 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24161 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24162 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24163 (msghdr.msg_controllen): Likewise.
24164 (cmsghdr.cmsg_len): Likewise.
24165 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24166 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24167 variable.
24168 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24169 (test-xfail-XPG4/stropts.h/conform): Likewise.
24170 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24171 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24172 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24173 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24174 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24175 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24176 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24177 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24178 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24179 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24180 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24181 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24182 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24183 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24184 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24185 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24186 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24187 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24188 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24189
24190 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
24191
24192 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24193 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24194 definitions for proper unfolding of __MATHDECL_VEC.
24195
24196 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24197
24198 * benchtests/bench-strcoll.c:
24199 Include string.h.
24200 (main): Remove unused variable res.
24201
24202 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24203
24204 * timezone/Makefile (%/UTC %/Universal):
24205 Generate test-result files for UTC and Universal.
24206
24207 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24208
24209 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24210
24211 2015-06-18 Joseph Myers <joseph@codesourcery.com>
24212
24213 [BZ #16350]
24214 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24215 for arguments with small absolute value.
24216 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24217 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24218 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24219 (__asinh): Force underflow exception for arguments with small
24220 absolute value.
24221 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24222 (__asinhf): Force underflow exception for arguments with small
24223 absolute value.
24224 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24225 (__asinhl): Force underflow exception for arguments with small
24226 absolute value.
24227 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24228 (__asinhl): Force underflow exception for arguments with small
24229 absolute value.
24230 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24231 (__asinhl): Force underflow exception for arguments with small
24232 absolute value.
24233 * math/auto-libm-test-in: Do not mark underflow exceptions as
24234 possibly missing for bug 16350.
24235 * math/auto-libm-test-out: Regenerated.
24236
24237 * include/bits/ipc.h: Remove file.
24238 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24239 variable.
24240 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24241 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24242 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24243 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24244 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24245 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24246 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24247 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24248 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24249
24250 * math/auto-libm-test-in: Remove spurious underflow allowance for
24251 tests of cexp.
24252 * math/auto-libm-test-out: Regenerated.
24253
24254 [BZ #18558]
24255 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24256 unconditional definition.
24257 (MCAST_BLOCK_SOURCE): Likewise.
24258 (MCAST_UNBLOCK_SOURCE): Likewise.
24259 (MCAST_LEAVE_GROUP): Likewise.
24260 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24261 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24262 (MCAST_MSFILTER): Likewise.
24263 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24264 Remove variable.
24265 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24266 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24267 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24268 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24269 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24270
24271 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
24272
24273 * NEWS: Mention addition of x86_64 vector sincosf.
24274 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24275 * math/test-float-vlen4.h: Likewise.
24276 * math/test-float-vlen8.h: Likewise.
24277 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24278 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24279 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24280 * sysdeps/x86_64/fpu/Versions: New versions added.
24281 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24282 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24283 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24284 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24285 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24286 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24287 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24288 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24289 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24290 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24291 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24292 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24293 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24294 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24295 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24296 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24297 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24298 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24299 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24300 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24301 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24302 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24303 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24304 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24305
24306 * NEWS: Mention addition of x86_64 vector sincos.
24307 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24308 * math/math.h (__MATHDECL_VEC): New macro.
24309 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24310 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24311 declaration under condition.
24312 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24313 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24314 TEST_VEC_LOOP change.
24315 * math/test-double-vlen4.h: Likewise.
24316 * math/test-double-vlen8.h: Likewise.
24317 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24318 * math/test-float-vlen4.h: Likewise.
24319 * math/test-float-vlen8.h: Likewise.
24320 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24321 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24322 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24323 * sysdeps/x86_64/fpu/Versions: New versions added.
24324 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24325 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24326 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24327 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24328 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24329 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24330 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24331 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24332 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24333 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24334 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24335 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24336 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24337 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24338 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24339 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24340 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24341 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24342 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24343 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24344 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24345 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24346 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24347 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24348
24349 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24350 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24351 redirections for powf.
24352 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24353 * sysdeps/x86_64/fpu/Versions: New versions added.
24354 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24355 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24356 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24357 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24358 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24359 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24360 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24361 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24362 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24363 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24364 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24365 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24366 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24367 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24368 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24369 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24370 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24371 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24372 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24373 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24374 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24375 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24376 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24377 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24378 * math/test-float-vlen16.h: Fixed 2 argument macro.
24379 * math/test-float-vlen4.h: Likewise.
24380 * math/test-float-vlen8.h: Likewise.
24381 * NEWS: Mention addition of x86_64 vector powf.
24382
24383 2015-06-17 Joseph Myers <joseph@codesourcery.com>
24384
24385 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24386 and redefine.
24387 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24388 and redefine.
24389 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24390 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24391 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24392
24393 [BZ #18553]
24394 * resource/getpriority.c (getpriority): Rename to __getpriority
24395 and define as weak alias of __getpriority.
24396 * resource/setpriority.c (setpriority): Rename to __setpriority
24397 and define as weak alias of __setpriority.
24398 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24399 __getpriority and define as weak alias of __getpriority.
24400 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24401 __setpriority and define as weak alias of __setpriority.
24402 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24403 strong name.
24404 (setpriority): Use __setpriority as strong name.
24405 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24406 __getpriority and define as weak alias of __getpriority.
24407 * include/sys/resource.h (__getpriority): Declare. Use
24408 libc_hidden_proto.
24409 (__setpriority): Likewise.
24410 (getpriority): Don't use libc_hidden_proto.
24411 (setpriority): Likewise.
24412 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24413 getpriority. Call __setpriority instead of setpriority.
24414 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24415 Remove variable.
24416
24417 [BZ #18547]
24418 * misc/getttyent.c (getttynam): Rename to __getttynam and define
24419 as weak alias of __getttynam. Use prototype function definition.
24420 Call __setttyent, __getttyent and __endttyent instead of
24421 setttyent, getttyent and endttyent.
24422 (getttyent): Rename to __getttyent and define as weak alias of
24423 __getttyent. Call __setttyent instead of setttyent. Call
24424 __fgets_unlocked instead of fgets_unlocked.
24425 (setttyent): Rename to __setttyent and define as weak alias of
24426 __setttyent.
24427 (endttyent): Rename to __endttyent and define as weak alias of
24428 __endttyent.
24429 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
24430 (__setttyent): Likewise.
24431 (__endttyent): Likewise.
24432 (getttyent): Don't use libc_hidden_proto.
24433 (setttyent): Likewise.
24434 (endttyent): Likewise.
24435 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24436 __endttyent instead of setttyent, getttyent and endttyent.
24437 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24438 Remove variable.
24439
24440 [BZ #18546]
24441 * socket/recv.c (__recv): Use libc_hidden_def.
24442 * socket/socket.c (__socket): Likewise.
24443 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24444 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24445 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
24446 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
24447 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
24448 libc_hidden_def.
24449 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
24450 libc_hidden_weak.
24451 * include/sys/socket.h (__socket): Do not use attribute_hidden.
24452 Use libc_hidden_proto.
24453 (__recv): Likewise.
24454 * socket/Versions (libc): Export __recv and __socket at version
24455 GLIBC_PRIVATE.
24456 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
24457 instead of recv.
24458 (init_mq_netlink): Call __socket instead of socket.
24459 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
24460 Remove variable.
24461
24462 [BZ #18545]
24463 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
24464 __mq_timedreceive and define as alias of __mq_timedreceive. Use
24465 hidden_weak.
24466 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
24467 define as alias of __mq_timedsend. Use hidden_weak.
24468 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
24469 __mq_timedsend as strong name.
24470 (mq_timedreceive): Use __mq_timedreceive as strong name.
24471 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
24472 (__mq_timedreceive): Likewise.
24473 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
24474 __mq_timedreceive instead of mq_timedreceive.
24475 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
24476 instead of mq_timedsend.
24477 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
24478 Remove variable.
24479
24480 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
24481 hidden_def and hidden_weak instead of libc_hidden_def and
24482 libc_hidden_weak.
24483 (top level): Refer to hidden_def in comment.
24484 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
24485 macro. Use it instead of libc_hidden_def.
24486 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
24487 specify __GI_* name explicitly.
24488 (mq_timedreceive): Likewise.
24489 (mq_setattr): Likewise.
24490
24491 [BZ #18544]
24492 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
24493 __pthread_barrier_init and define as weak alias of
24494 __pthread_barrier_init.
24495 * sysdeps/sparc/nptl/pthread_barrier_init.c
24496 (pthread_barrier_init): Likewise.
24497 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
24498 __pthread_barrier_wait and define as weak alias of
24499 __pthread_barrier_wait.
24500 * sysdeps/sparc/nptl/pthread_barrier_wait.c
24501 (pthread_barrier_wait): Likewise.
24502 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24503 (pthread_barrier_wait): Likewise.
24504 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
24505 (pthread_barrier_wait): Likewise.
24506 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
24507 (pthread_barrier_wait): Likewise.
24508 * nptl/Versions (libpthread): Export __pthread_barrier_init and
24509 __pthread_barrier_wait at version GLIBC_PRIVATE.
24510 * include/pthread.h (__pthread_barrier_init): Declare.
24511 (__pthread_barrier_wait): Likewise.
24512 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
24513 Call __pthread_barrier_wait instead of pthread_barrier_wait.
24514 (helper_thread): Likewise.
24515 (init_mq_netlink): Call __pthread_barrier_init instead of
24516 pthread_barrier_init.
24517
24518 [BZ #18542]
24519 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
24520 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
24521 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
24522 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
24523 vswscanf.
24524 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
24525 Remove variable.
24526
24527 [BZ #18540]
24528 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
24529 strong alias of _IO_fflush. Use libc_hidden_def.
24530 * libio/iofflush_u.c (fflush_unlocked): Rename to
24531 __fflush_unlocked and define as weak alias of __fflush_unlocked.
24532 Use libc_hidden_weak.
24533 * include/stdio.h (__fflush_unlocked): Declare. Use
24534 libc_hidden_proto.
24535 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
24536 fflush_unlocked.
24537 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
24538 Remove variable.
24539
24540 [BZ #18539]
24541 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
24542 define as weak alias of __addseverity.
24543 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
24544 Remove variable.
24545 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24546 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24547 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24548
24549 [BZ #18536]
24550 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
24551 (__tfind): Likewise.
24552 (__tdelete): Likewise.
24553 (__twalk): Likewise.
24554 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
24555 __twalk to GLIBC_PRIVATE.
24556 * include/search.h (__tsearch): Use libc_hidden_proto.
24557 (__tfind): Likewise.
24558 (__tdelete): Likewise.
24559 (__twalk): Likewise.
24560 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
24561 Call __tdelete instead of tdelete.
24562 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
24563 tfind. Call __tsearch instead of tsearch.
24564 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
24565 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
24566 Remove variable.
24567 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24568
24569 [BZ #18534]
24570 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
24571 (dprintf): Define as a weak alias of __dprintf, not a strong
24572 alias.
24573 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
24574 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
24575 dprintf.
24576 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
24577 Remove variable.
24578 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24579 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24580
24581 [BZ #18533]
24582 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
24583 not a strong alias.
24584 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
24585 Remove variable.
24586
24587 [BZ #18532]
24588 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
24589 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
24590 (in6addr_loopback): Rename to __in6addr_loopback and define as
24591 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
24592 * include/netinet/in.h (__in6addr_loopback): Declare. Use
24593 libc_hidden_proto.
24594 (__in6addr_any): Likewise.
24595 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
24596 in6addr_any.
24597 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
24598 variable.
24599 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24600
24601 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
24602
24603 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
24604 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
24605 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24606 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24607 redirections for pow.
24608 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24609 * sysdeps/x86_64/fpu/Versions: New versions added.
24610 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24611 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24612 build of SSE, AVX2 and AVX512 IFUNC versions.
24613 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
24614 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
24615 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
24616 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
24617 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
24618 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
24619 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
24620 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
24621 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
24622 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
24623 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
24624 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
24625 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
24626 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
24627 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24628 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24629 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24630 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24631 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24632 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24633 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24634 * NEWS: Mention addition of x86_64 vector pow.
24635
24636 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24637 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24638 redirections for expf.
24639 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24640 * sysdeps/x86_64/fpu/Versions: New versions added.
24641 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24642 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24643 build of SSE, AVX2 and AVX512 IFUNC versions.
24644 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
24645 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
24646 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
24647 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
24648 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
24649 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
24650 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
24651 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
24652 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
24653 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
24654 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
24655 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
24656 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
24657 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24658 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24659 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24660 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24661 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24662 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24663 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24664 * NEWS: Mention addition of x86_64 vector expf.
24665
24666 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
24667 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
24668 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24669 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24670 redirections for exp.
24671 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24672 * sysdeps/x86_64/fpu/Versions: New versions added.
24673 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24674 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24675 build of SSE, AVX2 and AVX512 IFUNC versions.
24676 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
24677 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
24678 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
24679 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
24680 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
24681 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
24682 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
24683 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
24684 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
24685 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
24686 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
24687 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
24688 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
24689 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24690 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24691 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24692 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24693 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24694 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24695 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24696 * NEWS: Mention addition of x86_64 vector exp.
24697
24698 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24699 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24700 redirections for logf.
24701 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24702 * sysdeps/x86_64/fpu/Versions: New versions added.
24703 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24704 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24705 build of SSE, AVX2 and AVX512 IFUNC versions.
24706 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
24707 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
24708 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
24709 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
24710 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
24711 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
24712 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
24713 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
24714 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
24715 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
24716 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
24717 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
24718 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
24719 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24720 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24721 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24722 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24723 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24724 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24725 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24726 * NEWS: Mention addition of x86_64 vector logf.
24727
24728 * bits/libm-simd-decl-stubs.h: Added stubs for log.
24729 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
24730 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24731 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24732 redirections for log.
24733 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24734 * sysdeps/x86_64/fpu/Versions: New versions added.
24735 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24736 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24737 build of SSE, AVX2 and AVX512 IFUNC versions.
24738 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
24739 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
24740 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
24741 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
24742 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
24743 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
24744 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
24745 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
24746 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
24747 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
24748 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
24749 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
24750 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
24751 test.
24752 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24753 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24754 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24755 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24756 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24757 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24758 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24759 * NEWS: Mention addition of x86_64 vector log.
24760
24761 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
24762
24763 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
24764 cfi_adjust_cfa_offset argument.
24765 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
24766 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
24767
24768 [BZ #18034]
24769 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
24770 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
24771 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
24772 ordering using ldar.
24773 (_dl_tlsdesc_dynamic): Likewise.
24774 (_dl_tlsdesc_return_lazy): Likewise.
24775 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
24776 relaxed atomics instead of volatile and synchronize with release store.
24777 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
24778 volatile.
24779 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24780
24781 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
24782
24783 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24784 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
24785 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24786 * sysdeps/x86_64/fpu/Versions: New versions added.
24787 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24788 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24789 build of SSE, AVX2 and AVX512 IFUNC versions.
24790 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
24791 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
24792 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
24793 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
24794 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
24795 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
24796 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
24797 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
24798 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
24799 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
24800 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
24801 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
24802 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
24803 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24804 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24805 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24806 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24807 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24808 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24809 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24810 * NEWS: Mention addition of x86_64 vector sinf.
24811
24812 2015-06-14 Joseph Myers <joseph@codesourcery.com>
24813
24814 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
24815 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
24816 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
24817 Remove variable.
24818 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24819 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24820
24821 2015-06-12 Joseph Myers <joseph@codesourcery.com>
24822
24823 [BZ #18530]
24824 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
24825 strong alias of _IO_fputs. Use libc_hidden_def.
24826 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
24827 and define as weak alias of __fputs_unlocked. Use
24828 libc_hidden_weak.
24829 * include/stdio.h (__fputs_unlocked): Declare. Use
24830 libc_hidden_proto.
24831 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
24832 fputs_unlocked.
24833
24834 [BZ #18529]
24835 * resolv/netdb.h [__USE_POSIX]: Change condition to
24836 [__USE_XOPEN2K].
24837 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
24838 not expect.
24839 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
24840 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
24841 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
24842 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
24843 [XPG4 || UNIX98] (AI_ALL): Likewise.
24844 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
24845 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
24846 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
24847 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
24848 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
24849 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
24850 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
24851 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
24852 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
24853 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
24854 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24855 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
24856 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
24857 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
24858 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
24859 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24860 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24861 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
24862 [XPG4 || UNIX98] (gai_strerror): Likewise.
24863 [XPG4 || UNIX98] (getaddrinfo): Likewise.
24864 [XPG4 || UNIX98] (getnameinfo): Likewise.
24865
24866 [BZ #18528]
24867 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
24868 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
24869 __USE_XOPEN2K8].
24870 (getgrent): Likewise.
24871 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
24872 expect.
24873 [XPG3 || POSIX2008] (endgrent): Likewise.
24874 [XPG3] (setgrent): Likewise.
24875 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
24876 variable.
24877 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24878
24879 [BZ #18527]
24880 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
24881 define as weak alias of __getlogin_r. Use libc_hidden_weak.
24882 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
24883 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
24884 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
24885 * include/unistd.h (__getlogin_r): Declare. Use
24886 libc_hidden_proto.
24887 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
24888 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
24889 variable.
24890 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24891 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24892 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24893
24894 2015-06-12 Martin Sebor <msebor@redhat.com>
24895
24896 [BZ #18512]
24897 * Makerules (check-install-supported): New target.
24898 (install): Add check-install-supported as a dependency.
24899 * manual/install.texi (Installing the C Library): Document
24900 that overriding prefix and exec_prefix is not supported.
24901 Mention DESTDIR.
24902 * INSTALL: Regenerate from the above.
24903
24904 2015-06-12 Joseph Myers <joseph@codesourcery.com>
24905
24906 [BZ #18519]
24907 * posix/Versions (libc): Export __libc_pread at version
24908 GLIBC_PRIVATE.
24909 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
24910 instead of pread.
24911 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
24912 variable.
24913
24914 [BZ #18522]
24915 * misc/efgcvt_r.c
24916 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24917 (cvt_symbol): Use weak_alias instead of strong_alias.
24918 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
24919 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
24920 Remove variable.
24921 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24922 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24923
24924 [BZ #18520]
24925 * inet/herrno.c (h_errno): Rename to __h_errno.
24926 (__libc_h_errno): Define as alias of __h_errno not h_errno.
24927 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
24928 to __h_errno instead of h_errno.
24929 * nptl/herrno.c (h_errno): Rename to __h_errno.
24930 (__h_errno_location): Refer to __h_errno not h_errno.
24931 * resolv/Versions (h_errno): Rename to __h_errno.
24932 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
24933 Remove variable.
24934 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24935
24936 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
24937
24938 * configure.ac: More strict check for AVX512 assembler support.
24939 * configure: Regenerated.
24940
24941 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
24942 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
24943 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24944 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
24945 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24946 * sysdeps/x86_64/fpu/Versions: New versions added.
24947 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24948 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24949 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24950 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
24951 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
24952 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
24953 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
24954 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
24955 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
24956 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
24957 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
24958 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24959 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
24960 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
24961 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
24962 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
24963 test.
24964 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24965 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24966 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24967 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24968 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24969 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24970 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24971 * NEWS: Mention addition of x86_64 vector sin.
24972
24973 2015-06-11 Florian Weimer <fweimer@redhat.com>
24974
24975 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
24976 comment.
24977
24978 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
24979
24980 [BZ #18479]
24981 * nptl/pt-interp.c: New file.
24982 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
24983 Add pt-interp.
24984 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
24985 $(common-objpfx)runtime-linker.h.
24986
24987 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
24988
24989 * Makeconfig (+interp): Remove unused variable.
24990 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24991 only. Depend on $(common-objpfx)runtime-linker.h instead of
24992 $(elf-objpfx)runtime-linker.h.
24993 ($(elf-objpfx)runtime-linker.h): Rename to
24994 $(common-objpfx)runtime-linker.h and move ...
24995 * Makerules [$(build-shared) = yes]: ... here.
24996 * elf/interp.c: Include <runtime-linker.h> instead of
24997 <elf/runtime-linker.h>.
24998
24999 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25000
25001 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25002 (__gettimeofday_syscall): Remove vsyscall fallback.
25003 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25004 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25005 Add syscall fallback function.
25006 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25007 if vDSO is not present.
25008 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25009 fallback function.
25010 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25011 present.
25012 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25013 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25014
25015 2015-06-09 Joseph Myers <joseph@codesourcery.com>
25016
25017 [BZ #18497]
25018 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25019 of wcscmp.
25020 (wcscmp): Define as weak alias of WCSCMP.
25021 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25022 wcscoll.
25023 (USE_HIDDEN_DEF): Define.
25024 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25025 __wcscoll. Don't use libc_hidden_weak.
25026 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25027 wcscmp.
25028 * sysdeps/i386/i686/multiarch/wcscmp-c.c
25029 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25030 __GI_wcscmp.
25031 (weak_alias): Undefine and redefine.
25032 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25033 __wcscmp and define as weak alias of __wcscmp.
25034 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25035 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
25036 (__wcscoll): Likewise.
25037 (wcscmp): Don't use libc_hidden_proto.
25038 (wcscoll): Likewise.
25039 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25040 wcscoll.
25041 * posix/regexec.c (check_node_accept_bytes): Likewise.
25042 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25043 variable.
25044 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25045 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25046
25047 [BZ #18507]
25048 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25049 __fstatvfs and define as weak alias of __fstatvfs. Use
25050 libc_hidden_weak.
25051 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25052 and define as weak alias of __statvfs. Use libc_hidden_weak.
25053 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25054 Define as alias of __fstatvfs, not fstatvfs.
25055 (fstatvfs64): Likewise.
25056 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25057 Define as alias of __statvfs, not statvfs.
25058 (statvfs64): Likewise.
25059 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25060 Remove variable.
25061
25062 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25063
25064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25065 (HAVE_GETCPU_VSYSCALL): Define.
25066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25067 (HAVE_GETCPU_VSYSCALL): Likewise.
25068 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25069 * sysdeps/unix/sysv/linux/sched_getcpu.c
25070 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25071 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25072 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25073 prototype.
25074 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25075 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25076 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25078 Define.
25079 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25080 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25081 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25082 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25083
25084 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
25085
25086 * sysdeps/x86_64/fpu/Makefile: New file.
25087 * sysdeps/x86_64/fpu/Versions: New file.
25088 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25089 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25090 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25091 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25092 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25093 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25094 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25095 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25096 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25097 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25098 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25099 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25100 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25101 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25102 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25103 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25104 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25105 * sysdeps/x86_64/configure.ac: Options for libmvec build.
25106 * sysdeps/x86_64/configure: Regenerated.
25107 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25108 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25109 * manual/install.texi (Configuring and compiling): Document
25110 --disable-mathvec.
25111 * INSTALL: Regenerated.
25112 * NEWS: Mention addition of libmvec and x86_64 vector cos.
25113
25114 * math/Makefile: Added rules for vector tests.
25115 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25116 declaration under condition.
25117 * math/test-double-vlen2.h: New file.
25118 * math/test-double-vlen4.h: New file.
25119 * math/test-double-vlen8.h: New file.
25120 * math/test-vec-loop.h: Added initialization macro.
25121 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25122 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25123 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25124 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25125 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25126 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25127 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25128 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25129 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25130 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25131 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25132
25133 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25134 * sysdeps/x86_64/fpu/Versions: New versions added.
25135 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25136 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25137 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25138 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25139 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25140 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25141 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25142 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25143 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25144 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25145 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25146 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25147 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25148 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25149 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25150 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25151 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25152 * NEWS: Mention addition of x86_64 vector cosf.
25153
25154 * math/Makefile: Added CFLAGS for new tests.
25155 * math/test-float-vlen16.h: New file.
25156 * math/test-float-vlen4.h: New file.
25157 * math/test-float-vlen8.h: New file.
25158 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25159 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25160 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25161 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25162 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25163 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25164 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25165 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25166 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25167 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25168 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25169
25170 2015-06-09 Marko Myllynen <myllynen@redhat.com>
25171
25172 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25173 * locale/programs/ld-ctype.c: Likewise.
25174
25175 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
25176
25177 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25178 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25179 bit_ZMM16_31_state): New macro.
25180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25181 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25182
25183 2015-06-08 Joseph Myers <joseph@codesourcery.com>
25184
25185 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25186
25187 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
25188
25189 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25190
25191 2015-06-05 Joseph Myers <joseph@codesourcery.com>
25192
25193 [BZ #18498]
25194 * libio/memstream.c (open_memstream): Rename to __open_memstream
25195 and define as weak alias of __open_memstream.
25196 * include/stdio.h (__open_memstream): Declare. Use
25197 libc_hidden_proto.
25198 (open_memstream): Don't use libc_hidden_proto.
25199 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25200 open_memstream.
25201 * posix/getopt.c (_getopt_internal_r): Likewise.
25202 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25203 variable.
25204 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25205 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25206 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25207
25208 [BZ #18496]
25209 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25210 instead of wcrtomb.
25211
25212 [BZ #18483]
25213 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25214 [__USE_XOPEN2K8]. Remove redundant #endif.
25215 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25216 Remove redundant #if.
25217 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25218 Remove variable.
25219 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25220 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25221
25222 [BZ #18495]
25223 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25224 (__iswlower): Likewise.
25225 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
25226 (__iswlower): Likewise.
25227 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25228 instead of towlower.
25229 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25230 instead of iswlower. Call __towupper instead of towupper.
25231 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25232 instead of iswalnum.
25233
25234 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25235
25236 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25237 errors to stderr.
25238
25239 2015-06-05 Florian Weimer <fweimer@redhat.com>
25240
25241 [BZ #15661]
25242 [BZ #17322]
25243 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25244 Check for overflow properly. Check for O_APPEND. Ignore large
25245 file system block sizes. Add comments about problems.
25246 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25247 * manual/filesys.texi (Storage Allocation): New node.
25248
25249 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25250
25251 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25252 cancellable syscalls.
25253 (SYS_ify): Add guard to no redefine it.
25254 (INLINE_SYSCALL): Likewise.
25255 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25256 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25257 SYSCALL_CANCEL instead.
25258 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25259 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25260 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25261 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25262 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25263 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25264 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25265 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25266 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25267 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25268 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25269 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25270 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25271 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25272 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25273 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25274 Likewise.
25275 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25276 (__libc_pread64): Likewise.
25277 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25278 (__libc_preadv): Likewise.
25279 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25280 (__libc_readv64): Likewise.
25281 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25282 (__libc_pwrite): Likewise.
25283 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25284 (__libc_pwrite64): Likewise.
25285 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25286 (__libc_pwritev): Likewise.
25287 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25288 (__libc_pwritev64): Likewise.
25289 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25290 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25291 (sync_file_range): Likewise.
25292 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25293 Likewise.
25294 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25295 Likewise.
25296 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25297 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25298 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25299 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25300 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25301 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25302 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25303 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25305 Likewise.
25306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25307 (__libc_read64): Likewise.
25308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25309 Likewise.
25310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25311 Likewise.
25312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25313 Likewise.
25314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25315 Likewise.
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25317 (__libc_pread64): Likewise.
25318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25319 Likewise.
25320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25321 (__libc_pwrite64): Likewise.
25322 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25323 (sync_file_range): Likewise.
25324 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25325 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25326 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25327 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25328 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25329 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25330 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25331 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25332 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25333 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25334 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25335 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25336 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25337 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25338 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25339 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25340 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25341 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25342 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25343 Likewise.
25344 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25345 Likewise.
25346 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25347 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25348 Likewise.
25349 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25350 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25351 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25352 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25353 Likewise.
25354 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25355 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25356 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25357 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25358 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25359
25360 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
25361
25362 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25363 Include dl-vdso.
25364 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25365 Use VDSO routines for gettimeofday, clock_gettime if
25366 available.
25367 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25368 Declare VDSO symbols.
25369 * sysdeps/unix/sysv/linux/arm/sysdep.h:
25370 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25371 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25372 * sysdeps/unix/sysv/linux/arm/Versions: Add
25373 __vdso_clock_gettime.
25374
25375 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25376
25377 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25378 be an inline implementation regardless of library is built within.
25379 (open_not_cancel_2): Likewise.
25380 (__read_nocancel): Likewise.
25381 (__write_nocancel): Likewise.
25382 (openat_not_cancel): Likewise.
25383 (openat_not_cancel_3): Likewise.
25384 (openat64_not_cancel): Likewise.
25385 (openat64_not_cancel_3): Likewise.
25386 (__close_nocancel): Likewise.
25387 (pause_not_cancel): Likewise.
25388 (nanosleep_not_cancel): Likewise.
25389 (sigsuspend_not_cancel): Likewise.
25390
25391 2015-06-04 Torvald Riegel <triegel@redhat.com>
25392
25393 [BZ #14958]
25394 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25395 wake-up.
25396 (__pthread_rwlock_rdlock_slow): Likewise.
25397 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25398 Likewise.
25399 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25400 Likewise.
25401 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25402 * nptl/tst-rwlock16.c: New file.
25403 * nptl/Makefile (tests): Add new test.
25404
25405 2015-06-04 Torvald Riegel <triegel@redhat.com>
25406
25407 [BZ #18324]
25408 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25409 missing wake-up of readers.
25410 * nptl/tst-rwlock15.c: New file.
25411 * nptl/Makefile (tests): Add new test.
25412
25413 2015-06-03 Roland McGrath <roland@hack.frob.com>
25414
25415 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25416 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25417 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25418 and __nacl_supply_interface_rtld.
25419 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25420 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25421 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25422 Add __nacl_supply_interface_rtld.
25423 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25424
25425 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25426
25427 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25428 isfinite.
25429 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25430 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25431
25432 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25433
25434 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25435 __signbit* with standard C99 macros.
25436 * math/e_exp10l.c: Likewise.
25437 * math/e_exp2l.c: Likewise.
25438 * math/e_scalb.c: Likewise.
25439 * math/e_scalbf.c: Likewise.
25440 * math/e_scalbl.c: Likewise.
25441 * math/s_ldexp.c: Likewise.
25442 * math/s_ldexpf.c: Likewise.
25443 * math/s_ldexpl.c: Likewise.
25444 * math/w_atan2.c: Likewise.
25445 * math/w_atan2f.c: Likewise.
25446 * math/w_atan2l.c: Likewise.
25447 * math/w_cosh.c: Likewise.
25448 * math/w_coshf.c: Likewise.
25449 * math/w_coshl.c: Likewise.
25450 * math/w_exp10.c: Likewise.
25451 * math/w_exp10f.c: Likewise.
25452 * math/w_exp10l.c: Likewise.
25453 * math/w_exp2.c: Likewise.
25454 * math/w_exp2f.c: Likewise.
25455 * math/w_exp2l.c: Likewise.
25456 * math/w_fmod.c: Likewise.
25457 * math/w_fmodf.c: Likewise.
25458 * math/w_fmodl.c: Likewise.
25459 * math/w_hypot.c: Likewise.
25460 * math/w_hypotf.c: Likewise.
25461 * math/w_hypotl.c: Likewise.
25462 * math/w_jnl.c: Likewise.
25463 * math/w_lgamma.c: Likewise.
25464 * math/w_lgamma_r.c: Likewise.
25465 * math/w_lgammaf.c: Likewise.
25466 * math/w_lgammaf_r.c: Likewise.
25467 * math/w_lgammal.c: Likewise.
25468 * math/w_lgammal_r.c: Likewise.
25469 * math/w_pow.c: Likewise.
25470 * math/w_powf.c: Likewise.
25471 * math/w_powl.c: Likewise.
25472 * math/w_remainder.c: Likewise.
25473 * math/w_remainderf.c: Likewise.
25474 * math/w_remainderl.c: Likewise.
25475 * math/w_scalb.c: Likewise.
25476 * math/w_scalbf.c: Likewise.
25477 * math/w_scalbl.c: Likewise.
25478 * math/w_scalbln.c: Likewise.
25479 * math/w_scalblnf.c: Likewise.
25480 * math/w_scalblnl.c: Likewise.
25481 * math/w_sinh.c: Likewise.
25482 * math/w_sinhf.c: Likewise.
25483 * math/w_sinhl.c: Likewise.
25484 * math/w_tgamma.c: Likewise.
25485 * math/w_tgammaf.c: Likewise.
25486 * math/w_tgammal.c: Likewise.
25487 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25488 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
25489 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25490 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25494 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25495 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25496 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25497 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25498 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25499 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25500 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25501 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25503 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25509 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25511 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25515 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25516 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25517 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
25518 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
25519 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
25520 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
25521 * stdio-common/printf_fp.c: Likewise.
25522 * stdio-common/printf_fphex.c: Likewise.
25523 * stdio-common/printf_size.c: Likewise.
25524
25525 2015-06-03 Joseph Myers <joseph@codesourcery.com>
25526
25527 [BZ #18470]
25528 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
25529 strnlen.
25530 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
25531 Remove variable.
25532 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25533 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25534 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25535 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25536 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25537 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25538 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25539 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25540 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25541 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25542
25543 [BZ #18468]
25544 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
25545 weak alias of __wmemchr. Use libc_hidden_weak.
25546 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
25547 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
25548 instead of wmemchr.
25549
25550 2015-06-02 Roland McGrath <roland@hack.frob.com>
25551
25552 [BZ #18383]
25553 * elf/tst-tlsalign-extern.c: New file.
25554 * elf/tst-tlsalign-extern-static.c: New file.
25555 * elf/tst-tlsalign-vars.c: New file.
25556 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
25557 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
25558 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
25559 ($(objpfx)tst-tlsalign-extern-static): Likewise.
25560 (test-xfail-tst-tlsalign-extern-static): New variable.
25561
25562 2015-06-02 Joseph Myers <joseph@codesourcery.com>
25563
25564 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
25565 Use variable name _sc_err instead of err.
25566 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
25567 instead of ret.
25568 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
25569 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
25570 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
25571 (INLINE_SYSCALL): Likewise.
25572
25573 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
25574 * include/string.h (__strnlen): Use libc_hidden_proto.
25575 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
25576 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
25577 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
25578 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
25579 (libc_hidden_def): Undefine and redefine.
25580 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
25581 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
25582 __GI_strnlen.
25583 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
25584 libc_hidden_def.
25585 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
25586
25587 [BZ #18469]
25588 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
25589 weak alias of __towlower. Use libc_hidden_weak.
25590 (towupper): Rename to __towupper and define as weak alias of
25591 __towupper. Use libc_hidden_weak.
25592 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
25593 (__towupper): Likewise.
25594 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
25595 __towlower instead of towlower.
25596
25597 2015-06-02 Roland McGrath <roland@hack.frob.com>
25598
25599 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
25600 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
25601
25602 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25603
25604 * sysdeps/aarch64/libm-test-ulps: Update.
25605
25606 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25607
25608 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
25609 Define.
25610 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25612 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25613 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25614 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
25615 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
25616 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
25617
25618 2015-06-01 Martin Sebor <msebor@redhat.com>
25619
25620 [BZ #18116]
25621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25622 (__setcontext): Use extended four-operand version of mtsf whenever
25623 possible.
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25625 (__novec_swapcontext): Likewise.
25626
25627 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25628
25629 * benchtests/scripts/compare_bench.py: New file.
25630 * benchtests/scripts/import_bench.py (mean): New function.
25631 (split_list): Likewise.
25632 (do_for_all_timings): Likewise.
25633 (compress_timings): Likewise.
25634
25635 * benchtests/scripts/import_bench.py: New file.
25636 * benchtests/scripts/validate_benchout.py: Import import_bench
25637 instead of jsonschema.
25638 (validate_bench): Remove function.
25639 (main): Use import_bench.
25640
25641 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
25642
25643 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
25644 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
25645
25646 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25647
25648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25649
25650 2015-05-28 Roland McGrath <roland@hack.frob.com>
25651
25652 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
25653 set THREAD_SELF->tid to a magic value and futex-wake it.
25654 Pass its address to the thread_exit system call.
25655 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
25656 bit is clear.
25657 * sysdeps/nacl/lowlevellock.h: New file.
25658 * sysdeps/nacl/lll_timedwait_tid.c: New file.
25659
25660 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
25661 Add TIMEOUT to current time, don't subtract it.
25662
25663 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
25664
25665 [BZ #2981]
25666 [BZ #18422]
25667 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
25668 ($(objpfx)tst-audit2.out): Also depend on
25669 $(objpfx)tst-auditmod9b.so.
25670 * elf/tst-audit2.c: Include <dlfcn.h>.
25671 (calloc_called): New.
25672 (calloc): Allow to be called more than once.
25673 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
25674
25675 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
25676
25677 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
25678 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
25679
25680 2015-05-27 Marko Myllynen <myllynen@redhat.com>
25681
25682 * stdlib/monetary.h: Fix comment.
25683
25684 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
25685
25686 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
25687 Avoid using variables in #defines that might cause shadowing.
25688 (INTERNAL_VSYSCALL_CALL): Likewise.
25689
25690 2015-05-26 Roland McGrath <roland@hack.frob.com>
25691
25692 * sysdeps/nacl/lll_timedlock_wait.c: New file.
25693
25694 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
25695 * nptl/lll_timedlock_wait.c: ... to this new file.
25696 * nptl/Makefile (libpthread-routines): Add it.
25697 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
25698 * nptl/lll_timedwait_tid.c: ... to this new file.
25699 * nptl/Makefile (libpthread-routines): Add it.
25700 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
25701 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
25702 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
25703 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
25704 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
25705 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
25706 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
25707 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
25708 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
25709 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
25710
25711 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25712
25713 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
25714 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25715 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25716 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
25717 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
25718 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25719 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25720 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25721 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25722 * sysdeps/unix/sysv/linux/tile/sysdep.h
25723 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25724 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
25725 using vDSO syscall macro.
25726
25727 2015-05-26 Andriy Rysin <arysin@gmail.com>
25728
25729 [BZ #17293]
25730 * uk_UA: Fix sorting order for Ukrainian locale
25731
25732 2015-05-26 Marko Myllynen <myllynen@redhat.com>
25733
25734 * stdlib/monetary.h: Fix comment.
25735
25736 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
25737
25738 [BZ #18234]
25739 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
25740 st_mtim and st_ctim members.
25741 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
25742 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
25743 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
25744 (struct stat64): Likewise.
25745 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
25746 (struct stat64): Likewise.
25747 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
25748 (struct stat64): Likewise.
25749
25750 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25751
25752 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
25753 Define and include sysdep-vdso.h.
25754 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
25755 Likewise.
25756 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
25757 Likewise.
25758 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
25759 Define with VDSO_SYMBOL and use PTR_MANGLE.
25760 (__vdso_clock_gettime): Likewise.
25761 (__vdso_clock_getres): Likewise.
25762 (_libc_vdso_platform_setup): Likewise.
25763 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25764 Likewise.
25765 (_libc_vdso_platform_setup): Likewise.
25766 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
25767 Likewise.
25768 (__vdso_clock_gettime): Likewise.
25769 (__vdso_clock_getres): Likewise.
25770 (__vdso_get_tbfreq): Likewise.
25771 (__vdso_getcpu): Likewise.
25772 (__vdso_time): Likewise.
25773 (__vdso_sigtramp_rt64): Likewise.
25774 (__vdso_signtramp32): Likewise.
25775 (__vdso_sigtramp_rt32): Likewise.
25776 (_libc_vdso_platform_setup): Likewise.
25777 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
25778 Likewise.
25779 (__vdso_clock_gettime): Likewise.
25780 (__vdso_clock_getres): Likewise.
25781 (_libc_vdso_platform_setup): Likewise.
25782 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
25783 Likewise.
25784 (__vdso_clock_gettime): Likewise.
25785 (_libc_vdso_platform_setup): Likewise.
25786 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25787 Likewise.
25788 (__vdso_getcpu): Likewise.
25789 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
25790 Use VDSO_SYMBOL macro to define.
25791 (__vdso_clock_gettime): Likewise.
25792 (__vdso_clock_getres): Likewise.
25793 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
25794 Likewise.
25795 (__vdso_clock_gettime): Likewise.
25796 (__vdso_clock_getres): Likewise.
25797 (__vdso_get_tbfreq): Likewise.
25798 (__vdso_getcpu): Likewise.
25799 (__vdso_time): Likewise.
25800 (__vdso_sigtramp_rt64): Likewise.
25801 (__vdso_signtramp32): Likewise.
25802 (__vdso_sigtramp_rt32): Likewise.
25803 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
25804 Likewise.
25805 (__vdso_clock_gettime): Likewise.
25806 (__vdso_clock_getres): Likewise.
25807 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
25808 Likewise.
25809 (__vdso_clock_gettime): Likewise.
25810 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25811 Likewise.
25812 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
25813 macro.
25814 (INTERNAL_VSYSCALL): Likewise.
25815 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
25816 Remove macro.
25817 (INTERNAL_VSYSCALL): Likewise.
25818 (INTERNAL_VSYSCALL_NCS): Likewise.
25819 (INTERNAL_VSYSCALL_CALL): New macro.
25820 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
25822 Likewise.
25823 (INTERNAL_VSYSCALL): Likewise.
25824 (INTERNAL_VSYSCALL_NCS): Likewise.
25825 (INTERNAL_VSYSCALL_CALL): New macro.
25826 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25828 (INLINE_VSYSCALL): Remove macro.
25829 (INTERNAL_VSYSCALL): Remove macro.
25830 (INTERNAL_VSYSCALL_NCS): Remove macro.
25831 (INTERNAL_VSYSCALL_CALL): New macro.
25832 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
25833 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
25834 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25835 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
25836 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25838 (INLINE_VSYSCALL): Remove macro.
25839 (INTERNAL_VSYSCALL): Likewise.
25840 (INTERNAL_VSYSCALL_NCS): Likewise.
25841 (INTERNAL_VSYSCALL_CALL): New macro.
25842 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
25843 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
25844 PTR_DEMANGLE on vDSO pointer.
25845 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25846 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
25847 macro.
25848 (INTERNAL_SYSCALL): Likewise.
25849 (INTERNAL_VSYSCALL_NCS): Remove macro.
25850 (INTERNAL_VSYSCALL_CALL): New macro.
25851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
25852 Remove macro.
25853 (INTERNAL_VSYSCALL): Likewise.
25854 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
25855 sysdep-vdso.h instead of libc-vdso.h.
25856 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
25857 definition.
25858 (INLINE_VSYSCALL): Likewise.
25859 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
25860 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
25861 definition.
25862 (INLINE_VSYSCALL): Likewise.
25863 (INTERNAL_VSYSCALL): Likewise.
25864 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25865 * sysdeps/unix/sysv/linux/timespec_get.c
25866 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25867 (timespec_get): Use ANSI prototype.
25868 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
25869 and definition for Linux.
25870
25871 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
25872
25873 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
25874 * include/libc-symbols.h: libmvec_hidden_* macro series added.
25875
25876 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
25877
25878 [BZ #2981]
25879 [BZ #18410]
25880 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
25881 for missing DT_PLTRELSZ.
25882
25883 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
25884
25885 Remove obsolete aliases that broke 'locale -a'
25886 [BZ #18412]
25887 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
25888 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
25889 breaking some applications that use 'locale -a' output.
25890 Change the encoding of this file from Latin-1 to ASCII to avoid
25891 other potential problems with people grepping this file.
25892
25893 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25894
25895 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
25896 -fasynchronous-unwind-tables.
25897 (CFLAGS-sendto.c): Likewise.
25898 (CFLAGS-sendmsg.c): Likewise.
25899 (CFLAGS-connect.c): Likewise.
25900 (CFLAGS-recvmsg.c): Likewise.
25901 (CFLAGS-recvfrom.c): Likewise.
25902 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
25903 (SOCKETCALL): New macro: non-cancellable socketcall.
25904 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
25905 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
25906 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
25907 * sysdeps/unix/sysv/linux/accept.c: New file.
25908 * sysdeps/unix/sysv/linux/bind.c: Likewise.
25909 * sysdeps/unix/sysv/linux/connect.c: Likewise.
25910 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
25911 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
25912 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
25913 * sysdeps/unix/sysv/linux/listen.c: Likewise.
25914 * sysdeps/unix/sysv/linux/recv.c: Likewise.
25915 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
25916 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
25917 * sysdeps/unix/sysv/linux/send.c: Likewise.
25918 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
25919 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
25920 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
25921 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
25922 * sysdeps/unix/sysv/linux/socket.c: Likewise.
25923 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
25924 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
25925 prototype.
25926 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
25927 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25928 instead of __internal_xxx function.
25929 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
25930 prototype.
25931 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
25932 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25933 instead of __internal_xxx function.
25934 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
25935 prototype.
25936 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
25937 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25938 instead of __internal_xxx function.
25939 * sysdeps/unix/sysv/linux/accept.S: Remove file.
25940 * sysdeps/unix/sysv/linux/bind.S: Likewise.
25941 * sysdeps/unix/sysv/linux/connect.S: Likewise.
25942 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
25943 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
25944 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
25945 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
25946 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
25947 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
25948 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
25949 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
25950 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25951 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
25952 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
25953 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
25954 * sysdeps/unix/sysv/linux/listen.S: Likewise.
25955 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
25956 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
25957 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
25958 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
25959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
25960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
25961 * sysdeps/unix/sysv/linux/recv.S: Likewise.
25962 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
25963 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
25964 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
25965 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25966 * sysdeps/unix/sysv/linux/send.S: Likewise.
25967 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
25968 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
25969 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
25970 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
25971 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
25972 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
25973 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
25974 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
25975 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
25976 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
25977 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
25978 socketcall is implemented in GLIBC.
25979
25980 2015-05-22 Joseph Myers <joseph@codesourcery.com>
25981
25982 * soft-fp/fmadf4.c: Include <libc-internal.h>.
25983 (__fma): Ignore uninitialized warnings around packing.
25984 * soft-fp/fmasf4.c: Include <libc-internal.h>.
25985 (__fmaf): Ignore uninitialized warnings around packing.
25986 * soft-fp/fmatf4.c: Include <libc-internal.h>.
25987 (__fmal): Ignore uninitialized warnings around packing.
25988
25989 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
25990 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25991 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
25992 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25993
25994 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
25995 switch statement into default case.
25996 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
25997
25998 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
25999 a conditional in forcing "inexact".
26000 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26001 Likewise.
26002
26003 2015-05-22 Roland McGrath <roland@hack.frob.com>
26004
26005 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26006 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26007 for each INTERNAL_SYSCALL use.
26008
26009 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26010
26011 [BZ #438]
26012 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26013 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26014 variable.
26015
26016 [BZ #18444]
26017 * string/basename.c (basename): Rename to __basename and define as
26018 weak alias of __basename. Use libc_hidden_weak.
26019 * include/string.h (__basename): Declare. Use libc_hidden_proto.
26020 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26021 __basename instead of basename.
26022 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26023 Remove variable.
26024 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26025
26026 2015-05-18 Florian Weimer <fweimer@redhat.com>
26027
26028 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26029 (_IO_JUMPS_FILE_plus): New.
26030 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26031 _IO_CAST_FIELD_ACCESS.
26032 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26033 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26034 * libio/freopen.c (freopen): Likewise.
26035 * libio/freopen64.c (freopen64): Likewise.
26036 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26037 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26038 * libio/iofwide.c (_IO_fwide): Likewise.
26039 * libio/memstream.c (open_memstream): Likewise.
26040 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26041 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26042 * libio/oldiopopen.c (_IO_old_popen): Likewise.
26043
26044 2015-05-21 Joseph Myers <joseph@codesourcery.com>
26045
26046 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26047 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26048 NADJ.
26049 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26050 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26051 NADJ.
26052 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26053 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26054 NADJ.
26055
26056 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26057 (p == 4) case.
26058
26059 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26060 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26061 Remove variable.
26062 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26063 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26064 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26065
26066 2015-05-21 Florian Weimer <fweimer@redhat.com>
26067
26068 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26069 Adjust jump table label generation macros.
26070
26071 2015-05-21 Florian Weimer <fweimer@redhat.com>
26072
26073 * stdio-common/vfprintf.c (vfprintf): Move local variables
26074 args_malloced, specs, specs_malloced, and the code after
26075 do_positional to the printf_positional function.
26076 (printf_positional): New function.
26077
26078 2015-05-21 Florian Weimer <fweimer@redhat.com>
26079
26080 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26081 function.
26082 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26083 STEP4_TABLE, process_arg): Move macro definitions
26084 out of the vfprintf function. (Cosmetic change only.)
26085
26086 2015-05-21 Carlos O'Donell <carlos@redhat.com>
26087
26088 * benchtests/Makefile (stdio-common-bench): Define.
26089 (benchset): Add stdio-common-bench.
26090 * sprintf-inputs: New file.
26091 * sprintf-source.c: New file.
26092
26093 2015-05-21 Andreas Schwab <schwab@suse.de>
26094
26095 [BZ #13028]
26096 [BZ #17053]
26097 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26098 of struct __res_state.
26099 * resolv/res_send.c (__libc_res_nsend): Likewise.
26100 (get_nsaddr): New function.
26101 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26102 statp directly.
26103
26104 2015-05-20 Joseph Myers <joseph@codesourcery.com>
26105
26106 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26107 -D_POSIX_C_SOURCE=199506L.
26108
26109 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26110
26111 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26112 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26113 Do not mention otherwise.
26114 [POSIX] (_XOPEN_VERSION): Do not expect.
26115 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26116 [POSIX] (_POSIX2_C_BIND): Likewise.
26117 [POSIX] (_POSIX2_VERSION): Likewise.
26118 [POSIX] (_XOPEN_XPG2): Likewise.
26119 [POSIX] (_XOPEN_XPG3): Likewise.
26120 [POSIX] (_XOPEN_XPG4): Likewise.
26121 [POSIX] (_XOPEN_UNIX): Likewise.
26122 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26123 [POSIX] (_POSIX_BARRIERS): Likewise.
26124 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26125 [POSIX] (_POSIX_CPUTIME): Likewise.
26126 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26127 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26128 [POSIX] (_POSIX_SHELL): Likewise.
26129 [POSIX] (_POSIX_SPAWN): Likewise.
26130 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26131 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26132 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26133 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26134 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26135 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26136 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26137 [POSIX] (_XBS5_LP64_OFF64): Likewise.
26138 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26139 [POSIX] (_POSIX_TIMEOUTS): Likewise.
26140 [POSIX] (_POSIX2_PBS): Likewise.
26141 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26142 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26143 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26144 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26145 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26146 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26147 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26148 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26149 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26150 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26151 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26152 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26153 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26154 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26155 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26156 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26157 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26158 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26159 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26160 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26161 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26162 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26163 [POSIX] (_SC_2_C_BIND): Likewise.
26164 [POSIX] (_SC_2_C_VERSION): Likewise.
26165 [POSIX] (_SC_2_PBS): Likewise.
26166 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26167 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26168 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26169 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26170 [POSIX] (_SC_2_PBS_TRACK): Likewise.
26171 [POSIX] (_SC_ATEXIT_MAX): Likewise.
26172 [POSIX] (_SC_BARRIERS): Likewise.
26173 [POSIX] (_SC_BASE): Likewise.
26174 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26175 [POSIX] (_SC_DEVICE_IO): Likewise.
26176 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26177 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26178 [POSIX] (_SC_FD_MGMT): Likewise.
26179 [POSIX] (_SC_FIFO): Likewise.
26180 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26181 [POSIX] (_SC_FILE_LOCKING): Likewise.
26182 [POSIX] (_SC_FILE_SYSTEM): Likewise.
26183 [POSIX] (_SC_IOV_MAX): Likewise.
26184 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26185 [POSIX] (_SC_NETWORKING): Likewise.
26186 [POSIX] (_SC_PAGE_SIZE): Likewise.
26187 [POSIX] (_SC_PASS_MAX): Likewise.
26188 [POSIX] (_SC_PIPE): Likewise.
26189 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26190 [POSIX] (_SC_REGEXP): Likewise.
26191 [POSIX] (_SC_SHELL): Likewise.
26192 [POSIX] (_SC_SIGNALS): Likewise.
26193 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26194 [POSIX] (_SC_SPIN_LOCKS): Likewise.
26195 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26196 [POSIX] (_SC_USER_GROUPS): Likewise.
26197 [POSIX] (_SC_USER_GROUPS_R): Likewise.
26198 [POSIX] (_SC_STREAMS): Likewise.
26199 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26200 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26201 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26202 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26203 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26204 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26205 [POSIX] (_PC_FILESIZEBITS): Likewise.
26206 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26207 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26208 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26209 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26210 [POSIX] (uid_t): Likewise.
26211 [POSIX] (gid_t): Likewise.
26212 [POSIX] (off_t): Likewise.
26213 [POSIX] (pid_t): Likewise.
26214 [POSIX] (cuserid): Allow.
26215 (_SC_2_CHAR_TERM): Require constant.
26216 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26217 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26218 variable.
26219
26220 2015-05-20 Roland McGrath <roland@hack.frob.com>
26221
26222 * sysdeps/nacl/pthread-pids.h: New file.
26223 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26224 (create_thread): Use __nacl_get_tid to initialize PD->tid.
26225
26226 * nptl/pthread-pids.h: New file.
26227 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26228 * nptl/nptl-init.c: Include <pthread-pids.h>.
26229 (__pthread_initialize_minimal_internal):
26230 Call __pthread_initialize_pids instead of set_tid_address syscall.
26231
26232 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26233 * sysdeps/posix/usleep.c: ... here.
26234
26235 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26236
26237 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26238 call_pselect6 object.
26239 [$(subdir) = io]: Remove call_sync_file_range object.
26240 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26241 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26242 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26243 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26244
26245 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
26246
26247 * math/s_cproj.c: Add include "math_private.h".
26248 * math/s_cprojf.c: Likewise.
26249 * math/s_cprojl.c: Likewise.
26250
26251 2015-05-19 Joseph Myers <joseph@codesourcery.com>
26252
26253 [BZ #18244]
26254 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26255 high mantissa bit when testing whether P is a NaN.
26256 * math/libm-test.inc (remainder_test_data): Add more tests.
26257 (remquo_test_data): Likewise.
26258
26259 [BZ #18049]
26260 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26261 below -32, return the argument, with underflow if subnormal.
26262 * math/auto-libm-test-in: Add more tests of atanh.
26263 * math/auto-libm-test-out: Regenerated.
26264
26265 2015-05-19 Roland McGrath <roland@hack.frob.com>
26266
26267 [BZ #18434]
26268 * nptl/tst-sem15.c: New file.
26269 * nptl/Makefile (tests): Add it.
26270 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26271 s/<</>>/ to fix typo in EOVERFLOW check.
26272 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26273
26274 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26275
26276 * manual/strings.texi (envz_remove): Fix typo in safety
26277 annotations.
26278
26279 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
26280 Steve Ellcey <sellcey@imgtec.com>
26281
26282 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26283 in order to avoid strict alias warnings.
26284 (iruserok_af): Ditto for ra.
26285
26286 2015-05-19 James Lemke <jwlemke@codesourcery.com>
26287
26288 [BZ #17581]
26289 * malloc/hooks.c
26290 (magicbyte): Convert to a function and avoid returning 0x01.
26291 (mem2mem_check): Avoid using a length byte equal to the magic byte.
26292 (mem2chunk_check): Fix unsigned comparisons to zero.
26293 Hoist defs of sz and magic.
26294
26295 2015-05-19 Richard Henderson <rth@redhat.com>
26296
26297 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26298
26299 * sysdeps/alpha/fpu/libm-test-ulps: Update.
26300
26301 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26302
26303 [BZ #16159]
26304 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26305 * malloc/arena.c (arena_lock): Check if arena is corrupt.
26306 (reused_arena): Find a non-corrupt arena.
26307 (heap_trim): Pass arena to unlink.
26308 * malloc/hooks.c (malloc_check_get_size): Pass arena to
26309 malloc_printerr.
26310 (top_check): Likewise.
26311 (free_check): Likewise.
26312 (realloc_check): Likewise.
26313 * malloc/malloc.c (malloc_printerr): Add arena argument.
26314 (unlink): Likewise.
26315 (munmap_chunk): Adjust.
26316 (ARENA_CORRUPTION_BIT): New macro.
26317 (arena_is_corrupt): Likewise.
26318 (set_arena_corrupt): Likewise.
26319 (sysmalloc): Use mmap if there are no usable arenas.
26320 (_int_malloc): Likewise.
26321 (__libc_malloc): Don't fail if arena_get returns NULL.
26322 (_mid_memalign): Likewise.
26323 (__libc_calloc): Likewise.
26324 (__libc_realloc): Adjust for additional argument to
26325 malloc_printerr.
26326 (_int_free): Likewise.
26327 (malloc_consolidate): Likewise.
26328 (_int_realloc): Likewise.
26329 (_int_memalign): Don't touch corrupt arenas.
26330 * malloc/tst-malloc-backtrace.c: New test case.
26331
26332 * Makefile (summarize-tests): Fix return value on success.
26333
26334 * manual/string.texi (Envz Functions): Add envz_remove.
26335
26336 2015-05-18 Roland McGrath <roland@hack.frob.com>
26337
26338 * sysdeps/posix/opendir.c: Include <stdbool.h>.
26339 (invalid_name): New function, broken out of ...
26340 (__opendirat): ... here. Call it.
26341 (need_isdir_precheck): New function, broken out of ...
26342 (__opendirat): ... here. Call it.
26343 Use __fxstatat64, not __xstatat64.
26344 (opendir_oflags): New function, broken out of ...
26345 (__opendirat): ... here. Call it.
26346 (opendir_tail): New function, broken out of ...
26347 (__opendirat): ... here. Call it.
26348 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26349 opendir_tail, rather than punting to __opendirat.
26350 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26351
26352 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26353
26354 * .gitignore: Ignore generated *.pyc.
26355
26356 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
26357
26358 * include/stdio.h: Define __need_wint_t.
26359 * test-skeleton.c: Avoid `for' loop initial declaration.
26360 * nptl/tst-initializers1.c: Use test-skeleton.c.
26361
26362 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26363
26364 [BZ #18418]
26365 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26366
26367 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26368
26369 [BZ #16352]
26370 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26371 (__ieee754_atanh): Force underflow exception for results with
26372 small absolute value.
26373 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26374 (__ieee754_atanhf): Force underflow exception for results with
26375 small absolute value.
26376 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26377 (__ieee754_atanh): Force underflow exception for results with
26378 small absolute value.
26379 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26380 (__ieee754_atanhf): Force underflow exception for results with
26381 small absolute value.
26382 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26383 (__ieee754_atanhl): Force underflow exception for results with
26384 small absolute value.
26385 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26386 (__ieee754_atanhl): Force underflow exception for results with
26387 small absolute value.
26388 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26389 (__ieee754_atanhl): Force underflow exception for results with
26390 small absolute value.
26391 * math/auto-libm-test-in: Do not allow missing underflow
26392 exceptions from atanh.
26393 * math/auto-libm-test-out: Regenerated.
26394
26395 [BZ #18221]
26396 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26397 2**-28 as threshold for returning x or +/- 1/x.
26398 * math/auto-libm-test-in: Add more tests of tan.
26399 * math/auto-libm-test-out: Regenerated.
26400
26401 [BZ #18220]
26402 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26403 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26404 * math/auto-libm-test-in: Add another test of lgamma.
26405 * math/auto-libm-test-out: Regenerated.
26406
26407 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
26408
26409 * stdio-common/printf_fp.c (___printf_fp): Use abs.
26410 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
26411 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26412 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26413 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
26414 (ADD2A): Use fabs. (SUB2A): Use fabs.
26415 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26416 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26417 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26418 (log1): Use fabs. (my_log2): Use fabs.
26419 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26420 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26421 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26422 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26423 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26424 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
26425 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
26426 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
26427 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
26428 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26429 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26430
26431 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26432
26433 [BZ #18217]
26434 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26435 as threshold for returning 1 - x.
26436 * math/auto-libm-test-in: Add more tests of erfc.
26437 * math/auto-libm-test-out: Regenerated.
26438
26439 2015-05-14 Joseph Myers <joseph@codesourcery.com>
26440
26441 [BZ #18196]
26442 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
26443 threshold for large arguments.
26444 * math/auto-libm-test-in: Add another test of atan.
26445 * math/auto-libm-test-out: Regenerated.
26446
26447 [BZ #16339]
26448 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
26449 (__log1p): Force underflow exception for results with small
26450 absolute value.
26451 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
26452 (__log1pf): Force underflow exception for results with small
26453 absolute value.
26454 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
26455 (__log1p): Force underflow exception for results with small
26456 absolute value.
26457 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
26458 (__log1pf): Force underflow exception for results with small
26459 absolute value.
26460 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
26461 (__log1pl): Force underflow exception for results with small
26462 absolute value.
26463 * math/auto-libm-test-in: Do not allow missing underflow
26464 exceptions from log1p.
26465 * math/auto-libm-test-out: Regenerated.
26466
26467 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
26468 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26469
26470 [BZ #16704]
26471 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
26472
26473 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
26474
26475 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
26476 (libmvec): New variable.
26477 * configure.ac: Added option for mathvec build.
26478 * configure: Regenerated.
26479 * mathvec/Depend: New file.
26480 * mathvec/Makefile: New file.
26481 * shlib-versions: Added libmvec.
26482 * math/Makefile: Added rule for libm.so installation.
26483
26484 * bits/math-vector.h: New file.
26485 * bits/libm-simd-decl-stubs.h: New header.
26486 * math/Makefile (headers): Added new header
26487 libm-simd-decl-stubs.h.
26488 * math/math.h (__MATHCALL_VEC): New macro.
26489
26490 * math/gen-libm-have-vector-test.sh: Script generates series of macros
26491 for conditions in testing functions.
26492 * math/Makefile: Added call of libm-have-vector-test.sh.
26493 * math/libm-test.inc (HAVE_VECTOR): New macros.
26494
26495 * math/libm-test.inc: START refactored.
26496 * math/test-double.c (TEST_MATHVEC): Add define.
26497 * math/test-float.c: Likewise.
26498 * math/test-idouble.c: Likewise.
26499 * math/test-ifloat.c: Likewise.
26500 * math/test-ildoubl.c: Likewise.
26501 * math/test-ldouble.c: Likewise.
26502 * sysdeps/generic/math-tests-arch.h
26503 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
26504 architecture check.
26505
26506 * math/test-double.c (FUNC_TEST): New macro.
26507 * math/test-float.c: Likewise.
26508 * math/test-idouble.c: Likewise.
26509 * math/test-ifloat.c: Likewise.
26510 * math/test-ildoubl.c: Likewise.
26511 * math/test-ldouble.c: Likewise.
26512 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
26513
26514 2015-05-13 Roland McGrath <roland@hack.frob.com>
26515
26516 * sysdeps/nacl/fdopendir.c: New file.
26517
26518 * dirent/scandir-tail.c: New file.
26519 * dirent/scandir64-tail.c: New file.
26520 * dirent/Makefile (routines): Add them.
26521 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
26522 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
26523 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
26524 [!SCANDIR] (SCANDIR_TAIL): New macro.
26525 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
26526 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
26527 (SCANDIRAT): Macro removed.
26528 (SCANDIR_TAIL): New macro.
26529 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
26530 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
26531 (SCANDIRAT): Just call __opendirat and __scandir_tail.
26532 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
26533 (READDIR): Macro removed.
26534 (SCANDIR_TAIL): New macro.
26535 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
26536 (SCANDIR_TAIL): New macro.
26537
26538 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
26539 * dirent/scandir-cancel.c: ... to this new file.
26540 * dirent/Makefile (routines): Add it.
26541 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
26542 * sysdeps/unix/sysv/linux/i386/scandir64.c
26543 (SKIP_SCANDIR_CANCEL): Macro removed.
26544 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
26545
26546 * dirent/tst-scandir.c: New file.
26547 * dirent/tst-scandir64.c: New file.
26548 * dirent/Makefile (tests): Add them.
26549
26550 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
26551
26552 [BZ #18409]
26553 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
26554
26555 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26556
26557 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
26558 list.
26559
26560 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
26561
26562 * benchtests/bench-strcoll.c: New benchmark.
26563 * benchtests/Makefile: Generate locales and run benchmark.
26564 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
26565 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
26566 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
26567 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
26568 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
26569 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
26570 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
26571 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
26572 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
26573 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
26574 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
26575 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
26576 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
26577 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
26578 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
26579 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
26580 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
26581 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
26582 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
26583 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
26584 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
26585 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
26586 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
26587 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
26588
26589 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
26590
26591 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
26592 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26593
26594 2015-05-12 Roland McGrath <roland@hack.frob.com>
26595
26596 * posix/uname-values.h: New file.
26597 * posix/uname.c: Include that instead of <config-name.h>.
26598 * sysdeps/nacl/uname-values.h: New file.
26599 * sysdeps/arm/nacl/uname-values.h: New file.
26600
26601 2015-05-12 Joseph Myers <joseph@codesourcery.com>
26602
26603 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
26604 splitting into fields.
26605
26606 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
26607
26608 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
26609 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
26610 * locale/localeinfo.h: Add enum collation_encoding_type.
26611 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
26612 * programs/ld-collate.c (collate_output): Add encoding type info.
26613 * string/strcoll_l.c (STRDIFF): New function.
26614 * (STRCOLL): Use STRDIFF to skip over equal prefix.
26615 * wcsmbs/wcscoll_l.c: Define STRDIFF.
26616
26617 2015-05-11 Joseph Myers <joseph@codesourcery.com>
26618
26619 [BZ #18397]
26620 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
26621 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
26622 <fpu_control.h> instead of <math/fpu_control.c>.
26623 * sysdeps/mips/mips32/fpu/Makefile: New file.
26624
26625 2015-05-11 Andreas Schwab <schwab@suse.de>
26626
26627 [BZ #18007]
26628 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
26629 nss_endgrent.
26630 (_nss_compat_endgrent): Call nss_endgrent.
26631 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
26632 nss_endpwent.
26633 (_nss_compat_endpwent): Call nss_endpwent.
26634 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
26635 needent, call nss_setspent only if non-zero.
26636 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
26637 (internal_endspent): Don't call nss_endspent.
26638 (_nss_compat_endspent): Call nss_endspent.
26639 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
26640 Remove. All uses removed.
26641 (internal_setent): Remove parameter stayopen, add parameter
26642 stream. Use it instead of global variable.
26643 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
26644 (internal_endent, internal_getent): Add parameter stream. Use it
26645 instead of global variable.
26646 (CONCAT(_nss_files_end,ENTNAME))
26647 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
26648 (_nss_files_get##name##_r): Pass local stream. Remove locking.
26649 * nss/nss_files/files-alias.c (position, last_use): Remove. All
26650 uses removed.
26651 (internal_setent, internal_endent): Add parameter stream. Use it
26652 instead of global variable.
26653 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
26654 stream.
26655 (get_next_alias): Add parameter stream.
26656 (_nss_files_getaliasent_r): Pass global stream.
26657 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
26658 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
26659 (_nss_files_gethostbyname4_r): Pass local stream to
26660 internal_setent, internal_getent and internal_endent. Remove
26661 locking.
26662
26663 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26664
26665 * tst-strfmon1.c (tests): Update expected currency symbol.
26666
26667 2015-05-08 Roland McGrath <roland@hack.frob.com>
26668
26669 * sysdeps/nacl/gethostname.c: New file.
26670
26671 2015-05-08 Joseph Myers <joseph@codesourcery.com>
26672
26673 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
26674 and sinh.
26675 * math/auto-libm-test-out: Regenerated.
26676 * sysdeps/i386/fpu/libm-test-ulps: Update.
26677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26678
26679 2015-05-08 Carlos O'Donell <carlos@redhat.com>
26680
26681 [BZ #18125]
26682 * stdlib/tst-setcontext3.c: New file.
26683 * stdlib/tst-setcontext3.sh: New file.
26684 * stdlib/Makefile (tests): Add tst-setcontext3.
26685 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
26686 to verify test program created output file.
26687 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
26688 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
26689 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
26690 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
26691
26692 2015-05-06 Roland McGrath <roland@hack.frob.com>
26693
26694 [BZ #18383]
26695 * elf/tst-tlsalign.c: New file.
26696 * elf/tst-tlsalign-static.c: New file.
26697 * elf/tst-tlsalign-lib.c: New file.
26698 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
26699 (tests-static): Add tst-tlsalign-static.
26700 (modules-names): Add tst-tlsalign-lib.
26701 (test-xfail-tst-tlsalign): New variable.
26702 (test-xfail-tst-tlsalign-static): New variable.
26703
26704 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
26705 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
26706
26707 2015-05-06 Joseph Myers <joseph@codesourcery.com>
26708
26709 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
26710 csqrt, erfc, sin and sincos.
26711 * math/auto-libm-test-out: Regenerated.
26712 * sysdeps/i386/fpu/libm-test-ulps: Update.
26713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26714
26715 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
26716
26717 * sysdeps/aarch64/libm-test-ulps: Update.
26718
26719 2015-05-05 Joseph Myers <joseph@codesourcery.com>
26720
26721 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
26722 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
26723 * math/auto-libm-test-out: Regenerated.
26724 * sysdeps/i386/fpu/libm-test-ulps: Update.
26725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26726
26727 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
26728
26729 [BZ #18265]
26730 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
26731 (wcsncpy): Likewise.
26732
26733 2015-05-05 Florian Weimer <fweimer@redhat.com>
26734
26735 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26736 Assume __ASSUME_FALLOCATE is always true.
26737 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26738 (__posix_fallocate64_l64): Likewise.
26739 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
26740 (posix_fallocate): Likewise.
26741 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
26742 (__posix_fallocate64_l64): Likewise.
26743 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26744 [!__ASSUME_FALLOCATE]: Add comment.
26745
26746 2015-05-05 Florian Weimer <fweimer@redhat.com>
26747
26748 * sysdeps/unix/sysv/linux/i386/Makefile
26749 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
26750 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
26751 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
26752 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26753 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26754 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
26755 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
26756
26757 2015-05-02 Joseph Myers <joseph@codesourcery.com>
26758
26759 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
26760 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
26761 tgamma.
26762 * math/auto-libm-test-out: Regenerated.
26763 * sysdeps/i386/fpu/libm-test-ulps: Update.
26764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26765
26766 2015-05-01 Joseph Myers <joseph@codesourcery.com>
26767
26768 * math/auto-libm-test-in: Add more tests of tgamma.
26769 * math/auto-libm-test-out: Regenerated.
26770 * sysdeps/i386/fpu/libm-test-ulps: Update.
26771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26772
26773 * math/auto-libm-test-in: Add more tests of tanh.
26774 * math/auto-libm-test-out: Regenerated.
26775 * sysdeps/i386/fpu/libm-test-ulps: Update.
26776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26777
26778 * math/auto-libm-test-in: Add more tests of tan.
26779 * math/auto-libm-test-out: Regenerated.
26780 * sysdeps/i386/fpu/libm-test-ulps: Update.
26781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26782
26783 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
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 another test of pow.
26789 * math/auto-libm-test-out: Regenerated.
26790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26791
26792 * math/auto-libm-test-in: Add more tests of lgamma.
26793 * math/auto-libm-test-out: Regenerated.
26794 * sysdeps/i386/fpu/libm-test-ulps: Update.
26795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26796
26797 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
26798 log1p.
26799 * math/auto-libm-test-out: Regenerated.
26800 * sysdeps/i386/fpu/libm-test-ulps: Update.
26801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26802
26803 2015-05-01 Mark Wielaard <mjw@redhat.com>
26804
26805 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
26806 Elf64_Chdr structs and ELFCOMPRESS constants.
26807
26808 2015-05-01 Joseph Myers <joseph@codesourcery.com>
26809
26810 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
26811 expm1.
26812 * math/auto-libm-test-out: Regenerated.
26813 * sysdeps/i386/fpu/libm-test-ulps: Update.
26814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26815
26816 * math/auto-libm-test-in: Add more tests of erf and erfc.
26817 * math/auto-libm-test-out: Regenerated.
26818 * sysdeps/i386/fpu/libm-test-ulps: Update.
26819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26820
26821 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
26822
26823 * config.h.in (HAVE_AARCH64_BE): Add.
26824
26825 2015-04-30 Joseph Myers <joseph@codesourcery.com>
26826
26827 * math/auto-libm-test-in: Add more tests of csqrt.
26828 * math/auto-libm-test-out: Regenerated.
26829 * sysdeps/i386/fpu/libm-test-ulps: Update.
26830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26831
26832 * math/auto-libm-test-in: Add more tests of cosh and sinh.
26833 * math/auto-libm-test-out: Regenerated.
26834 * sysdeps/i386/fpu/libm-test-ulps: Update.
26835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26836
26837 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
26838
26839 2015-04-29 Roland McGrath <roland@hack.frob.com>
26840
26841 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
26842 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
26843
26844 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
26845 (euidaccess, eaccess): Define as weak aliases.
26846
26847 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
26848 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
26849 but __suseconds_t is often 'long int' so some sources assume that
26850 type is being used (e.g. they use %ld to print tv_usec).
26851
26852 2015-04-29 Florian Weimer <fweimer@redhat.com>
26853
26854 [BZ #18007]
26855 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
26856 (CVE-2014-8121)
26857 * nss/tst-nss-getpwent.c: New file.
26858 * nss/Makefile (tests): Add new test.
26859
26860 2015-04-28 Joseph Myers <joseph@codesourcery.com>
26861
26862 [BZ #18346]
26863 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
26864 exponents less than 48 as cases where high part of mantissa needs
26865 examining to determine whether argument is integral.
26866 * math/libm-test.inc (round_test_data): Add more tests.
26867
26868 2015-04-28 Mark Wielaard <mjw@redhat.com>
26869
26870 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
26871
26872 2015-04-27 David S. Miller <davem@davemloft.net>
26873
26874 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
26875 __tls_get_addr.
26876 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26877
26878 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
26879
26880 [BZ#18333]
26881 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
26882
26883 2015-04-27 Florian Weimer <fweimer@redhat.com>
26884
26885 [BZ#18333]
26886 * time/tzset.c (parse_tzname): Return error on memory allocation
26887 failure.
26888 * test-skeleton.c (struct temp_name_list): Change type of name
26889 member to non-const.
26890 (add_temp_file): Create a copy of the file name.
26891 (delete_temp_files): Deallocate memory.
26892 (create_temp_file): Add comment.
26893
26894 2015-04-24 Florian Weimer <fweimer@redhat.com>
26895
26896 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
26897 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
26898
26899 2015-04-24 Roland McGrath <roland@hack.frob.com>
26900
26901 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
26902 * sysdeps/arm/configure: Regenerated.
26903
26904 2015-04-24 Florian Weimer <fweimer@redhat.com>
26905
26906 [BZ #17715]
26907 * time/tzfile.c (__tzfile_read): Check for large values of
26908 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
26909 * time/tzset.c (__tzstring_len): New function, based on the old
26910 __tzstring function.
26911 (__tzstring): Call __tzstring_len.
26912 (parse_tzname): New helper function extracted from
26913 __tzset_parse_tz. Call __tzstring_len, without making a copy of
26914 the input string.
26915 (parse_offset): New helper function extracted from
26916 __tzset_parse_tz. Replace switch with fallthrough with
26917 initialization before sscanf.
26918 (parse_rule): Likewise.
26919 (__tzset_parse_tz): Rewrite using the new helper functions. Use
26920 new-style function definition.
26921 * timezone/Makefile (tests): Add tst-tzset.
26922 (tst-tzset.out): Dependencies on time zone files.
26923 (tst-tzset-ENV): Set TZDIR.
26924 (testdata/XT%): Copy crafted time zone files.
26925 * timezone/README: Mention crafted time zone files.
26926 * timezone/testdata/XT1, timezone/testdata/XT2,
26927 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
26928 files.
26929 * timezone/tst-tzset.c: New test.
26930
26931 2015-04-24 Florian Weimer <fweimer@redhat.com>
26932
26933 * Makeconfig (+gccwarn): Remove -Winline.
26934
26935 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26936
26937 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
26938
26939 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26940
26941 * NEWS: Mention sysconf() cache information support for s390.
26942 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
26943
26944 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
26945
26946 * math/k_casinh.c (__kernel_casinh): Use __copysign.
26947 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
26948 (__nearbyint): Likewise.
26949 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
26950 (copysignl): Likewise.
26951
26952 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
26953
26954 [BZ #18287]
26955 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
26956 based on padding. (CVE-2015-1781)
26957
26958 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26959
26960 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
26961 libc-vdso.h.
26962 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
26963 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
26964 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
26965 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26966 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26967 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
26968 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
26969 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26970 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26971 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
26972 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26973 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26974 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26975 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
26976 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26977 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
26978 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
26979 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
26980 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
26981 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
26982 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
26983 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
26984 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
26985
26986 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
26987
26988 * stdlib/setenv.c (__add_to_environ):
26989 Dump core quickly if setenv (..., NULL, ...) is called.
26990 This time, do it the right way, and pacify GCC with a pragma.
26991
26992 2015-04-17 Roland McGrath <roland@hack.frob.com>
26993
26994 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
26995 IMAP->l_prev cannot be null, and #if out the code for the contrary
26996 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
26997 believe that NS (&_dl_ns[NSID]) could point outside the array.
26998
26999 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27000 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27001 before using NSID as an index.
27002
27003 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
27004
27005 [BZ #17825]
27006 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27007 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27008 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27009
27010 2015-04-17 Roland McGrath <roland@hack.frob.com>
27011
27012 Add preliminary port to Google Native Client on ARM.
27013 * abi-tags (.*-.*-nacl.*): New entry.
27014 * sysdeps/arm/nacl: New directory.
27015 * sysdeps/nacl: New directory.
27016
27017 2015-04-16 David S. Miller <davem@davemloft.net>
27018
27019 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27020 lowlevellock-futex.h
27021
27022 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
27023
27024 * sysdeps/tile/configure.ac: New file.
27025 * sysdeps/tile/configure: Regenerated.
27026
27027 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27028
27029 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
27030 conditionals for weak_alias and libc_hidden_weak.
27031 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27032 libc_hidden_weak and weak_alias.
27033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27034 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27035 and weak_alias for static one.
27036
27037 2015-04-15 David S. Miller <davem@davemloft.net>
27038
27039 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27040
27041 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27042
27043 [BZ #18206]
27044 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27045 Use signed comparision instead of substraction to avoid
27046 overflow bug.
27047 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27048 Take the sign of ret.
27049 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27050 Do not expect precise return values. Only the sign matters.
27051 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27052 * wcsmbs/test-wcsncmp.c: New File.
27053 * string/test-strncmp.c: Add wcsncmp support.
27054
27055 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27056
27057 [BZ #6792]
27058 * math/w_log1p.c: New file.
27059 * math/w_log1pf.c: Likewise.
27060 * math/w_log1pl.c: Likewise.
27061 * math/Makefile (libm-calls): Add w_log1p.
27062 * math/s_log1pl.c (log1pl): Remove weak_alias.
27063 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27064 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27065 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27066 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27067 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27068 [NO_LONG_DOUBLE] (log1pl): Likewise.
27069 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27070 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27071 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27072 (log1p): Remove long_double_symbol.
27073 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27074 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27075 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27076 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27077 remove weak_alias for corresponding log1p function.
27078 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27079 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27080 * sysdeps/ia64/fpu/w_log1p.c: New file.
27081 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27082 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27083 * math/libm-test.inc (log1p_test_data): Add errno expectations.
27084
27085 2015-04-10 Joseph Myers <joseph@codesourcery.com>
27086
27087 [BZ #18247]
27088 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27089 decimal exponent by 1.
27090 * stdlib/tst-strtod-round-data: Add more tests.
27091 * stdlib/tst-strtod-round.c (tests): Regenerated.
27092
27093 2015-04-09 Joseph Myers <joseph@codesourcery.com>
27094
27095 * math/auto-libm-test-in: Add more tests of clog and clog10.
27096 * math/auto-libm-test-out: Regenerated.
27097 * sysdeps/i386/fpu/libm-test-ulps: Update.
27098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27099
27100 2015-04-09 Roland McGrath <roland@hack.frob.com>
27101
27102 * Makeconfig (module-cppflags): Exclude all .v.i files.
27103 (skip-module-cppflags): Variable removed.
27104
27105 * configure.ac (libc_config_ok): Initialize before reading
27106 preconfigure scripts, not after.
27107 * configure: Regenerated.
27108
27109 * test-skeleton.c (TIMEOUT): Move #define to top level.
27110 (main): Grok environment variable TEST_DIRECT. If set, print
27111 test expectation details into that file and then behave as if
27112 given --direct.
27113
27114 2015-04-09 Florian Weimer <fweimer@redhat.com>
27115
27116 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27117 warning on 32-bit.
27118
27119 2015-04-08 David S. Miller <davem@davemloft.net>
27120
27121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27122
27123 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27124
27125 * math/auto-libm-test-in: Add more tests of atanh.
27126 * math/auto-libm-test-out: Regenerated.
27127 * sysdeps/i386/fpu/libm-test-ulps: Update.
27128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27129
27130 * math/auto-libm-test-in: Add more tests of atan.
27131 * math/auto-libm-test-out: Regenerated.
27132 * sysdeps/i386/fpu/libm-test-ulps: Update.
27133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27134
27135 2015-04-08 Florian Weimer <fweimer@redhat.com>
27136
27137 * elf/pldd.c (main): Rewrite to use struct
27138 scratch_buffer instead of extend_alloca.
27139 * elf/pldd-xx.c (find_maps): Likewise.
27140 * grp/initgroups.c: Include <scratch_buffer.h> instead of
27141 <alloca.h>.
27142 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27143 scratch_buffer instead of extend_alloca.
27144 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27145 grp/compat-initgroups.c.
27146 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27147 Rewrite to use struct scratch_buffer instead of extend_alloca.
27148 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27149 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27150
27151 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27152
27153 * math/auto-libm-test-in: Add more tests of cbrt.
27154 * math/auto-libm-test-out: Regenerated.
27155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27156
27157 * math/auto-libm-test-in: Add more tests of cabs.
27158 * math/auto-libm-test-out: Regenerated.
27159 * sysdeps/i386/fpu/libm-test-ulps: Update.
27160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27161
27162 [BZ #18210]
27163 [BZ #18211]
27164 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27165 (__ieee754_atan2): Set FE_TONEAREST mode for internal
27166 computations.
27167 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27168 clog10.
27169 * math/auto-libm-test-out: Regenerated.
27170 * sysdeps/i386/fpu/libm-test-ulps: Update.
27171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27172
27173 [BZ #18197]
27174 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27175 (atan): Set FE_TONEAREST mode for internal computations.
27176 * math/auto-libm-test-in: Add more tests of atan.
27177 * math/auto-libm-test-out: Regenerated.
27178
27179 2015-04-07 James Cowgill <james410@cowgill.org.uk>
27180
27181 [BZ #17930]
27182 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27183
27184 2015-04-07 Florian Weimer <fweimer@redhat.com>
27185
27186 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27187
27188 2015-04-07 Florian Weimer <fweimer@redhat.com>
27189
27190 * include/scratch_buffer.h: New file.
27191 * malloc/scratch_buffer_grow.c: Likewise.
27192 * malloc/scratch_buffer_grow_preserve.c: Likewise.
27193 * malloc/scratch_buffer_set_array_size.c: Likewise.
27194 * malloc/tst-scratch_buffer.c: Likewise.
27195 * malloc/Makefile (routines): Add scratch_buffer_grow.
27196 (tests): Add test case.
27197 * malloc/Versions (GLIBC_PRIVATE): Export
27198 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27199 __libc_scratch_buffer_set_array_size.
27200
27201 2015-04-06 Richard Henderson <rth@redhat.com>
27202
27203 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27204 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27205
27206 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27207 unsigned int before printing.
27208
27209 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27210
27211 [BZ #17596]
27212 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27213 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27214
27215 2015-04-02 Florian Weimer <fweimer@redhat.com>
27216
27217 * include/libc-internal.h (libc_max_align_t): Define.
27218
27219 2015-04-02 Andreas Schwab <schwab@suse.de>
27220
27221 [BZ #16850]
27222 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27223
27224 2015-04-02 Mel Gorman <mgorman@suse.de>
27225
27226 [BZ #17195]
27227 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27228 as well as the main arena.
27229
27230 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27231
27232 [BZ #18185]
27233 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27234 sharing L2 cache to 2 for Silvermont/Knights Landing.
27235
27236 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27237
27238 [BZ #17711]
27239 * config.make.in (have-protected-data): New.
27240 * configure.ac: Check linker support for protected data symbol.
27241 * configure: Regenerated.
27242 * elf/Makefile (modules-names): Add tst-protected1moda and
27243 tst-protected1modb if $(have-protected-data) is yes.
27244 (tests): Add tst-protected1a and tst-protected1b if
27245 $(have-protected-data) is yes.
27246 ($(objpfx)tst-protected1a): New.
27247 ($(objpfx)tst-protected1b): Likewise.
27248 (tst-protected1modb.so-no-z-defs): Likewise.
27249 * elf/tst-protected1a.c: New file.
27250 * elf/tst-protected1b.c: Likewise.
27251 * elf/tst-protected1mod.h: Likewise.
27252 * elf/tst-protected1moda.c: Likewise.
27253 * elf/tst-protected1modb.c: Likewise.
27254
27255 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27256
27257 [BZ #17711]
27258 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27259 indicates it is called from do_lookup_x on relocation against
27260 protected data, skip the data definion in the executable from
27261 copy reloc.
27262 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27263 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27264 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27265 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27266 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27267 otherwise to 0.
27268 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27269 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27270 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27271 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27272 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27273 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27274
27275 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
27276
27277 * sysdeps/nptl/pthread.h: Remove duplicate definition of
27278 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27279
27280 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
27281
27282 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27283 THREAD_SETMEM_NC.
27284 * sysdeps/x86_64/nptl/tls.h: Ditto.
27285
27286 2015-03-27 Roland McGrath <roland@hack.frob.com>
27287
27288 * dlfcn/tststatic.c (main): Converted to ...
27289 (do_test): ... this.
27290 (TEST_FUNCTION): New macro.
27291 Include test-skeleton.c.
27292
27293 2015-03-26 Alan Modra <amodra@gmail.com>
27294
27295 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27296 Don't segfault if ifunc resolver returns a NULL. Do set plt to
27297 zero for undefined weak.
27298 (elf_machine_plt_conflict): Similarly.
27299
27300 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27301
27302 * math/auto-libm-test-in: Add more tests of acosh, asinh and
27303 atanh.
27304 * math/auto-libm-test-out: Regenerated.
27305 * sysdeps/i386/fpu/libm-test-ulps: Update.
27306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27307
27308 * math/auto-libm-test-in: Add another test of asin.
27309 * math/auto-libm-test-out: Regenerated.
27310 * sysdeps/i386/fpu/libm-test-ulps: Update.
27311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27312
27313 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27314 Remove macro.
27315 (LLL_EBX_REG): Likewise.
27316 (LLL_ENTER_KERNEL): Likewise.
27317
27318 * math/auto-libm-test-in: Add more tests of asin.
27319 * math/auto-libm-test-out: Regenerated.
27320 * sysdeps/i386/fpu/libm-test-ulps: Update.
27321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27322
27323 [BZ #18138]
27324 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27325 libc_do_syscall_args): New structure.
27326 (INTERNAL_SYSCALL_MAIN_0): New macro.
27327 (INTERNAL_SYSCALL_MAIN_1): Likewise.
27328 (INTERNAL_SYSCALL_MAIN_2): Likewise.
27329 (INTERNAL_SYSCALL_MAIN_3): Likewise.
27330 (INTERNAL_SYSCALL_MAIN_4): Likewise.
27331 (INTERNAL_SYSCALL_MAIN_5): Likewise.
27332 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
27333 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27334 Replace conditional definitions by conditional definitions of ....
27335 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
27336 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27337 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27338 (libpthread-sysdep_routines): Add libc-do-syscall.
27339 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27340 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27341 to __NR_futex not 240.
27342
27343 2015-03-25 Alan Modra <amodra@gmail.com>
27344
27345 * NEWS: Advertise TLS optimization.
27346 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27347 (DT_PPC_NUM): Increment.
27348 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27349 (CHECK_STATIC_TLS): Use here.
27350 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27351 TLS descriptors.
27352 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27353 * sysdeps/powerpc/dl-tls.c: New file.
27354 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27355 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27356 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27357 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27361
27362 2015-03-25 Alan Modra <amodra@gmail.com>
27363
27364 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27365 for overlapping .opd entries" to "support...".
27366 * sysdeps/powerpc/powerpc64/configure: Regenerate
27367
27368 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27369
27370 * math/auto-libm-test-in: Add more tests of acos.
27371 * math/auto-libm-test-out: Regenerated.
27372 * sysdeps/i386/fpu/libm-test-ulps: Update.
27373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27374
27375 * math/auto-libm-test-in: Add more tests of expm1.
27376 * math/auto-libm-test-out: Regenerated.
27377 * sysdeps/i386/fpu/libm-test-ulps: Update.
27378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27379
27380 2015-03-24 Joseph Myers <joseph@codesourcery.com>
27381
27382 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27383 * math/auto-libm-test-out: Regenerated.
27384 * sysdeps/i386/fpu/libm-test-ulps: Update.
27385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27386
27387 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27389
27390 * math/auto-libm-test-in: Add more tests of log2.
27391 * math/auto-libm-test-out: Regenerated.
27392 * sysdeps/i386/fpu/libm-test-ulps: Update.
27393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27394
27395 2015-03-23 Roland McGrath <roland@hack.frob.com>
27396
27397 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27398 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
27399 _IO_IS_APPENDING bit in READ_WRITE instead.
27400
27401 2015-03-23 Florian Weimer <fweimer@redhat.com>
27402
27403 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27404 (__determine_cpumask_size): Replace extend_alloca with a
27405 variable-length array. Do not treat res == 0 as an error.
27406
27407 2015-03-23 Florian Weimer <fweimer@redhat.com>
27408
27409 [BZ #18100]
27410 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27411 and integer overflow.
27412 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27413 (main): Add integer overflow tests.
27414 * manual/pattern.texi (Calling Wordexp): Document additional use
27415 for WRDE_SYNTAX.
27416
27417 2015-03-23 Alan Modra <amodra@gmail.com>
27418
27419 * config.h.in: Remove HAVE_ASM_PPC_REL16.
27420 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27421 and false branch of conditional.
27422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27423 Likewise.
27424
27425 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
27426
27427 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27428 libc-modules.h
27429 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27430 unused declaration of _hurd_intr_rpc_msg_in_trap.
27431 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27432 defined instead of whether it is non-zero.
27433 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27434 input constraint instead of both input and output constraint. Use ecx
27435 clobber instead of %ecx.
27436 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27437 mutex_unlock): Use a statement expression instead of an expression list.
27438 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27439 type to vm_size_t instead of vm_address_t.
27440 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
27441 defined instead of whether it is non-zero.
27442 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27443 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
27444 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
27445 comparisons with mapaddr.
27446 * nscd/nscd-client.h: Include <time.h>.
27447 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
27448 9th parameter to __vm_region instead of int.
27449 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
27450 * scripts/check-local-headers.sh (exclude): Add device/,
27451 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
27452 cthreads.h.
27453
27454 2015-03-19 Roland McGrath <roland@hack.frob.com>
27455
27456 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
27457 to account for alignment padding.
27458 * sysdeps/arm/memmove.S: Likewise.
27459
27460 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
27461
27462 * sysdeps/unix/sysv/linux/generic/README: New file.
27463
27464 2015-03-18 Joseph Myers <joseph@codesourcery.com>
27465
27466 [BZ #18138]
27467 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
27468 (futex_abstimed_wait)
27469 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
27470 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
27471 of lll_futex_timed_wait.
27472
27473 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
27474
27475 [BZ #17542]
27476 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
27477
27478 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
27479
27480 [BZ #17090]
27481 [BZ #17620]
27482 [BZ #17621]
27483 [BZ #17628]
27484 * NEWS: Update.
27485 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
27486 entries with Static TLS too. Skip entries past the end of the
27487 allocated DTV, from Alan Modra.
27488 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
27489 Static TLS DTV entry set up from...
27490 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
27491 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
27492 * nptl/allocatestack.c (init_one_static_tls): ... and here...
27493 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
27494 for Static TLS.
27495 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
27496 that the slot we find is associated with the given map before
27497 using its generation count.
27498 * nptl_db/db_info.c: Include ldsodefs.h.
27499 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
27500 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
27501 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
27502 (link_map::l_tls_offset): New struct field.
27503 (dtv_t::counter): Likewise.
27504 (rtld_global): New struct.
27505 (_rtld_global): New rtld variable.
27506 (dl_tls_dtv_slotinfo_list): New rtld global field.
27507 (dtv_slotinfo_list): New struct.
27508 (dtv_slotinfo): Likewise.
27509 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
27510 (td_lookup): Rename to...
27511 (td_mod_lookup): ... this. Use new mod parameter instead of
27512 LIBPTHREAD_SO.
27513 * nptl_db/td_thr_tlsbase.c: Include link.h.
27514 (dtv_slotinfo_list, dtv_slotinfo): New functions.
27515 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
27516 addresses even if the DTV is out of date or missing them.
27517 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
27518 index zero-length arrays.
27519 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
27520 (td_lookup): Make it a macro implemented in terms of...
27521 (td_mod_lookup): ... this declaration.
27522 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
27523 (DB_MAIN_VARIABLE): Likewise.
27524
27525 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
27526
27527 [BZ #18134]
27528 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27529
27530 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
27531
27532 * stdlib/setenv.c (__add_to_environ): Revert previous change.
27533
27534 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
27535
27536 [BZ #18128]
27537 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
27538 (atomic_add, atomic_increment_and_test)
27539 (atomic_decrement_and_test): Fix 64-bit arithmetic.
27540
27541 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
27542
27543 * stdlib/setenv.c (__add_to_environ):
27544 Dump core quickly if setenv (..., NULL, ...) is called.
27545
27546 2015-03-13 Roland McGrath <roland@hack.frob.com>
27547
27548 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
27549 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
27550 all the necessary asm magic in one place.
27551 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
27552 using those.
27553
27554 2015-03-13 Carlos O'Donell <carlos@redhat.com>
27555
27556 [BZ #14906]
27557 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
27558 traced file mtime. Use consistent log message.
27559 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
27560 (register_traced_file): Call install_watches. Always set mtime.
27561 (invalidate_cache): Iterate over all trace files. Call install_watches.
27562 (inotify_check_files): Don't inline. Handle watching parent
27563 directories and configuration file movement in and out.
27564 (handle_inotify_events): New function.
27565 (main_loop_poll): Call handle_inotify_events.
27566 (main_loop_epoll): Likewise.
27567 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
27568 (struct traced_file): Use array of inotify fds. Add parent directory,
27569 and basename.
27570 (struct database_dyn): Remove unused file_mtime.
27571 (init_traced_file): New inline function.
27572 (define_traced_file): New macro.
27573 * nss/nss_db/db-init.c: Use define_traced_file.
27574 (_nss_db_init): Use init_traced_file.
27575 * nss/nss_files/files-init.c: Use define_traced_file.
27576 (_nss_files_init): Use init_traced_file.
27577
27578 2015-03-12 Joseph Myers <joseph@codesourcery.com>
27579
27580 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
27581 [_LIBC]: Do not include <stdlib.h>.
27582 [!_LIBC] (abort): Remove declaration.
27583 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
27584 _FP_STATIC_ASSERT instead of conditionally calling abort.
27585 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
27586 (_FP_EXTEND_CNAN): Likewise.
27587 (FP_TRUNC): Likewise.
27588 (__FP_CLZ): Likewise.
27589 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
27590
27591 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
27592
27593 * manual/string.texi (XPG basename): Fix prototype.
27594
27595 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27596
27597 [BZ #18080]
27598 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
27599 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27600 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
27601 (__setcontext): Likewise.
27602 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
27603 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27604 Call rt_sigprocmask syscall one time to set new signal mask
27605 and retrieve the current signal mask instead of two calls.
27606 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
27607 (__swapcontext): Likewise.
27608 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
27609 * stdlib/tst-setcontext2.c: New file.
27610
27611 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27612
27613 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27614
27615 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
27616
27617 [BZ #18093]
27618 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
27619 the wrong size.
27620
27621 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
27622
27623 [BZ #18043]
27624 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
27625
27626 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27627
27628 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
27629 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
27630 Remove define.
27631 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
27632 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
27633 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
27634 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
27635 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
27636 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
27637 define.
27638 * nptl_db/td_symbol_list.c (td_lookup): Remove
27639 HAVE_ASM_GLOBAL_DOT_NAME code.
27640 * sysdeps/powerpc/powerpc64/configure.ac: Remove
27641 HAVE_ASM_GLOBAL_DOT_NAME check.
27642 * sysdeps/powerpc/powerpc64/configure: Regenerate.
27643 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
27644 (DOT_LABEL): Remove define.
27645 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
27646 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
27647 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
27648 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
27649 (__TLS_GET_ADDR): Likewise.
27650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
27651 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
27652
27653 2015-03-11 Carlos O'Donell <carlos@redhat.com>
27654
27655 [BZ #18111]
27656 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
27657 (_FPU_SETCW): Initialize cw from fpsr before storing.
27658 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
27659 (fesetexceptflag): Rewrite using fpu_control.h.
27660 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
27661
27662 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
27663
27664 [BZ #18110]
27665 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
27666 asms.
27667 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27668
27669 2015-03-11 Joseph Myers <joseph@codesourcery.com>
27670
27671 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
27672 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
27673 abort.
27674 (_FP_FMA): Likewise.
27675 (_FP_DIV): Likewise.
27676
27677 2015-03-10 Roland McGrath <roland@hack.frob.com>
27678
27679 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
27680 with 0 in that case.
27681 * Makefile (summarize-tests): New canned sequence, factored out of
27682 commands for targets tests and xtests. Display summary lines that
27683 don't start with PASS: or XFAIL: rather than ones that do start with
27684 ERROR: or FAIL:. Make the commands fail if any summary lines fail
27685 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
27686 do start with ERROR: or FAIL:.
27687 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
27688 (except for [$(build-shared) = yes]).
27689 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
27690 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
27691 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
27692 * nptl/Makefile: Revert 2015-03-04 changes.
27693 [$(CXX) empty] (tests-unsupported): New variable.
27694 * debug/Makefile: Likewise.
27695
27696 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
27697 gnulib file. Replace __attribute with __attribute__ throughout.
27698
27699 2015-03-10 Carlos O'Donell <carlos@redhat.com>
27700
27701 * sysdeps/hppa/fpu/libm-test-ulps: Update.
27702
27703 2015-03-10 Joseph Myers <joseph@codesourcery.com>
27704
27705 [BZ #18104]
27706 * math/auto-libm-test-in: Add another test of pow.
27707 * math/auto-libm-test-out: Regenerated.
27708
27709 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27710
27711 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
27712 $(config-cflags-nofma).
27713
27714 2015-03-10 Joseph Myers <joseph@codesourcery.com>
27715
27716 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
27717 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
27718 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
27719 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
27720 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
27721 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
27722 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
27723 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
27724 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
27725 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
27726 Add comment on closing #endif.
27727
27728 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27729
27730 * posix/wordexp.c (CHAR_IN_SET): New macro.
27731 (parse_param): Use it.
27732
27733 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27734
27735 * sysdeps/powerpc/fpu/libm-test-ulps: update.
27736
27737 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27738
27739 [BZ #18043]
27740 * posix/wordexp.c (parse_param): Fix buffer overflow.
27741 * posix/wordexp-test.c (test_case): Add test case.
27742
27743 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27744
27745 [BZ #18042]
27746 * posix/wordexp.c (parse_backtick): Fix off-by-one.
27747 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
27748
27749 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27750
27751 [BZ #18043]
27752 * posix/wordexp-test.c (test_case): Add test for BZ #18043
27753 (do_bz18043): Delete.
27754 (at_page_end): New.
27755 (testit): Refactor to have words at the edge of unreadable page.
27756
27757 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27758
27759 [BZ #16734]
27760 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
27761 Cleanup read-only streams as well.
27762 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
27763
27764 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
27765
27766 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
27767 <bits/libc-lockP.h>
27768
27769 2015-03-07 Joseph Myers <joseph@codesourcery.com>
27770
27771 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
27772 on [__KERNEL__].
27773 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
27774 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
27775 * soft-fp/op-common.h (_FP_DECL): Likewise.
27776
27777 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
27778
27779 * elf/ifuncdep2.c (global): Replace
27780 __attribute__((visibility("protected"))) with
27781 asm (".protected global").
27782 * elf/ifuncmod1.c (global): Likewise.
27783 * elf/ifuncmod5.c (global): Likewise.
27784
27785 2015-03-06 Joseph Myers <joseph@codesourcery.com>
27786
27787 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
27788 <asm/sfp-machine.h> instead of <sfp-machine.h>.
27789
27790 2015-03-06 Roland McGrath <roland@hack.frob.com>
27791
27792 * manual/install.texi (Configuring and compiling):
27793 Document test-wrapper-env-only.
27794 * INSTALL: Regenerated.
27795
27796 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27797
27798 [BZ #18043]
27799 * posix/wordexp.c (parse_param): Fix buffer overflow.
27800 * posix/wordexp-test.c (do_bz18043): Add test case.
27801
27802 2015-03-06 Vincent Bernat <vincent@bernat.im>
27803
27804 * time/tst-strptime2.c (do_test): Ensure failing tests are
27805 reported correctly.
27806 * time/tst-strptime3.c (do_test): Likewise.
27807
27808 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
27809
27810 Fix aio_error thread-safety.
27811 * sysdeps/pthread/aio_error.c: New file
27812 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
27813 synchronization.
27814
27815 2015-03-06 Florian Weimer <fweimer@redhat.com>
27816
27817 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
27818 (group_number, vfprintf): Use it.
27819 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
27820 (JUMP, REF): Use it.
27821 (WORK_BUFFER_SIZE): New enum constant.
27822 (process_arg, vfprintf): Use it.
27823
27824 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
27825
27826 * manual/errno.texi (Error Messages): Complete example function
27827 by adding missing #define.
27828 (program_invocation_name): Add statement indicating GNU
27829 extension and reference which header file declares the variable.
27830 (program_invocation_short_name): Likewise.
27831
27832 2015-03-06 Mike Frysinger <vapier@gentoo.org>
27833
27834 * manual/errno.texi (Error Messages): Delete strerror ISO C89
27835 compatibility note.
27836
27837 2015-03-05 Roland McGrath <roland@hack.frob.com>
27838
27839 * Makeconfig (test-wrapper-env-only): New variable.
27840 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
27841 then use that with $(test-wrapper-env-only) rather than using
27842 $(test-wrapper-env) $(run-program-env) $($*-ENV).
27843
27844 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
27845
27846 [BZ #18082]
27847 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
27848 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
27849 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
27850 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
27851 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
27852 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
27853 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
27854 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
27855 Likewise.
27856 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
27857 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
27858 Likewise.
27859 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
27860 Likewise.
27861 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
27862 Likewise.
27863 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
27864 Likewise.
27865 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
27866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
27867 Likewise.
27868 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
27869 Likewise.
27870 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
27871 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
27872
27873 2015-03-04 Roland McGrath <roland@hack.frob.com>
27874
27875 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
27876 (ETH_ALEN): New macro.
27877 (struct ether_addr): Use it for length of ether_addr_octet.
27878
27879 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
27880 (setdb): Don't call __nss_configure_lookup for "rpc".
27881 (do_test): Don't call test_rpc.
27882 (output_rpcent, test_rpc): Functions moved ...
27883 * sunrpc/test-rpcent.c: ... to this new file.
27884 * sunrpc/Makefile (tests): Add it.
27885
27886 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
27887 __xpg_sigpause.
27888 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
27889 * nptl/tst-signal6.c: Likewise.
27890 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
27891 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
27892
27893 * configure.ac (libc_cv_cxx_link_ok): New check.
27894 Reset CXX to empty if it fails to link.
27895 * configure: Regenerated.
27896 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
27897 bug-atexit3-lib only if $(CXX) is nonempty.
27898 * nptl/Makefile (tests): Likewise for tst-cancel24.
27899 (tests, tests-static): Likewise for tst-cancel24-static.
27900 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
27901 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
27902 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27903 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
27904
27905 2015-03-04 Andreas Schwab <schwab@suse.de>
27906
27907 [BZ #17631]
27908 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
27909 for non-GCC compilers.
27910 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27911 Likewise.
27912
27913 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27914
27915 [BZ #17776]
27916 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
27917 integer before bitwise and assembly operations.
27918 (feclearexcept): Likewise.
27919 * math/test-fenvinline.c: New file.
27920 * math/Makefile: Add test-fenvinline test.
27921
27922 2015-03-03 Alan Modra <amodra@gmail.com>
27923
27924 [BZ #16512]
27925 * scripts/localplt.awk: Strip off symbol version.
27926 * NEWS: Mention bug fix.
27927
27928 2015-03-02 Roland McGrath <roland@hack.frob.com>
27929
27930 * sysdeps/pthread/timer_routines.c
27931 (timer_free_list, thread_free_list, thread_active_list): Make static.
27932
27933 2015-03-02 Joseph Myers <joseph@codesourcery.com>
27934
27935 [BZ #17779]
27936 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27937 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27938 Undefine.
27939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27940 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27941 Likewise.
27942 * sysdeps/unix/sysv/linux/sh/kernel-features.h
27943 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27944 Likewise.
27945
27946 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27947
27948 [BZ #18036]
27949 * posix/fnmatch_loop.c (END): Detect invalid pattern.
27950 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
27951
27952 2015-03-02 Andreas Schwab <schwab@suse.de>
27953
27954 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
27955 variable name.
27956
27957 2015-03-02 Florian Weimer <fweimer@redhat.com>
27958
27959 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
27960 Return error status.
27961
27962 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
27963
27964 [BZ #15969]
27965 * locale/findlocale.c (_nl_find_locale): Introduce const
27966 version of loc_name and drop unsafe type casts.
27967
27968 2015-02-27 Roland McGrath <roland@hack.frob.com>
27969
27970 * dlfcn/tststatic2.c (main): Converted to ...
27971 (do_test): ... this.
27972 (TEST_FUNCTION): New macro.
27973 Include test-skeleton.c.
27974
27975 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
27976
27977 [BZ #17711]
27978 * elf/Makefile (tests): Add vismain only if PIE is enabled.
27979 (tests-pie): Add vismain.
27980 (CFLAGS-vismain.c): New.
27981 * elf/vismain.c: Add comments for PIE requirement.
27982
27983 2015-02-27 Joseph Myers <joseph@codesourcery.com>
27984
27985 [BZ #18046]
27986 [BZ #18047]
27987 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
27988 0x1p-56L as threshold for just returning the argument.
27989 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
27990 0x1p-32L as threshold for just returning the argument.
27991 * math/auto-libm-test-in: Add more tests of atanh.
27992 * math/auto-libm-test-out: Regenerated.
27993 * sysdeps/i386/fpu/libm-test-ulps: Update.
27994 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
27995
27996 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
27997
27998 * string/bcopy.c (bcopy): Call memmove for performance.
27999
28000 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28001
28002 * string/bzero.c (__bzero): Call memset for performance.
28003
28004 2015-02-27 John David Anglin <dave.anglin@bell.net>
28005
28006 [BZ #18068]
28007 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28008 to 00100000.
28009
28010 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28011
28012 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28013
28014 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28015
28016 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28017 (__kernel_standard): Use CSTR macro when setting exc.name.
28018 * sysdeps/ieee754/Makefile [$(subdir) = math]
28019 (CFLAGS-k_standard.c): Remove variable.
28020
28021 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28022 setting p and q from "else if" to "else".
28023 (qzero): Likewise.
28024 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28025 (qone): Likewise.
28026 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28027 (qzerof): Likewise.
28028 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28029 (qonef): Likewise.
28030 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28031 (qzero): Likewise.
28032 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28033 (qone): Likewise.
28034
28035 [BZ #18038]
28036 [BZ #18039]
28037 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28038 return pi/2 for arguments below 0x1p-113L.
28039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28040 return pi/2 for arguments below 0x1p-106L.
28041 * math/auto-libm-test-in: Add more tests of acos.
28042 * math/auto-libm-test-out: Regenerated.
28043
28044 [BZ #16351]
28045 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28046 (MO): New macro.
28047 (__ieee754_asin): Force underflow exception for results with small
28048 absolute value.
28049 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28050 (MO): New macro.
28051 (__ieee754_asinf): Force underflow exception for results with
28052 small absolute value.
28053 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28054 (__ieee754_asin): Force underflow exception for results with small
28055 absolute value.
28056 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28057 (__ieee754_asinf): Force underflow exception for results with
28058 small absolute value.
28059 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28060 (__ieee754_asinl): Force underflow exception for results with
28061 small absolute value.
28062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28063 (__ieee754_asinl): Force underflow exception for results with
28064 small absolute value.
28065 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28066 (__ieee754_asinl): Force underflow exception for results with
28067 small absolute value.
28068 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28069 Include <math.h>.
28070 * math/auto-libm-test-in: Do not mark underflow exceptions as
28071 possibly missing for bug 16351.
28072 * math/auto-libm-test-out: Regenerated.
28073
28074 [BZ #18030]
28075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28076 of power of 2 down when low part has opposite sign.
28077 * math/libm-test.inc (logb_test_data): Add more tests.
28078
28079 2015-02-26 Andreas Schwab <schwab@suse.de>
28080
28081 [BZ #18032]
28082 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28083 over collating symbol inside a bracket expression. Minor cleanup.
28084 * posix/tst-fnmatch3.c (do_test): Add test case.
28085
28086 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28087
28088 [BZ #18029]
28089 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28090 Adjust exponent of power of 2 down when low part has opposite
28091 sign.
28092 * math/libm-test.inc (ilogb_test_data): Add more tests.
28093
28094 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
28095
28096 [BZ #15969]
28097 * locale/findlocale.c (_nl_find_locale): Fix constness error in
28098 the previous change.
28099
28100 [BZ #15969]
28101 * locale/findlocale.c (_nl_find_locale): Retry archive search
28102 after alias expansion.
28103
28104 2015-02-25 Roland McGrath <roland@hack.frob.com>
28105
28106 * iconv/tst-iconv3.c (main): Converted to ...
28107 (do_test): ... this.
28108 (TEST_FUNCTION): New macro.
28109 Include test-skeleton.c.
28110
28111 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28112 (convert): Make function static.
28113 (test_unalign): Likewise. Add const to argument pointee types.
28114 (main): Replace with static function do_test.
28115 Print "Succeeded." only if RET is zero.
28116 (TEST_FUNCTION): New macro.
28117 Include test-skeleton.c.
28118
28119 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28120 returns a null pointer.
28121
28122 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28123
28124 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28125 to __memcpy_ppc only for static builds.
28126
28127 2015-02-25 Joseph Myers <joseph@codesourcery.com>
28128
28129 [BZ #18020]
28130 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28131 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28132 * math/auto-libm-test-in: Add more tests of asinh.
28133 * math/auto-libm-test-out: Regenerated.
28134 * sysdeps/i386/fpu/libm-test-ulps: Update.
28135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28136
28137 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
28138
28139 [BZ #15850]
28140 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28141 and ip6_mtuinfo definitions here.
28142 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28143 in this define too. Update comment.
28144
28145 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
28146
28147 * elf/sprof.c (load_shobj): Tweak error message to match others.
28148
28149 2015-02-24 Kevin Easton <kevin@guarana.org>
28150
28151 [BZ #16145] (partial fix)
28152 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28153 to reduce lock contention.
28154
28155 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
28156
28157 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28158 (struct timex): Update time comment.
28159 (ADJ_SETOFFSET): Define.
28160
28161 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28162
28163 [BZ #18019]
28164 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28165 2**56 not 2**28 as threshold for log (2x) formula.
28166 * math/auto-libm-test-in: Add more tests of acosh.
28167 * math/auto-libm-test-out: Regenerated.
28168 * sysdeps/i386/fpu/libm-test-ulps: Update.
28169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28170
28171 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28172
28173 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28174 parenthesis around the buf assignment.
28175 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28176
28177 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28178
28179 [BZ #16783]
28180 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28181 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28182 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28183 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28184 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28185 * math/libm-test.inc (scalb_test_data): Add more tests.
28186
28187 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
28188
28189 [BZ #17916]
28190 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28191 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28192
28193 2015-02-24 Eric Rannaud <e@nanocritical.com>
28194
28195 [BZ #17523]
28196 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28197 * io/bits/fcntl2.h (open): Use it.
28198 (openat): Likewise.
28199 * io/open.c (__libc_open): Likewise.
28200 * io/open64.c (__libc_open64): Likewise.
28201 * io/open64_2.c (__open64_2): Likewise.
28202 * io/open_2.c (__open_2): Likewise.
28203 * io/openat.c (__openat): Likewise.
28204 * io/openat64.c (__openat64): Likewise.
28205 * io/openat64_2.c (__openat64_2): Likewise.
28206 * io/openat_2.c (__openat_2): Likewise.
28207 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28208 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28209 * sysdeps/posix/open64.c (__libc_open64): Likewise.
28210 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28211 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28212 (__open_nocancel): Likewise.
28213 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28214 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28215 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28216
28217 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28218
28219 [BZ #14841]
28220 * resolv/gethnamaddr.c (getanswer): Skip logging if
28221 RES_USE_DNSSEC is set.
28222 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28223
28224 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28225
28226 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28227
28228 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
28229
28230 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28231 201304L, for Unicode 7.
28232
28233 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
28234
28235 [BZ #17836]
28236 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28237 shared library. Add gmon-start.os otherwise.
28238 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28239 $(objpfx)gmon-start.os if builing shared library.
28240 ($(objpfx)g$(static-start-installed-name)): Likewise.
28241
28242 2015-02-23 Andreas Schwab <schwab@suse.de>
28243
28244 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28245
28246 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28247
28248 [BZ #17269]
28249 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28250 (enlarge_userbuf): Likewise.
28251
28252 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
28253
28254 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28255 * math/atest-exp.c (TIMEOUT): Adjust to 200.
28256 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28257 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28258
28259 2015-02-20 Joseph Myers <joseph@codesourcery.com>
28260
28261 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28262 expression inside statement expression.
28263
28264 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
28265
28266 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28267 <sysdeps/nptl/lowlevellock.h> and remove macros and
28268 functions that are now defined there.
28269 (SYS_futex): Remove.
28270 (lll_compare_and_swap): Remove.
28271 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28272
28273 2015-02-19 Joseph Myers <joseph@codesourcery.com>
28274
28275 [BZ #17999]
28276 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28277 instead of scandirat.
28278 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28279 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28280 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28281 __scandirat.
28282 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28283 (__scandirat): Declare. Use libc_hidden_proto.
28284 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28285 Remove variable.
28286 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28287
28288 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28289
28290 [BZ #15319]
28291 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28292 (MO): New macro.
28293 (__ieee754_atan2): For results with small absolute value, force
28294 underflow exception and remove excess range and precision from
28295 return value.
28296 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28297 (MO): New macro.
28298 (__ieee754_atan2f): For results with small absolute value, force
28299 underflow exception and remove excess range and precision from
28300 return value.
28301 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28302 (MO): New macro.
28303 (__atan): For results with small absolute value, force underflow
28304 exception and remove excess range and precision from return value.
28305 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28306 (MO): New macro.
28307 (__atanf): For results with small absolute value, force underflow
28308 exception and remove excess range and precision from return value.
28309 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28310 <math.h>.
28311 (__ieee754_atan2): Force underflow exception for results with
28312 small absolute value.
28313 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28314 <math_private.h>.
28315 (atan): Force underflow exception for results with small absolute
28316 value.
28317 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28318 (__atanf): Force underflow exception for results with small
28319 absolute value.
28320 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28321 <math.h>.
28322 (__atanl): Force underflow exception for results with small
28323 absolute value.
28324 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28325 (__atanl): Force underflow exception for results with small
28326 absolute value.
28327 * sysdeps/x86/fpu/bits/mathinline.h
28328 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28329 (__ieee754_atan2): Only define inline for long double.
28330 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28331 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28332 * math/auto-libm-test-in: Do not mark underflow exceptions as
28333 possibly missing for bug 15319. Add more tests of atan2.
28334 * math/auto-libm-test-out: Regenerated.
28335 * math/libm-test.inc (casin_test_data): Do not mark underflow
28336 exceptions as possibly missing for bug 15319.
28337 (casinh_test_data): Likewise.
28338 * sysdeps/i386/fpu/libm-test-ulps: Update.
28339
28340 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
28341
28342 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28343 * sysdeps/mips/bits/endian.h: Fix comments.
28344
28345 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28346
28347 [BZ #17996]
28348 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28349 (hdestroy_r): Likewise.
28350 (hsearch_r): Likewise.
28351 (__hcreate_r): Declare and use libc_hidden_proto.
28352 (__hdestroy_r): Likewise.
28353 (__hsearch_r): Likewise.
28354 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28355 (hcreate): Call __hcreate_r instead of hcreate_r.
28356 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28357 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28358 as weak alias of __hcreate_r.
28359 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28360 __hdestroy_r.
28361 (hsearch_r): Rename to __hsearch_r and define as weak alias of
28362 __hsearch_r.
28363 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28364 Remove variable.
28365 (test-xfail-XPG4/search.h/linknamespace): Likewise.
28366 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28367 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28368 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28369
28370 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28371
28372 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28373 arena_lock into a single arena_get.
28374
28375 2015-02-17 Carlos O'Donell <carlos@redhat.com>
28376
28377 * dl-reloc.c: Inlucde libc-internal.h.
28378 (_dl_try_allocate_static_tls): Call ALIGN_UP.
28379 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28380 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28381 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28382 (grow_heap): Likewise.
28383 * malloc/malloc.c: Include libc-internal.h.
28384 (do_check_malloc): Call powerof2.
28385 (sysmalloc): Use pagesize. Call ALIGN_UP.
28386 (systrim): Use pagesize.
28387 (mremap_chunk): Use pagesize. Call ALIGN_UP.
28388 (__libc_valloc): Use pagesize.
28389 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28390
28391 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28392
28393 [BZ #17991]
28394 * include/sys/resource.h (__getrlimit64): Declare. Use
28395 libc_hidden_proto.
28396 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28397 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
28398 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28399 getrlimit64.
28400 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28401 __getrlimit64.
28402 [!getrlimit64] (getrlimit64): Define as weak alias of
28403 __getrlimit64. Use libc_hidden_weak.
28404 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28405 using __getrlimit64 not __new_getrlimit64.
28406 (__GI_getrlimit64): Likewise.
28407 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28408 Likewise.
28409 (__GI_getrlimit64): Likewise.
28410 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28412 (getrlimit): Add __getrlimit64 alias.
28413 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28414 Likewise.
28415 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28416 Remove variable.
28417 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28418 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28419
28420 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
28421
28422 * libio/fileops.c: Add missing sys/mman.h
28423 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28424
28425 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28426
28427 * manual/math.texi (Errors in Math Functions): Clarify goals
28428 regarding inexact and underflow exceptions.
28429
28430 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28431
28432 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28433 * sysdeps/mips/memset.S: Ditto.
28434
28435 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28436
28437 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28438
28439 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
28440
28441 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
28442 (__v1longjmp): Remove versioned symbol.
28443 (__v1siglongjmp): Remove alias and versioned symbol.
28444 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
28445 (__v2siglongjmp): Likewise.
28446
28447 2015-02-16 Torvald Riegel <triegel@redhat.com>
28448
28449 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
28450
28451 2015-02-16 Mike Frysinger <vapier@gentoo.org>
28452
28453 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
28454
28455 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28456
28457 [BZ #17987]
28458 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
28459 zero result does not depend on the sign resulting from
28460 subtraction.
28461 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28462 Likewise.
28463 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28464 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28465 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28466 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28467 * math/libm-test.inc (remquo_test_data): Add more tests.
28468
28469 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
28470
28471 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
28472 Problem reported by J William Piggott.
28473
28474 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28475
28476 [BZ #17978]
28477 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
28478 products 4 * y and 2 * y where those would overflow.
28479 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28480 Likewise.
28481 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28482 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28483 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28484 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28485 * math/libm-test.inc (remquo_test_data): Add more tests.
28486
28487 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
28488
28489 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
28490 [defined _COMPILING_NEWLIB].
28491 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
28492 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
28493
28494 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
28495 [!defined __mips_isa_rev || __mips_isa_rev < 6].
28496
28497 2015-02-16 Torvald Riegel <triegel@redhat.com>
28498
28499 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
28500 acquired.
28501
28502 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
28503
28504 [BZ #17792]
28505 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
28506 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
28507 HOST_STACK_END_ADDR): Likewise.
28508
28509 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
28510
28511 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28512 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
28513 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
28514
28515 2015-02-13 Roland McGrath <roland@hack.frob.com>
28516
28517 * sysdeps/generic/c++-types.data: New file.
28518 * sysdeps/generic/ld.abilist: New file.
28519 * sysdeps/generic/libBrokenLocale.abilist: New file.
28520 * sysdeps/generic/libanl.abilist: New file.
28521 * sysdeps/generic/libc.abilist: New file.
28522 * sysdeps/generic/libcrypt.abilist: New file.
28523 * sysdeps/generic/libdl.abilist: New file.
28524 * sysdeps/generic/libm.abilist: New file.
28525 * sysdeps/generic/libpthread.abilist: New file.
28526 * sysdeps/generic/libresolv.abilist: New file.
28527 * sysdeps/generic/librt.abilist: New file.
28528
28529 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28530
28531 [BZ #17569]
28532 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28533 Compute absolute value of x as modified by fmod, not original
28534 value of x.
28535 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
28536 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
28537 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
28538 RUN_TEST_ffI_f1_mod8.
28539 (remquo_test_data): Add more tests.
28540
28541 2015-02-13 Roland McGrath <roland@hack.frob.com>
28542
28543 * sysdeps/init_array/pt-crti.S: New file.
28544
28545 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28546
28547 [BZ #17967]
28548 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
28549 __builtin_fmaf instead of relying on contraction of a * b + c.
28550
28551 2015-02-12 J William Piggott <elseifthen@gmx.com>
28552
28553 [BZ #17969]
28554 * manual/time.texi: correct the zoneinfo path in the TZ Variable
28555 node.
28556
28557 2015-02-12 Joseph Myers <joseph@codesourcery.com>
28558
28559 [BZ #17964]
28560 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
28561 __builtin_fma instead of relying on contraction of a * b + c.
28562
28563 2015-02-12 Roland McGrath <roland@hack.frob.com>
28564
28565 * Makeconfig (ASFLAGS): Add -Werror=undef.
28566 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
28567 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
28568 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
28569
28570 * Makeconfig (after-link): New variable.
28571 (+link-pie, +link-pie-tests): Use it.
28572 (+link-static, +link-static-tests): Likewise.
28573 (+link, +link-tests): Likewise.
28574 * Makerules (build-module, build-module-asneeded): Likewise.
28575 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
28576 Likewise.
28577 * elf/Makefile ($(objpfx)ld.so): Likewise.
28578
28579 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
28580
28581 [BZ #17965]
28582 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
28583 both struct timeval and struct timespec.
28584
28585 2015-02-12 Joseph Myers <joseph@codesourcery.com>
28586
28587 [BZ #16560]
28588 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28589 and redefine.
28590 (__ieee754_exp2l): Do not multiply small fractional parts by
28591 M_LN2l.
28592 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
28593 small argument.
28594 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28595 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28596 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
28597 * math/auto-libm-test-in: Add more tests of exp2.
28598 * math/auto-libm-test-out: Regenerated.
28599
28600 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28601
28602 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
28603 unaligned path.
28604
28605 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28606
28607 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
28608 little endian.
28609
28610 2015-02-12 Andreas Schwab <schwab@suse.de>
28611
28612 [BZ #15790]
28613 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28614 Filter out elision flags from value returned in kind.
28615 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
28616 * nptl/tst-pthread-mutexattr.c: New file.
28617
28618 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
28619
28620 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
28621 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
28622 into gnu-gnu, and update comment to refer to abi-tags.
28623
28624 2015-02-11 Joseph Myers <joseph@codesourcery.com>
28625
28626 [BZ #15467]
28627 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
28628 (__sincos): Set errno to EDOM for infinite argument.
28629 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
28630 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
28631 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
28632 (__sincosl): Set errno to EDOM for infinite argument.
28633 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
28634 (__sincosl): Set errno to EDOM for infinite argument.
28635 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
28636 (__sincosl): Set errno to EDOM for infinite argument.
28637 * math/libm-test.inc (sincos_test_data): Test errno setting.
28638
28639 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
28640
28641 * string/strxfrm_l.c: Remove #define STRCMP.
28642 * string/strcoll_l.c: Remove #define STRLEN.
28643 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
28644 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
28645
28646 2015-02-10 Joseph Myers <joseph@codesourcery.com>
28647
28648 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
28649 * sysdeps/mips/mips32/sfp-machine.h: ... here.
28650 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
28651 * sysdeps/mips/mips64/Makefile: ... here.
28652 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
28653 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
28654 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
28655 * sysdeps/mips/mips64/sfp-machine.h: ... here.
28656 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
28657 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
28658 * sysdeps/mips/mips64/n64/Implies: Likewise.
28659
28660 2015-02-10 Roland McGrath <roland@hack.frob.com>
28661
28662 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
28663 <sys/time.h>, <string.h>, and <errno.h>.
28664 (dest_offset, dest_address, value, zero): Remove unused variables.
28665 (ldouble): Remove typedef.
28666 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
28667 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
28668 1). Fix code style.
28669 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
28670 (check): Function removed.
28671 (CHECK): New macro.
28672 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
28673 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
28674 Don't call set_sigaction_FP and remove_sigaction_FP here.
28675 (ldouble_test): Just use 'long double' as macro argument, no need for
28676 the 'ldouble' typedef.
28677 (do_test): Set up SIGFPE handler at start, using plain signal rather
28678 than sigaction. Fix code style.
28679
28680 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
28681
28682 [BZ #17949]
28683 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
28684 jump label.
28685
28686 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28687
28688 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
28689 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28690
28691 * sysdeps/powerpc/configure.ac: Remove file.
28692 * sysdeps/powerpc/configure: Likewise.
28693
28694 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28695 [sysdep_routines]: Remove wordcopy-power6 object.
28696 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28697 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
28698 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
28699 (__memmove_ppc32): Likewise.
28700 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
28701 file.
28702 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
28703 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
28704 Remove preprocessor.
28705
28706 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28707 [sysdep_routines]: Remove wide chars objects.
28708 [wcsmbs]: New rule for wide char objects.
28709
28710 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28711 Remove wordcopy-power6 obejct.
28712 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
28713 Use local call for wordcopy and memcpy symbols.
28714 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
28715 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
28716 implementation for loader.
28717 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
28718
28719 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28720 Remove wordcopy-power7 object.
28721 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
28722 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
28723 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
28724 (_wordcopy_fwd_dest_aligned): Likewise.
28725 (_wordcopy_bwd_aligned): Likewise.
28726 (_wordcopy_bwd_dest_aligned): Likewise.
28727
28728 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
28729 Rewrite to call __memmove_ppc instead of include default
28730 implementation.
28731
28732 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28733 Remove wide chars objects.
28734 [wcsmbs]: New rule for wide char objects.
28735
28736 2015-02-09 Andreas Schwab <schwab@suse.de>
28737
28738 [BZ #17912]
28739 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28740 in terms of __O_DIRECTORY.
28741
28742 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28743
28744 * time/getdate.c: Include <stdbool.h>.
28745 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
28746 call PTR_MANGLE.
28747 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
28748 PTR_DEMANGLE.
28749
28750 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
28751
28752 Add ersatz _Static_assert on older C hosts
28753 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
28754 pre-C11 C platform that is not known to support _Static_assert.
28755
28756 2015-02-07 Richard Braun <rbraun@sceen.net>
28757
28758 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
28759 sigstate.
28760 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
28761
28762 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28763
28764 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
28765 priority against unexistent AIO_PRIO_DELTA_MAX.
28766 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
28767 instead of int.
28768 * misc/fchflags.c (fchflags): Likewise.
28769 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
28770 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
28771 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
28772 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
28773 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
28774 Declare macros.
28775 [__USE_MISC] (chflags, fchflags): Declare functions.
28776 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
28777 EINVAL when nfds is greater than FD_SETSIZE.
28778 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
28779 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
28780 45.
28781 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
28782 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
28783 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
28784 MACH_RCV_TIMED_OUT.
28785 * hurd/hurd/signal.h (_hurd_self_sigstate,
28786 _hurd_critical_section_lock, _hurd_critical_section_unlock):
28787 Explicit casts from void *.
28788 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
28789 * abi-tags: Rename gnu-gnu os into gnu.
28790
28791 [BZ #4719]
28792 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
28793 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
28794 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
28795 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
28796 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
28797 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
28798
28799 [BZ #17944]
28800 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
28801 duplicates ADDR->sun_path with sockaddr LEN limitation.
28802 * sysdeps/mach/hurd/connect.c: Include <string.h>
28803 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
28804 * sysdeps/mach/hurd/sendmsg.c: Likewise.
28805 * sysdeps/mach/hurd/sendto.c: Likewise.
28806 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
28807 implementing it by hand.
28808
28809 2015-02-06 Roland McGrath <roland@hack.frob.com>
28810
28811 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
28812 Use sfi_breg on ldr.
28813 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
28814 Likewise.
28815
28816 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
28817 it's defined.
28818 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
28819 Test SIGSETXID only if it's defined.
28820
28821 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
28822
28823 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
28824 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
28825
28826 * nptl/tst-align2.c: Moved ...
28827 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
28828 * nptl/Makefile (tests): Remove tst-align2.
28829 * sysdeps/unix/sysv/linux/Makefile
28830 [$(subdir) = nptl] (tests): Add tst-align-clone.
28831 * nptl/tst-getpid1.c: Moved ...
28832 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
28833 * nptl/tst-getpid2.c: Moved ...
28834 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
28835 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
28836 * sysdeps/unix/sysv/linux/Makefile
28837 [$(subdir) = nptl] (tests): ... here.
28838 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
28839 * sysdeps/unix/sysv/linux/Makefile
28840 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
28841
28842 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
28843 Drop trailing \n from perror argument. Use return rather than exit.
28844
28845 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
28846 on [SA_SIGINFO].
28847 * nptl/tst-cancel21.c (do_test): Likewise.
28848 * debug/tst-backtrace6.c: Include <signal.h> first thing.
28849 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
28850 [!SA_SIGINFO]: Make it a stub test.
28851
28852 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
28853 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
28854
28855 * posix/tst-getlogin.c: Move to ...
28856 * login/tst-getlogin.c: ... here.
28857 * posix/Makefile (tests): Move tst-getlogin to ...
28858 * login/Makefile (tests): ... here.
28859
28860 * libio/tst-atime.c (do_test): Move local variables SV and E
28861 inside [ST_NOATIME] conditional.
28862
28863 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
28864
28865 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
28866
28867 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
28868 (wait_code): New function replaces macro.
28869 Call nanosleep rather than syscall.
28870
28871 * nptl/pt-system.c: Rewritten. Put everything under
28872 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28873 Use IFUNC to redirect when possible.
28874
28875 * nptl/pt-longjmp.c: Rewritten. Put everything under
28876 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28877 Use IFUNC to redirect when possible.
28878
28879 * nptl/pt-fork.c: Rewritten. Put everything under
28880 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28881 Use IFUNC to redirect when possible.
28882 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
28883
28884 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
28885 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
28886 unconditionally nowadays. This included the only reference to
28887 __vdso_clock_gettime that appears outside libc proper.
28888 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
28889 Remove version set (containing only __vdso_clock_gettime).
28890 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28891 Add attribute_hidden.
28892 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28893 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
28894 libc_hidden_data_def.
28895 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28896 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28897
28898 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
28899 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
28900 setrpcent, and getrpcport to ...
28901 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
28902 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
28903 getrpcbynumber_r, and getrpcent_r to ...
28904 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
28905 * inet/getrpcbyname.c: Moved ...
28906 * sunrpc/getrpcbyname.c: ... here.
28907 * inet/getrpcbyname_r.c: Moved ...
28908 * sunrpc/getrpcbyname_r.c: ... here.
28909 * inet/getrpcbynumber.c: Moved ...
28910 * sunrpc/getrpcbynumber.c: ... here.
28911 * inet/getrpcbynumber_r.c: Moved ...
28912 * sunrpc/getrpcbynumber_r.c: ... here.
28913 * inet/getrpcent.c: Moved ...
28914 * sunrpc/getrpcent.c: ... here.
28915 * inet/getrpcent_r.c: Moved ...
28916 * sunrpc/getrpcent_r.c: ... here.
28917 * inet/Makefile (routines): Move those to ...
28918 * sunrpc/Makefile (routines): ... here.
28919 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
28920 the $(subdirs) list.
28921 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
28922 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
28923 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
28924 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
28925
28926 * elf/Makefile (routines): Include $(all-dl-routines), not just
28927 $(dl-routines).
28928 (rtld-routines): Likewise. Use = rather than :=.
28929 * sysdeps/aarch64/Makefile [$(subdir) = elf]
28930 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
28931 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
28932 * sysdeps/arm/Makefile: Likewise.
28933 * sysdeps/i386/Makefile: Likewise.
28934 * sysdeps/x86_64/Makefile: Likewise.
28935 * sysdeps/hppa/Makefile [$(subdir) = elf]
28936 (sysdep_routines, sysdep-rtld-routines): Don't add
28937 $(sysdep-dl-routines) to these.
28938 * sysdeps/ia64/Makefile: Likewise.
28939 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
28940 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
28941 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
28942 Don't add dl-static to these; sysdep-dl-routines alone is enough.
28943 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
28944 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
28945 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
28946 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
28947 * sysdeps/powerpc/Makefile [$(subdir) = elf]
28948 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
28949 these; sysdep-dl-routines alone is enough.
28950
28951 2015-02-06 Joseph Myers <joseph@codesourcery.com>
28952
28953 [BZ #17932]
28954 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
28955 where multiplication results in zero and third argument is finite
28956 and nonzero.
28957 * math/auto-libm-test-in: Add more tests of fma.
28958 * math/auto-libm-test-out: Regenerated.
28959
28960 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
28961 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
28962 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
28963 (_FP_CMP_EQ): Likewise.
28964 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
28965
28966 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
28967 extra argument CHECK_NAN. Redefine as wrapper around
28968 _FP_EXTEND_CNAN.
28969
28970 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
28971
28972 * version.h (RELEASE): Set to "stable".
28973 (VERSION): Set to "2.21"
28974 * include/features.h (__GLIBC_MINOR__): Set to 21.
28975
28976 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
28977
28978 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28979 Paul Eggert <eggert@cs.ucla.edu>
28980
28981 [BZ #16618]
28982 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
28983 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
28984 size in bytes. Store needed elements in wpmax. Use needed size
28985 in bytes for extend_alloca.
28986
28987 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
28988
28989 * manual/install.texi: Latest tested versions are GCC 4.9.2,
28990 binutls 2.25, and texinfo 5.2.
28991 * INSTALL: Regenerate.
28992 * sysdeps/nios2/configure: Regenerate.
28993 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
28994 * manual/contrib.texi: Update.
28995 * po/be.po: Update.
28996 * po/bg.po: Update.
28997 * po/ca.po: Update.
28998 * po/cs.po: Update.
28999 * po/da.po: Update.
29000 * po/de.po: Update.
29001 * po/el.po: Update.
29002 * po/eo.po: Update.
29003 * po/es.po: Update.
29004 * po/fi.po: Update.
29005 * po/fr.po: Update.
29006 * po/gl.po: Update.
29007 * po/hr.po: Update.
29008 * po/hu.po: Update.
29009 * po/ia.po: Update.
29010 * po/id.po: Update.
29011 * po/it.po: Update.
29012 * po/ja.po: Update.
29013 * po/ko.po: Update.
29014 * po/lt.po: Update.
29015 * po/nb.po: Update.
29016 * po/nl.po: Update.
29017 * po/pl.po: Update.
29018 * po/pt_BR.po: Update.
29019 * po/ru.po: Update.
29020 * po/rw.po: Update.
29021 * po/sk.po: Update.
29022 * po/sl.po: Update.
29023 * po/sv.po: Update.
29024 * po/tr.po: Update.
29025 * po/uk.po: Update.
29026 * po/vi.po: Update.
29027 * po/zh_CN.po: Update.
29028 * po/zh_TW.po: Update.
29029
29030 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29031 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29032 * sysdeps/hppa/dl-irel.h: Remove #warning.
29033 * sysdeps/hppa/entry.h: Provide prototype for
29034 __canonicalize_funcptr_for_compare and cast argument.
29035 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29036 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29037 * sysdeps/hppa/sotruss-lib.c: New file.
29038 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29039 (atomic_compare_and_exchange_val_acq): Use __typeof__.
29040 (atomic_compare_and_exchange_bool_acq): Likewise.
29041 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29042 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29043
29044 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29045 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29046 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29047
29048 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
29049
29050 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29051 called function in non-PIC case.
29052
29053 2015-01-31 David S. Miller <davem@davemloft.net>
29054
29055 * sysdeps/sparc/sparc32/bits/atomic.h
29056 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29057 unlock not after it.
29058 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29059 volatile register usage warnings from the compiler.
29060
29061 * sysdeps/sparc/nptl/sem_init.c: Delete.
29062 * sysdeps/sparc/nptl/sem_post.c: Delete.
29063 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29064 * sysdeps/sparc/nptl/sem_wait.c: Delete.
29065 * sysdeps/sparc/sparc32/sem_init.c: New file.
29066 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29067 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29068 padding explicitly initialized.
29069 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29070 padding for in-semaphore spinlock.
29071 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29072 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29073 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29074 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29075 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29076 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29077 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29078 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29079 version.
29080 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29081 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29082
29083 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
29084
29085 [BZ #17801]
29086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29087 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29088 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29089 New.
29090 (index_AVX_Fast_Unaligned_Load): Likewise.
29091 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29092 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29093 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29094 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29095 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29096 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29097 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29098 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29099 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29100
29101 2015-01-29 Andreas Schwab <schwab@suse.de>
29102
29103 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29104
29105 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29106
29107 [BZ #17892]
29108 * nscd/nscd_stat.c (send_stats): Initialize DATA.
29109
29110 2015-01-28 Martin Sebor <msebor@redhat.com>
29111
29112 * math/README.libm-test: Clarify. Add "How to read the test output."
29113
29114 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
29115
29116 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29117 Define to 0.
29118
29119 2015-01-28 Joseph Myers <joseph@codesourcery.com>
29120
29121 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29122 (__HAVE_64B_ATOMICS): Define to 0.
29123
29124 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29125
29126 [BZ #17885]
29127 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29128 value to set as new flag.
29129
29130 [BZ #16576]
29131 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29132 and use _ARCH_PPCSQ instead.
29133 (__ieee754_sqrt): Likewise.
29134 (__ieee754_sqrtf): Likewise.
29135 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29136 _ARCH_PPCSQ is defined.
29137 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29138 fsqrt instruction.
29139 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29140 _ARCH_PPCSQ is defined.
29141 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29142 fsqrts instruction.
29143 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29144
29145 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29146
29147 * iconv/loop.c: Suppress array out of bound warning caused by GCC
29148 bug (GCC BZ #64739).
29149
29150 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
29151
29152 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29153 Mark _retval as used.
29154 (lll_futex_wake_unlock): Likewise.
29155 (lll_futex_timed_wait_requeue_pi): Likewise.
29156
29157 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29158 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29159 register variables.
29160
29161 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29162 libm_hidden_def.
29163
29164 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29165 (__bswap_64): Mark as __always_inline.
29166
29167 2015-01-25 Bram <bug_rh@spam.wizbit.be>
29168
29169 [BZ #15378]
29170 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29171 when none of the search directories exist.
29172
29173 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29174
29175 [BZ #17869]
29176 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29177 power8 in .machine directive.
29178
29179 [BZ #17868]
29180 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29181 set dependency from opd value.
29182
29183 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29184
29185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29186 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29187 architecture.
29188
29189 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29190
29191 [BZ #17870]
29192 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29193 with uint64_t.
29194 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29195 (uint64_t) 1.
29196 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29197 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29198 Replace 1UL with (uint64_t) 1.
29199 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29200 int with uint64_t.
29201
29202 2015-01-23 Roland McGrath <roland@hack.frob.com>
29203
29204 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29205 (if_freenameindex): Likewise.
29206
29207 * resource/getrlimit64.c: Add missing libc_hidden_def.
29208
29209 2015-01-22 Joseph Myers <joseph@codesourcery.com>
29210
29211 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29212 __label__.
29213 (_FP_FMA): Likewise.
29214 (_FP_TO_INT_ROUND): Likewise.
29215 (_FP_FROM_INT): Likewise.
29216
29217 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29218
29219 [BZ #16418]
29220 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29221 Make code racy and cancel safe.
29222
29223 2015-01-21 Carlos O'Donell <carlos@redhat.com>
29224
29225 * sysdeps/arm/unwind-resume.h: Fix copyright year.
29226 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29227 attribution.
29228
29229 * pwd/tst-getpw.c: Rewrite.
29230
29231 [BZ #17702]
29232 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29233 (modules-names): Add moddummy1 and moddummy2.
29234 ($(objpfx)tst-rec-dlopen): Define.
29235 * dlfcn/moddummy1.c: New file.
29236 * dlfcn/moddummy2.c: New file.
29237 * dlfcn/tst-rec-dlopen.c: New file.
29238 * elf/dl-cache.c (_dl_load_cache_lookup):
29239 Return char*. Copy result with alloca/strcpy/strdup.
29240 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29241 returns char*. Free cached. If not saving realname
29242 free cached.
29243 * elf/dl-open.c (dl_open_worker): Do not assert that
29244 _r_debug->r_state is RT_CONSISTENT.
29245 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29246 returns char*.
29247
29248 2015-01-21 Torvald Riegel <triegel@redhat.com>
29249 Carlos O'Donell <carlos@redhat.com>
29250
29251 [BZ #12674]
29252 * nptl/sem_waitcommon.c: New file.
29253 * nptl/sem_wait.c: Include sem_waitcommon.c.
29254 (__sem_wait_cleanup, do_futex_wait): Remove.
29255 (__new_sem_wait): Adapt.
29256 (__new_sem_trywait): New function.
29257 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29258 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29259 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29260 (sem_timedwait): Adapt.
29261 * nptl/sem_post.c (__new_sem_post): Adapt.
29262 (futex_wake): New function.
29263 (__old_sem_post): Add release MO fence.
29264 * nptl/sem_open.c (sem_open): Adapt.
29265 * nptl/sem_init.c (__new_sem_init): Adapt.
29266 (futex_private_if_supported): New function.
29267 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29268 (__old_sem_getvalue): Add using previous code.
29269 * sysdeps/nptl/internaltypes.h: Adapt.
29270 * nptl/tst-sem13.c (do_test): Adapt.
29271 * nptl/tst-sem11.c (main): Adapt.
29272 * nptl/sem_trywait.c: Remove.
29273 * nptl/DESIGN-sem.txt: Remove.
29274 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29275 (gen-as-const-headers): Remove structsem.sym.
29276 * nptl/structsem.sym: Remove.
29277 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29278 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29279 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29280 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29281 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29282 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29283 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29284 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29285 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29286 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29287 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29288 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29289 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29290 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29291 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29292 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29293 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29294 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29295 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29296 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29297 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29298 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29299
29300 2015-01-20 Carlos O'Donell <carlos@redhat.com>
29301
29302 * INSTALL: Regenerated.
29303
29304 * po/libc.pot: Regenerated.
29305
29306 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
29307 Sandra Loosemore <sandra@codesourcery.com>
29308 Andrew Jenner <andrew@codesourcery.com>
29309 Joseph Myers <joseph@codesourcery.com>
29310 Nathan Sidwell <nathan@codesourcery.com>
29311
29312 * NEWS: Mention new Nios II port.
29313 * sysdeps/nios2/Implies: New file.
29314 * sysdeps/nios2/Makefile: New file.
29315 * sysdeps/nios2/Subdirs: New file.
29316 * sysdeps/nios2/Versions: New file.
29317 * sysdeps/nios2/__longjmp.S: New file.
29318 * sysdeps/nios2/abort-instr.h: New file.
29319 * sysdeps/nios2/backtrace.c: New file.
29320 * sysdeps/nios2/bits/endian.h: New file.
29321 * sysdeps/nios2/bits/fenv.h: New file.
29322 * sysdeps/nios2/bits/link.h: New file.
29323 * sysdeps/nios2/bits/setjmp.h: New file.
29324 * sysdeps/nios2/bsd-_setjmp.S: New file.
29325 * sysdeps/nios2/bsd-setjmp.S: New file.
29326 * sysdeps/nios2/configure: New generated file.
29327 * sysdeps/nios2/configure.ac: New file.
29328 * sysdeps/nios2/crti.S: New file.
29329 * sysdeps/nios2/crtn.S: New file.
29330 * sysdeps/nios2/dl-init.c: New file.
29331 * sysdeps/nios2/dl-machine.h: New file.
29332 * sysdeps/nios2/dl-sysdep.h: New file.
29333 * sysdeps/nios2/dl-tls.h: New file.
29334 * sysdeps/nios2/dl-trampoline.S: New file.
29335 * sysdeps/nios2/gccframe.h: New file.
29336 * sysdeps/nios2/gmp-mparam.h: New file.
29337 * sysdeps/nios2/jmpbuf-offsets.h: New file.
29338 * sysdeps/nios2/jmpbuf-unwind.h: New file.
29339 * sysdeps/nios2/ldsodefs.h: New file.
29340 * sysdeps/nios2/libc-tls.c: New file.
29341 * sysdeps/nios2/libm-test-ulps: New file.
29342 * sysdeps/nios2/machine-gmon.h: New file.
29343 * sysdeps/nios2/math-tests.h: New file.
29344 * sysdeps/nios2/math_private.h: New file.
29345 * sysdeps/nios2/memusage.h: New file.
29346 * sysdeps/nios2/nptl/Makefile: New file.
29347 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29348 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29349 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29350 * sysdeps/nios2/nptl/pthreaddef.h: New file.
29351 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29352 * sysdeps/nios2/nptl/tls.h: New file.
29353 * sysdeps/nios2/preconfigure: New file.
29354 * sysdeps/nios2/s_fma.c: New file.
29355 * sysdeps/nios2/s_fmaf.c: New file.
29356 * sysdeps/nios2/setjmp.S: New file.
29357 * sysdeps/nios2/sfp-machine.h: New file.
29358 * sysdeps/nios2/sotruss-lib.c: New file.
29359 * sysdeps/nios2/stackguard-macros.h: New file.
29360 * sysdeps/nios2/stackinfo.h: New file.
29361 * sysdeps/nios2/start.S: New file.
29362 * sysdeps/nios2/sysdep.h: New file.
29363 * sysdeps/nios2/tls-macros.h: New file.
29364 * sysdeps/nios2/tst-audit.h: New file.
29365 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29366 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29367 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29368 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29369 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29370 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29371 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29372 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29373 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29374 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29375 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29376 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29377 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29378 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29379 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29380 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29381 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29382 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29383 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29384 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29385 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29386 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29387 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29388 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29389 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29390 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29391 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29392 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29393 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29394 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29395 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29396 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29397 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29398 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29399 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29400 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29401 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29402 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29403 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29404 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29405 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29406 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29407 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29408 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29409
29410 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29411
29412 [BZ #17844]
29413 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29414 (getutent): Use weak_alias in non SHARED case
29415 and default_symbol_version in SHARED case.
29416 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29417 (getutent_r, pututline): Likewise.
29418 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29419 (getutid): Likewise.
29420 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29421 (getutid_r): Likewise.
29422 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29423 (getutline): Likewise.
29424 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29425 (getutline_r): Likewise.
29426 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29427 (updwtmp): Likewise.
29428
29429 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29430
29431 [BZ #17848]
29432 * sysdeps/s390/s390-32/memcmp.S
29433 (memcmp_g5): Rename to __memcmp_g5.
29434 * sysdeps/s390/s390-32/memcpy.S
29435 (memcpy_g5): Rename to __memcpy_g5.
29436 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29437 (memcpy_mvcle) Rename to __memcpy_mvcle.
29438 * sysdeps/s390/s390-32/memset.S
29439 (memset_g5): Rename to __memset_g5.
29440 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29441 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29442 and use prefixed functions.
29443 * sysdeps/s390/s390-32/multiarch/memcmp.S
29444 (memcmp_z196): Rename to __memcmp_z196.
29445 (memcmp_z10): Rename to __memcmp_z10.
29446 (memcmp): Set alias to __memcmp_g5.
29447 (bcmp): Set alias to __memcmp_g5.
29448 * sysdeps/s390/s390-32/multiarch/memcpy.S
29449 (memcpy_z196): Rename to __memcpy_z196.
29450 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29451 (memcpy_z10): Rename to __memcpy_z10.
29452 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29453 (memcpy): Set alias to __memcpy_g5.
29454 * sysdeps/s390/s390-32/multiarch/memset.S
29455 (memset_z196): Rename to __memset_z196.
29456 Jump to __memset_mvcle instead of memset_mvcle.
29457 (memset_z10): Rename to __memset_z10.
29458 Jump to __memset_mvcle instead of memset_mvcle.
29459 (memset_mvcle) Rename to __memset_mvcle.
29460 (memset): Set alias to __memset_g5.
29461 * sysdeps/s390/s390-64/memcmp.S
29462 (memcmp_z900): Rename to __memcmp_z900.
29463 * sysdeps/s390/s390-64/memcpy.S
29464 (memcpy_z900): Rename to __memcpy_z900.
29465 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29466 (memcpy_mvcle) Rename to __memcpy_mvcle.
29467 * sysdeps/s390/s390-64/memset.S
29468 (memset_z900): Rename to __memset_z900.
29469 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
29470 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29471 and use prefixed functions.
29472 * sysdeps/s390/s390-64/multiarch/memcmp.S
29473 (memcmp_z196): Rename to __memcmp_z196.
29474 (memcmp_z10): Rename to __memcmp_z10.
29475 (memcmp): Set alias to __memcmp_z900.
29476 (bcmp): Set alias to __memcmp_z900.
29477 * sysdeps/s390/s390-64/multiarch/memcpy.S
29478 (memcpy_z196): Rename to __memcpy_z196.
29479 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29480 (memcpy_z10): Rename to __memcpy_z10.
29481 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29482 (memcpy): Set alias to __memcpy_z900.
29483 * sysdeps/s390/s390-64/multiarch/memset.S
29484 (memset_z196): Rename to __memset_z196.
29485 Jump to __memset_mvcle instead of memset_mvcle.
29486 (memset_z10): Rename to __memset_z10.
29487 Jump to __memset_mvcle instead of memset_mvcle.
29488 (memset_mvcle) Rename to __memset_mvcle.
29489 (memset): Set alias to __memset_z900.
29490
29491 2015-01-14 Joseph Myers <joseph@codesourcery.com>
29492
29493 [BZ #17748]
29494 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
29495 __fesetenv instead of fesetenv.
29496
29497 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29498
29499 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
29500 macro.
29501
29502 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29503
29504 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
29505 regression on LE.
29506
29507 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
29508 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
29509 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29510 strncmp-power8 object.
29511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29512 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
29513 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
29514 * NEWS: Update.
29515
29516 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29517 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29518
29519 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
29520 trailing byte check.
29521
29522 2015-01-13 David S. Miller <davem@davemloft.net>
29523
29524 * include/signal.h (__sigreturn): Guard with __USE_MISC.
29525
29526 2015-01-13 Roland McGrath <roland@hack.frob.com>
29527
29528 * login/logout.c (logout): Use memset rather than bzero.
29529 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
29530 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
29531 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
29532 (_gethtbyaddr): Likewise.
29533 * locale/programs/simple-hash.c (bcopy): Macro removed.
29534
29535 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29536
29537 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29538 Add strcmp-power8 object.
29539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29540 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
29541 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
29542 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
29543 __strcmp_power8 implementation.
29544 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
29545 * NEWS: Update.
29546
29547 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29548 Add strncpy-power8 and stpncpy-power8 objects.
29549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29550 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
29551 implementations.
29552 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
29553 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
29554 __stpncpy_power8 implementation.
29555 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
29556 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
29557 __strncpy_power8 implementation.
29558 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
29559 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
29560 * NEWS: Update.
29561
29562 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
29563 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
29564 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
29565
29566 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29567 strncat-power8 object.
29568 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
29569 __strcat_power8 implementation.
29570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29571 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
29572 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
29573 optimized strcat for power8.
29574
29575 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29576 strcpy-power8 and stpcpy-power8 objects.
29577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29578 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
29579 implementations.
29580 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
29581 multiarch stpcpy implementation for POWER8.
29582 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
29583 multiarch strcpy implementation for POWER8.
29584 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
29585 __strcpy_power8 function.
29586 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
29587 stpcpy for POWER8.
29588 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
29589 strcpy for POWER8.
29590 * NEWS: Update.
29591
29592 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
29593
29594 [BZ #16009]
29595 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
29596 weights and rules. Use do_xfrm_cached if data fits in cache,
29597 do_xfrm otherwise. Moved former main loop to...
29598 * (do_xfrm_cached): New function.
29599 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
29600 find_idx, find_position and stack_push.
29601 * (find_idx): New function.
29602 * (find_position): Likewise.
29603 * localedata/sort-test.sh: Added test run for do_xfrm.
29604 * localedata/xfrm-test.c (main): Added command line option
29605 -nocache to run the test with strings that are too large for
29606 the STRXFRM cache.
29607
29608 2015-01-13 Torvald Riegel <triegel@redhat.com>
29609
29610 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
29611 variable to lll_futex_wake call, not the value itself.
29612
29613 2015-01-12 Joseph Myers <joseph@codesourcery.com>
29614
29615 [BZ #17803]
29616 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
29617 twom64. Adjust value to 0x1p-64L.
29618 (__scalblnl): Only return standard underflowing result for K <=
29619 -64 not K <= -63; adjust exponent for underflowing result by 64
29620 not 63.
29621 * math/libm-test.inc (scalbn_test_data): Add more tests.
29622 (scalbln_test_data): Likewise.
29623
29624 [BZ #17834]
29625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
29626 0x1p63L.
29627 (__scalblnl): Get new exponent of adjusted subnormal value from ES
29628 not HX.
29629 * math/libm-test.inc (scalbn_test_data): Add more tests.
29630 (scalbln_test_data): Likewise.
29631
29632 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29633 Stefani Seibold <stefani@seibold.net>
29634
29635 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
29636 (sysdep_routines): Add dl-vdso here, ...
29637 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
29638 (sysdep_routines): ... not here.
29639 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
29640 fallback when vDSO is not presented.
29641 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29642 Define with libc_hidden_proto/libc_hidden_data_def definitions.
29643 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
29644 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
29645 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
29646 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
29647 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
29648 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
29649 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
29650 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
29651 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
29652 fallback configurable symbol when vDSO is not available.
29653 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
29654 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
29655 be able to redefine fallback symbol when vDSO is not available.
29656 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
29657 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
29658
29659 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29660
29661 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
29662 (TLS_INIT_TP): Add tm_capable initialization.
29663 (TLS_DEFINE_INIT_TP): Likewise.
29664 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
29665 TCB.
29666 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
29667 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
29668 calculation.
29669 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
29670 transactoion is lock elision is built and TCB tm_capable is set.
29671 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
29672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29673 (INTERNAL_SYSCALL_NCS): Likewise.
29674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29675 (INTERNAL_SYSCALL_NCS): Likewise.
29676 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
29677
29678 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
29679 for powerpc.
29680 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29681 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
29682 and remove it for 32 bits case.
29683 [pthread_rwlock_t] (__rwelision): New field for lock elision.
29684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
29685 initialization.
29686 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
29687 Disable lock elision with rdlocks if elision is not available.
29688
29689 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
29690 (sysdep_routines): Add lock elision objects.
29691 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29692 [pthread_mutex_t] (__spins): Rework to add lock elision field.
29693 [pthread_mutex_t] (__elision): Add field.
29694 [__PTHREAD_SPINS]: Adjust to init lock elision field.
29695 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
29696 elision definitions for powerpc.
29697 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
29698 implementation of lock elision for powerpc.
29699 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
29700 implementation of timed lock elision for powerpc.
29701 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
29702 implementation of trylock with lock elision for powerpc.
29703 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
29704 implementaion of unlock for lock elision for powerpc.
29705 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
29706 automatic enable lock elision for mutexes.
29707 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
29708 transaction execution definitions for powerpc.
29709 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
29710 definitions.
29711 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
29712 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
29713 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
29714 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
29715 * NEWS: Update.
29716
29717 2015-01-09 Roland McGrath <roland@hack.frob.com>
29718
29719 * sysdeps/posix/shm-directory.c: Use <> rather than ""
29720 for #include of <shm-directory.h>.
29721
29722 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
29723
29724 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
29725 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
29726
29727 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
29728
29729 [BZ #17791]
29730 * NEWS: Mention bug fix.
29731 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
29732 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
29733 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
29734
29735 2015-01-09 Torvald Riegel <triegel@redhat.com>
29736
29737 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
29738
29739 2015-01-09 Torvald Riegel <triegel@redhat.com>
29740
29741 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
29742
29743 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29744
29745 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
29746 pointer and cast to uintptr_t.
29747
29748 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29749
29750 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
29751 removed.
29752 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
29753
29754 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29755
29756 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
29757 of 0.
29758
29759 2015-01-08 Roland McGrath <roland@hack.frob.com>
29760
29761 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
29762 <nptl/pthreadP.h> instead.
29763 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
29764
29765 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
29766 already defined.
29767 [__SIGRTMIN] (init): Function removed.
29768 [__SIGRTMIN] (initialized): Variable removed.
29769 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
29770 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
29771 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
29772 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
29773 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
29774 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
29775 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
29776 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
29777 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
29778 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
29779 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
29780 * sysdeps/nptl/allocrtsig.c: New file.
29781 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
29782 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
29783 * sysdeps/generic/testrtsig.h: File removed.
29784
29785 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
29786 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
29787
29788 * nptl/nptl-init.c (pthread_functions): Conditionalize
29789 .ptr__nptl_setxid initialization on [SIGSETXID].
29790
29791 * sysdeps/nptl/sys/procfs.h: New file.
29792 * nptl_db/Makefile (headers): Add it.
29793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
29794
29795 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
29796 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
29797 * nptl/pthread_attr_setaffinity.c: Include it.
29798 * nptl/pthread_setattr_default_np.c: Likewise.
29799 * nptl/check-cpuset.h: New file.
29800
29801 2015-01-08 Richard Henderson <rth@redhat.com>
29802
29803 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
29804 (CFLAGS-tst-execstack-prog.c): Likewise.
29805 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
29806
29807 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
29808 Sandra Loosemore <sandra@codesourcery.com>
29809 Andrew Jenner <andrew@codesourcery.com>
29810 Joseph Myers <joseph@codesourcery.com>
29811 Nathan Sidwell <nathan@codesourcery.com>
29812
29813 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
29814 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
29815 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
29816 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
29817 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
29818 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
29819 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
29820 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
29821 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
29822 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
29823 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
29824 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
29825 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
29826 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
29827 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
29828 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
29829 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
29830
29831 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29832
29833 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
29834 timespec struct member in syscall macro.
29835 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29836 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
29837 first timeval struct member in syscall macro.
29838 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
29839
29840 2015-01-07 Joseph Myers <joseph@codesourcery.com>
29841
29842 [BZ #17748]
29843 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
29844 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
29845 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
29846 __feupdateenv and define as weak alias of __feupdateenv. Use
29847 libm_hidden_weak.
29848 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
29849 libm_hidden_def.
29850 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
29851 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
29852 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29853 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
29854 libm_hidden_def.
29855 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
29856 __feupdateenv and define as weak alias of __feupdateenv. Use
29857 libm_hidden_weak.
29858 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
29859 libm_hidden_def.
29860 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
29861 __feupdateenv and define as weak alias of __feupdateenv. Use
29862 libm_hidden_weak.
29863 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
29864 libm_hidden_def.
29865 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29866 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29867 (__feupdateenv): Likewise.
29868 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
29869 __feupdateenv and define as weak alias of __feupdateenv. Use
29870 libm_hidden_weak.
29871 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29872 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
29873 libm_hidden_def.
29874 * sysdeps/tile/math_private.h (__feupdateenv): New inline
29875 function.
29876 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
29877 libm_hidden_def.
29878 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
29879 __feupdateenv instead of feupdateenv.
29880 (default_libc_feupdateenv_test): Likewise.
29881 (libc_feresetround_ctx): Likewise.
29882
29883 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29884
29885 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
29886 prototype.
29887
29888 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
29889
29890 * posix/regcomp.c (parse_bracket_exp): Initialize type to
29891 COLL_SYM in a couple of places to avoid uninitialized variable
29892 wanings on tilegx gcc 4.8.2.
29893
29894 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
29895
29896 * sysdeps/aarch64/strcpy.S: New file.
29897 * sysdeps/aarch64/stpcpy.S: New file.
29898 * NEWS: Updated.
29899
29900 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
29901
29902 * sysdeps/aarch64/strrchr.S: New file.
29903 * NEWS: Updated.
29904
29905 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
29906
29907 [BZ #17658]
29908 * stdlib/setenv.c: Fix memory leak when setting large,
29909 duplicate string.
29910
29911 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
29912
29913 [BZ #17273]
29914 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
29915 and tabs from buffer before parsing fstab entry.
29916 * misc/tst-mntent.c (main): Add test for mount entry with
29917 trailing spaces and tabs.
29918
29919 2015-01-06 Joseph Myers <joseph@codesourcery.com>
29920
29921 [BZ #17748]
29922 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
29923 * math/fesetround.c (fesetround): Rename to __fesetround and
29924 define as weak alias of __fesetround. Use libm_hidden_weak.
29925 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
29926 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
29927 * sysdeps/arm/fesetround.c (fesetround): Likewise.
29928 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
29929 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
29930 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
29931 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
29932 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
29933 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
29934 __fesetround_inline.
29935 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
29936 __fesetround_inline instead of __fesetround.
29937 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
29938 __fesetround and define as weak alias of __fesetround. Use
29939 libm_hidden_weak. Call __fesetround_inline instead of
29940 __fesetround.
29941 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
29942 __fesetround and define as weak alias of __fesetround. Use
29943 libm_hidden_weak.
29944 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
29945 Likewise.
29946 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
29947 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29948 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
29949 * sysdeps/tile/math_private.h (__fesetround): New inline function.
29950 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
29951 __fesetround and define as weak alias of __fesetround. Use
29952 libm_hidden_weak.
29953 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
29954 __fesetround instead of fesetround.
29955 (default_libc_feholdexcept_setround): Likewise.
29956 (libc_feholdsetround_ctx): Likewise.
29957 (libc_feholdsetround_noex_ctx): Likewise.
29958
29959 [BZ #17748]
29960 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
29961 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
29962 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29963 and define as weak alias of __fesetenv. Use libm_hidden_weak.
29964 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29965 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
29966 define as weak alias of __fesetenv. Use libm_hidden_weak.
29967 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29968 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29969 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29970 define as weak alias of __fesetenv. Use libm_hidden_weak.
29971 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29972 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29973 define as weak alias of __fesetenv. Use libm_hidden_weak.
29974 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
29975 libm_hidden_def.
29976 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
29977 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
29978 Likewise.
29979 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29980 define as weak alias of __fesetenv. Use libm_hidden_weak.
29981 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29982 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29983 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
29984 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29985 and define as weak alias of __fesetenv. Use libm_hidden_weak.
29986 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
29987 __fesetenv instead of fesetenv.
29988 (libc_feresetround_noex_ctx): Likewise.
29989 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29990 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29991 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
29992 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29993 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29994 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29995 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29996 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29997 (__feupdateenv): Likewise.
29998 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29999 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30000 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30001 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30002
30003 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30004
30005 [BZ #17806]
30006 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30007 addresses have been freed.
30008
30009 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30010
30011 * resolv/res_init.c (__res_vinit): Improve comments about nserv
30012 and nservall.
30013
30014 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
30015
30016 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30017 Clean up check_pf allocation pattern. addresses
30018
30019 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30020
30021 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30022 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30023 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30024 * nptl/pthread_exit.c (__pthread_exit): Likewise.
30025 * nptl/pthread_join.c (pthread_join): Likewise.
30026 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30027 * sysdeps/posix/waitid.c (__waitid): Likewise.
30028 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30029 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30030 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30031 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30032 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30033 Likewise.
30034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30035 (__libc_pread64): Likewise.
30036 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30037 (__libc_pwrite): Likewise.
30038 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30039 (__libc_pwrite64): Likewsie.
30040 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30041 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30042 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30043 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30044 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30045 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30046 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30048 Likewise.
30049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30050 (__libc_pread64): Likewise.
30051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30052 Likewise.
30053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30054 (__libc_pwrite64): Likewise.
30055 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30056 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30057 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30058 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30059 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30060 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30061 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30062 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30063 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30064 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30065 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30066 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30067 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30068 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30069 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30070 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30071 Likewise.
30072
30073 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
30074
30075 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30076 (CFLAGS-test-double.c): Likewise.
30077 (CFLAGS-test-ldouble.c): Likewise.
30078 (CPPFLAGS-test-ifloat.c): Likewise.
30079 (CPPFLAGS-test-idouble.c): Likewise.
30080 (CPPFLAGS-test-ildoubl.c): Likewise.
30081 (CFLAGS-test-test-fenv.c): Remove variable.
30082 (CFLAGS-test-misc.c): Likewise.
30083
30084 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
30085
30086 [BZ #17797]
30087 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30088 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30089 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30090 CLOCKS_PER_SEC == 1000000.
30091 * time/clocktest.c (main): Replace %ld with %jd and cast to
30092 intmax_t.
30093
30094 2015-01-05 Roland McGrath <roland@hack.frob.com>
30095
30096 * sysdeps/generic/unwind-resume.h: New file.
30097 * sysdeps/gnu/unwind-resume.c: Include it.
30098 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30099 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30100 argument list.
30101 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30102 global rather than static.
30103 (_Unwind_Resume): Update user.
30104 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30105 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
30106 rather than static. Add __attribute__ ((cold)).
30107 (_Unwind_Resume, __gcc_personality_v0): Update callers.
30108 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30109 * sysdeps/arm/arm-unwind-resume.S: New file.
30110 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30111 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30112 * sysdeps/arm/Makefile [$(subdir) = csu]
30113 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30114 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30115 Add rt-arm-unwind-resume.
30116 [$(subdir) = nptl]
30117 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30118 Add pt-arm-unwind-resume.
30119 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30120 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30121
30122 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30123
30124 [BZ #17748]
30125 * include/fenv.h (__feholdexcept): Declare. Use
30126 libm_hidden_proto.
30127 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30128 define as weak alias of __feholdexcept. Use libm_hidden_weak.
30129 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30130 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30131 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30132 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30133 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30134 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30135 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30136 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30137 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30138 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30139 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30140 (feholdexcept): Likewise.
30141 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30142 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30143 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30144 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30145 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30146 __feholdexcept instead of feholdexcept.
30147 (default_libc_feholdexcept_setround): Likewise.
30148
30149 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30150
30151 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30152 to avoid using stl/str to align destination.
30153
30154 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30155
30156 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30157
30158 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30159
30160 [BZ #17796]
30161 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30162 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30163 Define as weak alias not strong alias.
30164
30165 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30166
30167 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30168 bltzal with addiupc.
30169 (RTLD_START): Ditto.
30170
30171 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
30172
30173 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30174 for __vdso_* functions in declarations.
30175 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30176 definitions.
30177 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30178 INTERNAL_VSYSCALL): Use struct return types to check for error.
30179
30180 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30181 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30182 function with cast from llround().
30183 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30184 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30185 Define.
30186
30187 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30188
30189 [BZ #17793]
30190 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30191 Define as weak alias not strong alias.
30192
30193 [BZ #17635]
30194 * ctype/ctype-c99.c: New file. isblank implementation moved from
30195 ...
30196 * ctype/ctype-extn.c: ... here.
30197 (__isblank_l): Move to ...
30198 * ctype/ctype-c99_l.c: ... here. New file.
30199 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30200 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30201 Remove variable.
30202 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30203 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30204 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30205 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30206 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30207
30208 [BZ #17777]
30209 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30210 (posix_fadvise64): Define as weak alias not strong alias.
30211 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30212 (posix_fallocate64): Likewise.
30213 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30214 Remove variable.
30215 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30216 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30217 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30218 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30219 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30220
30221 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
30222
30223 [BZ #16191]
30224 * NEWS: Mention bug fix.
30225 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30226 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30227 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30228 (HOST_STACK_END_ADDR): Likewise.
30229
30230 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30231
30232 [BZ #17748]
30233 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
30234 * math/fegetround.c (fegetround): Rename to __fegetround and
30235 define as weak alias of __fegetround. Use libm_hidden_weak.
30236 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30237 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30238 * sysdeps/arm/fegetround.c (fegetround): Likewise.
30239 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30240 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30241 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30242 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30243 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30244 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30245 Undefine after rather than before function definition; use
30246 parentheses around function name in definition.
30247 (__fegetround): Also undefine macro after function definition.
30248 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30249 __fegetround and define as weak alias of __fegetround. Use
30250 libm_hidden_weak. Do not undefine as macro.
30251 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30252 Likewise.
30253 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30254 __fegetround and define as weak alias of __fegetround. Use
30255 libm_hidden_weak.
30256 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30257 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30258 * sysdeps/tile/math_private.h (__fegetround): New inline function.
30259 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30260 __fegetround and define as weak alias of __fegetround. Use
30261 libm_hidden_weak.
30262 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30263 __fegetround instead of fegetround.
30264
30265 [BZ #17782]
30266 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30267 Condition macro definition on [__USE_MISC].
30268
30269 [BZ #17781]
30270 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30271 (struct sigaction): Change type of sa_flags field to int.
30272
30273 [BZ #17780]
30274 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30275 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30276 __glibc_reserved0.
30277
30278 * nptl/version.c (banner): Use single year in copyright notice.
30279
30280 * NEWS: Update copyright dates.
30281 * catgets/gencat.c (print_version): Likewise.
30282 * csu/version.c (banner): Likewise.
30283 * debug/catchsegv.sh: Likewise.
30284 * debug/pcprofiledump.c (print_version): Likewise.
30285 * debug/xtrace.sh (do_version): Likewise.
30286 * elf/ldconfig.c (print_version): Likewise.
30287 * elf/ldd.bash.in: Likewise.
30288 * elf/pldd.c (print_version): Likewise.
30289 * elf/sotruss.sh: Likewise.
30290 * elf/sprof.c (print_version): Likewise.
30291 * iconv/iconv_prog.c (print_version): Likewise.
30292 * iconv/iconvconfig.c (print_version): Likewise.
30293 * locale/programs/locale.c (print_version): Likewise.
30294 * locale/programs/localedef.c (print_version): Likewise.
30295 * login/programs/pt_chown.c (print_version): Likewise.
30296 * malloc/memusage.sh (do_version): Likewise.
30297 * malloc/memusagestat.c (print_version): Likewise.
30298 * malloc/mtrace.pl: Likewise.
30299 * manual/libc.texinfo: Likewise.
30300 * nptl/version.c (banner): Likewise.
30301 * nscd/nscd.c (print_version): Likewise.
30302 * nss/getent.c (print_version): Likewise.
30303 * nss/makedb.c (print_version): Likewise.
30304 * posix/getconf.c (main): Likewise.
30305 * scripts/test-installation.pl: Likewise.
30306 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30307
30308 2015-01-02 Will Newton <will.newton@linaro.org>
30309
30310 * sysdeps/arm/armv7/configure: Removed.
30311 * sysdeps/arm/armv7/configure.ac: Likewise.
30312
30313 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30314
30315 * All files with FSF copyright notices: Update copyright dates
30316 using scripts/update-copyrights.
30317 * intl/plural.c: Regenerated.
30318 * locale/programs/charmap-kw.h: Likewise.
30319 * locale/programs/locfile-kw.h: Likewise.
30320
30321 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30322
30323 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30324
30325 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30326
30327 [BZ #17748]
30328 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30329 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30330 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30331 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30332 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30333 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30334 define as weak alias of __fegetenv. Use libm_hidden_weak.
30335 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30336 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30337 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30338 define as weak alias of __fegetenv. Use libm_hidden_weak.
30339 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30340 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30341 define as weak alias of __fegetenv. Use libm_hidden_weak.
30342 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30343 libm_hidden_def.
30344 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30345 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30346 Likewise.
30347 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30348 define as weak alias of __fegetenv. Use libm_hidden_weak.
30349 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30350 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30351 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30352 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30353 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30354 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30355 __fegetenv instead of fegetenv.
30356 (libc_feholdsetround_noex_ctx): Likewise.
30357
30358 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
30359
30360 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30361 (Elf_MIPS_ABIFlags_v0): New structure.
30362 (EF_MIPS_FP64): Define.
30363 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30364 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30365 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30366 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30367 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30368 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30369 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30370 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30371 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30372 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30373 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30374 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30375 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30376 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30377 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30378 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30379 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30380 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30381 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30382 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30383 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30384 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30385 field.
30386 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30387 EF_MIPS_FP64.
30388 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30389 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30390 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30391 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30392 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30393 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30394 * sysdeps/mips/tst-abi-interlink.c: Likewise.
30395 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30396 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30397 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30398 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30399 record the current FP ABI extension.
30400 (mips-mode-switch): Define to show if kernel headers support mode
30401 switching.
30402 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30403 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30404 supported SYSV ABI version to 3.
30405 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30406 feature.
30407
30408 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30409 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30410
30411 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30412 path.
30413 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30414
30415 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30416
30417 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30418 __fegetround and redefine to call __fegetround. Remove condition
30419 on [!__NO_MATH_INLINES].
30420 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30421 function.
30422 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30423 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30424 Remove macro.
30425 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30426 instead of <fenv_libc.h>.
30427 (__llrintl): Call fegetround instead of __fegetround.
30428 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30429 instead of <fenv_libc.h>.
30430 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30431 (__lrintl): Call fegetround instead of __fegetround.
30432 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30433 instead of <fenv_libc.h>.
30434 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30435 (__rintl): Call fegetround instead of __fegetround.
30436
30437 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30438
30439 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30440 arrays.
30441
30442 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30443
30444 [BZ #17775]
30445 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
30446 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
30447 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
30448
30449 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
30450
30451 * sysdeps/i386/tls-macros.h: Include <features.h>.
30452 (TLS_LE): Use non-PIC version for GCC >= 5.0.
30453 (TLS_IE): Likewise.
30454 (TLS_LD): Likewise.
30455 (TLS_GD): Likewise.
30456 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
30457 define for GCC >= 5.0.
30458
30459 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
30460
30461 * math/test-fenv.c (test_single_exception, set_single_exc,
30462 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
30463 feexcp_mask_test, feenable_test, fe_single_test): Add
30464 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
30465 case where they are not used.
30466 * math/libm-test.inc: Likewise.
30467 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
30468 unused in the absence of FP rounding/exception support.
30469 * stdio-common/tst-printf-round.c: Likewise.
30470 * stdlib/tst-strtod-round.c: Likewise.
30471 * stdlib/tst-strtod-underflow.c: Likewise.
30472
30473 2014-12-30 Joseph Myers <joseph@codesourcery.com>
30474
30475 [BZ #17723]
30476 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
30477 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
30478 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30479 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30480 libm_hidden_weak.
30481 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
30482 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30483 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
30484 libm_hidden_def.
30485 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30486 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30487 libm_hidden_weak.
30488 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
30489 Likewise.
30490 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
30491 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30492 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30493 libm_hidden_weak.
30494 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30495 libm_hidden_def.
30496 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30497 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
30498 (__feraiseexcept): Likewise.
30499 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30500 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30501 libm_hidden_weak.
30502 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30503 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30504 libm_hidden_def.
30505 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
30506 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
30507 Use libm_hidden_def.
30508 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
30509 libm_hidden_def.
30510 (feraiseexcept): Define as weak not strong alias. Use
30511 libm_hidden_weak.
30512 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
30513 New inline function. Factored out of ...
30514 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
30515 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
30516 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
30517 feraiseexcept.
30518 * math/w_acos.c (__acos): Likewise.
30519 * math/w_asin.c (__asin): Likewise.
30520 * math/w_ilogb.c (__ilogb): Likewise.
30521 * math/w_j0.c (y0): Likewise.
30522 * math/w_j1.c (y1): Likewise.
30523 * math/w_jn.c (yn): Likewise.
30524 * math/w_log.c (__log): Likewise.
30525 * math/w_log10.c (__log10): Likewise.
30526 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
30527 * sysdeps/aarch64/fpu/math_private.h
30528 (libc_feupdateenv_test_aarch64): Likewise.
30529 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30530 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
30531 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
30532 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30533 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30534 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30535 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
30536 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30537 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30538 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30539
30540 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30541
30542 [BZ #17732]
30543 * io/test-utime.c (main): Replace %ld with %jd and cast to
30544 intmax_t.
30545 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
30546 * nptl/tst-mutex5.c: Include <stdint.h>.
30547 (do_test): Replace %ld with %jd and cast to intmax_t.
30548 * posix/tst-regex.c (run_test): Likewise.
30549 (run_test_backwards): Likewise.
30550 * rt/tst-clock.c: Include <stdint.h>.
30551 (clock_test): Replace %ld with %jd and cast to intmax_t.
30552 * rt/tst-cpuclock1.c: Include <stdint.h>.
30553 (do_test): Replace %lu with %ju and cast to uintmax_t.
30554 * rt/tst-cpuclock2.c: Include <stdint.h>.
30555 (do_test): Replace %lu with %ju and cast to uintmax_t.
30556 * rt/tst-mqueue1.c: Include <stdint.h>.
30557 (check_attrs): Replace %ld with %jd and cast to intmax_t.
30558 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
30559 intmax_t.
30560 * rt/tst-mqueue4.c (do_test): Likewise.
30561 * rt/tst-timer4.c: Include <stdint.h>.
30562 (check_ts): Replace %ld with %jd and cast to intmax_t.
30563 (do_test): Likewise.
30564 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
30565 and cast to intmax_t.
30566 * sysdeps/pthread/tst-timer.c (main): Likewise.
30567 * time/clocktest.c (main): Likewise.
30568 * time/tst-posixtz.c (do_test): Likewise.
30569 * timezone/tst-timezone.c (main): Likewise.
30570
30571 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
30572 H.J. Lu <hongjiu.lu@intel.com>
30573
30574 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
30575 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30576 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
30577 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
30578 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
30579 version if bit_Fast_Unaligned_Load is set.
30580 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30581 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30582 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30583 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30584 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30585 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30586 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30587 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
30588 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
30589 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
30590 to 4.
30591 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
30592 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
30593 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
30594 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
30595
30596 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
30597
30598 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
30599 instead of #if to avoid a Wundef warning.
30600 * stdlib/tst-limits.c (do_test): Likewise.
30601
30602 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
30603 parallel other exception macros.
30604 (fegetenv): Convert from macro to extern inline so that it applies
30605 retroactively to inline functions already seen by the compiler.
30606 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
30607
30608 * posix/Makefile (before-compile): Use $(objpfx) for
30609 posix-conf-vars-def.h.
30610
30611 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30612
30613 * posix/getconf.c (main): Use size_t for type of I.
30614 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
30615 NSPEC.
30616
30617 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
30618 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
30619 * posix/posix-envs.def: Likewise.
30620 * sysdeps/posix/sysconf.c: Likewise.
30621 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
30622 (specs): Remove array.
30623 * scripts/gen-posix-conf-vars.awk: Support generation of specs
30624 array.
30625
30626 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
30627 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
30628 (__sysconf): Use CONF_IS_* macros.
30629
30630 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
30631 ($(objpfx)posix-conf-vars-def.h): New target.
30632 * posix/posix-conf-vars.list: New file.
30633 * posix/posix-conf-vars.h: New file.
30634 * posix/confstr.c: Include posix-conf-vars.h.
30635 (confstr): Use CONF_IS_* macros.
30636 * posix/posix-envs.def: Include posix-conf-vars.h. Use
30637 CONF_IS_* macros.
30638 * scripts/gen-posix-conf-vars.awk: New file.
30639
30640 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
30641
30642 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
30643 fegetround): Add no-op macros to avoid linknamespace issues.
30644
30645 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
30646 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
30647
30648 * sysdeps/unix/sysv/linux/tile/sysdep.h
30649 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
30650 assembly-specific section to avoid a redefinition warning.
30651
30652 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
30653 long before casting to pointer to avoid a cast warning.
30654
30655 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
30656
30657 * sysdeps/tile/tilegx/Implies: New file.
30658
30659 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
30660
30661 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
30662
30663 2014-12-23 Florian Weimer <fweimer@redhat.com>
30664
30665 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
30666
30667 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30668
30669 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
30670 not define.
30671 * sysdeps/unix/sysv/linux/utimes.c: Do not include
30672 <kernel-features.h>.
30673 (__utimes) [__NR_utimes]: Make code unconditional.
30674 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
30675 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30676 (__ASSUME_UTIMES): Do not undefine.
30677 * sysdeps/unix/sysv/linux/tile/kernel-features.h
30678 (__ASSUME_UTIMES): Likewise.
30679 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30680 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
30681 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
30682 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
30683
30684 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
30685
30686 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
30687
30688 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
30689
30690 [BZ #17747]
30691 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
30692 alias to weak alias for j0l, y0l.
30693 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
30694 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
30695
30696 [BZ #17746]
30697 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
30698 conversion.
30699
30700 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
30701
30702 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
30703 to zero if not already defined.
30704
30705 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30706
30707 [BZ #17724]
30708 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
30709 (__kernel_standard_f): Remove. Moved to k_standardf.c.
30710 (__kernel_standard_l): Remove. Moved to k_standardl.c with
30711 (char *) casts added.
30712 * sysdeps/ieee754/k_standardf.c: New file.
30713 * sysdeps/ieee754/k_standardl.c: Likewise.
30714 * math/Makefile (libm-support): Remove k_standard.
30715 (libm-calls): Add k_standard.
30716
30717 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30718
30719 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30720 Optimize to avoid an unnecessary FPCR read.
30721
30722 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30723
30724 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30725 Optimize to reduce FPCR/FPSR accesses.
30726
30727 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30728
30729 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
30730 Call libc_fetestexcept_aarch64.
30731
30732 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30733
30734 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
30735 Call libc_fesetround_aarch64.
30736
30737 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30738
30739 [BZ #17733]
30740 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
30741 (__bind): Do not define as weak alias.
30742 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
30743 define.
30744 (__getsockname): Do not define as weak alias.
30745
30746 2014-12-22 Will Newton <will.newton@linaro.org>
30747
30748 * manual/install.texi: Document that we require bison 2.7
30749 or above.
30750 * INSTALL: Regenerate.
30751 * configure.ac: Use AC_CHECK_PROG_VER instead of
30752 AC_PATH_PROG when checking for bison and check for
30753 version 2.7 or above.
30754 * configure: Regenerate.
30755
30756 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
30757
30758 [BZ #17745]
30759 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
30760 * sysdeps/tile/ffsll.c (ffsll): To here.
30761
30762 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
30763
30764 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
30765
30766 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
30767 if not defined.
30768 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
30769 definition.
30770 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30771 hidden ___tls_get_addr.
30772 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30773 hidden __tls_get_addr.
30774 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
30775 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
30776 Likewise.
30777
30778 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
30779
30780 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
30781 _dl_init call.
30782
30783 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
30784
30785 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
30786 from "call _dl_init@PLT".
30787 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
30788
30789 2014-12-21 Anders Kaseorg <andersk@mit.edu>
30790
30791 * manual/search.texi: (Array Sort Function): Clarify stable sorting
30792 guarantees.
30793
30794 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
30795
30796 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
30797
30798 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
30799
30800 [BZ #17744]
30801 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
30802 strnlen.
30803
30804 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
30805
30806 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
30807 of multu on MIPSr6.
30808 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
30809 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
30810 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
30811 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
30812 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
30813
30814 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
30815
30816 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
30817 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
30818 (PTR_SUBU): Use subu for mips32r6/mips64r6.
30819 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
30820 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
30821 mips32r6/mips64r6.
30822 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
30823
30824 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
30825
30826 * string/strncat.c (STRNCAT): Simplify implementation.
30827
30828 2014-12-19 David S. Miller <davem@davemloft.net>
30829
30830 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
30831 access the quad as both a long double and as a series of 4 words.
30832
30833 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
30834 link_map->l_info array access.
30835
30836 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
30837
30838 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
30839
30840 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
30841 * math/atest-exp2.c (TIMEOUT): Likewise.
30842 * math/atest-sincos.c (TIMEOUT): Likewise.
30843
30844 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30845
30846 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
30847 -Wno-error with -fno-builtin-lround.
30848
30849 2014-12-19 Torvald Riegel <triegel@redhat.com>
30850
30851 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
30852 Contains futex constants and functions moved over from ...
30853 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
30854 <lowlevellock-futex.h>.
30855 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30856 (lll_timedwait_tid): Add comments and parentheses around macro
30857 arguments.
30858
30859 2014-12-19 Torvald Riegel <triegel@redhat.com>
30860
30861 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
30862 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
30863 (__lll_private_flag): Remove.
30864 (lll_futex_wait): Likewise.
30865 (lll_futex_timed_wait): Likewise.
30866 (lll_futex_wake): Likewise.
30867 (lll_futex_requeue): Likewise.
30868 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30869 (__lll_timedwait_tid): Spell out argument names.
30870 (lll_timedwait_tid): Add comments and parentheses around macro
30871 arguments.
30872 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
30873 LLL_SHARED and LLL_PRIVATE usable from assembly code.
30874
30875 2014-12-19 Torvald Riegel <triegel@redhat.com>
30876
30877 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
30878 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30879 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30880 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
30881 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
30882 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
30883 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
30884 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
30885 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
30886 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
30887 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30888 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
30889 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
30890 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
30891 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
30892 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
30893 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
30894 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
30895 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
30896
30897 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30898
30899 * sysdeps/x86_64/x32/Makefile: New file.
30900
30901 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30902
30903 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30904 1L with (mp_limb_t) 1.
30905
30906 2014-12-17 Roland McGrath <roland@hack.frob.com>
30907
30908 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
30909 * nptl/libc_pthread_init.c: ... here.
30910 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
30911 * nptl/register-atfork.c: ... here.
30912
30913 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
30914 Use pthread_sigmask rather than INTERNAL_SYSCALL.
30915 Use assert_perror to check its return value.
30916 (__gai_create_helper_thread): Likewise.
30917
30918 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
30919
30920 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
30921
30922 2014-12-17 Joseph Myers <joseph@codesourcery.com>
30923
30924 [BZ #17725]
30925 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
30926 __profil_counter.
30927 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
30928 Likewise.
30929 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
30930 Likewise.
30931 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
30932 Likewise.
30933 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
30934 (profil_counter): Likewise.
30935 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
30936 (profil_counter): Likewise.
30937 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
30938 Likewise.
30939 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30940 Likewise.
30941 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
30942 (profil_counter): Likewise.
30943 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
30944 Likewise.
30945 [!__profil_counter] (profil_counter): Define as weak alias of
30946 __profil_counter.
30947 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
30948 (profil_counter): Rename to __profil_counter.
30949 [!__profil_counter] (profil_counter): Define as weak alias of
30950 __profil_counter.
30951 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
30952 (profil_counter): Rename to __profil_counter.
30953 [!__profil_counter] (profil_counter): Define as weak alias of
30954 __profil_counter.
30955 * sysdeps/posix/profil.c: Update comment referring to
30956 profil_counter.
30957 (__profil): Use __profil_counter instead of profil_counter.
30958 * sysdeps/posix/sprofil.c (profil_counter): Rename to
30959 __profil_counter. Use __profil_counter_ushort and
30960 __profil_counter_uint in definitions.
30961 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
30962 instead of profil_counter_uint and profil_counter_ushort.
30963
30964 [BZ #17722]
30965 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
30966 define as weak alias of __inet_makeaddr.
30967 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
30968 as weak alias of __inet_addr.
30969 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
30970 as weak alias of __inet_pton. Use libc_hidden_weak.
30971 * include/arpa/inet.h (__inet_pton): Declare. Use
30972 libc_hidden_proto.
30973 (inet_makeaddr): Don't use libc_hidden_proto.
30974 (__inet_makeaddr): Declare. Use libc_hidden_proto.
30975 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
30976 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
30977 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
30978 Remove variable.
30979 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30980 (test-xfail-POSIX/time.h/linknamespace): Likewise.
30981
30982 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
30983
30984 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
30985
30986 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
30987
30988 * stdio-common/bug-vfprintf-nargs.c (do_test):
30989 Cast value to intptr_t to avoid format warning
30990 for usage with PRIdPTR printing macro.
30991
30992 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
30993
30994 * libio/tst-widetext.c (do_test):
30995 Use format type %td instead of %Zd for ptrdiff_t
30996 in order to avoid format warning.
30997
30998 2014-12-17 Andreas Schwab <schwab@suse.de>
30999
31000 * nscd/mem.c (gc): Add size_t cast to match printf format.
31001
31002 2014-12-16 Roland McGrath <roland@hack.frob.com>
31003
31004 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31005 (init): Apply PTR_MANGLE to pointers before storing them.
31006 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31007 before using them.
31008
31009 2014-12-16 Joseph Myers <joseph@codesourcery.com>
31010
31011 [BZ #17719]
31012 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31013 define as weak alias of __memrchr.
31014 (__memrchr): Do not define as strong alias of memrchr.
31015 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31016 Remove variable.
31017 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31018 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31019 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31020
31021 [BZ #17717]
31022 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31023 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
31024 (if_indextoname): Rename to __if_indextoname and define as weak
31025 alias of __if_indextoname. Use libc_hidden_weak.
31026 (if_freenameindex): Rename to __if_freenameindex and define as
31027 weak alias of __if_freenameindex.
31028 (if_nameindex): Rename to __if_nameindex and define as weak alias
31029 of __if_nameindex.
31030 * sysdeps/mach/hurd/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.
31035 (if_nameindex): Rename to __if_nameindex and define as weak alias
31036 of __if_nameindex.
31037 (if_indextoname): Rename to __if_indextoname and define as weak
31038 alias of __if_indextoname. Use libc_hidden_weak.
31039 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31040 __if_nametoindex and define as weak alias of __if_nametoindex.
31041 Use libc_hidden_weak.
31042 (if_freenameindex): Rename to __if_freenameindex and define as
31043 weak alias of __if_freenameindex. Use libc_hidden_weak.
31044 (if_nameindex_netlink): Use __if_freenameindex instead of
31045 if_freenameindex.
31046 (if_nameindex): Rename to __if_nameindex and define as weak alias
31047 of __if_nameindex. Use libc_hidden_weak.
31048 (if_indextoname): Rename to __if_indextoname and define as weak
31049 alias of __if_indextoname. Use libc_hidden_weak.
31050 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31051 libc_hidden_proto.
31052 [!_ISOMAC] (__if_freenameindex): Likewise.
31053 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31054 if_nametoindex.
31055 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31056 variable.
31057 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31058 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31059 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31060 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31061 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31062 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31063 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31064
31065 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31066 Remove variable.
31067 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31068 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31069
31070 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31071
31072 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31073 subscript above bounds'
31074
31075 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31076 bounds.
31077
31078 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
31079
31080 * libio/tst-fopenloc.c: Use test-skeleton.c.
31081
31082 * stdlib/tst-bsearch.c: Use test-skeleton.c.
31083 (entry): Rename to ITEM.
31084 (do_test, comp): Adjust.
31085
31086 * stdio-common/tst-fseek.c: Use test-skeleton.c.
31087
31088 2014-12-16 Torvald Riegel <triegel@redhat.com>
31089
31090 * string/tester.c: Include <libc-internal.h>.
31091 (test_memset): Ignore -Wmemset-transposed-args.
31092
31093 2014-12-16 Torvald Riegel <triegel@redhat.com>
31094
31095 * misc/tst-mntent2.c (do_test): Fix warning.
31096
31097 2014-12-16 Torvald Riegel <triegel@redhat.com>
31098
31099 * elf/tst-unique4lib.cc(a): Mark as used.
31100
31101 2014-12-16 Florian Weimer <fweimer@redhat.com>
31102
31103 [BZ #17630]
31104 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31105 names.
31106
31107 2014-12-16 Allan McRae <allan@archlinux.org>
31108
31109 * stdio-common/Makefile (tests): Re-add bug26.
31110
31111 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
31112
31113 [BZ #17657]
31114 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31115 static array.
31116
31117 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
31118
31119 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31120 (__lll_lock_wait): Likewise.
31121 (__lll_timedlock_wait): Likewise.
31122 (__lll_timedwait_tid): Likewise.
31123 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31124 (__lll_robust_timedlock_wait): Likewise.
31125 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31126 (lll_cond_trylock): Likewise.
31127 (__lll_lock): Likewise.
31128 (__lll_robust_lock): Likewise.
31129 (__lll_cond_lock): Likewise.
31130 (lll_robust_cond_lock): Likewise.
31131 (__lll_timedlock): Likewise.
31132 (__lll_robust_timedlock): Likewise.
31133 (__lll_unlock): Likewise.
31134 (__lll_robust_unlock): Likewise.
31135 (lll_wait_tid): Likewise.
31136 (lll_timedwait_tid): Likewise.
31137
31138 2014-12-15 Torvald Riegel <triegel@redhat.com>
31139
31140 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31141
31142 2014-12-15 Torvald Riegel <triegel@redhat.com>
31143
31144 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31145
31146 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31147
31148 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31149 * stdio-common/tst-sprintf.c: Likewise.
31150
31151 2014-12-15 Torvald Riegel <triegel@redhat.com>
31152
31153 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31154
31155 2014-12-15 Jeff Law <law@redhat.com>
31156
31157 [BZ #16617]
31158 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31159 on the heap. (CVE-2012-3406)
31160 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31161 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
31162 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31163
31164 2014-12-15 Will Newton <will.newton@linaro.org>
31165
31166 * manual/install.texi: Bump required version of texinfo
31167 to 4.7 from 4.5.
31168 * INSTALL: Regenerated.
31169 * configure.ac: Check for makeinfo version 4.7 and above.
31170 * configure: Regenerated.
31171
31172 2014-12-12 Roland McGrath <roland@hack.frob.com>
31173
31174 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31175 PREFIX, string constant to insert between directory and name.
31176 * sysdeps/posix/shm_open.c: Update caller.
31177 * sysdeps/posix/shm_unlink.c: Likewise.
31178 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31179 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31180 (SEM_SHM_PREFIX): New macro.
31181 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31182 [$(have-thread-library) = no].
31183 * nptl/Makefile (libpthread-routines): Add shm-directory.
31184 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31185 * sysdeps/nptl/shm-directory.h: New file.
31186 * sysdeps/posix/shm-directory.c
31187 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31188 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31189 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31190 INTERNAL_SYSCALL.
31191 (__where_is_shmfs): Function removed.
31192 (mountpoint, defaultmount, defaultdir, __namedsem_once):
31193 Variables removed.
31194 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31195 Use SHM_GET_NAME.
31196 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
31197
31198 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31199 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31200 unconditional for use inside libpthread.
31201 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31202
31203 2014-12-12 Roland McGrath <roland@hack.frob.com>
31204
31205 * nptl/pthread_getaffinity.c: New file.
31206 * nptl/pthread_setaffinity.c: New file.
31207 * nptl/pthread_getname.c: New file.
31208 * nptl/pthread_setname.c: New file.
31209
31210 * nptl/pthread_create.c (START_THREAD_DEFN)
31211 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31212
31213 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31214 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31215
31216 * resolv/res_send.c (send_vc): Disable warning resplen may
31217 be used uninitialized.
31218
31219 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31220
31221 * nptl/tst-mutex6.c
31222 (ATTR_NULL): New define checks ATTR against NULL.
31223 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31224 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31225
31226 2014-12-11 James Lemke <jwlemke@codesourcery.com>
31227
31228 [BZ #17581]
31229 * malloc/hooks.c
31230 (mem2mem_check): Revert my previous change.
31231 (malloc_check_get_size): Revert my previous change.
31232 (mem2chunk_check): Revert my previous change.
31233
31234 2014-12-11 Roland McGrath <roland@hack.frob.com>
31235
31236 * sysdeps/posix/shm-directory.c: New file.
31237 * sysdeps/posix/shm-directory.h: New file.
31238 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31239 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31240 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
31241 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31242 Transmute EPERM to EACCES.
31243 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31244 from ...
31245 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
31246 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31247
31248 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31249
31250 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31251 pointer and cast to uintptr_t.
31252 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31253 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31254 Add cast to avoid warning.
31255 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31256
31257 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31258
31259 * nptl/semaphore.h: Move to ...
31260 * sysdeps/pthread/semaphore.h: ... here.
31261 * Makefile (installed-headers): Change nptl/semaphore.h to
31262 sysdeps/pthread/semaphore.h.
31263
31264 2014-12-11 Roland McGrath <roland@hack.frob.com>
31265
31266 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31267 generated error format strings.
31268
31269 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31270 -Wformat-extra-args warnings for scanf formats.
31271 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31272 test of zero-length format (duh).
31273 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31274 corner-case scanf format test.
31275 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31276 generated fprintf format string.
31277 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31278 corner-case sprintf format tests.
31279 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31280 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31281 -Wformat-extra-args warnings throughout.
31282 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31283 (CFLAGS-scanf4.c): Likewise.
31284 (CFLAGS-scanf7.c): Likewise.
31285 (CFLAGS-tst-sprintf.c): Likewise.
31286 (CFLAGS-tst-printf.c): Likewise.
31287 (CFLAGS-tst-printfsz.c): Likewise.
31288
31289 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31290
31291 * include/cpio.h: New file.
31292 * include/fmtmsg.h: Likewise.
31293
31294 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
31295 corresponding format argument to size_t.
31296 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
31297 arguments.
31298 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
31299 corresponding format argument to size_t.
31300 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
31301 arguments.
31302 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
31303 corresponding format argument to size_t.
31304 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31305 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31306 (CFLAGS-tst-mbswcs2.c): Likewise.
31307 (CFLAGS-tst-mbswcs3.c): Likewise.
31308 (CFLAGS-tst-mbswcs4.c): Likewise.
31309 (CFLAGS-tst-mbswcs5.c): Likewise.
31310 (CFLAGS-tst-trans.c): Likewise.
31311
31312 2014-12-11 Roland McGrath <roland@hack.frob.com>
31313
31314 * posix/regexbug1.c (main): Use "%s" format with regerror results,
31315 rather than assuming they won't contain any '%'s.
31316
31317 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
31318
31319 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31320 inhibit_loop_to_libcall to avoid recursive calls.
31321 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31322 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31323
31324 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31325
31326 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31327 prototype.
31328
31329 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31330
31331 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31332 integer value instead of boolean.
31333
31334 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31335
31336 * malloc/malloc.c: Fix powerof2 check.
31337
31338 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31339
31340 * locale/programs/locfile.h (maybe_swap_uint32):
31341 Remove inline and add unused attribute.
31342
31343 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31344
31345 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31346 Truncating assembler expression to a .long expression.
31347
31348 2014-12-11 Andreas Schwab <schwab@suse.de>
31349
31350 * elf/rtld.c (struct map_args): Constify str member.
31351 (do_preload): Constify fname argument.
31352
31353 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31354
31355 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31356 constants definition.
31357
31358 2014-12-11 Andreas Schwab <schwab@suse.de>
31359
31360 [BZ #16657]
31361 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31362 FORCE_ELISION instead of DO_ELISION.
31363 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31364 Remove.
31365 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31366 Likewise.
31367
31368 * iconvdata/gconv-modules: Remove duplicate entry.
31369
31370 2014-12-11 Will Newton <will.newton@linaro.org>
31371
31372 Merge gettext 0.19.3 into intl/.
31373
31374 This involves a number of cosmetic changes to comments
31375 and ANSI function definitions and prototypes throughout
31376 all the files. The gettext copyright header is used but
31377 with the date ranges taken from the glibc copy.
31378
31379 * NEWS: Add gettext merge to 2.21.
31380 * intl/bindtextdom.c: Switch to gettext copyright.
31381 Use ANSI definitions and prototypes.
31382 Use gl_* locking primitives rather than __libc_* ones.
31383 Use __builtin_expect rather than __glibc_likely/unlikely.
31384 * intl/dcgettext.c: Switch to gettext copyright.
31385 Use ANSI definitions and prototypes.
31386 * intl/dcigettext.c: Switch to gettext copyright.
31387 Use ANSI definitions and prototypes.
31388 (INTDIV0_RAISES_SIGFPE): New define.
31389 Use gl_* locking primitives rather than __libc_* ones.
31390 Include eval-plural.h instead of plural-eval.c.
31391 Use __builtin_expect rather than __glibc_likely/unlikely.
31392 * intl/dcngettext.c: Switch to gettext copyright.
31393 Use ANSI definitions and prototypes.
31394 * intl/dgettext.c: Likewise.
31395 * intl/dngettext.c: Likewise.
31396 * intl/plural-eval.c: Renamed to...
31397 * intl/eval-plural.h: ...this.
31398 * intl/explodename.c: Switch to gettext copyright.
31399 Use ANSI definitions and prototypes.
31400 (_nl_explode_name): Use strchr instead of __rawmemchr.
31401 * intl/finddomain.c: Switch to gettext copyright.
31402 Use ANSI definitions and prototypes.
31403 Use gl_* locking primitives rather than __libc_* ones.
31404 (_nl_find_domain): Use malloc rather than alloca for
31405 allocation of temporary locale name.
31406 * intl/gettext.c: Switch to gettext copyright.
31407 Use ANSI definitions and prototypes.
31408 * intl/gettextP.h: Switch to gettext copyright.
31409 Use ANSI definitions and prototypes.
31410 Use gl_* locking primitives rather than __libc_* ones.
31411 * intl/gmo.h: Switch to gettext copyright.
31412 (struct sysdep_string): Move struct segment_pair outside of
31413 struct definition.
31414 * intl/hash-string.c: Use ANSI definitions and prototypes.
31415 * intl/hash-string.h: Switch to gettext copyright.
31416 Use ANSI definitions and prototypes.
31417 * intl/l10nflist.c: Switch to gettext copyright.
31418 Use ANSI definitions and prototypes.
31419 (_nl_normalize_codeset): Avoid integer overflow.
31420 * intl/loadinfo.h: Switch to gettext copyright.
31421 Use ANSI definitions and prototypes.
31422 (LIBINTL_DLL_EXPORTED): New define.
31423 (PATH_SEPARATOR): New define.
31424 * intl/loadmsgcat.c: Switch to gettext copyright.
31425 * intl/localealias.c: Switch to gettext copyright.
31426 Use ANSI definitions and prototypes.
31427 (_nl_expand_alias): Use PATH_SEPARATOR.
31428 * intl/ngettext.c: Switch to gettext copyright.
31429 Use ANSI definitions and prototypes.
31430 * intl/plural-exp.c: Likewise.
31431 * intl/plural-exp.h: Switch to gettext copyright.
31432 Use ANSI definitions and prototypes.
31433 (struct expression): Move definition of enum operator outside
31434 of struct definition.
31435 * intl/plural.c: Regenerate.
31436 * intl/plural.y: Switch to gettext copyright.
31437 Use ANSI definitions and prototypes.
31438 Port to bison 3.0.
31439 * intl/textdomain.c: Switch to gettext copyright.
31440 Use ANSI definitions and prototypes.
31441 Use gl_* locking primitives rather than __libc_* ones.
31442
31443 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
31444
31445 * debug/warning-nop.c: Add used atrribute.
31446
31447 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31448
31449 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
31450
31451 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
31452 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
31453 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
31454
31455 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31456 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31457
31458 [BZ #17634]
31459 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
31460 Undefine after defining function. Define as weak alias of
31461 __wcschr. Use libc_hidden_weak.
31462 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
31463 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
31464 (libc_hidden_def): Also define __GI___wcschr alias.
31465 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
31466 __wcschr and define as weak alias of __wcschr.
31467 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
31468 __wcschr.
31469 [!WCSCHR] (DEFAULT_WCSCHR): Define.
31470 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
31471 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
31472 libc_hidden_weak. Do not use libc_hidden_def.
31473 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
31474 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
31475 __GI___wcschr alias.
31476 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
31477 [IS_IN (libc)] (wcschr): Define as macro expanding to
31478 __redirect_wcschr.
31479 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
31480 [IS_IN (libc)] (__wcschr_power6): Likewise.
31481 [IS_IN (libc)] (__wcschr_power7): Likewise.
31482 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
31483 instead of wcschr.
31484 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
31485 __libc_wcschr.
31486 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
31487 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
31488 __wcschr and define as weak alias of __wcschr. Use
31489 libc_hidden_builtin_def.
31490 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
31491 as weak alias of __wcschr. Use libc_hidden_weak.
31492 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
31493 wcschr.
31494 * time/era.c (_nl_init_era_entries): Likewise.
31495 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
31496 variable.
31497 (test-xfail-XPG3/time.h/linknamespace): Likewise.
31498 (test-xfail-XPG4/time.h/linknamespace): Likewise.
31499
31500 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31501
31502 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
31503 format for long int variable.
31504
31505 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
31506
31507 [BZ #10672]
31508 * manual/search.texi: (Array Sort Function): Remove claim how to make
31509 qsort stable.
31510
31511 2014-12-10 Andreas Schwab <schwab@suse.de>
31512
31513 [BZ #12847]
31514 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
31515 user-controlled locks.
31516
31517 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
31518
31519 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
31520 register.
31521
31522 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31523
31524 * configure.ac (--disable-werror): New configure option.
31525 (enable_werror): New AC_SUBST.
31526 * configure: Regenerated.
31527 * config.make.in (enable-werror): New variable.
31528 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
31529 -Wno-error=undef.
31530 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
31531 * manual/install.texi (Configuring and compiling): Document
31532 --disable-werror.
31533 * INSTALL: Regenerated.
31534 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
31535 (CFLAGS-tst-chk2.c): Likewise.
31536 (CFLAGS-tst-chk3.c): Likewise.
31537 (CFLAGS-tst-chk4.cc): Likewise.
31538 (CFLAGS-tst-chk5.cc): Likewise.
31539 (CFLAGS-tst-chk6.cc): Likewise.
31540 (CFLAGS-tst-lfschk1.c): Likewise.
31541 (CFLAGS-tst-lfschk2.c): Likewise.
31542 (CFLAGS-tst-lfschk3.c): Likewise.
31543 (CFLAGS-tst-lfschk4.cc): Likewise.
31544 (CFLAGS-tst-lfschk5.cc): Likewise.
31545 (CFLAGS-tst-lfschk6.cc): Likewise.
31546
31547 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
31548 (main): Disable -Wdeprecated-declarations around calls to
31549 register_printf_function.
31550
31551 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
31552 (do_test): Disable -Wdiv-by-zero around some calls to
31553 fwrite_unlocked and fread_unlocked.
31554
31555 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
31556 (DIAG_POP_NEEDS_COMMENT): Likewise.
31557 (_DIAG_STR1): Likewise.
31558 (_DIAG_STR): Likewise.
31559 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
31560 * stdio-common/bug21.c: Include <libc-internal.h>.
31561 (do_test): Disable -Wformat around call to sscanf.
31562 * stdio-common/scanf14.c: Include <libc-internal.h>.
31563 (main): Disable -Wformat around some calls to scanf functions.
31564
31565 2014-12-09 Torvald Riegel <triegel@redhat.com>
31566
31567 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
31568
31569 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31570
31571 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
31572 stack variable alignment.
31573
31574 2014-12-06 Joseph Myers <joseph@codesourcery.com>
31575
31576 [BZ #17682]
31577 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
31578 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
31579 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
31580 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
31581 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
31582 __getrlimit instead of getrlimit.
31583 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
31584 __gettimeofday instead of gettimeofday.
31585 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31586 Likewise.
31587 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31588 Likewise.
31589 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31590 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
31591 Remove variable.
31592 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31593 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31594
31595 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31596
31597 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
31598 for wide-character tests.
31599
31600 2014-12-04 Roland McGrath <roland@hack.frob.com>
31601
31602 * io/openat64.c: #include <libc-internal.h>
31603 (__openat64): Prototypify. Use ignore_value on MODE.
31604 * io/openat.c: Likewise.
31605 * misc/reboot.c: #include <libc-internal.h>
31606 (reboot): Prototypify. Use ignore_value on HOWTO.
31607 * misc/ptrace.c: #include <libc-internal.h>
31608 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
31609
31610 2014-12-04 Joseph Myers <joseph@codesourcery.com>
31611
31612 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
31613 XPG4, UNIX98 and XOPEN2K.
31614 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
31615 Remove variable.
31616 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31617
31618 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31619
31620 * libio/fileops.c: Use ISO C style for function definitions.
31621 * libio/iofopen.c: Likewise.
31622 * libio/wfileops.c: Likewise.
31623
31624 [BZ #17653]
31625 * libio/fileops.c (_IO_new_file_underflow): Unset cached
31626 offset on EOF.
31627 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
31628 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
31629 (fgets_func): Function pointer to fgets and fgetws.
31630 (do_ftell_test): Add test to verify ftell value after read
31631 EOF.
31632 (do_test): Set fgets_func.
31633
31634 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
31635 O_TRUNC flag for w and w+ modes.
31636 (do_rewind_test): Likewise.
31637 (do_ftell_test): Likewise.
31638 (do_write_test): Likewise.
31639
31640 [BZ #17647]
31641 * libio/fileops.c (do_ftell): Seek only when there are
31642 unflushed writes.
31643 * libio/wfileops.c (do_ftell_wide): Likewise.
31644 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
31645 test case.
31646 (do_one_test): Call it.
31647
31648 2014-12-03 Joseph Myers <joseph@codesourcery.com>
31649
31650 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
31651 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
31652 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
31653 Remove variable.
31654 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31655 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31656 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31657
31658 2014-12-02 Joseph Myers <joseph@codesourcery.com>
31659
31660 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
31661 Remove variable.
31662 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31663
31664 [BZ #17668]
31665 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
31666 as weak alias of __getifaddrs. Use libc_hidden_weak.
31667 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31668 __freeifaddrs. Use libc_hidden_weak.
31669 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
31670 define as weak alias of __getifaddrs. Use libc_hidden_weak.
31671 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31672 __freeifaddrs. Use libc_hidden_weak.
31673 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
31674 __getifaddrs and define as weak alias of __getifaddrs. Use
31675 libc_hidden_weak.
31676 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31677 __freeifaddrs. Use libc_hidden_weak.
31678 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
31679 Remove variable.
31680 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31681 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31682
31683 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
31684
31685 [BZ #17601]
31686 * sysdeps/mips/start.S (__start): Use indirect jump to call
31687 __libc_start_main.
31688
31689 2014-12-02 Joseph Myers <joseph@codesourcery.com>
31690
31691 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
31692
31693 * nptl/tst-mutex1.c: Include <stdbool.h>.
31694 [!ATTR] (ATTR_NULL): New macro.
31695 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
31696 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
31697 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
31698
31699 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
31700 to char *.
31701
31702 [BZ #17665]
31703 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
31704 Change conditional to [__USE_MISC].
31705
31706 [BZ #17664]
31707 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
31708 fgets_unlocked.
31709 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
31710 __fgets_unlocked.
31711 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
31712 fgets_unlocked.
31713 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
31714 Remove variable.
31715 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31716 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31717 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31718 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31719 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31720 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31721 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31722 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31723 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31724
31725 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
31726
31727 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31728
31729 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31730 Remove strpbrk objects.
31731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31732 (__libc_ifunc_impl_list): Remove strpbrk implementation.
31733 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
31734 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
31735 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
31736 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
31737
31738 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31739 Remove strcspn objects.
31740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31741 (__libc_ifunc_impl_list): Remove strcspn implementation.
31742 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
31743 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
31744 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
31745 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
31746
31747 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31748 Remove strspn objetcs.
31749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31750 (__libc_ifunc_impl_list): Remove strspn implementation.
31751 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
31752 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31753 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
31754 * sysdeps/powerpc/powerpc64/strspn.S: New file.
31755
31756 2014-12-01 James Lemke <jwlemke@codesourcery.com>
31757
31758 [BZ #17581]
31759 * malloc/hooks.c
31760 (mem2mem_check): Add a terminator to the chain of checking blocks.
31761 (malloc_check_get_size): Use it here.
31762 (mem2chunk_check): Ditto.
31763
31764 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31765
31766 * sysdeps/powerpc/powerpc64/strtok.S: New file.
31767 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
31768
31769 2014-11-29 Carlos O'Donell <carlos@redhat.com>
31770
31771 * bits/ioctl-types.h: Indent preprocessor directives correctly.
31772
31773 * nptl/nptl-init.c: Include libc-internal.h.
31774 (__pthread_initialize_minimal_internal): Use ROUND_UP.
31775
31776 * elf/ldconfig.c (search_dir): Expand comment.
31777
31778 2014-11-29 Joseph Myers <joseph@codesourcery.com>
31779
31780 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
31781 variable.
31782 (linknamespace-symlist-stdlibs-tests): Likewise.
31783 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
31784 instead of $(objpfx)symlist-stdlibs.
31785 (linknamespace-libs-isoc): New variable.
31786 (linknamespace-libs): Use $(linknamespace-libs-isoc).
31787 (linknamespace-libs-ISO): New variable.
31788 (linknamespace-libs-ISO99): Likewise.
31789 (linknamespace-libs-ISO11): Likewise.
31790 (linknamespace-libs-XPG3): Likewise.
31791 (linknamespace-libs-XPG4): Likewise.
31792 (linknamespace-libs-POSIX): Likewise.
31793 (linknamespace-libs-UNIX98): Likewise.
31794 (linknamespace-libs-XOPEN2K): Likewise.
31795 (linknamespace-libs-POSIX2008): Likewise.
31796 (linknamespace-libs-XOPEN2K8): Likewise.
31797 ($(objpfx)symlist-stdlibs): Replace by
31798 $(linknamespace-symlist-stdlibs-tests). Use
31799 $(linknamespace-libs-$*) as set of libraries.
31800 ($(linknamespace-header-tests)): Update dependencies. Use
31801 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
31802 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
31803 * conform/linknamespace.pl: Remove comment about considering
31804 definitions of symbols from irrelevant libraries.
31805
31806 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
31807
31808 [BZ #13862]
31809 * elf/dl-tls.c: Include <atomic.h>.
31810 (oom): Remove #ifdef SHARED/#endif.
31811 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
31812 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
31813 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
31814 big enough.
31815 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
31816 * nptl/Makefile (tests): Add tst-stack4.
31817 (modules-names): Add tst-stack4mod.
31818 ($(objpfx)tst-stack4): New.
31819 (tst-stack4mod.sos): Likewise.
31820 ($(objpfx)tst-stack4.out): Likewise.
31821 ($(tst-stack4mod.sos)): Likewise.
31822 (clean): Likewise.
31823 * nptl/tst-stack4.c: New file.
31824 * nptl/tst-stack4mod.c: Likewise.
31825
31826 2014-11-27 J. Brown <jb999@gmx.de>
31827
31828 * sysdeps/x86/bits/string.h: Add recent CPUs.
31829
31830 2014-11-27 Joseph Myers <joseph@codesourcery.com>
31831
31832 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
31833 sigblock.
31834
31835 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
31836 feof.
31837
31838 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
31839 variable.
31840
31841 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
31842
31843 * nscd/connections.c: Include libc-internal.h because of macro
31844 usage ignore_value.
31845
31846 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31847
31848 * string/bits/string3.h (__warn_memset_zero_len): Don't
31849 declare for gcc newer than 5.0.
31850 (memset): Don't test for zero-length __LEN for gcc newer than
31851 5.0.
31852
31853 2014-11-27 Joseph Myers <joseph@codesourcery.com>
31854
31855 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
31856 size_t for %zu format.
31857
31858 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
31859 difference, not %ju.
31860
31861 2014-11-26 Joseph Myers <joseph@codesourcery.com>
31862
31863 * include/libc-internal.h (ignore_value): New macro.
31864 * nscd/connections.c (restart): Wrap calls to setuid and setgid
31865 with ignore_value.
31866
31867 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
31868 definition.
31869
31870 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
31871 pthread_cleanup_push to void *.
31872
31873 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
31874 Undefine.
31875
31876 [BZ #16619]
31877 [BZ #16740]
31878 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
31879 instead of 1L << 52.
31880
31881 * libio/bug-rewind.c (do_test): Check fwscanf return values.
31882 * libio/bug-rewind2.c (do_test): Likewise.
31883
31884 * debug/test-stpcpy_chk-ifunc.c: Remove file.
31885 * debug/test-strcpy_chk-ifunc.c: Likewise.
31886 * wcsmbs/test-wcschr-ifunc.c: Likewise.
31887 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31888 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31889 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31890 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31891 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31892 * Rules [$(multi-arch) = no] (tests): Do not filter out
31893 $(tests-ifunc).
31894 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
31895 * debug/Makefile (tests-ifunc): Remove variable.
31896 (tests): Do not add $(tests-ifunc).
31897 * wcsmbs/Makefile (tests-ifunc): Remove variable.
31898 (tests): Do not add $(tests-ifunc).
31899 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
31900 [TEST_IFUNC]: Remove conditionals.
31901 * string/test-string.h (TEST_IFUNC): Remove macro.
31902 [TEST_IFUNC]: Remove conditionals.
31903
31904 * string/test-strchr.c [!WIDE] (L): New macro.
31905 [WIDE] (L): Likewise.
31906 (check1): Use CHAR instead of char. Use L on string and character
31907 constants.
31908
31909 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
31910
31911 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31912 tests.
31913 * sysdeps/powerpc/bits/atomic.h
31914 (__arch_atomic_exchange_and_add_32_acq): Add definition.
31915 (__arch_atomic_exchange_and_add_32_rel): Likewise.
31916 (atomic_exchange_and_add_acq): Likewise.
31917 (atomic_exchange_and_add_rel): Likewise.
31918 * sysdeps/powerpc/powerpc32/bits/atomic.h
31919 (__arch_atomic_exchange_and_add_64_acq): Add definition.
31920 (__arch_atomic_exchange_and_add_64_rel): Likewise.
31921 * sysdeps/powerpc/powerpc64/bits/atomic.h
31922 (__arch_atomic_exchange_and_add_64_acq): Add definition.
31923 (__arch_atomic_exchange_and_add_64_rel): Likewise.
31924
31925 2014-11-26 Torvald Riegel <triegel@redhat.com>
31926
31927 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
31928 Change synchronization of __sched_fifo_min_prio and
31929 __sched_fifo_max_prio.
31930 * nptl/pthread_mutexattr_getprioceiling.c
31931 (pthread_mutexattr_getprioceiling): Likewise.
31932 * nptl/pthread_mutexattr_setprioceiling.c
31933 (pthread_mutexattr_setprioceiling): Likewise.
31934 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
31935 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
31936 Likewise.
31937
31938 2014-11-26 Joseph Myers <joseph@codesourcery.com>
31939
31940 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
31941 void.
31942
31943 2014-11-25 Joseph Myers <joseph@codesourcery.com>
31944
31945 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
31946 third argument const.
31947
31948 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
31949
31950 fnmatch: work around GCC compiler warning bug with uninit var
31951 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
31952 This works around a bug with x86-64 GCC 4.9.2 and earlier
31953 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
31954 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31955 used uninitialized in this function [-Wmaybe-uninitialized]".
31956
31957 2014-11-25 Joseph Myers <joseph@codesourcery.com>
31958
31959 * posix/bug-regex31.c (main): Return RES not 0.
31960
31961 2014-11-25 Anton Blanchard <anton@samba.org>
31962
31963 * sysdeps/powerpc/bits/atomic.h
31964 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
31965
31966 2014-11-24 Sterling Augustine <saugustine@google.com>
31967
31968 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
31969
31970 2014-11-24 Ryan Cumming <etaoins@gmail.com>
31971
31972 [BZ #17608]
31973 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
31974
31975 2014-11-24 Joseph Myers <joseph@codesourcery.com>
31976
31977 [BZ #17633]
31978 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
31979 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
31980 variable.
31981 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31982 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31983
31984 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
31985
31986 * string/strncpy.c (strncpy): Improve performance by using memset.
31987
31988 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
31989
31990 * string/strcpy.c (strcpy):
31991 Improve performance by using strlen and memcpy.
31992
31993 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
31994
31995 * string/strcoll_l.c (get_next_seq): __always_inline.
31996 * string/strcoll_l.c (do_compare): __always_inline.
31997
31998 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31999
32000 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32001 defined.
32002 * include/mqueue.h: Likewise.
32003 * include/stdlib.h: Likewise.
32004
32005 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32006 (get_null_defines): Adjust.
32007 * sunrpc/Makefile: Adjust comment.
32008 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32009 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32010 (CFLAGS-interp.c): Likewise.
32011 (CFLAGS-ldconfig.c): Likewise.
32012 (CPPFLAGS-.os): Likewise.
32013 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32014 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32015 * extra-modules.mk (extra-modules.mk): Likewise.
32016 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32017 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32018 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32019 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32020 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32021 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32022 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32023 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32024 * iconvdata/Makefile (CPPFLAGS): Likewise.
32025 (cpp-srcs-left): Add libof for all iconvdata routines.
32026 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32027 * include/assert.h: Likewise.
32028 * include/ctype.h: Likewise.
32029 * include/errno.h: Likewise.
32030 * include/libc-symbols.h: Likewise.
32031 * include/math.h: Likewise.
32032 * include/netdb.h: Likewise.
32033 * include/resolv.h: Likewise.
32034 * include/stdio.h: Likewise.
32035 * include/stdlib.h: Likewise.
32036 * include/string.h: Likewise.
32037 * include/sys/stat.h: Likewise.
32038 * include/wctype.h: Likewise.
32039 * intl/l10nflist.c: Likewise.
32040 * libidn/idn-stub.c: Likewise.
32041 * libio/libioP.h: Likewise.
32042 * nptl/libc_multiple_threads.c: Likewise.
32043 * nptl/pthreadP.h: Likewise.
32044 * posix/regex_internal.h: Likewise.
32045 * resolv/res_hconf.c: Likewise.
32046 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32047 * sysdeps/arm/memmove.S: Likewise.
32048 * sysdeps/arm/sysdep.h: Likewise.
32049 * sysdeps/generic/_itoa.h: Likewise.
32050 * sysdeps/generic/symbol-hacks.h: Likewise.
32051 * sysdeps/gnu/errlist.awk: Likewise.
32052 * sysdeps/gnu/errlist.c: Likewise.
32053 * sysdeps/i386/i586/memcpy.S: Likewise.
32054 * sysdeps/i386/i586/memset.S: Likewise.
32055 * sysdeps/i386/i686/memcpy.S: Likewise.
32056 * sysdeps/i386/i686/memmove.S: Likewise.
32057 * sysdeps/i386/i686/mempcpy.S: Likewise.
32058 * sysdeps/i386/i686/memset.S: Likewise.
32059 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32060 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32061 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32062 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32063 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32064 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32065 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32066 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32067 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32068 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32069 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32070 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32071 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32072 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32073 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32074 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32075 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32076 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32077 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32078 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32079 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32080 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32081 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32082 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32083 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32084 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32085 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32086 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32087 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32088 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32089 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32090 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32094 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32095 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32096 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32097 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32098 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32099 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32100 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32101 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32102 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32103 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32104 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32105 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32106 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32107 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32108 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32109 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32110 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32111 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32112 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32113 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32114 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32115 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32116 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32117 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32118 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32119 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32120 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32121 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32122 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32123 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32124 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32125 * sysdeps/posix/closedir.c: Likewise.
32126 * sysdeps/posix/opendir.c: Likewise.
32127 * sysdeps/posix/readdir.c: Likewise.
32128 * sysdeps/posix/rewinddir.c: Likewise.
32129 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32130 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32131 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32132 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32133 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32134 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32135 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32136 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32137 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32138 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32140 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32141 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32142 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32143 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32144 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32145 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32146 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32147 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32148 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32149 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32150 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32151 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32152 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32154 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32155 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32156 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32157 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32162 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32164 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32165 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32166 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32167 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32168 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32169 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32170 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32171 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32172 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32173 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32174 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32175 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32176 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32177 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32178 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32179 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32180 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32181 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32182 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32183 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32184 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32185 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32186 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32187 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32188 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32189 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32190 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32191 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32192 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32193 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32194 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32195 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32196 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32197 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32198 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32199 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32200 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32201 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32202 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32203 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32204 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32205 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32206 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32207 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32208 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32209 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32210 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32211 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32212 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32213 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32214 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32215 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32216 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32217 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32218 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32219 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32220 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32221 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32223 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32224 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32225 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32227 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32228 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32229 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32230 * sysdeps/unix/alpha/sysdep.S: Likewise.
32231 * sysdeps/unix/alpha/sysdep.h: Likewise.
32232 * sysdeps/unix/make-syscalls.sh: Likewise.
32233 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32234 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32235 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32236 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32237 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32238 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32239 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32240 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32241 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32242 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32243 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32244 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32245 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32246 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32247 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32248 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32249 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32250 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32251 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32252 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32253 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32254 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32255 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32256 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32257 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32258 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32259 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32262 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32263 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32264 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32265 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32266 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32267 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32268 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32270 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32271 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32272 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32273 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32274 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32275 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32276 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32277 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32280 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32283 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32284 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32285 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32286 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32287 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32288 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32289 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32291 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32292 * sysdeps/x86_64/memcpy.S: Likewise.
32293 * sysdeps/x86_64/memmove.c: Likewise.
32294 * sysdeps/x86_64/memset.S: Likewise.
32295 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32296 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32297 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32298 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32299 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32300 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32302 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32303 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32304 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32305 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32306 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32307 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32308 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32309 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32310 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32311 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32312 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32313 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32314 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32315 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32316 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32317 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32318 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32319 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32320 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32321 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32322 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32323 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32324 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32325 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32326 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32327 * sysdeps/x86_64/strcmp.S: Likewise.
32328
32329 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32330
32331 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32332 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32333 * elf/rtld-Rules: Likewise.
32334 * elf/setup-vdso.h: Likewise.
32335 * include/assert.h: Likewise.
32336 * include/bits/stdlib-float.h: Likewise.
32337 * include/errno.h: Likewise.
32338 * include/sys/stat.h: Likewise.
32339 * include/unistd.h: Likewise.
32340 * sysdeps/aarch64/setjmp.S: Likewise.
32341 * sysdeps/alpha/setjmp.S: Likewise.
32342 * sysdeps/arm/__longjmp.S: Likewise.
32343 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32344 * sysdeps/arm/setjmp.S: Likewise.
32345 * sysdeps/arm/sysdep.h: Likewise.
32346 * sysdeps/generic/_itoa.h: Likewise.
32347 * sysdeps/generic/dl-sysdep.h: Likewise.
32348 * sysdeps/generic/ldsodefs.h: Likewise.
32349 * sysdeps/i386/dl-tls.h: Likewise.
32350 * sysdeps/i386/setjmp.S: Likewise.
32351 * sysdeps/m68k/setjmp.c: Likewise.
32352 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32353 * sysdeps/mach/hurd/opendir.c: Likewise.
32354 * sysdeps/posix/getcwd.c: Likewise.
32355 * sysdeps/posix/opendir.c: Likewise.
32356 * sysdeps/posix/profil.c: Likewise.
32357 * sysdeps/powerpc/dl-procinfo.h: Likewise.
32358 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32359 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32360 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32361 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32362 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32363 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32364 * sysdeps/s390/dl-tls.h: Likewise.
32365 * sysdeps/s390/s390-32/setjmp.S: Likewise.
32366 * sysdeps/s390/s390-64/setjmp.S: Likewise.
32367 * sysdeps/sh/sh3/setjmp.S: Likewise.
32368 * sysdeps/sh/sh4/setjmp.S: Likewise.
32369 * sysdeps/unix/alpha/sysdep.h: Likewise.
32370 * sysdeps/unix/arm/sysdep.S: Likewise.
32371 * sysdeps/unix/i386/sysdep.S: Likewise.
32372 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32373 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32374 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32375 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32376 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32377 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32378 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32379 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32380 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32381 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32382 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32383 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32384 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32387 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32390 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32391 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32392 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32394 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32395 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32396 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32397 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32399 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32400 * sysdeps/x86_64/setjmp.S: Likewise.
32401
32402 * include/math.h: Use IS_IN instead of IS_IN_libm.
32403 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32404 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32405 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32406 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32407 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32408 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32409 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32410 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32411 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32412 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32413 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32414 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32415 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32416 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32417 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32418 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32419 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32420 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32421 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32422 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32423 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32424 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32425 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32426 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32427 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32428 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32429 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32430 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32431 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32432 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32433 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32434 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32435 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32437 Likewise.
32438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32439 Likewise.
32440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
32441 Likewise.
32442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
32443 Likewise.
32444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
32445 Likewise.
32446 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32447 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
32448 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32449 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32450 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32451 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
32453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
32454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
32455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
32456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
32457 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
32458 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
32459 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32460 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32461 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32462 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32463 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32464 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32465 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32466 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
32467 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32468 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
32469 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
32470 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
32471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32472 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
32473
32474 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
32475 * nptl/pthreadP.h: Likewise.
32476 * nptl_db/structs.def: Likewise.
32477 * sysdeps/arm/sysdep.h: Likewise.
32478 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32479 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32480 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
32481 * sysdeps/unix/alpha/sysdep.h: Likewise.
32482 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32483 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32484 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32485 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32486 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32487 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32488 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32489 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32490 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32491 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32492 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32493 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32494 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32495 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32498 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32499 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32500 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32503 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32504 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32505 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32506 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
32507 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32508
32509 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
32510 * nptl/pthreadP.h: Likewise.
32511 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32512 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32513 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32514 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32515 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32516 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32517 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32518 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32519 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32520 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32521 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32522 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32524 Likewise.
32525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32526 Likewise.
32527 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32528 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32529 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32531 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32532 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32533 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32534 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32535
32536 * dlfcn/dladdr.c: Use IS_IN.
32537 * dlfcn/dladdr1.c: Likewise.
32538 * dlfcn/dlclose.c: Likewise.
32539 * dlfcn/dlerror.c: Likewise.
32540 * dlfcn/dlinfo.c: Likewise.
32541 * dlfcn/dlmopen.c: Likewise.
32542 * dlfcn/dlopen.c: Likewise.
32543 * dlfcn/dlsym.c: Likewise.
32544 * dlfcn/dlvsym.c: Likewise.
32545
32546 * include/ifaddrs.h: Use IS_IN.
32547 * inet/check_pf.c: Likewise.
32548 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32549 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
32550
32551 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
32552 IS_IN_ldconfig.
32553 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
32554 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
32555
32556 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
32557 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
32558 IS_IN (libc).
32559
32560 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
32561
32562 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
32563 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32564 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32565 * include/libc-symbols.h (IS_IN_LIB): New macro.
32566 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
32567 * include/netdb.h: Likewise.
32568 * include/stap-probe.h: Remove all uses of IN_LIB.
32569
32570 * Makeconfig (module-cppflags-real): Define MODULE_NAME
32571 instead of IN_MODULE.
32572 * include/libc-symbols.h (IN_MODULE): Define using
32573 MODULE_NAME.
32574 (PASTE_NAME, PASTE_NAME1): New macros.
32575 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
32576 of IN_LIB.
32577 (STAP_PROBE_ASM): Likewise.
32578
32579 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
32580
32581 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
32582 __mach_init in dlopened libc.
32583
32584 2014-11-22 Mike Frysinger <vapier@gentoo.org>
32585
32586 * sysdeps/arm/preconfigure.ac: Delete EABI check.
32587 * sysdeps/arm/preconfigure: Regenerate.
32588
32589 2014-11-21 Roland McGrath <roland@hack.frob.com>
32590
32591 * nptl/pthread_create.c (__pthread_create_2_1): Set
32592 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
32593 when copying values from IATTR into PD.
32594
32595 2014-11-21 Will Newton <will.newton@linaro.org>
32596 Andrew Pinski <andrew.pinski@caviumnetworks.com>
32597
32598 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
32599 Refactor inline-asm. Also add comment.
32600
32601 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
32602 ElfW macro instead of hardcoded Elf64 types.
32603 (la_aarch64_gnu_pltenter): Likewise.
32604 * sysdeps/aarch64/dl-machine.h
32605 (elf_machine_runtime_setup): Use ElfW(Addr).
32606
32607 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
32608 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
32609 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
32610 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
32611 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
32612 (R_AARCH64_TLS_DTPMOD64): Rename to ..
32613 (R_AARCH64_TLS_DTPMOD): This.
32614 (R_AARCH64_TLS_DTPREL64): Rename to ...
32615 (R_AARCH64_TLS_DTPREL): This.
32616 (R_AARCH64_TLS_TPREL64): Rename to ...
32617 (R_AARCH64_TLS_TPREL): This.
32618 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
32619 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
32620 R_AARCH64_TLS_TPREL64.
32621 (elf_machine_rela): Likewise.
32622
32623 2014-11-21 Torvald Riegel <triegel@redhat.com>
32624
32625 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
32626 by setting it to 0. 64b atomics are not supported currently.
32627
32628 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32629
32630 [BZ #16469]
32631 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
32632 search domain names.
32633
32634 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32635
32636 [BZ #16469]
32637 * NEWS: Update.
32638 * resolv/res_query.c (__libc_res_nquerydomain): Retain
32639 trailing dot.
32640 * posix/tst-getaddrinfo5.c: New.
32641 * posix/Makefile (tests): Add it.
32642
32643 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32644
32645 [BZ #14498]
32646 * NEWS: Fixed.
32647 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
32648 after parsing line but before break_if_match.
32649 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
32650 if there is a protocol mismatch.
32651
32652 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
32653
32654 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
32655 because the potential race is on the user-supplied stream.
32656
32657 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32658
32659 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
32660 string literal if not passed a buffer.
32661 * manual/job.texi (ctermid): Update reasoning, note deviation
32662 from posix, suggest mtasurace when not passed a buffer, for
32663 future non-preliminary safety notes.
32664
32665 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32666
32667 * manual/users.texi (cuserid): Fix MT-Safety note for the case
32668 of not passing it a buffer.
32669 Reported by Peng Haitao.
32670
32671 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32672
32673 * manual/Makefile ($(objpfx)stamp-summary): Require
32674 check-safety.sh to pass.
32675 * manual/check-safety.sh: Wish for verification that every
32676 @deftypefn and @deftypefun is followed by a @safety remark.
32677
32678 2014-11-20 Roland McGrath <roland@hack.frob.com>
32679
32680 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
32681
32682 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
32683 PTHREAD_CANCEL_ASYNCHRONOUS.
32684 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
32685 send SIGCANCEL.
32686
32687 * nptl/default-sched.h: New file.
32688 * sysdeps/unix/sysv/linux/default-sched.h: New file.
32689 * nptl/pthread_create.c: Include it.
32690 (__pthread_create_2_1): Use collect_default_sched instead of making
32691 Linux syscalls here directly.
32692
32693 2014-11-20 Torvald Riegel <triegel@redhat.com>
32694
32695 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
32696 __pthread_once): Use C11 atomics.
32697
32698 2014-11-20 Torvald Riegel <triegel@redhat.com>
32699
32700 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
32701
32702 2014-11-20 Torvald Riegel <triegel@redhat.com>
32703
32704 * include/atomic.h (__atomic_link_error, __atomic_check_size,
32705 atomic_thread_fence_acquire, atomic_thread_fence_release,
32706 atomic_thread_fence_seq_cst, atomic_load_relaxed,
32707 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
32708 atomic_compare_exchange_weak_relaxed,
32709 atomic_compare_exchange_weak_acquire,
32710 atomic_compare_exchange_weak_release,
32711 atomic_exchange_acquire, atomic_exchange_release,
32712 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
32713 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
32714 atomic_fetch_and_acquire,
32715 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
32716
32717 2014-11-20 Torvald Riegel <triegel@redhat.com>
32718
32719 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
32720 USE_ATOMIC_COMPILER_BUILTINS): Define.
32721 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
32722 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32723 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
32724 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32725 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
32726 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32727 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
32728 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32729 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
32730 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32731 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
32732 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32733 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
32734 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32735 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
32736 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32737 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32738 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32739 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32740 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32741 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
32742 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32743 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32744 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32745 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
32746 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32747 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32748 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32749 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
32750 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32751 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
32752 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32753 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
32754 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32755 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32756 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32757 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
32758 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32759 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
32760 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32761
32762 2014-11-19 Roland McGrath <roland@hack.frob.com>
32763
32764 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
32765 the sched_priority value here. It was already checked when the user
32766 called pthread_attr_setschedparam.
32767
32768 * nptl/tst-bad-schedattr.c: New file.
32769 * nptl/Makefile (tests): Add it.
32770
32771 2014-11-19 Carlos O'Donell <carlos@redhat.com>
32772 Florian Weimer <fweimer@redhat.com>
32773 Joseph Myers <joseph@codesourcery.com>
32774 Adam Conrad <adconrad@0c3.net>
32775 Andreas Schwab <schwab@suse.de>
32776 Brooks <bmoses@google.com>
32777
32778 [BZ #17625]
32779 * wordexp-test.c (__dso_handle): Add prototype.
32780 (__register_atfork): Likewise.
32781 (__app_register_atfork): New function.
32782 (registered_forks): New global.
32783 (register_fork): New function.
32784 (test_case): Add 3 new tests for WRDE_CMDSUB.
32785 (main): Call __app_register_atfork.
32786 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
32787 fork count is non-zero fail the test.
32788 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
32789 is set.
32790 (parse_dollars): Remove check for WRDE_NOCMD.
32791 (parse_dquote): Likewise.
32792
32793 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32794
32795 * Makeconfig (built-modules): List non-library modules to be
32796 built.
32797 (module-cppflags): Include libc-modules.h for
32798 everything except shlib-versions.v.i.
32799 (CPPFLAGS): Use it.
32800 (before-compile): Add libc-modules.h.
32801 ($(common-objpfx)libc-modules.h,
32802 $(common-objpfx)libc-modules.stmp): New targets.
32803 (common-generated): Add libc-modules.h and libc-modules.stmp.
32804 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
32805 * include/libc-symbols.h: Don't include libc-modules.h.
32806 * include/libc-modules.h: Remove file.
32807 * scripts/gen-libc-modules.awk: New script to generate
32808 libc-modules.h.
32809 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
32810 Depend on libc-modules.stmp.
32811
32812 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
32813
32814 * Makeconfig (in-module): Get value of libof set for the
32815 translation unit.
32816 (CPPFLAGS): Use $(in-module).
32817 * Makerules: Don't suffix routine names for nonlib.
32818 * include/libc-modules.h: New file.
32819 * include/libc-symbols.h: Include libc-modules.h
32820 (IS_IN): New macro to replace IS_IN_* macros.
32821 * elf/Makefile: Set libof-* for each routine.
32822 * elf/rtld-Rules: Likewise.
32823 * extra-modules.mk: Likewise.
32824 * iconv/Makefile: Likewise.
32825 * iconvdata/Makefile: Likewise.
32826 * locale/Makefile: Likewise.
32827 * malloc/Makefile: Likewise.
32828 * nss/Makefile: Likewise.
32829 * sysdeps/gnu/Makefile: Likewise.
32830 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
32831 * sysdeps/unix/sysv/linux/Makefile: Likewise.
32832 * sysdeps/s390/s390-64/Makefile: Likewise.
32833 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
32834 CPPFLAGS for nscd instead of nonlib.
32835
32836 2014-11-18 Roland McGrath <roland@hack.frob.com>
32837
32838 * nptl/createthread.c: New file.
32839
32840 * nptl/createthread.c: Moved ...
32841 * sysdeps/unix/sysv/linux/createthread.c: ... here.
32842
32843 * nptl/createthread.c: Add proper top-line comment.
32844 (do_clone): Folded into ...
32845 (create_thread): ... here. Take new arguments STOPPED_START and
32846 THREAD_RAN. Always set PD->stopped_start to something here. Don't
32847 increment __nptl_threads, do event-reporting logic, do
32848 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
32849 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
32850 resource cleanup if sched_setaffinity or sched_setscheduler fails,
32851 just send SIGCANCEL.
32852 * nptl/pthread_create.c: Forward-declare create_thread before
32853 including createthread.c.
32854 (start_thread): Use new macro START_THREAD_DEFN to replace defining
32855 declaration, and new macro START_THREAD_SELF to replace argument.
32856 Remove return statement.
32857 (report_thread_creation): New function.
32858 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
32859 synchronization logic, and __nptl_nthreads increment here, around
32860 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
32861 PD->parent_cancelhandling here, before create_thread. When
32862 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
32863 __deallocate_stack, and ENOMEM translation here.
32864
32865 2014-11-18 Joseph Myers <joseph@codesourcery.com>
32866
32867 [BZ #17616]
32868 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32869 (mptwo): Rename to __mptwo.
32870 (__inv): Use __mptwo instead of mptwo.
32871 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
32872 (mptwo): Rename to __mptwo.
32873 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
32874 of mpone and __mptwo instead of mptwo.
32875 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
32876 instead of mpone.
32877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32878 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
32879 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
32880 of mpone and __mptwo instead of mptwo.
32881 (__mpranred): Use __mpone instead of mpone.
32882 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
32883 variable.
32884 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32885 (test-xfail-ISO99/math.h/linknamespace): Likewise.
32886 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32887 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32888 (test-xfail-ISO11/math.h/linknamespace): Likewise.
32889 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32890 (test-xfail-XPG3/math.h/linknamespace): Likewise.
32891 (test-xfail-XPG4/math.h/linknamespace): Likewise.
32892 (test-xfail-POSIX/math.h/linknamespace): Likewise.
32893 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32894 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32895 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32896 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32897 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32898 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32899 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32900 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32901 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32902 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32903
32904 2014-11-18 Tom de Vries <tom@codesoucery.com>
32905
32906 * manual/signal.texi (Primitives Interrupted by Signals): In section,
32907 replace BSD Handler xref with BSD Signal Handling.
32908
32909 2014-11-17 Richard Henderson <rth@redhat.com>
32910
32911 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
32912 (_FP_PACK_RAW_2): Remove.
32913 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
32914 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
32915 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
32916 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
32917 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
32918 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
32919 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
32920 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
32921 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
32922 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
32923 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
32924 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
32925 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
32926 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
32927 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
32928 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
32929
32930 2014-11-14 Roland McGrath <roland@hack.frob.com>
32931
32932 * signal/signal.h [__USE_MISC]
32933 (struct sigvec): Remove type.
32934 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32935 (sigvec): Remove declaration.
32936 * sysdeps/posix/sigvec.c: Moved ...
32937 * signal/sigvec.c: ... here, replacing old file.
32938 (struct sigvec): New type, copied from old signal.h definition.
32939 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
32940 (__sigvec): Convert definition to prototype.
32941 (sigvec): Replace weak_alias with compat_symbol.
32942 * signal/Versions (libc: GLIBC_2.21): New version set.
32943 * include/signal.h: Remove __sigvec declaration.
32944 * sysdeps/unix/bsd/sigvec.c: Remove file.
32945 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
32946 * manual/signal.texi (BSD Handler): Remove subsection.
32947 Move siginterrupt up to ...
32948 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
32949 (Blocking in BSD): Fold subsection into its parent.
32950 * NEWS: Mention sigvec removal.
32951
32952 2014-11-14 Joseph Myers <joseph@codesourcery.com>
32953
32954 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
32955 (DLA_FMS): Make definition conditional only on [__FMA4__].
32956 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
32957 definition.
32958
32959 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
32960 Make definition conditional only on [PROF].
32961 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
32962 definition.
32963 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
32964 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
32965
32966 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
32967 !__GNUC__].
32968 * include/signal.h (__sigpause): Move declaration above call to
32969 libc_hidden_proto.
32970 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
32971 variable.
32972 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32973 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32974
32975 2014-11-14 David S. Miller <davem@davemloft.net>
32976
32977 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
32978 Define before including <string/memcpy.c> and <string/mempcpy.c>.
32979
32980 2014-11-14 Joseph Myers <joseph@codesourcery.com>
32981
32982 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
32983 * configure: Regenerated.
32984 * manual/install.texi (Tools for Compilation): Document a
32985 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
32986 compiler verified to work.
32987 * INSTALL: Regenerated.
32988
32989 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
32990 redeclare with asm name.
32991 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
32992 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
32993 including <string.h>.
32994 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32995 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
32996 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32997 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
32998 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32999 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33000 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33001
33002 2014-11-13 Joseph Myers <joseph@codesourcery.com>
33003
33004 * stdlib/strtol.c (__strtol): Use prototype definition.
33005
33006 [BZ #17594]
33007 * stdlib/strtol.c (SYM__): New macro.
33008 (SYM__1): Likewise.
33009 (__strtol): Likewise.
33010 (strtol): Rename to __strtol and define as weak alias of
33011 __strtol. Use libc_hidden_weak.
33012
33013 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33014
33015 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33016 Use numbered labels in inline assembly.
33017
33018 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33019
33020 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33021 Add setjmp LIBC_PROBE.
33022 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33023 Likewise.
33024 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33025 Add longjmp, longjmp_target LIBC_PROBE.
33026 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33027 Likewise.
33028
33029 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33030
33031 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33032 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33033 to get rid of unused variable warning.
33034
33035 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33036
33037 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33038 Check for unwind_backtrace == NULL only in SHARED case.
33039 (__backchain_backtrace): Compile only in SHARED case.
33040 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33041 Likewise.
33042 (__backchain_backtrace): Declare as static.
33043
33044 2014-11-12 Roland McGrath <roland@hack.frob.com>
33045
33046 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33047 (__libc_multiple_threads_ptr): Variable moved ...
33048 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33049
33050 2014-11-12 Joseph Myers <joseph@codesourcery.com>
33051
33052 * conform/GlibcConform.pm: New file.
33053 * conform/conformtest.pl: Use GlibcConform module.
33054 * conform/linknamespace.pl: New file.
33055 * conform/list-header-symbols.pl: Likewise.
33056 * conform/Makefile (linknamespace-symlists-base): New variable.
33057 (linknamespace-symlists-tests): Likewise.
33058 (linknamespace-header-base): Likewise.
33059 (linknamespace-header-tests): Likewise.
33060 (tests-special): Add new tests.
33061 ($(linknamespace-symlists-tests)): New rule.
33062 (linknamespace-libs): New variable.
33063 ($(objpfx)symlist-stdlibs): New rule.
33064 ($(linknamespace-header-tests)): Likewise.
33065 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33066 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33067 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33068 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33069 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33070 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33071 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33072 (test-xfail-ISO/math.h/linknamespace): Likewise.
33073 (test-xfail-ISO/signal.h/linknamespace): Likewise.
33074 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33075 (test-xfail-ISO/time.h/linknamespace): Likewise.
33076 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33077 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33078 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33079 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33080 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33081 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33082 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33083 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33084 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33085 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33086 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33087 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33088 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33089 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33090 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33091 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33092 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33093 (test-xfail-XPG3/search.h/linknamespace): Likewise.
33094 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33095 (test-xfail-XPG3/time.h/linknamespace): Likewise.
33096 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33097 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33098 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33099 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33100 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33101 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33102 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33103 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33104 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33105 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33106 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33107 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33108 (test-xfail-XPG4/search.h/linknamespace): Likewise.
33109 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33110 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33111 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33112 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33113 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33114 (test-xfail-XPG4/time.h/linknamespace): Likewise.
33115 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33116 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33117 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33118 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33119 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33120 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33121 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33122 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33123 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33124 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33125 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33126 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33127 (test-xfail-POSIX/time.h/linknamespace): Likewise.
33128 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33129 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33130 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33131 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33132 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33133 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33134 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33135 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33136 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33137 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33138 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33139 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33140 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33141 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33142 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33143 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33144 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33145 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33146 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33147 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33148 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33149 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33150 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33151 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33152 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33153 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33154 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33155 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33156 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33157 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33158 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33159 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33160 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33161 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33162 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33163 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33164 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33165 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33166 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33167 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33168 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33169 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33170 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33171 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33172 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33173 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33174 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33175 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33176 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33177 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33178 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33179 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33180 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33181 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33182 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33183 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33184 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33185 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33186 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33187 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33188 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33189 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33190 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33191 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33192 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33193 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33194 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33195 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33196 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33197 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33198 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33199 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33200 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33201 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33202 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33203 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33204 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33205 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33206 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33207 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33208 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33209 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33210 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33211 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33212 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33213 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33214 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33215 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33216 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33217 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33218 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33219 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33220 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33221 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33222 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33223 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33224 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33225 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33226
33227 [BZ #17589]
33228 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33229 of fgets_unlocked.
33230
33231 [BZ #17585]
33232 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33233 (memmem): Rename to __memmem and define as weak alias of
33234 __memmem. Use libc_hidden_weak.
33235 (__memmem): Use libc_hidden_def.
33236 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
33237 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33238 memmem.
33239
33240 [BZ #17582]
33241 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33242 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
33243 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33244 and define as weak alias of __fgets_unlocked. Use
33245 libc_hidden_weak.
33246 (__fgets_unlocked): Use libc_hidden_def.
33247 * include/stdio.h (__fgets_unlocked): Declare. Use
33248 libc_hidden_proto.
33249 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33250 __fgets_unlocked instead of fgets_unlocked.
33251 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33252 (GET_NPROCS_CONF_PARSER): Likewise.
33253 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33254 (GET_NPROCS_CONF_PARSER): Likewise.
33255
33256 [BZ #17574]
33257 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33258 weak alias of __wmemset. Use libc_hidden_weak.
33259 (__wmemset): Use libc_hidden_def.
33260 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
33261 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33262 of wmemset.
33263
33264 [BZ #17573]
33265 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33266 with asm name __mempcpy.
33267 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33268
33269 [BZ #17572]
33270 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33271 and define as weak alias of __rawmemchr.
33272 (__rawmemchr): Do not define as strong alias of rawmemchr.
33273
33274 [BZ #17571]
33275 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33276 alias of __qsort_r.
33277 (qsort): Call __qsort_r instead of qsort_r.
33278 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33279 (__qsort_r): Declare. Call libc_hidden_proto.
33280 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33281 instead of qsort_r.
33282 * nscd/gai.c (__qsort_r): Define to qsort_r.
33283 * posix/tst-rfc3484.c (__qsort_r): Likewise.
33284 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33285 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33286
33287 [BZ #17570]
33288 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33289 define as weak alias of __malloc_info.
33290
33291 [BZ #17584]
33292 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33293 as weak alias of __rewinddir. Don't use libc_hidden_def.
33294 (__rewinddir): Use libc_hidden_def.
33295 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33296 as weak alias of __rewinddir. Don't use libc_hidden_def.
33297 (__rewinddir): Use libc_hidden_def.
33298 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33299 weak alias of __rewinddir. Don't use libc_hidden_def.
33300 (__rewinddir): Use libc_hidden_def.
33301 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33302 (__rewinddir): Use libc_hidden_proto.
33303 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33304 rewinddir.
33305 (__getcwd): Use __rewinddir instead of rewinddir.
33306
33307 [BZ #17583]
33308 * libio/fileno.c (fileno): Rename to __fileno and define as weak
33309 alias of __fileno. Use libc_hidden_weak.
33310 (__fileno): Use libc_hidden_def.
33311 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33312 * libio/ftello.c (ftello): Rename to __ftello and define as weak
33313 alias of __ftello.
33314 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33315 __ftello.
33316 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33317 (__fread_unlocked): Define as strong alias of _IO_fread. Use
33318 libc_hidden_def.
33319 (fread_unlocked): Don't use libc_hidden_ver.
33320 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33321 and define as weak alias of __fread_unlocked. Don't use
33322 libc_hidden_def.
33323 (__fread_unlocked): Use libc_hidden_def.
33324 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
33325 (ftello): Don't use libc_hidden_proto.
33326 (__ftello): Declare. Use libc_hidden_proto.
33327 (fread_unlocked): Don't use libc_hidden_proto.
33328 (__fread_unlocked): Declare. Use libc_hidden_proto.
33329 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33330 and __ftello instead of fileno, fread_unlocked and ftello.
33331
33332 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33333
33334 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33335 GOT12.
33336 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33337 Likewise.
33338 (_dl_start_user): Likewise.
33339 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33340
33341 2014-11-12 Carlos O'Donell <carlos@redhat.com>
33342 Siddhesh Poyarekar <siddhesh@redhat.com>
33343
33344 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33345 Move argv and envp down instead of moving argc up.
33346 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33347
33348 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
33349
33350 [BZ #17506]
33351 * test-skeleton.c (main): Return successful if one of
33352 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33353 * string/tst-strcoll-overflow.c: Define expected status.
33354
33355 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
33356
33357 [BZ #17475]
33358 * locale/iso-639.def: Define Bhili and Tulu language codes.
33359
33360 2014-11-11 Alan Hayward <alan.hayward@arm.com>
33361
33362 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33363
33364 2014-11-10 Renlin Li <Renlin.Li@arm.com>
33365
33366 [BZ #17555]
33367 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33368
33369 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
33370
33371 * configure.ac: Updated check of minimal required version to
33372 2.22.
33373 * manual/install.texi (Tools for Compilation): Updated version
33374 number.
33375 * configure: Regenerated.
33376 * INSTALL: Likewise.
33377
33378 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
33379
33380 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33381 __tls_get_addr.
33382
33383 2014-11-07 Joseph Myers <joseph@codesourcery.com>
33384
33385 * include/sys/wait.h (__libc_waitpid): Remove declaration.
33386 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33387 (__waitpid): Don't define as alias. Use libc_hidden_def not
33388 libc_hidden_weak.
33389 (waitpid): Define as alias of __waitpid.
33390 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33391 __waitpid.
33392 (__waitpid): Don't define as alias. Use libc_hidden_def not
33393 libc_hidden_weak.
33394 (waitpid): Define as alias of __waitpid.
33395 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33396 __libc_waitpid alias.
33397 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33398 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33399 Likewise.
33400 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33401 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33402 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33403 alias.
33404 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33405 __waitpid.
33406 (__waitpid): Don't define as alias. Use libc_hidden_def not
33407 libc_hidden_weak.
33408 (waitpid): Define as alias of __waitpid.
33409
33410 2014-11-06 Carlos O'Donell <carlos@redhat.com>
33411
33412 * manual/llio.texi: Add comment that write safety has been
33413 fixed in Linux.
33414
33415 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33416 (localplt-build-dso): Add elf/ld.so.
33417 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33418 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33419 and free for ld.so.
33420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33421 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33423 Likewise.
33424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33425 Likewise.
33426 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33427 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33428 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33429 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33430 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33431 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33432 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33433 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33434 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33435 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33436 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33437
33438 2014-11-05 Joseph Myers <joseph@codesourcery.com>
33439
33440 [BZ #14132]
33441 * include/libc-symbols.h (INTUSE): Remove macro.
33442 (INTDEF): Likewise.
33443 (INTVARDEF): Likewise.
33444 (_INTVARDEF): Likewise.
33445 (INTDEF2): Likewise.
33446 (INTVARDEF2): Likewise.
33447 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
33448 rtld_hidden_def instead of INTVARDEF.
33449 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
33450 (_dl_starting_up_internal): Remove declaration.
33451 (_dl_starting_up): Use rtld_hidden_proto.
33452 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
33453 declaration.
33454 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
33455 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
33456 _dl_starting_up.
33457 * elf/dl-writev.h (_dl_writev): Likewise.
33458 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
33459 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
33460 _dl_starting_up_internal.
33461
33462 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33463
33464 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33465 test-skeleton.c.
33466
33467 2014-11-05 Will Newton <will.newton@linaro.org>
33468
33469 * benchtests/Makefile: (bench-malloc): Add malloc thread
33470 scalability benchmark.
33471 * benchtests/bench-malloc-threads.c: New file.
33472
33473 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
33474
33475 * sysdeps/aarch64/strchrnul.S: New file.
33476
33477 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33478
33479 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
33480 definition.
33481 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33482 Likewise.
33483 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33484 Likewise.
33485 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33486 Likewise.
33487 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33488 Likewise.
33489 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33490 Likewise.
33491
33492 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
33493
33494 * catgets/test-gencat.c: Use test-skeleton.c.
33495 * catgets/tst-catgets.c: Likewise.
33496 * csu/tst-empty.c: Likewise.
33497 * elf/tst-audit2.c: Likewise.
33498 * elf/tst-global1.c: Likewise.
33499 * elf/tst-pathopt.c: Likewise.
33500 * elf/tst-piemod1.c: Likewise.
33501 * elf/tst-tls10.c: Likewise.
33502 * elf/tst-tls11.c: Likewise.
33503 * elf/tst-tls12.c: Likewise.
33504 * gnulib/tst-gcc.c: Likewise.
33505 * iconvdata/tst-e2big.c: Likewise.
33506 * iconvdata/tst-loading.c: Likewise.
33507 * iconv/tst-iconv1.c: Likewise.
33508 * iconv/tst-iconv2.c: Likewise.
33509 * inet/test-inet6_opt.c: Likewise.
33510 * inet/tst-gethnm.c: Likewise.
33511 * inet/tst-network.c: Likewise.
33512 * inet/tst-ntoa.c: Likewise.
33513 * intl/tst-codeset.c: Likewise.
33514 * intl/tst-gettext2.c: Likewise.
33515 * intl/tst-gettext3.c: Likewise.
33516 * intl/tst-ngettext.c: Likewise.
33517 * intl/tst-translit.c: Likewise.
33518 * io/test-stat.c: Likewise.
33519 * libio/test-fmemopen.c: Likewise.
33520 * libio/tst-freopen.c: Likewise.
33521 * libio/tst-sscanf.c: Likewise.
33522 * libio/tst-ungetwc1.c: Likewise.
33523 * libio/tst-ungetwc2.c: Likewise.
33524 * libio/tst-widetext.c: Likewise.
33525 * localedata/tst-ctype.c: Likewise.
33526 * localedata/tst-digits.c: Likewise.
33527 * localedata/tst-leaks.c: Likewise.
33528 * localedata/tst-mbswcs1.c: Likewise.
33529 * localedata/tst-mbswcs2.c: Likewise.
33530 * localedata/tst-mbswcs3.c: Likewise.
33531 * localedata/tst-mbswcs4.c: Likewise.
33532 * localedata/tst-mbswcs5.c: Likewise.
33533 * localedata/tst-setlocale.c: Likewise.
33534 * localedata/tst-trans.c: Likewise.
33535 * localedata/tst-wctype.c: Likewise.
33536 * localedata/tst-xlocale1.c: Likewise.
33537 * login/tst-grantpt.c: Likewise.
33538 * malloc/tst-calloc.c: Likewise.
33539 * malloc/tst-malloc.c: Likewise.
33540 * malloc/tst-mallocstate.c: Likewise.
33541 * malloc/tst-mcheck.c: Likewise.
33542 * malloc/tst-mtrace.c: Likewise.
33543 * malloc/tst-obstack.c: Likewise.
33544 * math/atest-exp2.c: Likewise.
33545 * math/atest-exp.c: Likewise.
33546 * math/atest-sincos.c: Likewise.
33547 * math/test-matherr.c: Likewise.
33548 * math/test-misc.c: Likewise.
33549 * math/test-powl.c: Likewise.
33550 * math/tst-definitions.c: Likewise.
33551 * misc/tst-dirname.c: Likewise.
33552 * misc/tst-efgcvt.c: Likewise.
33553 * misc/tst-fdset.c: Likewise.
33554 * misc/tst-hsearch.c: Likewise.
33555 * misc/tst-mntent2.c: Likewise.
33556 * nptl/tst-sem7.c: Likewise.
33557 * nptl/tst-sem8.c: Likewise.
33558 * nptl/tst-sem9.c: Likewise.
33559 * nss/test-netdb.c: Likewise.
33560 * posix/tst-fnmatch.c: Likewise.
33561 * posix/tst-getlogin.c: Likewise.
33562 * posix/tst-gnuglob.c: Likewise.
33563 * posix/tst-mmap.c: Likewise.
33564 * pwd/tst-getpw.c: Likewise.
33565 * resolv/tst-inet_ntop.c: Likewise.
33566 * rt/tst-timer.c: Likewise.
33567 * stdio-common/test-fseek.c: Likewise.
33568 * stdio-common/test-popen.c: Likewise.
33569 * stdio-common/test-vfprintf.c: Likewise.
33570 * stdio-common/tst-cookie.c: Likewise.
33571 * stdio-common/tst-fileno.c: Likewise.
33572 * stdio-common/tst-gets.c: Likewise.
33573 * stdio-common/tst-obprintf.c: Likewise.
33574 * stdio-common/tst-perror.c: Likewise.
33575 * stdio-common/tst-sprintf2.c: Likewise.
33576 * stdio-common/tst-sprintf3.c: Likewise.
33577 * stdio-common/tst-sprintf.c: Likewise.
33578 * stdio-common/tst-swprintf.c: Likewise.
33579 * stdio-common/tst-tmpnam.c: Likewise.
33580 * stdio-common/tst-unbputc.c: Likewise.
33581 * stdio-common/tst-wc-printf.c: Likewise.
33582 * stdlib/tst-environ.c: Likewise.
33583 * stdlib/tst-fmtmsg.c: Likewise.
33584 * stdlib/tst-limits.c: Likewise.
33585 * stdlib/tst-rand48-2.c: Likewise.
33586 * stdlib/tst-rand48.c: Likewise.
33587 * stdlib/tst-random2.c: Likewise.
33588 * stdlib/tst-random.c: Likewise.
33589 * stdlib/tst-strtol.c: Likewise.
33590 * stdlib/tst-strtoll.c: Likewise.
33591 * stdlib/tst-tls-atexit.c: Likewise.
33592 * stdlib/tst-xpg-basename.c: Likewise.
33593 * string/test-ffs.c: Likewise.
33594 * string/tst-bswap.c: Likewise.
33595 * string/tst-inlcall.c: Likewise.
33596 * string/tst-strtok.c: Likewise.
33597 * string/tst-strxfrm.c: Likewise.
33598 * sysdeps/x86_64/tst-audit10.c: Likewise.
33599 * sysdeps/x86_64/tst-audit3.c: Likewise.
33600 * sysdeps/x86_64/tst-audit4.c: Likewise.
33601 * sysdeps/x86_64/tst-audit5.c: Likewise.
33602 * time/tst-ftime_l.c: Likewise.
33603 * time/tst-getdate.c: Likewise.
33604 * time/tst-mktime3.c: Likewise.
33605 * time/tst-mktime.c: Likewise.
33606 * time/tst-posixtz.c: Likewise.
33607 * time/tst-strptime2.c: Likewise.
33608 * time/tst-strptime3.c: Likewise.
33609 * wcsmbs/tst-btowc.c: Likewise.
33610 * wcsmbs/tst-mbrtowc.c: Likewise.
33611 * wcsmbs/tst-mbsrtowcs.c: Likewise.
33612 * wcsmbs/tst-wchar-h.c: Likewise.
33613 * wcsmbs/tst-wcpncpy.c: Likewise.
33614 * wcsmbs/tst-wcrtomb.c: Likewise.
33615 * wcsmbs/tst-wcsnlen.c: Likewise.
33616 * wcsmbs/tst-wcstof.c: Likewise.
33617
33618 2014-11-04 Joseph Myers <joseph@codesourcery.com>
33619
33620 [BZ #14132]
33621 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
33622 INTDEF.
33623 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
33624 declaration.
33625 (_dl_mcount): Use rtld_hidden_proto.
33626 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
33627 _dl_mcount.
33628 * elf/rtld.c (_rtld_global_ro): Likewise.
33629
33630 [BZ #14132]
33631 * elf/dl-init.c (_dl_init): Don't use INTDEF.
33632 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
33633 of _dl_init_internal.
33634 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
33635 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
33636 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
33637 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
33638 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
33639 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
33640 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
33641 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
33642 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
33643 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
33644 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
33645 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
33646 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33647 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33648 * sysdeps/tile/dl-start.S (_start): Likewise.
33649 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
33650 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
33651
33652 [BZ #14132]
33653 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
33654 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
33655 (rtld_progname): Make macro definition unconditional.
33656 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
33657 INTDEF.
33658 (dlmopen_doit): Do not use INTUSE with _dl_argv.
33659 (dl_main): Likewise.
33660 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33661 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
33662 instead of _dl_argv_internal.
33663 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33664 __GI__dl_argv instead of INTUSE(_dl_argv).
33665 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
33666 __GI__dl_argv instead of _dl_argv_internal.
33667
33668 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
33669 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
33670 macro.
33671 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
33672 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
33673 New macro.
33674 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
33675 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
33676 macro.
33677 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
33678 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
33679
33680 2014-11-04 Andreas Schwab <schwab@suse.de>
33681
33682 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
33683
33684 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33685
33686 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
33687 mtvsrd instruction in binary form.
33688
33689 2014-11-03 Andreas Schwab <schwab@suse.de>
33690
33691 [BZ #17522]
33692 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
33693 for less than MB_LEN_MAX use a local buffer of that size.
33694 * libio/tst-fputws.c: New file.
33695 * libio/Makefile (tests): Add tst-fputws.
33696
33697 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
33698
33699 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
33700 the size of the fpu_fr.fpu_dregs[] array.
33701
33702 2014-11-01 Joseph Myers <joseph@codesourcery.com>
33703
33704 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
33705 (__nanosleep): Do not define as alias.
33706 (nanosleep): Define as alias of __nanosleep.
33707 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
33708 __libc_nanosleep name.
33709
33710 2014-10-31 Joseph Myers <joseph@codesourcery.com>
33711
33712 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
33713 install.texi in comment.
33714
33715 2014-10-31 Torvald Riegel <triegel@redhat.com>
33716
33717 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
33718 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
33719 ... add here and use lwsync or sync ...
33720 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
33721 ... and add here using lwsync.
33722
33723 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
33724
33725 * elf/dl-machine-reject-phdr.h: New file.
33726 * elf/dl-load.c: #include that.
33727 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
33728 if that returned true.
33729
33730 2014-10-31 Roland McGrath <roland@hack.frob.com>
33731
33732 [BZ #17496]
33733 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
33734 gen-as-const-headers chunk. Add a big scare comment after the last
33735 safe place to touch before-compile.
33736
33737 2014-10-31 Joseph Myers <joseph@codesourcery.com>
33738
33739 * manual/install.texi (Tools for Compilation): Update autoconf
33740 version requirements.
33741 * INSTALL: Regenerated.
33742
33743 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
33744 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
33745 (__libc_pselect): Likewise.
33746
33747 [BZ #14138]
33748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
33749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33752
33753 2014-10-31 Torvald Riegel <triegel@redhat.com>
33754
33755 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
33756 correct barrier instruction.
33757 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
33758 Likewise.
33759 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
33760 Likewise.
33761
33762 2014-10-30 Roland McGrath <roland@hack.frob.com>
33763
33764 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
33765 after defining inlines. Instead, just use parens to defeat macro
33766 expansion of __isctype in its declaration.
33767
33768 2014-10-30 Joseph Myers <joseph@codesourcery.com>
33769
33770 * include/sys/uio.h (__libc_readv): Remove declaration.
33771 (__libc_writev): Likewise.
33772 * misc/readv.c (__libc_readv): Rename to __readv.
33773 (__readv): Do not define as alias.
33774 (readv): Define as alias of __readv.
33775 * misc/writev.c (__libc_writev): Rename to __writev.
33776 (__writev): Do not define as alias.
33777 (writev): Define as alias of __writev.
33778 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
33779 (__readv): Do not define as alias.
33780 (readv): Define unconditionally as alias of __readv.
33781 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
33782 (__writev): Do not define as alias.
33783 (writev): Define unconditionally as alias of __writev.
33784 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
33785 name.
33786 (writev): Do not define __libc_writev name.
33787
33788 2014-10-30 Roland McGrath <roland@hack.frob.com>
33789
33790 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
33791 (convert_charseq): New function, broken out of ...
33792 (use_from_charmap): ... here. Call it.
33793 (use_to_charmap): Use convert_charseq and free instead of duplicating
33794 its code with a variable-length stack struct.
33795
33796 2014-10-30 Joseph Myers <joseph@codesourcery.com>
33797
33798 * include/fcntl.h (__libc_creat): Remove declaration.
33799 * io/creat.c (__libc_creat): Rename to creat.
33800 (creat): Do not define as alias.
33801 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
33802 of creat instead of __libc_creat.
33803 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
33804 to creat.
33805 (creat): Do not define as alias.
33806 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
33807 __libc_creat.
33808 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
33809 __libc_creat name.
33810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
33811 Likewise.
33812
33813 2014-10-29 Carlos O'Donell <carlos@redhat.com>
33814
33815 * manual/llio.texi: Add comments discussing why write() may be
33816 considered MT-unsafe on Linux.
33817
33818 2014-10-28 Carlos O'Donell <carlos@redhat.com>
33819
33820 * dl-load.c (local_strdup): Remove.
33821 (expand_dynamic_string_token): Use __strdup.
33822 (decompose_rpath): Likewise.
33823 (_dl_map_object): Likewise.
33824
33825 2014-10-28 Joseph Myers <joseph@codesourcery.com>
33826
33827 [BZ #14132]
33828 * sysdeps/generic/unwind-dw2-fde.c
33829 (__register_frame_info_bases_internal): Do not declare.
33830 (__register_frame_info_table_bases_internal): Likewise.
33831 (__deregister_frame_info_bases_internal): Likewise.
33832 (__register_frame_info_bases): Declare and use hidden_proto before
33833 definition. Use hidden_def instead of INTDEF.
33834 (__register_frame_info_table_bases): Likewise.
33835 (__deregister_frame_info_bases): Likewise.
33836 (__register_frame_info): Do not use INTUSE.
33837 (__register_frame): Likewise.
33838 (__register_frame_info_table): Likewise.
33839 (__register_frame_table): Likewise.
33840 (__deregister_frame_info): Likewise.
33841 (__deregister_frame): Likewise.
33842
33843 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
33844
33845 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33846 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
33847 not undefine.
33848 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
33849 Likewise.
33850 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
33851 Likewise.
33852
33853 2014-10-27 Joseph Myers <joseph@codesourcery.com>
33854
33855 [BZ #14138]
33856 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
33857 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
33858 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
33859 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
33860 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
33861 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
33862 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
33863 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
33864 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
33865 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
33866 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
33867 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
33868 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
33869 syscall.
33870 (setfsuid): Likewise.
33871 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
33872 (setfsuid): Likewise.
33873 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
33874 (setfsuid): Likewise.
33875 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
33876 Likewise.
33877 (setfsuid): Likewise.
33878 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
33879 (setfsuid): Likewise.
33880 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
33881 Likewise.
33882 (setfsuid): Likewise.
33883
33884 2014-10-27 Andreas Schwab <schwab@suse.de>
33885
33886 [BZ #17501]
33887 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
33888 check for Slow_SSE4_2 feature bit.
33889 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
33890 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33891 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
33892 Likewise. Fix check for Fast_Unaligned_Load feature bit.
33893
33894 2014-10-24 Roland McGrath <roland@hack.frob.com>
33895
33896 * configure.ac: Validate compiler version with a empirical test of
33897 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
33898 $CC -v output.
33899 * configure: Regenerated.
33900
33901 * inet/htons.c (htons): Prototypify.
33902 * inet/htonl.c (htonl): Likewise.
33903
33904 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33905
33906 * string/strncat.c (strncat): Improve performance by using strlen.
33907
33908 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33909
33910 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
33911
33912 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33913
33914 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
33915 Call libc_fetestexcept_aarch64.
33916
33917 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33918
33919 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
33920 Call libc_feholdexcept_aarch64.
33921
33922 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33923
33924 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
33925 Call get_rounding_mode.
33926
33927 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33928
33929 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33930 Simplify logic.
33931
33932 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33933
33934 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
33935 Simplify logic.
33936
33937 2014-10-24 Joseph Myers <joseph@codesourcery.com>
33938
33939 [BZ #14138]
33940 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
33941 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
33942 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
33943 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
33944 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
33945 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
33946 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
33947 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
33948 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
33949 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
33950 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33951 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
33952 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
33953 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33954 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
33955 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
33956 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
33957 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
33958 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33959 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
33960 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
33961 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
33962 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
33963 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
33964 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
33965 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
33966 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
33967 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
33968 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
33969 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
33970 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
33971 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
33972 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
33973 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
33974 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
33975 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
33976 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
33977 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
33978 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
33979 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
33980 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
33981 syscall.
33982 (geteuid): Likewise.
33983 (getgid): Likewise.
33984 (getuid): Likewise.
33985 (getresgid): Likewise.
33986 (getresuid): Likewise.
33987 (getgroups): Likewise.
33988 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
33989 (geteuid): Likewise.
33990 (getgid): Likewise.
33991 (getuid): Likewise.
33992 (getresgid): Likewise.
33993 (getresuid): Likewise.
33994 (getgroups): Likewise.
33995 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
33996 (geteuid): Likewise.
33997 (getgid): Likewise.
33998 (getuid): Likewise.
33999 (getresgid): Likewise.
34000 (getresuid): Likewise.
34001 (getgroups): Likewise.
34002 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34003 Likewise.
34004 (geteuid): Likewise.
34005 (getgid): Likewise.
34006 (getuid): Likewise.
34007 (getresgid): Likewise.
34008 (getresuid): Likewise.
34009 (getgroups): Likewise.
34010 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34011 (geteuid): Likewise.
34012 (getgid): Likewise.
34013 (getuid): Likewise.
34014 (getresgid): Likewise.
34015 (getresuid): Likewise.
34016 (getgroups): Likewise.
34017 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34018 Likewise.
34019 (geteuid): Likewise.
34020 (getgid): Likewise.
34021 (getuid): Likewise.
34022 (getgroups): Likewise.
34023
34024 [BZ #14138]
34025 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34026 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34027 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34028 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34029 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34030 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34031 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34032 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34033 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34034 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34035 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34036 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34037 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34038 __chown.
34039 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34040 (lchown): Likewise.
34041 (fchown): Likewise.
34042 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34043 Likewise.
34044 (lchown): Likewise.
34045 (fchown): Likewise.
34046 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34047 (lchown): Likewise.
34048 (fchown): Likewise.
34049 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34050 Likewise.
34051 (lchown): Likewise.
34052 (fchown): Likewise.
34053
34054 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34055
34056 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34057 Simplify logic.
34058
34059 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34060
34061 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34062 Cleanup logic.
34063
34064 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34065
34066 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34067 Remove unused include.
34068
34069 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34070
34071 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34072 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34073 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34074 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34075
34076 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
34077 Helge Deller <deller@gmx.de>
34078
34079 [BZ #17508]
34080 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34081 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34082 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34083
34084 2014-10-23 Joseph Myers <joseph@codesourcery.com>
34085
34086 [BZ #14132]
34087 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34088 Remove macro definition.
34089 (__ashrdi3_v_glibc20): Likewise.
34090 (__lshrdi3_v_glibc20): Likewise.
34091 (__cmpdi2_v_glibc20): Likewise.
34092 (__ucmpdi2_v_glibc20): Likewise.
34093 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34094 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34095 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34096 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34097 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34098 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34099
34100 2014-10-22 Roland McGrath <roland@hack.frob.com>
34101
34102 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34103 old GNU extension [0] syntax.
34104 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34105 alloca rather than an array member with variable length.
34106 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34107 * nscd/nscd.c (invalidate_db): New function, broken out of ...
34108 (parse_opt): ... here. Likewise use alloca there.
34109 Validate the -i argument before checking for rootness.
34110 (send_shutdown): New function, broken out of ...
34111 (parse_opt): ... here.
34112
34113 2014-10-22 Roland McGrath <roland@hack.frob.com>
34114
34115 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34116 macro to get at the _rt_local_ro field.
34117 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34118 ([PIC] case) or _dl_hwcap ([!PIC] case).
34119 * sysdeps/arm/setjmp.S: Likewise.
34120
34121 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34122 * sysdeps/arm/configure.ac: New check to define it.
34123 * sysdeps/arm/configure: Regenerated.
34124 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34125 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34126 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34127 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34128 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34129 Use move/movt pair instead of a load.
34130 (LDST_GLOBAL): Macro removed.
34131 (LDR_GLOBAL): New macro replaces it.
34132 (LDR_HIDDEN): New macro.
34133 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34134 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34135
34136 * setjmp/tst-setjmp-static.c: New file.
34137 * setjmp/Makefile (tests): Add it.
34138 (tests-static): New variable.
34139
34140 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
34141
34142 [BZ #17485]
34143 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34144
34145 2014-10-21 Joseph Myers <joseph@codesourcery.com>
34146
34147 [BZ #14132]
34148 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34149
34150 2014-10-21 Roland McGrath <roland@hack.frob.com>
34151
34152 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34153
34154 2014-10-20 Roland McGrath <roland@hack.frob.com>
34155
34156 * io/fts.c (dirent_not_directory): New function.
34157 (fts_build): Call it.
34158
34159 2014-10-20 Roland McGrath <roland@hack.frob.com>
34160
34161 * nptl/version.c (__nptl_main): Use normal __write rather than
34162 INTERNAL_SYSCALL.
34163 (banner): Update copyright years.
34164
34165 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34166 gettimeofday.
34167 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34168 * nptl/pthread_cond_timedwait.c: Likewise.
34169 * nptl/pthread_mutex_timedlock.c: Likewise.
34170 * nptl/sem_timedwait.c: Likewise.
34171
34172 * sysdeps/nptl/bits/libc-lock.h
34173 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34174 (__libc_lock_init_recursive): Return void, not 0.
34175 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34176 (__libc_rwlock_init): Likewise.
34177 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34178
34179 2014-10-20 Torvald Riegel <triegel@redhat.com>
34180
34181 [BZ #15215]
34182 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34183 (__pthread_once_slow): ... here.
34184 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34185 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34186
34187 2014-10-20 Torvald Riegel <triegel@redhat.com>
34188
34189 [BZ #15215]
34190 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34191 __PTHREAD_ONCE_FORK_GEN_INCR): New.
34192 * sysdeps/nptl/fork.c (__libc_fork): Use them.
34193 * nptl/pthread_once.c (__pthread_once): Likewise.
34194 Update comments.
34195
34196 2014-10-20 Joseph Myers <joseph@codesourcery.com>
34197
34198 [BZ #14138]
34199 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34200 name.
34201 (writev): Use __libc_writev as strong name.
34202 * sysdeps/unix/sysv/linux/readv.c: Remove file.
34203 * sysdeps/unix/sysv/linux/writev.c: Likewise.
34204
34205 2014-10-17 Roland McGrath <roland@hack.frob.com>
34206
34207 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34208
34209 * sysdeps/i386/nptl/tls.h
34210 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34211 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34212 New macros.
34213 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34214 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34215 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34216 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34217 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34218 Call CHECK_THREAD_SYSINFO instead of doing an assert.
34219
34220 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34221 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34222 on [__NR_futex].
34223 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34224 broken out of ...
34225 (__pthread_mutex_init): ... here. Call it.
34226 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34227 Conditionalize PI cases on [__NR_futex].
34228 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34229 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34230 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34231
34232 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34233 conditional on [SIGSETXID].
34234 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34235 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34236 is defined. Likewise for SIGSETXID.
34237 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34238 Conditionalize definitions on [SIGSETXID].
34239 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34240 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34241 unblocking on [SIGCANCEL].
34242
34243 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34244 [__NR_set_robust_list].
34245
34246 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34247
34248 * string/strcoll_l.c (get_next_seq): Fix up formatting.
34249 (do_compare): Likewise.
34250
34251 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
34252
34253 [BZ #15884]
34254 * string/strcoll_l.c: Don't include stdio.h.
34255 (coll_seq): Remove members idxarr and rulearr.
34256 (get_next_seq_cached): Remove function.
34257 (get_next_seq): Likewise.
34258 (get_next_seq_nocache): Rename to get_next_seq.
34259 (do_compare): Remove function.
34260 (do_compare_nocache): Rename to do_compare.
34261 (STRCOLL): Remove weight and rules cache.
34262
34263 2014-10-16 Roland McGrath <roland@hack.frob.com>
34264
34265 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34266 * sysdeps/arm/sfp-machine.h: ... to here.
34267 * sysdeps/arm/Implies: Remove arm/soft-fp.
34268
34269 2014-10-14 Joseph Myers <joseph@codesourcery.com>
34270
34271 * conform/data/sys/utsname.h-data (*_t): Allow.
34272 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34273 [POSIX] (WEXITED): Do not expect constant.
34274 [POSIX] (WSTOPPED): Likewise.
34275 [POSIX] (WNOHANG): Likewise.
34276 [POSIX] (WNOWAIT): Likewise.
34277 [POSIX] (siginfo_t): Do not expect type or elements.
34278 [POSIX] (pid_t): Do not expect type.
34279 [POSIX] (signal.h): Do not allow header.
34280 [POSIX] (sys/resource.h): Likewise.
34281 [POSIX] (si_*): Do not allow pattern.
34282 [POSIX] (W*): Likewise.
34283 [POSIX] (P_*): Likewise.
34284 [POSIX] (BUS_*): Likewise.
34285 [POSIX] (CLD_*): Likewise.
34286 [POSIX] (FPE_*): Likewise.
34287 [POSIX] (ILL_*): Likewise.
34288 [POSIX] (POLL_*): Likewise.
34289 [POSIX] (SEGV_*): Likewise.
34290 [POSIX] (SI_*): Likewise.
34291 [POSIX] (TRAP_*): Likewise.
34292 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34293 variable.
34294
34295 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
34296
34297 [BZ #12926]
34298 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34299 infinite loop when __recvmsg returns 0.
34300
34301 2014-10-10 Joseph Myers <joseph@codesourcery.com>
34302
34303 * CANCEL-FCT-WAIVE: Remove file.
34304 * CANCEL-FILE-WAIVE: Likewise.
34305
34306 [BZ #14132]
34307 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34308 instead of INTVARDEF.
34309 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34310 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34311 rtld_hidden_data_def instead of INTVARDEF.
34312 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34313 * elf/dl-deps.c (expand_dst): Likewise.
34314 * elf/dl-load.c (_dl_dst_count): Likewise.
34315 (_dl_dst_substitute): Likewise.
34316 (decompose_rpath): Likewise.
34317 (_dl_init_paths): Likewise.
34318 (open_path): Likewise.
34319 (_dl_map_object): Likewise.
34320 * elf/rtld.c (dl_main): Likewise.
34321 (process_dl_audit): Likewise.
34322 (process_envvars): Likewise.
34323 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34324 Remove declaration.
34325 (__libc_enable_secure): Use rtld_hidden_proto.
34326
34327 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34328
34329 * elf/dl-load.c
34330 (add_path): New function broken out of _dl_rtld_di_serinfo.
34331 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
34332
34333 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34334
34335 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34336 parentheses around macro arguments.
34337 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34338 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34339 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34340 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34341 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34342 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34343 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34344 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34345 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34346 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34347 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34348 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34349 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34350 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34351 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34352 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34353 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34354 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34355 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34356 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34357 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34358 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34359 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34360 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34361 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34362 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34363 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34364 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34365 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34366 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34367 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34368 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34369 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34370 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34371 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34372 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34373 Likewise.
34374 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34375 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34376 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34377 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34378 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34379 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34380 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34381 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34382 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34383 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34384 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34385 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34386 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34387 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34388 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34389 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34390 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34391 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34392 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34393 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34394 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34395 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34396 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34397 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34398 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34399 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34400 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34401 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34402 (_FP_FRAC_SRS_1): Likewise.
34403 (_FP_FRAC_CLZ_1): Likewise.
34404 (_FP_MUL_MEAT_1_imm): Likewise.
34405 (_FP_MUL_MEAT_1_wide): Likewise.
34406 (_FP_MUL_MEAT_1_hard): Likewise.
34407 (_FP_SQRT_MEAT_1): Likewise.
34408 (_FP_FRAC_ASSEMBLE_1): Likewise.
34409 (_FP_FRAC_DISASSEMBLE_1): Likewise.
34410 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34411 (__FP_CLZ_2): Likewise.
34412 (_FP_MUL_MEAT_2_wide): Likewise.
34413 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34414 (_FP_MUL_MEAT_2_gmp): Likewise.
34415 (_FP_MUL_MEAT_2_120_240_double): Likewise.
34416 (_FP_SQRT_MEAT_2): Likewise.
34417 (_FP_FRAC_ASSEMBLE_2): Likewise.
34418 (_FP_FRAC_DISASSEMBLE_2): Likewise.
34419 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34420 (_FP_FRAC_CLZ_4): Likewise.
34421 (_FP_MUL_MEAT_4_wide): Likewise.
34422 (_FP_MUL_MEAT_4_gmp): Likewise.
34423 (_FP_SQRT_MEAT_4): Likewise.
34424 (_FP_FRAC_ASSEMBLE_4): Likewise.
34425 (_FP_FRAC_DISASSEMBLE_4): Likewise.
34426 * soft-fp/op-common.h (_FP_CMP): Likewise.
34427 (_FP_CMP_EQ): Likewise.
34428 (_FP_CMP_UNORD): Likewise.
34429 (_FP_TO_INT): Likewise.
34430 (_FP_FROM_INT): Likewise.
34431 [!__FP_CLZ] (__FP_CLZ): Likewise.
34432 (_FP_DIV_HELP_imm): Likewise.
34433 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34434 Likewise.
34435 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34436 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34437 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34438 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34439 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34440 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34441 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34442 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
34443 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
34444 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
34445 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
34446 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
34447 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
34448 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
34449 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
34450 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
34451 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
34452 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
34453 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
34454 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
34455 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
34456 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
34457 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
34458 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34459 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34460 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
34461 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
34462 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
34463 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
34464 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
34465 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
34466 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
34467 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
34468 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
34469 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
34470 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
34471 (FP_UNPACK_RAW_SP): Likewise.
34472 (FP_PACK_RAW_S): Likewise.
34473 (FP_PACK_RAW_SP): Likewise.
34474 (FP_UNPACK_S): Likewise.
34475 (FP_UNPACK_SP): Likewise.
34476 (FP_UNPACK_SEMIRAW_S): Likewise.
34477 (FP_UNPACK_SEMIRAW_SP): Likewise.
34478 (FP_PACK_S): Likewise.
34479 (FP_PACK_SP): Likewise.
34480 (FP_PACK_SEMIRAW_S): Likewise.
34481 (FP_PACK_SEMIRAW_SP): Likewise.
34482 (_FP_SQRT_MEAT_S): Likewise.
34483 (FP_CMP_S): Likewise.
34484 (FP_CMP_EQ_S): Likewise.
34485 (FP_CMP_UNORD_S): Likewise.
34486 (FP_TO_INT_S): Likewise.
34487 (FP_FROM_INT_S): Likewise.
34488
34489 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
34490
34491 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
34492 (FP_EX_INVALID_IMZ): Likewise.
34493 (FP_EX_INVALID_IMZ_FMA): Likewise.
34494 (FP_EX_INVALID_ISI): Likewise.
34495 (FP_EX_INVALID_ZDZ): Likewise.
34496 (FP_EX_INVALID_IDI): Likewise.
34497 (FP_EX_INVALID_SQRT): Likewise.
34498 (FP_EX_INVALID_CVI): Likewise.
34499 (FP_EX_INVALID_VC): Likewise.
34500 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
34501 "invalid" exceptions.
34502 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
34503 (_FP_ADD_INTERNAL): Likewise.
34504 (_FP_MUL): Likewise.
34505 (_FP_FMA): Likewise.
34506 (_FP_DIV): Likewise.
34507 (_FP_CMP_CHECK_NAN): Likewise.
34508 (_FP_SQRT): Likewise.
34509 (_FP_TO_INT): Likewise.
34510 (FP_EXTEND): Likewise.
34511
34512 2014-10-09 Allan McRae <allan@archlinux.org>
34513
34514 * po/fr.po: Update French translation from translation project.
34515
34516 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34517
34518 [BZ #14132]
34519 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
34520 of INTDEF.
34521 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
34522 (__cxa_atexit): Use libc_hidden_proto.
34523 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
34524
34525 [BZ #14132]
34526 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
34527 declaration.
34528 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
34529 [!_ISOMAC] (__iswspace_l_internal): Likewise.
34530 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
34531 [!_ISOMAC] (__iswctype_internal): Likewise.
34532 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
34533 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
34534 alias.
34535 (fcntl): Remove __fcntl_internal alias.
34536 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
34537 __connect_internal alias.
34538 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
34539 Likewise.
34540
34541 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
34542 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
34543 FP_DENORM_ZERO.
34544 (_FP_CHECK_FLUSH_ZERO): New macro.
34545 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
34546 (_FP_CMP): Likewise.
34547 (_FP_CMP_EQ): Likewise.
34548 (_FP_TO_INT): Do not set inexact for subnormal arguments if
34549 FP_DENORM_ZERO.
34550 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
34551 (FP_TRUNC): Likewise.
34552
34553 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
34554 treated as invalid conversion, not as normal exponent.
34555
34556 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
34557 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
34558 (_FP_CMP_EQ): Likewise.
34559 (_FP_CMP_UNORD): Likewise.
34560 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
34561 (FP_CMP_EQ_D): Likewise.
34562 (FP_CMP_UNORD_D): Likewise.
34563 * soft-fp/extended.h (FP_CMP_E): Likewise.
34564 (FP_CMP_EQ_E): Likewise.
34565 (FP_CMP_UNORD_E): Likewise.
34566 * soft-fp/quad.h (FP_CMP_Q): Likewise.
34567 (FP_CMP_EQ_Q): Likewise.
34568 (FP_CMP_UNORD_Q): Likewise.
34569 * soft-fp/single.h (FP_CMP_S): Likewise.
34570 (FP_CMP_EQ_S): Likewise.
34571 (FP_CMP_UNORD_S): Likewise.
34572 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
34573 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
34574 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
34575 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
34576 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
34577 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
34578 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
34579 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
34580 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
34581 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
34582 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
34583 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
34584 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
34585 to FP_CMP_Q.
34586 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
34587 FP_CMP_Q.
34588 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
34589 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
34590 FP_CMP_EQ_Q.
34591 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
34592 FP_CMP_Q.
34593 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
34594 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
34595 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
34596 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
34597 FP_CMP_EQ_Q.
34598 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
34599 FP_CMP_Q.
34600 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
34601 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
34602 FP_CMP_EQ_Q.
34603 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
34604 FP_CMP_Q.
34605 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
34606 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
34607 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
34608 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
34609 FP_CMP_EQ_Q.
34610
34611 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
34612 a subnormal result, set the underflow exception if trapping on
34613 underflow is enabled.
34614 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
34615 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
34616 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
34617 redefine to 0.
34618 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
34619 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34620 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34621 * soft-fp/extendxftf2.c (__extendxftf2): Use
34622 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
34623
34624 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
34625 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
34626 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34627 FP_HANDLE_EXCEPTIONS.
34628 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
34629 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34630 FP_HANDLE_EXCEPTIONS.
34631 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
34632 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34633 FP_HANDLE_EXCEPTIONS.
34634 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
34635 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34636 FP_HANDLE_EXCEPTIONS.
34637
34638 2014-10-08 Joseph Myers <joseph@codesourcery.com>
34639
34640 [BZ #14132]
34641 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
34642 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
34643 use INTUSE.
34644 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
34645 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
34646 Remove alias.
34647 (__adjtimex): Define using libc_hidden_ver.
34648 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
34649 Remove declaration.
34650 (ntp_gettime): Call __adjtimex directly.
34651 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
34652 Remove declaration.
34653 (ntp_gettimex): Call __adjtimex directly.
34654 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
34655 __adjtimex_internal alias.
34656
34657 2014-10-08 Roland McGrath <roland@hack.frob.com>
34658
34659 [BZ #17460]
34660 * nscd/nscd.c (more_help): Rewrite list of tables collection
34661 using xstrdup and asprintf.
34662
34663 * nscd/nscd_conf.c: Remove local xstrdup declaration.
34664
34665 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34666 Roland McGrath <roland@hack.frob.com>
34667
34668 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
34669 (do_lookup_unique): ... local function 'enter' here; update callers.
34670
34671 2014-10-06 Joseph Myers <joseph@codesourcery.com>
34672
34673 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
34674 compat_symbol calls on [SHARED].
34675 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
34676 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
34677 Remove.
34678 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34679 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
34680 (oldsetrlimit): Remove.
34681 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34683 (lchown): New syscall entry.
34684 (oldsetrlimit): Remove.
34685 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34686 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
34687 (oldsetrlimit): Remove.
34688 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34689
34690 [BZ #14138]
34691 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
34692 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
34693 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
34694 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
34695 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34696 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
34697 (fchown): Likewise.
34698 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
34699 (fchown): Likewise.
34700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
34701 Likewise.
34702
34703 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34704
34705 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
34706 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
34707 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
34708 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
34709 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
34710 Likewise.
34711 (__old_sem_post): Likewise.
34712
34713 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
34714
34715 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
34716 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
34717 HAVE_CLOCK_GETTIME_VSYSCALL macros.
34718 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
34719 Use INLINE_VSYSCALL macro.
34720 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
34721 __vdso_clock_gettime.
34722 * sysdeps/unix/sysv/linux/tile/init-first.c
34723 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
34724 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
34725 __vdso_clock_gettime.
34726
34727 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
34728 to set up frame more cleanly.
34729
34730 * sysdeps/tile/memcmp.c: New file.
34731
34732 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
34733
34734 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
34735 * sysdeps/tile/tilegx/strcasestr.c: New file.
34736 * sysdeps/tile/tilegx/strnlen.c: New file.
34737 * sysdeps/tile/tilegx/strstr.c: New file.
34738
34739 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
34740
34741 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
34742
34743 * nptl/tst-setuid3.c: Write errors to stdout.
34744
34745 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34746
34747 * elf/dl-deps.c
34748 (preload): New functions broken out of _dl_map_object_deps.
34749 (_dl_map_object_deps): Remove a nested function. Update call sites.
34750
34751 2014-10-01 Joseph Myers <joseph@codesourcery.com>
34752
34753 [BZ #14138]
34754 * sysdeps/unix/sysv/linux/execve.c: Remove file.
34755 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
34756
34757 2014-10-01 Steve Ellcey <sellcey@mips.com>
34758
34759 * sysdeps/mips/strcmp.S: New.
34760
34761 2014-09-30 Joseph Myers <joseph@codesourcery.com>
34762
34763 [BZ #14138]
34764 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
34765 (linkat): Likewise.
34766 (mkdirat): Likewise.
34767 (readlinkat): Likewise.
34768 (renameat): Likewise.
34769 (symlinkat): Likewise.
34770 (unlinkat): Likewise.
34771 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
34772 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
34773 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
34774 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
34775 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
34776 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
34777 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
34778
34779 2014-09-30 Will Newton <will.newton@linaro.org>
34780
34781 * math/math.h: Define long double math functions if
34782 _LIBC_TEST is defined.
34783 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
34784
34785 * localedata/Makefile: Move assignment to tests-special
34786 into an ifdef testing run-built-tests.
34787 * timezone/Makefile: Likewise.
34788
34789 2014-09-29 Joseph Myers <joseph@codesourcery.com>
34790
34791 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
34792 with $(BASH) not $(SHELL).
34793
34794 2014-09-29 Carlos O'Donell <carlos@redhat.com>
34795 Matthew LeGendre <legendre1@llnl.gov>
34796
34797 [BZ #17411]
34798 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
34799 l_reloc_result.
34800
34801 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34802
34803 * stdio-common/printf_fp.c
34804 (hack_digit): New function, broken out of ...
34805 (__printf_fp): ... local function here. Update call sites.
34806 hack_digit now takes an additional parameter that is a pointer
34807 to a struct of the referenced locals. Those locals moved inside
34808 the struct and references updated.
34809
34810 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
34811
34812 * aclocal.m4: Require autoconf 2.69.
34813 * configure: Regenerated.
34814 * sysdeps/aarch64/configure: Likewise.
34815 * sysdeps/alpha/configure: Likewise.
34816 * sysdeps/arm/armv7/configure: Likewise.
34817 * sysdeps/arm/configure: Likewise.
34818 * sysdeps/ia64/configure: Likewise.
34819 * sysdeps/mach/configure: Likewise.
34820 * sysdeps/mips/configure: Likewise.
34821 * sysdeps/s390/configure: Likewise.
34822 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
34823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
34824
34825 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
34826 file.
34827 * sysdeps/ia64/configure.ac: Likewise.
34828
34829 2014-09-26 Joseph Myers <joseph@codesourcery.com>
34830
34831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
34832 specify symbol version for ld.so. Do not include entry for
34833 libpthread.
34834 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34835 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34836 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34837
34838 [BZ #14171]
34839 * Makeconfig [$(build-shared) = yes]
34840 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
34841 makefiles.
34842 [$(build-shared) = yes && $(soversions.mk-done) = t]
34843 ($(common-objpfx)gnu/lib-names.h): Remove rule.
34844 [$(build-shared) = yes && $(soversions.mk-done) = t]
34845 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
34846 to Makerules.
34847 [$(build-shared) = yes && $(soversions.mk-done) = t]
34848 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
34849 here.
34850 [$(build-shared) = yes && $(soversions.mk-done) = t]
34851 (common-generated): Don't append gnu/lib-names.h and
34852 gnu/lib-names.stmp here.
34853 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
34854 (lib-names-h-abi): New variable.
34855 [$(build-shared) = yes && $(soversions.mk-done) = t]
34856 (lib-names-stmp-abi): Likewise.
34857 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34858 abi-variants] (before-compile): Append
34859 $(common-objpfx)$(lib-names-h-abi).
34860 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34861 abi-variants] (common-generated): Append gnu/lib-names.h.
34862 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34863 abi-variants] (install-others-nosubdir): Depend on
34864 $(inst_includedir)/$(lib-names-h-abi).
34865 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34866 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
34867 [$(build-shared) = yes && $(soversions.mk-done) = t]
34868 ($(common-objpfx)$(lib-names-h-abi)): New rule.
34869 [$(build-shared) = yes && $(soversions.mk-done) = t]
34870 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
34871 [$(build-shared) = yes && $(soversions.mk-done) = t]
34872 (common-generated): Append $(lib-names-h-abi) and
34873 $(lib-names-stmp-abi).
34874 * scripts/lib-names.awk: Do not handle multi being set.
34875 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
34876 Remove variable.
34877 (abi-lp64_be-ld-soname): Likewise.
34878 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
34879 Likewise.
34880 (abi-hard-ld-soname): Likewise.
34881 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
34882 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
34883 Remove variable.
34884 (abi-o32_hard-ld-soname): Likewise.
34885 (abi-o32_soft_2008-ld-soname): Likewise.
34886 (abi-o32_hard_2008-ld-soname): Likewise.
34887 (abi-n32_soft-ld-soname): Likewise.
34888 (abi-n32_hard-ld-soname): Likewise.
34889 (abi-n32_soft_2008-ld-soname): Likewise.
34890 (abi-n32_hard_2008-ld-soname): Likewise.
34891 (abi-n64_soft-ld-soname): Likewise.
34892 (abi-n64_hard-ld-soname): Likewise.
34893 (abi-n64_soft_2008-ld-soname): Likewise.
34894 (abi-n64_hard_2008-ld-soname): Likewise.
34895 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
34896 Likewise.
34897 (abi-64-v2-ld-soname): Likewise.
34898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
34899 ld.so entries.
34900 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
34901 variable.
34902 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
34903 entry.
34904 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
34905 variable.
34906 (abi-64-ld-soname): Likewise.
34907 (abi-x32-ld-soname): Likewise.
34908 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
34909 entry.
34910 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34911
34912 2014-09-23 Joseph Myers <joseph@codesourcery.com>
34913
34914 [BZ #14138]
34915 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
34916 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
34917 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
34918 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
34919 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
34920 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
34921 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
34922 syscall entry for GLIBC_2.2 symbol version.
34923 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
34924 Likewise.
34925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34926 (setrlimit): Likewise.
34927 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
34928 Likewise.
34929
34930 2014-09-23 Will Newton <will.newton@linaro.org>
34931
34932 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
34933 _LINUX_ARM_SYSDEP_H include guard too.
34934 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
34935 define.
34936
34937 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
34938
34939 * sysdeps/unix/sysv/linux/eventfd.c:
34940 Make first argument unsigned.
34941 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
34942 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
34943
34944 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
34945
34946 [BZ #16852]
34947 * socket/recvmmsg.c (recvmmsg): Drop const argument.
34948 * socket/sys/socket.h: Likewise.
34949 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
34950
34951 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34952
34953 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
34954
34955 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
34956
34957 * time/tst-ftime.c: New test.
34958 * time/Makefile (tests): Add tst-ftime.
34959
34960 2014-09-17 Joseph Myers <joseph@codesourcery.com>
34961
34962 * soft-fp/extended.h: Fix comment formatting.
34963 * soft-fp/op-1.h: Likewise.
34964 * soft-fp/op-2.h: Likewise.
34965 * soft-fp/op-4.h: Likewise.
34966 * soft-fp/op-8.h: Likewise.
34967 * soft-fp/op-common.h: Likewise.
34968 * soft-fp/soft-fp.h: Likewise.
34969
34970 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
34971
34972 2014-09-16 Joseph Myers <joseph@codesourcery.com>
34973
34974 [BZ #6652]
34975 * Makeconfig (soversions-default-setname): Remove variable.
34976 ($(common-objpfx)soversions.i): Don't pass default_setname to
34977 soversions.awk.
34978 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
34979 oldest_abi to abi-versions.awk.
34980 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
34981 * config.make.in (oldest-abi): Remove variable.
34982 * configure.ac (--enable-oldest-abi): Remove configure option.
34983 * configure: Regenerated.
34984 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
34985 text.
34986 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
34987 * scripts/soversions.awk: Do not handle default_setname variable.
34988 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
34989 variable.
34990 * sysdeps/mach/hurd/configure: Regenerated.
34991 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
34992 variable.
34993 * sysdeps/unix/sysv/linux/configure: Regenerated.
34994
34995 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34996
34997 * elf/Makefile (CFLAGS-interp.c): Remove.
34998 ($(elf-objpfx)runtime-linker.h): Generate header with linker
34999 path string.
35000 * elf/interp.c: Include generated runtime-linker.h
35001
35002 * Makerules (lib%.so): Don't include $(+interp) in
35003 prerequisites.
35004 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35005 * dlfcn/eval.c: Remove file.
35006
35007 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35008 macros.
35009
35010 [BZ #17266]
35011 * misc/sys/cdefs.h: Define __extern_always_inline for clang
35012 4.2 and newer.
35013
35014 [BZ #17370]
35015 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35016
35017 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35018 Jakub Jelinek <jakub@redhat.com>
35019
35020 [BZ #17266]
35021 * libio/stdio.h: Check definition of __fortify_function
35022 instead of __extern_always_inline to include bits/stdio2.h.
35023 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35024 check if __extern_always_inline is defined.
35025 [__USE_MISC || __USE_XOPEN]: Likewise.
35026 [__USE_ISOC99] Likewise.
35027 * misc/sys/cdefs.h (__fortify_function): Define only if
35028 __extern_always_inline is defined.
35029 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35030 __extern_always_inline and __extern_inline only for g++-4.3
35031 and newer or a compatible gcc.
35032
35033 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
35034
35035 [BZ #17371]
35036 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35037 last change to handle zero prefix length.
35038
35039 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35040
35041 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35042 _SC_REGEX_VERSION.
35043
35044 * posix/getconf.c (vars): Add _POSIX_IPV6 and
35045 _POSIX_RAW_SOCKETS.
35046
35047 2014-09-13 Allan McRae <allan@archlinux.org>
35048
35049 * po/ru.po: Update Russian translation from translation project.
35050
35051 2014-09-12 Roland McGrath <roland@hack.frob.com>
35052
35053 * locale/programs/locale.c (show_locale_vars): Inline local function
35054 into its sole call site. Clean up some style nits.
35055 (print_item): New function, broken out of ...
35056 (show_info): ... local function here. Clean up style nits.
35057
35058 * locale/programs/ld-ctype.c (set_one_default): New function, broken
35059 out of ...
35060 (set_class_defaults): ... local function set_default here.
35061 Define set_default as a macro locally to pass constant parameters.
35062 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35063 rather than a shared local.
35064
35065 * stdlib/rpmatch.c (try): New function, broken out of ...
35066 (rpmatch): ... local function here. Also, prototypify definition.
35067
35068 2014-09-12 Joseph Myers <joseph@codesourcery.com>
35069
35070 * scripts/soversions.awk: Do not handle configuration names.
35071 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35072 vendor and os variables to soversions.awk.
35073 * configure.ac: Do not modify gnu-* host_os.
35074 * configure: Regenerated
35075 * shlib-versions: Remove first column with configuration names.
35076 * nptl/shlib-versions: Likewise.
35077 * nptl_db/shlib-versions: Likewise.
35078 * sysdeps/hppa/shlib-versions: Likewise.
35079 * sysdeps/m68k/shlib-versions: Likewise.
35080 * sysdeps/mach/hurd/shlib-versions: Likewise.
35081 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35082 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35083 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35084 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35085 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35086 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35087 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35088 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35090 Likewise.
35091 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35092 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35093 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35094 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35095 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35096 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35097 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35098 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35099
35100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35101 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35103 Regenerated.
35104 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35106 Condition symbol version definitions on [HAVE_ELFV2_ABI].
35107
35108 * shlib-versions: Remove OS-specific entries. Moved to files in
35109 sysdeps.
35110 * sysdeps/mach/hurd/shlib-versions: New file.
35111 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35112
35113 * nptl/shlib-versions: Remove architecture-specific entries.
35114 Moved to files in sysdeps.
35115 * shlib-versions: Likewise.
35116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35117 file.
35118 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35119 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35120 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35121 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35122
35123 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35124 (UDP_NO_CHECK6_RX): Likewise.
35125
35126 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35127
35128 * sysdeps/posix/sysconf.c (__sysconf): Spell
35129 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35130
35131 2014-08-12 Florian Weimer <fweimer@redhat.com>
35132
35133 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35134 loading.
35135 * iconv/Versions (__gconv_transliterate): Export for use from
35136 gconv modules.
35137 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35138 (struct __gconv_trans_data, __gconv_trans_fct,
35139 __gconv_trans_context_fct, __gconv_trans_query_fct,
35140 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35141 definitions.
35142 (struct __gconv_step_data): Remove __trans member.
35143 (__gconv_transliterate): Declaration moved from gconv_int.h. No
35144 longer hidden. Remove unused trans_data argument.
35145 * iconv/gconv_int.h (struct trans_struct): Remove definition.
35146 (__gconv_translit_find): Remove declaration.
35147 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
35148 prototype.
35149 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35150 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35151 trans_data argument. Add hidden definition.
35152 (__gconv_translit_find): Remove.
35153 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35154 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35155 * iconv/skeleton.c: Remove transliteration initialization.
35156 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35157 __gconv_step_data initialization.
35158 * libio/iofwide.c (__libio_translit_): Remove.
35159 (_IO_fwide): Adjust struct __gconv_step_data initialization.
35160 * wcsmbs/btowc.c (__btowc): Likewise.
35161 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35162 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35163 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35164 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35165 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35166 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35167 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35168 * wcsmbs/wctob.c (wctob): Likewise.
35169
35170 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35171
35172 [BZ #16194]
35173 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35174 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
35175 register usage.
35176 * sysdeps/x86/Makefile: Adjust.
35177
35178 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35179 Roland McGrath <roland@hack.frob.com>
35180
35181 * locale/weight.h: Add include guard.
35182 (findidx): Make static rather than auto; take new parameters
35183 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35184 * locale/weightwc.h: Likewise.
35185 * posix/fnmatch_loop.c
35186 (FCT): Change type of EXTRA from int32_t to wint_t.
35187 Don't include either header inside the function.
35188 Call FINDIDX rather than findidx, and pass new arguments.
35189 #undef FINDIDX at the end of the file.
35190 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35191 FINDIDX before including fnmatch_loop.c for the non-wide version.
35192 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35193 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35194 for the wide version.
35195 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35196 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35197 Pass new arguments to findidx.
35198 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35199 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35200 Don't #include it inside the function. Pass new arguments to findidx.
35201 * posix/regex_internal.h
35202 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35203 (re_string_elem_size_at): Don't #include it inside the function.
35204 Pass new arguments to findidx.
35205 * string/strcoll_l.c: #include WEIGHT_H at top level.
35206 (get_next_seq): Don't #include it inside the function.
35207 Pass new arguments to findidx.
35208 (get_next_seq_nocache): Likewise.
35209 * string/strxfrm_l.c: #include WEIGHT_H at top level.
35210 (STRXFRM): Don't #include it inside the function.
35211 Pass new arguments to findidx.
35212
35213 2014-09-11 Florian Weimer <fweimer@redhat.com>
35214
35215 [BZ #17344]
35216 * malloc/malloc.c (unlink): Turn asserts into a call to
35217 malloc_printerr.
35218
35219 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
35220
35221 [BZ #17370]
35222 * libio/wfileops (do_ftell_wide): Free OUT.
35223
35224 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
35225
35226 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35227
35228 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35229
35230 [BZ #17363]
35231 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35232 group if the current group is empty.
35233
35234 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35235
35236 * benchtests/bench-memset.c (test_main): Add more test from size
35237 from 32 to 512 bytes.
35238 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35239 Add POWER8 memset object.
35240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35241 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35242 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35243 implementation.
35244 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35245 Likewise.
35246 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35247 multiarch POWER8 memset optimization.
35248 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35249 POWER8 memset optimization.
35250
35251 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35252 Remove bzero multiarch objects.
35253 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35254 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35255 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35256 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35257 Remove define.
35258 [__bzero]: Redefine to specific name.
35259 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35260 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35261 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35262 define.
35263 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35264 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35265
35266 2014-09-10 Florian Weimer <fweimer@redhat.com>
35267
35268 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35269 warnings into errors.
35270
35271 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35272 __cxa_thread_atexit_impl prototype.
35273
35274 2014-09-09 Steve Ellcey <sellcey@mips.com>
35275
35276 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35277 Fix capitalization of error message.
35278
35279 2014-09-09 Steve Ellcey <sellcey@mips.com>
35280
35281 * sysdeps/mips/preconfigure: Modify ABI tests.
35282
35283 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
35284
35285 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35286
35287 2014-09-07 Roland McGrath <roland@hack.frob.com>
35288 Carlos O'Donell <carlos@systemhalted.org>
35289
35290 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35291 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35292 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35293 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35294 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35295 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35296 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35297 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35298 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35299 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35300 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35301 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35302 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35303 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35304 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35305 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35306 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35307 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35308 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35309 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35310 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35311 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35312 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35313 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35314 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35315 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35316 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35317 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35318 Deconditionalize the code that was previously under [RESET_PID].
35319 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35320 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35321 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35322 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35323 include sysdep.h.
35324
35325 2014-09-08 Allan McRae <allan@archlinux.org>
35326
35327 * version.h (RELEASE): Set to "development".
35328 (VERSION): Set to "2.20.90"
35329
35330 2014-09-07 Allan McRae <allan@archlinux.org
35331
35332 * version.h (RELEASE): Set to "stable".
35333 (VERSION): Set to "2.20"
35334 * include/features.h (__GLIBC_MINOR__): Set to 20.
35335
35336 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35337 Liebler.
35338
35339 * po/ko.po: Update Korean translation from translation project.
35340
35341 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
35342
35343 [BZ #17354]
35344 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35345 macro for handling signed relocations.
35346
35347 2014-09-03 Florian Weimer <fweimer@redhat.com>
35348
35349 [BZ #17325]
35350 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35351 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35352 assert.
35353 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35354 * iconvdata/ibm935.c (BODY): Likewise.
35355 * iconvdata/ibm937.c (BODY): Likewise.
35356 * iconvdata/ibm939.c (BODY): Likewise.
35357 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35358 assert.
35359 * iconvdata/Makefile (iconv-test.out): Pass module list to test
35360 script.
35361 * iconvdata/run-iconv-test.sh: New test loop for checking for
35362 decoder crashers.
35363
35364 2014-09-02 Khem Raj <raj.khem@gmail.com>
35365
35366 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35367 libm_hidden_ver.
35368
35369 2014-09-01 Allan McRae <allan@archlinux.org>
35370
35371 * po/eo.po: Update Esperanto translation from translation project.
35372
35373 * po/ca.po: Update Catalan translation from translation project.
35374
35375 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
35376
35377 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35378 __proc_dostop call.
35379
35380 2014-08-27 Mark Wielaard <mjw@redhat.com>
35381
35382 [BZ #17319]
35383 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35384 to call set_thread_area instead of hand written asm.
35385 (__NR_set_thread_area): Removed define.
35386 (TLS_FLAG_WRITABLE): Likewise.
35387 (__ASSUME_SET_THREAD_AREA): Remove check.
35388 (TLS_EBX_ARG): Remove define.
35389 (TLS_LOAD_EBX): Likewise.
35390
35391 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35392
35393 Simplify atomicity of socket creation in bind.
35394
35395 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35396 looking up the name after linking the file.
35397
35398 2014-08-27 Allan McRae <allan@archlinux.org>
35399
35400 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35401
35402 2014-08-26 Florian Weimer <fweimer@redhat.com>
35403
35404 [BZ #17187]
35405 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35406 trans_compare, open_translit, __gconv_translit_find):
35407 Remove module loading code.
35408
35409 2014-08-26 Allan McRae <allan@archlinux.org>
35410
35411 * po/vi.po: Update Vietnamese translation from translation project.
35412
35413 * po/uk.po: Update Ukrainian translation from translation project.
35414
35415 * po/fr.po: Update French translation from translation project.
35416
35417 * po/ru.po: Update Russian translation from translation project.
35418
35419 * po/pl.po: Update Polish translation from translation project.
35420
35421 * po/cs.po: Update Czech translation from translation project.
35422
35423 * po/de.po: Update German translation from translation project.
35424
35425 * po/bg.po: Update Bulgarian translation from translation project.
35426
35427 * po/sv.po: Update Sweedish translation from translation project.
35428
35429 * po/nl.po: Update Dutch translation from translation project.
35430
35431 * po/es.po: Update Spanish translation from translation project.
35432
35433 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35434
35435 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35436
35437 * catgets/Makefile (CPPFLAGS-gencat): Remove.
35438 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35439 (CPPFLAGS-iconvconfig): Likewise.
35440 * timezone/Makefile (CPPFLAGS-zic): Likewise.
35441
35442 * include/libc-symbols.h: Remove unnecessary check for
35443 NOT_IN_libc.
35444 * nptl/pthreadP.h: Likewise.
35445 * sysdeps/aarch64/setjmp.S: Likewise.
35446 * sysdeps/alpha/setjmp.S: Likewise.
35447 * sysdeps/arm/sysdep.h: Likewise.
35448 * sysdeps/i386/setjmp.S: Likewise.
35449 * sysdeps/m68k/setjmp.c: Likewise.
35450 * sysdeps/posix/getcwd.c: Likewise.
35451 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35452 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35453 * sysdeps/s390/s390-32/setjmp.S: Likewise.
35454 * sysdeps/s390/s390-64/setjmp.S: Likewise.
35455 * sysdeps/sh/sh3/setjmp.S: Likewise.
35456 * sysdeps/sh/sh4/setjmp.S: Likewise.
35457 * sysdeps/unix/alpha/sysdep.h: Likewise.
35458 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35460 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35461 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35464 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35465 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35466 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35467 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35468 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35469 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35471 * sysdeps/x86_64/setjmp.S: Likewise.
35472
35473 2014-08-13 Joseph Myers <joseph@codesourcery.com>
35474
35475 [BZ #17263]
35476 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
35477 <stdint.h>.
35478 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
35479 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
35480
35481 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35482
35483 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
35484
35485 [BZ #17262]
35486 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
35487 and __x86_64__ when disabling x87 inline functions.
35488
35489 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
35490
35491 [BZ #17259]
35492 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
35493 asm statement with __cpuid_count.
35494
35495 2014-08-12 Mike Frysinger <vapier@gentoo.org>
35496
35497 * configure.ac: Change __ehdr_start code to dereference the struct.
35498 Run readelf on the output to look for relocations.
35499 * configure: Regenerated.
35500
35501 2014-08-12 Joseph Myers <joseph@codesourcery.com>
35502
35503 [BZ #17261]
35504 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
35505 value to 0.
35506 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35507
35508 2014-08-12 Roland McGrath <roland@hack.frob.com>
35509
35510 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
35511
35512 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
35513
35514 [BZ #16892]
35515 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
35516 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
35517
35518 2014-08-12 Sean Anderson <seanga2@gmail.com>
35519
35520 * malloc/malloc.c: Fix typo in comment.
35521
35522 2014-08-09 Allan McRae <allan@archlinux.org>
35523
35524 * Regenerate libc.po.
35525
35526 2014-08-08 Mike Frysinger <vapier@gentoo.org>
35527
35528 * intl/tst-gettext2.sh: Check every lang file for creation.
35529
35530 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35531
35532 * sysdeps/aarch64/fpu/math_private.h
35533 (libc_feholdsetround_noex_aarch64_ctx): New function.
35534
35535 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35536
35537 * sysdeps/arm/armv6/strcpy.S (strcpy):
35538 Fix performance issue in misaligned cases.
35539
35540 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35541
35542 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
35543 Move definition from termios.h.
35544 (struct termio): Likewise.
35545 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35546 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35547 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35548 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35549 Likewise.
35550 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
35551 Move definition to ioctl-types.h
35552 (struct termio): Likewise.
35553 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35554 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35555 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35556 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35557 Likewise.
35558
35559 2014-08-05 Richard Henderson <rth@redhat.com>
35560
35561 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
35562 exceptions.
35563 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
35564 Add fraiseexcpt.
35565 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
35566 Use __feraiseexcept.
35567 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
35568 Protect libm symbols with IS_IN_libm.
35569
35570 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
35571
35572 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
35573
35574 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
35575
35576 2014-08-04 Will Newton <will.newton@linaro.org>
35577
35578 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
35579 file.
35580
35581 2014-08-04 Mike Frysinger <vapier@gentoo.org>
35582
35583 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
35584 variants for each function.
35585
35586 2014-08-04 Roland McGrath <roland@hack.frob.com>
35587
35588 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
35589 appended ...
35590 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
35591 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
35592 appended ...
35593 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
35594 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
35595 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
35596 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
35597 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
35598 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
35599 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
35600 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
35601 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
35602 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
35603 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
35604 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
35605 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
35606 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
35607 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
35608 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
35609 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
35610 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
35611 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
35612 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
35613 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
35614 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
35615 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
35616 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
35617 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
35618 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
35619 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
35620 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
35621 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
35622 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
35623 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
35624 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
35625 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
35626 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
35627 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
35628 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
35629 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
35630 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
35631 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
35632 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
35633 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
35634 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
35635 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
35636 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
35637 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
35638 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
35639 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
35640 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
35641 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
35642 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
35643 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
35644 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
35645 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
35646 Update #include.
35647 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
35648 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
35649
35650 2014-08-04 Roland McGrath <roland@hack.frob.com>
35651
35652 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
35653 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
35654 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
35655 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
35656 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
35657 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
35658
35659 2014-08-04 Roland McGrath <roland@hack.frob.com>
35660
35661 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
35662 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
35663 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35664 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
35665
35666 2014-08-04 Roland McGrath <roland@hack.frob.com>
35667
35668 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
35669 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
35670 (__libc_vfork): Define function under this name.
35671 (__vfork): Define as an alias.
35672 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
35673 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
35674
35675 2014-08-04 Roland McGrath <roland@hack.frob.com>
35676
35677 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
35678 that was previously under [RESET_PID].
35679 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
35680
35681 2014-08-04 Andreas Schwab <schwab@suse.de>
35682
35683 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
35684
35685 2014-08-03 Mike Frysinger <vapier@gentoo.org>
35686
35687 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
35688 (main): Likewise.
35689
35690 2014-08-01 Roland McGrath <roland@hack.frob.com>
35691
35692 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
35693
35694 2014-08-01 Richard Henderon <rth@redhat.com>
35695
35696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
35697 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
35698 typo in exact zero test.
35699 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35700 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35701 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35702
35703 2014-08-01 Roland McGrath <roland@hack.frob.com>
35704
35705 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
35706 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
35707 * sysdeps/arm/sysdep.h: ... here.
35708 [!__ASSEMBLER__]: Include <stdint.h>.
35709
35710 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35711
35712 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
35713 (HAVE_WCTYPE_H): Likewise.
35714 (HAVE_ISWCTYPE): Likewise.
35715 (ENABLE_NLS): Likewise.
35716 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
35717 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
35718
35719 * posix/regex_internal.c: Check if DEBUG is defined and is
35720 set.
35721
35722 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
35723 (HAVE_MBSRTOWCS): Likewise.
35724 * posix/fnmatch.c: Include string.h unconditionally.
35725
35726 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
35727
35728 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
35729 reversal.
35730
35731 2014-07-31 Roland McGrath <roland@hack.frob.com>
35732
35733 * sysdeps/generic/safe-fatal.h: New file.
35734 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
35735 * nptl/forward.c: Include it.
35736 (__pthread_unwind): Use __safe_fatal as default action, rather
35737 than a bogus use of INTERNAL_SYSCALL that could never work.
35738
35739 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
35740 * configure.ac (libc_cv_builtin_trap): New test.
35741 * configure: Regenerated.
35742 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
35743 (ABORT_INSTRUCTION): Define using __builtin_trap.
35744
35745 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
35746 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
35747 * sysdeps/nptl/nptl-signals.h: New file.
35748 * nptl/pthreadP.h: Include <nptl-signals.h>.
35749
35750 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
35751
35752 * sysdeps/s390/s390-64/utf16-utf32-z9.c
35753 (ONE_DIRECTION): Define.
35754 * sysdeps/s390/s390-64/utf8-utf16-z9.c
35755 (ONE_DIRECTION): Define.
35756 * sysdeps/s390/s390-64/utf8-utf32-z9.c
35757 (ONE_DIRECTION): Define.
35758
35759 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
35760
35761 * sysdeps/s390/Makefile: Delete file.
35762 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
35763 * sysdeps/s390/__longjmp.c: Delete file.
35764 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
35765 Remove fields __flags and __reserved.
35766 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
35767 and add versioning.
35768 * sysdeps/s390/rtld-__longjmp.c: Delete file.
35769 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
35770 * sysdeps/s390/rtld-setjmp.S: Likewise.
35771 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
35772 * sysdeps/s390/s390-32/__longjmp.c: ... here.
35773 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
35774 * sysdeps/s390/s390-32/setjmp.S: ... here.
35775 Add versioning.
35776 (__sigsetjmp): Remove setting __flags field.
35777 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
35778 * sysdeps/s390/s390-64/__longjmp.c: ... here.
35779 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
35780 * sysdeps/s390/s390-64/setjmp.S: ... here.
35781 Add versioning.
35782 (__sigsetjmp): Remove setting __flags field.
35783 * sysdeps/s390/setjmp.S: Delete file.
35784 * sysdeps/s390/sigjmp.c: Likewise.
35785 * sysdeps/s390/v1-longjmp.c: Likewise.
35786 * sysdeps/s390/v1-setjmp.h: Likewise.
35787 * sysdeps/s390/v1-sigjmp.c: Likewise.
35788 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
35789 Remove v1-longjmp_chk.
35790 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
35791 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
35792 Include debug/longjmp_chk.c and add versioning.
35793 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
35794 Include nptl/pt-longjmp.c and add versioning.
35795 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
35796 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
35797 Include __longjmp.c.
35798 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35799 Move to ...
35800 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
35801 (__getcontext): Remove setting __flags field.
35802 Add versioning.
35803 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35804 Don't restore upper high grps.
35805 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
35806 Likewise.
35807 (__swapcontext): Remove setting uc_flags field.
35808 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
35809 Delete file.
35810 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35811 Include __longjmp.c.
35812 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35813 Move to ...
35814 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
35815 (__getcontext): Remove setting __flags field.
35816 Add versioning.
35817 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
35818 (__swapcontext): Remove setting uc_flags field.
35819 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
35820 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
35821 Remove fields uc_high_gprs and __reserved.
35822 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
35823 New file with reverted content.
35824 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
35825 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
35826 Regenerated.
35827 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
35828 Regenerated.
35829
35830 2014-07-31 Andreas Schwab <schwab@suse.de>
35831
35832 * config.h.in (HAVE_IFUNC): Define to 0.
35833 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
35834 definedness.
35835
35836 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
35837
35838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35839 memmove-avx-unaligned, memcpy-avx-unaligned and
35840 mempcpy-avx-unaligned.
35841 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35842 Add tests for AVX memcpy functions.
35843 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
35844 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
35845 memcpy_chk.
35846 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
35847 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
35848 memmove_chk.
35849 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
35850 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
35851 mempcpy_chk.
35852 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
35853 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
35854 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
35855
35856 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35857
35858 [BZ #17213]
35859 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
35860 powerpc64le.
35861
35862 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
35863
35864 [BZ #16839]
35865 * manual/llio.texi: Add section about open file description locks.
35866 * manual/examples/ofdlocks.c: Example of open file description
35867 lock usage.
35868 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
35869 F_OFD_SETLK, and F_OFD_SETLKW.
35870
35871 2014-07-23 Allan McRae <allan@archlinux.org>
35872
35873 * po/es.po: Update Spanish translation from translation project.
35874
35875 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
35876
35877 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
35878
35879 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
35880
35881 [BZ #17078]
35882 * sysdeps/arm/dl-machine.h (elf_machine_rela)
35883 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
35884 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
35885
35886 2014-07-17 Joseph Myers <joseph@codesourcery.com>
35887
35888 [BZ #17088]
35889 * math/fesetenv.c (__fesetenv)
35890 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
35891 * math/feupdateenv.c (__feupdateenv)
35892 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
35893
35894 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
35895 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35896 (__ASSUME_SOCKETCALL): Do not define.
35897
35898 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
35899 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
35900 (__ASSUME_SOCKETCALL): Do not define.
35901 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
35902 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35903 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35904 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35905 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35906 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
35907 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35908 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35909
35910 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
35911 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
35912 (__ASSUME_SOCKETCALL): Do not define.
35913 (__ASSUME_IPC64): Define unconditionally.
35914 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35915 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35916 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35917 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35918 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
35919 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35920 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
35921 Likewise.
35922
35923 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
35924 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
35925 (__ASSUME_SOCKETCALL): Do not define.
35926 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
35927 (__ASSUME_FUTEX_LOCK_PI): Likewise.
35928 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35929 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35930 (__ASSUME_REQUEUE_PI): Define unconditionally.
35931 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
35932 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
35933 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35934 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
35935 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35936 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35937
35938 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
35939 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
35940 (__ASSUME_SOCKETCALL): Do not define.
35941 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
35942 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35943 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35944 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
35945 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35946 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35947
35948 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
35949 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
35950 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35951 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
35952 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35953 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
35954 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35955 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
35956 (__ASSUME_GETCPU_SYSCALL): Likewise.
35957
35958 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
35959 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
35960 cases for individual architectures.
35961 * sysdeps/gnu/configure: Regenerated.
35962 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
35963 LIBC_SLIBDIR_RTLDDIR.
35964 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
35965 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
35966 LIBC_SLIBDIR_RTLDDIR.
35967 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
35968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
35969 LIBC_SLIBDIR_RTLDDIR.
35970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35971 Regenerated.
35972 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
35973 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
35974 file.
35975 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
35976 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
35977 file.
35978 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
35979 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
35980 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
35981 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
35982
35983 * sysdeps/aarch64/shlib-versions: Move to ...
35984 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
35985 * sysdeps/alpha/shlib-versions: Move to ...
35986 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
35987 * sysdeps/arm/shlib-versions: Move to ...
35988 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
35989 * sysdeps/hppa/shlib-versions: Move all contents except for
35990 libgcc_s entry to ...
35991 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
35992 entry from ...
35993 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
35994 * sysdeps/ia64/shlib-versions: Move to ...
35995 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
35996 entry from ...
35997 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
35998 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
35999 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36000 * sysdeps/microblaze/shlib-versions: Move to ...
36001 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36002 * sysdeps/mips/shlib-versions: Move to ...
36003 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
36004 entry from ...
36005 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
36006 * sysdeps/tile/shlib-versions: Move to ...
36007 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36008 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36009 from ...
36010 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
36011 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36012 entry from ...
36013 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
36014
36015 2014-07-17 Will Newton <will.newton@linaro.org>
36016
36017 * sysdeps/arm/bits/atomic.h
36018 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36019 (__arch_compare_and_exchange_bool_16_int): Likewise.
36020 (__arch_compare_and_exchange_bool_64_int): Likewise.
36021
36022 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36023 into an #else block.
36024
36025 2014-07-16 Roland McGrath <roland@hack.frob.com>
36026
36027 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36028 just Linux configurations. Test empirically that the compiler sets
36029 __ARM_EABI__, rather than using the tuple to decide.
36030 * sysdeps/arm/preconfigure: Regenerated.
36031 * sysdeps/unix/sysv/linux/arm/configure: File removed.
36032 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36033 contents appended ...
36034 * sysdeps/arm/configure.ac: ... here.
36035 * sysdeps/arm/configure: Regenerated.
36036
36037 2014-07-15 Roland McGrath <roland@hack.frob.com>
36038
36039 * nptl/pthread_kill.c: New file.
36040 * nptl/pthread_sigmask.c: New file.
36041 * nptl/pthread_sigqueue.c: New file.
36042
36043 * sysdeps/nptl/lowlevellock.h: New file.
36044 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36045 * sysdeps/nptl/lowlevellock-futex.h: New file.
36046
36047 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36048 Remove dead declarations.
36049
36050 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
36051
36052 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36053 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36054 config-cflags-avx2.
36055 * sysdeps/x86_64/configure.ac: Likewise.
36056 * sysdeps/i386/configure: Regenerated.
36057 * sysdeps/x86_64/configure: Likewise.
36058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36059 memset-avx2 only if config-cflags-avx2 is yes.
36060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36061 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36062 defined.
36063 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36064 only if HAVE_AVX2_SUPPORT is defined.
36065 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36066
36067 2014-07-14 Alan Modra <amodra@gmail.com>
36068
36069 [BZ #17153]
36070 * elf/elf.h (DT_PPC64_NUM): Correct value.
36071 * NEWS: Add to fixed bug list.
36072
36073 2014-07-13 Jim Meyering <meyering@fb.com>
36074
36075 [BZ 17150]
36076 regex: don't deref NULL upon heap allocation failure
36077 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36078 failure in one more place.
36079 To trigger the segfault, configure grep -with-included-regex,
36080 build it, and run these commands:
36081 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36082
36083 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
36084
36085 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36086
36087 2014-07-11 Richard Henderson <rth@redhat.com>
36088
36089 * sysdeps/aarch64/libm-test-ulps: Update.
36090
36091 2014-07-10 Florian Weimer <fweimer@redhat.com>
36092
36093 [BZ #17135]
36094 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36095 * nptl/allocatestack.c (__nptl_setxid_error): New function.
36096 (__nptl_setxid): Initialize error member. Call
36097 __nptl_setxid_error.
36098 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36099 * nptl/descr.h (struct xid_command): Add error member.
36100 * nptl/tst-setuid3.c: New file.
36101 * nptl/Makefile (tests): Add it.
36102
36103 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36104
36105 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36106 New define.
36107 (__lll_trylock): Use __lll_base_trylock.
36108 (__lll_cond_trylock): Likewise.
36109
36110 2014-07-10 Roland McGrath <roland@hack.frob.com>
36111
36112 * nptl/pthread_create.c (start_thread): Use atomic_or and
36113 lll_futex_wake directly rather than lll_robust_dead.
36114 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36115 (lll_robust_dead): Macro removed.
36116 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36117 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36118 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36119 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36120 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36121 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36122 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36123 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36124 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36125 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36126 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36127 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36128 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36129 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36130 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36131
36132 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36133 Use atomic_compare_and_exchange_val_acq directly rather than
36134 lll_robust_trylock.
36135 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36136 (__lll_robust_trylock, lll_robust_trylock): Removed.
36137 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36138 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36139 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36140 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36141 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36142 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36143 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36144 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36145 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36146 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36147 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36148 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36149 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36150 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36151
36152 2014-07-02 Florian Weimer <fweimer@redhat.com>
36153
36154 * manual/locale.texi (Locale Names): New section documenting
36155 locale name syntax. Adjust menu and node chaining accordingly.
36156 (Choosing Locale): Reference Locale Names, Locale Categories.
36157 Mention setting LC_ALL=C. Reflect that name syntax is now
36158 documented.
36159 (Locale Categories): New section title. Reference Locale Names.
36160 LC_ALL is an environment variable, but not a category.
36161 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36162 description, now in Locale Name. Reference that section. Locale
36163 name syntax is now documented.
36164
36165 2014-07-02 Florian Weimer <fweimer@redhat.com>
36166
36167 [BZ #17137]
36168 * locale/findlocale.c (name_present, valid_locale_name): New
36169 functions.
36170 (_nl_find_locale): Use the loc_name variable to store name
36171 candidates. Call name_present and valid_locale_name to check and
36172 validate locale names. Return an error if the locale is invalid.
36173
36174 2014-07-02 Florian Weimer <fweimer@redhat.com>
36175
36176 * locale/setlocale.c (setlocale): Use strdup for allocating
36177 composite name copy.
36178
36179 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36180
36181 Sync up with gnulib.
36182 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36183 [!_LIBC && ENABLE_NLS]: Include gettext.h.
36184 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36185 and _GL_ARG_NONNULL.
36186 [USE_UNLOCKED_IO]: Include unlocked-io.h.
36187 [!_LIBC]: Include code for Windows and Cygwin.
36188 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36189 Include prototype for int strerror_r.
36190 [!_LIBC] (is_open): New function.
36191 (flush_stdout): New function.
36192 (print_errno_message): Use it.
36193 (error): Likewise.
36194 (error_at_line): Likewise.
36195 (error_tail) Add function attribute macros. Use
36196 __builtin_expect.
36197
36198 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36199
36200 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36201
36202 * io/ftw.c: Include sys/param.h unconditionally.
36203
36204 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36205
36206 [BZ #17125]
36207 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36208 libc_freeres_ptr.
36209 (freecache): New function to free CACHE on exit.
36210
36211 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36212 initialization.
36213
36214 2014-07-09 David S. Miller <davem@davemloft.net>
36215
36216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36217
36218 * sysdeps/sparc/nptl/internaltypes.h: Delete.
36219 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36220 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36221 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36222 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36223 * sysdeps/sparc/nptl/sem_init.c: Likewise.
36224 * sysdeps/sparc/nptl/sem_post.c: Likewise.
36225 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36226 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36227 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36228 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36229 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36230 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36231
36232 2014-07-09 Andreas Schwab <schwab@suse.de>
36233
36234 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36235 output.
36236 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36237 (do_test): Likewise.
36238
36239 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36240
36241 2014-07-09 Will Newton <will.newton@linaro.org>
36242
36243 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36244 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36245 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36246 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36247 * sysdeps/hppa/start.S (_start): Likewise.
36248
36249 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36250
36251 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36252
36253 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36254 defined.
36255
36256 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36257
36258 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36259 after checking that it is non-NULL.
36260
36261 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36262
36263 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36264
36265 * sysdeps/powerpc/memmove.c: Remove file.
36266 * sysdeps/powerpc/powerpc32/power4/memcopy.h
36267 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36268 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36269 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36270 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36271 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36272 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36273 string memmove instead of removed powerpc one.
36274
36275 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36276 [weak_alias]: Fix compiler warning due trailing data.
36277 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36278 [weak_alias]: Likewise.
36279 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36280 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36281
36282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36283 (__libc_ifunc_impl_list): Add memmove functions.
36284
36285 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36286
36287 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36288 Remove code.
36289 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36290 Likewise.
36291 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36292 Likewise.
36293 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36294 Likewise.
36295 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36296 Likewise.
36297 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36298 Likewise.
36299 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36300 Likewise.
36301 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36302 Likewise.
36303 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36304 Likewise.
36305 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36306 Likewise.
36307 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36308 Likewise.
36309 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36310 Likewise.
36311 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36312 Likewise.
36313 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36314 Likewise.
36315 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36316 Likewise.
36317 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36318 Likewise.
36319 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36320 Likewise.
36321
36322 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36323
36324 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36325 to avoid alignment traps in non-cacheable memory.
36326 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36327
36328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36329 multiarch objects.
36330 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36331 file: multiarch power7 memmove.
36332 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36333 multiarch default memmove.
36334 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36335 multiarch memove for powerpc32/power4.
36336
36337 * string/bcopy.c: Use full path to include memmove.c.
36338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36339 multiarch objects.
36340 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36341 bcopy for powerpc64.
36342 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36343 bcopy for powerpc64.
36344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36345 and memmove implementations.
36346 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36347 optimized multiarch memmove for POWER7/powerpc64.
36348 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36349 default multiarch memmove for powerpc64.
36350 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36351 multiarch for powerpc64.
36352 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36353 for POWER7/powerpc64.
36354 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36355 memmove for POWER7/powerpc64.
36356
36357 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36358 glibc default one.
36359
36360 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36361 __ELF_NATIVE_CLASS equal to 64.
36362
36363 2014-07-07 Roland McGrath <roland@hack.frob.com>
36364
36365 * sysdeps/nptl/lowlevellock.h: File removed.
36366
36367 * NEWS: NPTL is no longer an add-on!
36368 * nptl/internaltypes.h: Moved ...
36369 * sysdeps/nptl/internaltypes.h: ... here.
36370 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36371 * sysdeps/nptl/fork.c: Likewise.
36372 * sysdeps/nptl/gai_misc.h: Likewise.
36373 * sysdeps/nptl/librt-cancellation.c: Likewise.
36374 * sysdeps/nptl/jmp-unwind.c: Likewise.
36375 * sysdeps/nptl/setxid.h: Likewise.
36376 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36377 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36378 * sysdeps/unix/sysv/linux/arm/Implies: New file.
36379 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36380 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36381 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36382 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36383 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36384 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36385 * sysdeps/unix/sysv/linux/mips/Implies: New file.
36386 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36387 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36388 * sysdeps/unix/sysv/linux/sh/Implies: New file.
36389 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36390 * sysdeps/unix/sysv/linux/tile/Implies: New file.
36391 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36392 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36393 * nptl/Makeconfig: Moved ...
36394 * sysdeps/nptl/Makeconfig: ... here.
36395 * nptl/configure: File removed.
36396 * nptl/ANNOUNCE: File removed.
36397 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36398 * sysdeps/unix/sysv/linux/configure: Regenerated.
36399
36400 * nptl/Makefile (routines): Add libc_pthread_init,
36401 libc_multiple_threads, register-atfork and unregister-atfork.
36402 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36403 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36404 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36405 pthread-pi-defines.sym, structsem.sym.
36406 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36407 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36408 [$(subdir) = nptl] (tests): Add tst-setgetname.
36409 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36410 * sysdeps/unix/sysv/linux/sigaction.c: Just include
36411 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36412 [!LIBC_SIGACTION]: Remove aliases.
36413 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36414 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36415 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36416 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36417 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36418 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36419 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36421 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36422 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36423 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36424 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36425 __libc_allocate_rtsig_private.
36426 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36427 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36428 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36429 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36430 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36431 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36432 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36433 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36434 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36435 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36436 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36437 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36438 * nptl/internaltypes.h: ... here.
36439 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36440 * sysdeps/nptl/jmp-unwind.c: ... here.
36441 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
36442 * nptl/libc-lowlevellock.c: ... here.
36443 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
36444 * nptl/libc_multiple_threads.c: ... here.
36445 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
36446 * nptl/libc_pthread_init.c: ... here.
36447 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
36448 * nptl/lowlevelbarrier.sym: ... here.
36449 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
36450 * nptl/lowlevelcond.sym: ... here.
36451 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
36452 * nptl/lowlevellock.c: ... here.
36453 * nptl/lowlevellock.h: Moved ...
36454 * sysdeps/nptl/lowlevellock.h: ... here.
36455 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
36456 * nptl/lowlevelrobustlock.c: ... here.
36457 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
36458 * nptl/lowlevelrobustlock.sym: ... here.
36459 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
36460 * nptl/lowlevelrwlock.sym: ... here.
36461 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
36462 * nptl/pt-fork.c: ... here.
36463 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
36464 * nptl/pthread-pi-defines.sym: ... here.
36465 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
36466 * nptl/pthread_attr_getaffinity.c: ... here.
36467 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
36468 * nptl/pthread_attr_setaffinity.c: ... here.
36469 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
36470 * nptl/pthread_mutex_cond_lock.c: ... here.
36471 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36472 Update #include.
36473 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
36474 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
36475 * nptl/pthread_once.c: ... here, replacing old file.
36476 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
36477 * nptl/pthread_yield.c: ... here.
36478 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
36479 * nptl/register-atfork.c: ... here.
36480 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
36481 * nptl/sem_post.c: ... here.
36482 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
36483 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
36484 * nptl/sem_timedwait.c: ... here.
36485 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
36486 * nptl/sem_trywait.c: ... here.
36487 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
36488 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
36489 * nptl/sem_wait.c: ... here.
36490 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
36491 * nptl/structsem.sym: ... here.
36492 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
36493 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
36494 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
36495 * nptl/unregister-atfork.c: ... here.
36496 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
36497 * nptl/unwindbuf.sym: ... here.
36498 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
36499 * sysdeps/nptl/fork.c: ... here.
36500 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
36501 * sysdeps/nptl/fork.h: ... here.
36502 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
36503 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
36504 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
36505 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
36506 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
36507 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
36508 * sysdeps/unix/sysv/linux/getpid.c: ... here.
36509 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
36510 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
36511 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
36512 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
36513 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
36514 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
36515 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
36516 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
36517 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
36518 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
36519 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
36520 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
36521 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
36522 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
36523 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
36524 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
36525 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
36526 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
36527 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
36528 * sysdeps/unix/sysv/linux/raise.c: ... here.
36529 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
36530 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
36531 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
36532 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
36533 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
36534 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
36535 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
36536 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
36537 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
36538 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
36539 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
36540 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
36541 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
36542 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
36543 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
36544
36545 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36546
36547 * sysdeps/generic/memcopy.h: Add comment for
36548 MEMCPY_OK_FOR_FWD_MEMMOVE.
36549
36550 2014-07-04 Will Newton <will.newton@linaro.org>
36551
36552 * string/memchr.c: Merge from gnulib.
36553 [_LIBC]: Remove conditionals.
36554 (__ptr_t): Remove define.
36555 (LONG_MAX_32_BITS): Likewise.
36556 (LONG_MAX): Likewise.
36557 (MEMCHR): Use ANSI prototype and optimize algorithm.
36558
36559 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
36560
36561 2014-07-03 Roland McGrath <roland@hack.frob.com>
36562
36563 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
36564 (lll_futex_timed_wait_bitset): Fix syscall argument count.
36565
36566 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
36567 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
36568 in a bare environment with no <stdlib.h> installed.
36569 * sysdeps/nptl/configure: Regenerated.
36570
36571 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
36572
36573 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
36574 AC_EGREP_CPP for kernel header checks, so they only succeed if
36575 including <linux/version.h> actually works right.
36576 * sysdeps/unix/sysv/linux/configure: Regenerated.
36577
36578 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
36579 value so it's not diagnosed as unused.
36580
36581 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
36582 thing) with "ifeq ($(subdir),rt)".
36583
36584 2014-07-03 Richard Henderson <rth@redhat.com>
36585
36586 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
36587 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
36588 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
36589
36590 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
36591 (math_force_eval): New.
36592
36593 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
36594 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
36595
36596 * sysdeps/alpha/fpu/s_round.c: Remove file.
36597 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
36598
36599 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
36600 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
36601 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
36602 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
36603 (_dl_start, print_statistics): Likewise.
36604 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
36605 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
36606
36607 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36608 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36609 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36610 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36611 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36612 (HP_SMALL_TIMING_AVAIL): Define.
36613 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36614 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36615 (HP_SMALL_TIMING_AVAIL): Define.
36616 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36617 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36618
36619 * sysdeps/aarch64/hp-timing.h: New file.
36620
36621 * sysdeps/generic/hp-timing.h: Remove dead comment.
36622 * sysdeps/generic/hp-timing-common.h: New file.
36623 * sysdeps/alpha/hp-timing.h: Include it.
36624 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
36625 * sysdeps/i386/i686/hp-timing.h: Likewise.
36626 * sysdeps/ia64/hp-timing.h: Likewise.
36627 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36628 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36629 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36630 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36631 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
36632 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
36633 (hp_timing_t): New.
36634
36635 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
36636 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
36637 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
36638 * elf/rtld.c (_dl_start_final): Likewise.
36639 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
36640 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36641 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36642 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36643 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36644 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36645 (HP_TIMING_DIFF_INIT): Remove.
36646 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36647 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36648 (HP_TIMING_DIFF_INIT): Remove.
36649 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36650 * sysdeps/i386/i686/hp-timing.c: Remove file.
36651 * sysdeps/x86_64/hp-timing.c: Remove file.
36652 * sysdeps/ia64/hp-timing.c: Remove file.
36653 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
36654 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
36655 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
36656 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
36657
36658 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
36659 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
36660 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
36661 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36662 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36663 (HP_TIMING_ACCUM): Remove.
36664 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36665 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
36666 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36667
36668 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
36669 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
36670 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
36671 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
36672 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
36673 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36674 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
36675 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36676
36677 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
36678
36679 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
36680
36681 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
36682
36683 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36684
36685 Sync up with gettext.
36686 * intl/loadmsgcat.c: Define O_BINARY if not defined.
36687 [_MSC_VER]: Include malloc.h
36688 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
36689 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
36690 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
36691 TEMP_FAILURE_RETRY. Cast return of alloca.
36692 [!_LIBC] Call gl_rwlock_init.
36693 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
36694
36695 2014-07-02 Roland McGrath <roland@hack.frob.com>
36696
36697 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
36698 before checking its value.
36699
36700 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36701
36702 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
36703
36704 * debug/memcpy_chk.c: Don't include pagecopy.h.
36705 * debug/mempcpy_chk.c: Likewise.
36706 * string/memcpy.c: Likewise.
36707 * string/memmove.c: Likewise.
36708 * sysdeps/powerpc/memmove.c: Likewise.
36709 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
36710 definition of PAGE_COPY_FWD_MAYBE here...
36711 * sysdeps/generic/pagecopy.h: ... from here.
36712 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
36713
36714 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36715 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36716
36717 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
36718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
36719 optimizations.
36720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36721 (__libc_ifunc_impl_list): Likewise.
36722 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
36723 multiarch strcat for PPC64.
36724 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
36725 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
36726
36727 2014-07-02 Roland McGrath <roland@hack.frob.com>
36728
36729 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
36730
36731 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36732
36733 * intl/loadmsgcat.c: Remove declaration of
36734 get_sysdep_segment_value.
36735 (get_sysdep_segment_value): Use ISO C style.
36736 (_nl_load_domain): Use ISO C style. Get rid of redundant
36737 semicolon. Fix typo and formatting in comment.
36738 (_nl_unload_domain): Use ISO C style.
36739
36740 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
36741
36742 2014-07-02 Will Newton <will.newton@linaro.org>
36743
36744 * malloc/obstack.c: Merge from gnulib master.
36745 [HAVE_CONFIG_H]: Remove conditional code.
36746 [!_LIBC]: Include config.h.
36747 [!ELIDE_CODE]: Don't include inttypes.h, include
36748 stdint.h unconditionally.
36749 (print_and_abort): Mark as _Noreturn.
36750 (_obstack_allocated_p): Mark as __attribute_pure__.
36751 (obstack_free): Rename to __obstack_free.
36752 [!__attribute__]: Remove conditional code.
36753 * malloc/obstack.h: Merge from gnulib master.
36754 [__cplusplus]: Move conditional down.
36755 [!__attribute_pure__]: Define __attribute_pure__ here
36756 if it is not already defined.
36757 (_obstack_memory_used): Mark as __attribute_pure__.
36758 [!__obstack_free]: Define as obstack_free.
36759 [__GNUC__]: Remove check for ancient NeXT gcc.
36760
36761 2014-07-02 Will Newton <will.newton@linaro.org>
36762 Paul Eggert <eggert@cs.ucla.edu>
36763
36764 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
36765
36766 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36767
36768 * resolv/gethnamaddr.c: Add comment warning that the file is
36769 not maintained.
36770
36771 2014-07-01 Carlos O'Donell <carlos@redhat.com>
36772
36773 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
36774 entries.
36775
36776 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
36777 entry for aio_cancel and aio_cancel64.
36778 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
36779 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
36780 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
36781 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
36782 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
36783 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
36784 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
36785 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
36786 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
36787 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
36788 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
36789 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
36790 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
36791
36792 2014-07-01 Roland McGrath <roland@hack.frob.com>
36793
36794 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
36795 * nptl/pthread_mutex_lock.c: Likewise.
36796 * nptl/pthread_mutex_timedlock.c: Likewise.
36797 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
36798
36799 2014-07-01 Richard henderson <rth@redhat.com>
36800
36801 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
36802 (__isnan, __isnanl): Remove.
36803 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
36804
36805 * sysdeps/alpha/fpu/libm-test-ulps: Update.
36806
36807 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36808
36809 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36810
36811 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36812
36813 * resolv/nss_dns/dns-host.c (getanswer_r)
36814 [MULTI_PTRS_ARE_ALIASES]: Remove code.
36815
36816 2014-07-01 Joseph Myers <joseph@codesourcery.com>
36817
36818 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36819 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
36820 undefine.
36821 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
36822 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
36823
36824 2014-07-01 Roland McGrath <roland@hack.frob.com>
36825
36826 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
36827 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
36828
36829 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
36830 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
36831
36832 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
36833 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
36834 ... here.
36835 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
36836 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
36837
36838 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
36839 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
36840 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
36841 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
36842
36843 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
36844 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
36845 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36846 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
36847 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
36848 Moved ...
36849 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36850 ... here.
36851 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
36852 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
36853 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
36854 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
36855 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
36856 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
36857 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
36858 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36859 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
36860 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
36861 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
36862 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
36863 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
36864 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
36865 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
36866 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
36867 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
36868 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
36869 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
36870 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
36871 ... here.
36872 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
36873 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
36874 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
36875 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
36876 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
36877 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
36878 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
36879 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
36880
36881 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
36882
36883 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
36884 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
36885 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
36886 Add sysdep.
36887
36888 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36889
36890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36891
36892 2014-06-30 Joseph Myers <joseph@codesourcery.com>
36893
36894 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
36895 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36896
36897 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36898
36899 * sysdeps/arm/libm-test-ulps: Regenerated.
36900
36901 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
36902 Roland McGrath <roland@hack.frob.com>
36903
36904 * test-skeleton.c (signal_handler): Kill the whole process group
36905 before killing the child individually.
36906 (main): Report any failure on `setpgid'.
36907
36908 2014-06-30 Roland McGrath <roland@hack.frob.com>
36909
36910 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
36911 from _TLS_H to _ARM_NPTL_TLS_H.
36912 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
36913 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
36914
36915 2014-06-30 Joseph Myers <joseph@codesourcery.com>
36916
36917 [BZ #16539]
36918 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
36919 (__expm1l): Return argument unchanged when small but not
36920 subnormal.
36921
36922 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36923 include macro name.
36924 (_FP_UNPACK_RAW_1_P): Likewise.
36925 (_FP_PACK_RAW_1): Likewise.
36926 (_FP_PACK_RAW_1_P): Likewise.
36927 (_FP_MUL_MEAT_1_wide): Likewise.
36928 (_FP_MUL_MEAT_DW_1_hard): Likewise.
36929 (_FP_MUL_MEAT_1_hard): Likewise.
36930 (_FP_DIV_MEAT_1_imm): Likewise.
36931 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
36932 (_FP_DIV_MEAT_1_udiv): Likewise.
36933 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
36934 (_FP_UNPACK_RAW_2): Likewise.
36935 (_FP_UNPACK_RAW_2_P): Likewise.
36936 (_FP_PACK_RAW_2): Likewise.
36937 (_FP_PACK_RAW_2_P): Likewise.
36938 (_FP_MUL_MEAT_DW_2_wide): Likewise.
36939 (_FP_MUL_MEAT_2_wide): Likewise.
36940 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
36941 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36942 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36943 (_FP_MUL_MEAT_2_gmp): Likewise.
36944 (_FP_DIV_MEAT_2_udiv): Likewise.
36945 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
36946 (_FP_FRAC_SRL_4): Likewise.
36947 (_FP_FRAC_SRST_4): Likewise.
36948 (_FP_FRAC_SRS_4): Likewise.
36949 (_FP_UNPACK_RAW_4): Likewise.
36950 (_FP_UNPACK_RAW_4_P): Likewise.
36951 (_FP_PACK_RAW_4): Likewise.
36952 (_FP_PACK_RAW_4_P): Likewise.
36953 (_FP_MUL_MEAT_DW_4_wide): Likewise.
36954 (_FP_MUL_MEAT_4_wide): Likewise.
36955 (_FP_MUL_MEAT_4_gmp): Likewise.
36956 (umul_ppppmnnn): Likewise.
36957 (_FP_DIV_MEAT_4_udiv): Likewise.
36958 (__FP_FRAC_ADD_4): Likewise.
36959 (__FP_FRAC_SUB_3): Likewise.
36960 (__FP_FRAC_SUB_4): Likewise.
36961 (__FP_FRAC_DEC_3): Likewise.
36962 (__FP_FRAC_DEC_4): Likewise.
36963 (__FP_FRAC_ADDI_4): Likewise.
36964 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
36965 (_FP_FRAC_SRL_8): Likewise.
36966 (_FP_FRAC_SRS_8): Likewise.
36967
36968 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
36969 include macro name.
36970 (FP_UNPACK_RAW_EP): Likewise.
36971 (FP_PACK_RAW_E): Likewise.
36972 (FP_PACK_RAW_EP): Likewise.
36973 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
36974 (_FP_ISSIGNAN): Likewise.
36975 (_FP_ADD_INTERNAL): Likewise.
36976 (_FP_FMA): Likewise.
36977 (_FP_CMP): Likewise.
36978 (_FP_SQRT): Likewise.
36979 (_FP_TO_INT): Likewise.
36980 (_FP_FROM_INT): Likewise.
36981 (FP_EXTEND): Likewise.
36982 (_FP_DIV_MEAT_N_loop): Likewise.
36983
36984 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
36985
36986 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
36987 throughout.
36988
36989 2014-06-29 Joseph Myers <joseph@codesourcery.com>
36990
36991 [BZ #17097]
36992 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
36993 result with correct sign in case of exponents that produce
36994 overflow except for X very close to 1.
36995
36996 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
36997
36998 mktime: merge #if/#ifdef usage from glibc
36999 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37000 as that works with both Glibc's and Gnulib's style.
37001 See thread starting at Siddhesh Poyarekar's bug report at:
37002 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37003
37004 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37005
37006 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37007 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37008 * sysdeps/tile/tilegx/memmove.c: Remove file.
37009
37010 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37011
37012 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37013 abi-name definition.
37014 * scripts/soversions.awk: Do not handle or generate ABI lines.
37015 * shlib-versions: Remove ABI entries.
37016 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37017 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37018
37019 2014-06-27 Roland McGrath <roland@hack.frob.com>
37020
37021 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37022 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37023 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37024 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37025 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37026 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37027 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37028 Moved ...
37029 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37030 ... here.
37031 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37032 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37033 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37034 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37035 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37036 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37037 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37038 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37039 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37040 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37041 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37042 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37043 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37044 Moved ...
37045 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37046 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37047 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37048 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37049 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37050 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37051 Moved ...
37052 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37053 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37054 Moved ...
37055 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37056 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37057 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37058 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37059 Moved ...
37060 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37061 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37062 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37063 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37064 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37065 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37066 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37067 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37068 Moved ...
37069 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37070 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37071 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37072 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37073 Moved ...
37074 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37075 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37076 Moved ...
37077 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37078 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37079 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37080 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37081 Moved ...
37082 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37083 ... here.
37084 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37085 Identical file removed.
37086 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37087 Moved ...
37088 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37089 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37090 Identical file removed.
37091 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37092 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37093 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37094 Moved ...
37095 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37096 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37097 Identical file removed.
37098 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37099 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37100 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37101 Identical file removed.
37102 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37103 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37104 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37105 Identical file removed.
37106 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37107 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37108 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37109 Identical file removed.
37110 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37111 Moved ...
37112 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37113 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37114 Identical file removed.
37115 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37116 Moved ...
37117 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37118 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37119 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37120 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37121 Identical file removed.
37122 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37123 Moved ...
37124 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37125 ... here.
37126 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37127 Identical file removed.
37128 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37129 Moved ...
37130 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37131 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37132 Identical file removed.
37133 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37134 Moved ...
37135 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37136 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37137 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37138 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37139 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37140 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37141 Moved ...
37142 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37143 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37144 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37145
37146 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37147 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37148 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37149 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37150 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37151
37152 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
37153
37154 [BZ #17092]
37155 * nscd/nscd.c (monitor_child): Return exit status of child
37156 instead of return value from wait syscall.
37157
37158 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37159
37160 * configure.ac (libc_commonpagesize): Remove variable.
37161 (libc_relro_required): Likewise.
37162 (libc_cv_z_relro): Remove configure test.
37163 * configure: Regenerated.
37164 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37165 variable.
37166 (libc_relro_required): Likewise.
37167 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37168 (libc_relro_required): Likewise.
37169 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37170 (libc_relro_required): Likewise.
37171 * sysdeps/arm/preconfigure: Regenerated.
37172 * sysdeps/ia64/preconfigure: Remove file.
37173 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37174 variable.
37175 (libc_relro_required): Likewise.
37176
37177 [BZ #16561]
37178 [BZ #16562]
37179 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37180 (__ieee754_yn): Set FE_TONEAREST mode internally and then
37181 recompute overflowing results in original rounding mode.
37182 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37183 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37184 recompute overflowing results in original rounding mode.
37185 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37186 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37187 recompute overflowing results in original rounding mode.
37188 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37189 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37190 recompute overflowing results in original rounding mode.
37191 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37192 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37193 recompute overflowing results in original rounding mode.
37194 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37195 (libc_feholdsetround_ctx): New macro.
37196 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37197 * sysdeps/i386/fpu/libm-test-ulps: Update.
37198 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37199
37200 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37201
37202 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37203 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37204 corresponding .cpsetup call.
37205
37206 2014-06-26 Roland McGrath <roland@hack.frob.com>
37207
37208 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37209 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37210 * sysdeps/arm/Makefile [$(subdir) = csu]
37211 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37212 (static-only-routines): Add aeabi_read_tp here.
37213 (shared-only-routines): Add libc-aeabi_read_tp here.
37214 (CFLAGS-libc-start.c): Add -fexceptions here.
37215 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37216 (sysdep_routines, static-only-routines, shared-only-routines):
37217 Don't add to these here.
37218 (CFLAGS-libc-start.c): Likewise.
37219
37220 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37221 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37222 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37223 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37224 * sysdeps/arm/Makefile [$(subdir) = rt]
37225 (librt-sysdep_routines, librt-shared-only-routines):
37226 Append rt-aeabi_unwind_cpp_pr1 here.
37227 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37228 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37229 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37230 (libpthread-sysdep_routines, libpthread-shared-only-routines):
37231 Append nptl-aeabi_unwind_cpp_pr1 here.
37232 (tests): Filter out tst-cleanupx4 here.
37233 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37234 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37235 Don't do those here.
37236
37237 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37238
37239 * scripts/list-sources.sh: Do not handle ports specially.
37240
37241 2014-06-26 Roland McGrath <roland@hack.frob.com>
37242
37243 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37244 * sysdeps/arm/feupdateenv.c: Likewise.
37245
37246 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37247
37248 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37249
37250 * manual/texinfo.tex: Update to version 2014-05-05.10 with
37251 trailing whitespace removed.
37252 * scripts/config.guess: Update to version 2014-03-23.
37253 * scripts/config.sub: Update to version 2014-05-01
37254 * scripts/install-sh: Update to version 2013-12-25.23.
37255 * scripts/move-if-change: Update from gnulib.
37256
37257 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37258
37259 * debug/memmove_chk.c: Remove pagecopy.h include.
37260
37261 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
37262
37263 * time/mktime.c (leapyear): Remove inline keyword. The code is now
37264 identical to gnulib mktime.
37265
37266 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37267
37268 * configure.ac: Do not test for machine being rs6000. Do not test
37269 for powerpc*-*soft.
37270 * configure: Regenerated.
37271
37272 [BZ #11505]
37273 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37274 test.
37275 * configure: Regenerated.
37276 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37277 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37278 Remove configure test.
37279 * sysdeps/arm/configure: Regenerated.
37280 * sysdeps/nptl/configure.ac: Do not check
37281 libc_cv_asm_cfi_directives.
37282 * sysdeps/nptl/configure: Regenerated.
37283 * sysdeps/x86_64/nptl/configure.ac: Remove file.
37284 * sysdeps/x86_64/nptl/configure: Remove generated file.
37285 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37286 unconditional.
37287 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37288
37289 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37290
37291 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37292 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37293 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37294 it is defined.
37295
37296 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37297 instead of whether it is defined.
37298 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37299 * sysdeps/hppa/dl-machine.h: Likewise.
37300 * sysdeps/ia64/dl-machine.h: Likewise.
37301 * sysdeps/m68k/dl-machine.h: Likewise.
37302 * sysdeps/microblaze/dl-machine.h: Likewise.
37303 * sysdeps/mips/dl-machine.: Likewise.
37304 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37305 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37306 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37307 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37308 * sysdeps/sh/dl-machine.h: Likewise.
37309 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37310 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37311 * sysdeps/tile/dl-machine.h: Likewise.
37312 * sysdeps/x86_64/dl-machine.h: Likewise.
37313
37314 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37315 code.
37316 (verify_persistent_db): Likewise.
37317
37318 2014-06-26 Roland McGrath <roland@hack.frob.com>
37319
37320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37321 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37323 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37325 Moved ...
37326 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37327 ... here.
37328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37329 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37331 Identical file removed.
37332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37333 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37335 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37337 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37339 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37341 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37343 Moved ...
37344 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37346 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37348 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37350 Moved ...
37351 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37353 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37355 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37357 Identical file removed.
37358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37359 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37361 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37363 Moved ...
37364 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37365 ... here.
37366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37367 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37369 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37371 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37373 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37375 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37377 Moved ...
37378 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37380 Moved ...
37381 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37383 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37385 Moved ...
37386 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37388 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37389
37390 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37391 folded into ...
37392 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37393 * sysdeps/unix/sysv/linux/s390/Versions
37394 (libpthread: GLIBC_2.19): New version set.
37395 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37396 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37397 (librt: GLIBC_2.3.3): New version set.
37398 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37399 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37400 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37401 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37402 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37403 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37404 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37405 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37406 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37407 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37408 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37409 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37410 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37411 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37412 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37413 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37414 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37415 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37416 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37417 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37418 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37419 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37420 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37421 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37422 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37423 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37424 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37425 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37426 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37427 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37428 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37429 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37430 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37431 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37432 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37433 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37434 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37435 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37436 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37437 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37438 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37440 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
37441 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
37442 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
37443
37444 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
37445 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
37446 (__libc_vfork): Define the function under this name.
37447 [!NOT_IN_libc] (__vfork): Make this an alias.
37448 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37449 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
37450 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
37451 (__libc_vfork): Define the function under this name.
37452 [!NOT_IN_libc] (__vfork): Make this an alias.
37453 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37454 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
37455 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
37456 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
37457 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
37458 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37459
37460 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
37461 code that was previously under [RESET_PID].
37462 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
37463 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
37464 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
37465
37466 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
37467 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
37468 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
37469 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
37470 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
37471 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
37472 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
37473 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
37474 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
37475 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
37476 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37477 Moved ...
37478 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
37479 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
37480 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
37481 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
37482 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
37483 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
37484 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
37485 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
37486 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
37487 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
37488 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
37489 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
37490 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
37491 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
37492 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
37493 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37494 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
37495 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
37496 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
37497 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
37498 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
37499 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
37500 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
37501 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
37502 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
37503 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
37504 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
37505 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
37506 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
37507
37508 2014-06-25 Roland McGrath <roland@hack.frob.com>
37509
37510 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
37511 that was previously under [RESET_PID].
37512 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
37513
37514 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37515
37516 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
37517 not undefine and redefine.
37518 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
37519 [O_CLOEXEC]: Make code unconditional.
37520 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
37521 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
37522 <kernel-features.h>.
37523 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
37524 conditional variable definition.
37525 (shm_open) [O_CLOEXEC]: Make code unconditional.
37526 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
37527 code.
37528
37529 * configure.ac (USE_REGPARMS): Don't define here.
37530 * configure: Regenerated.
37531 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
37532 * sysdeps/i386/configure: Regenerated.
37533
37534 * nptl/createthread.c: Don't include kernel-features.h.
37535 * nptl/pthread_cancel.c: Likewise.
37536 * nptl/pthread_condattr_setclock.c: Likewise.
37537 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
37538 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
37539 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
37540 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
37541 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
37542 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
37543 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
37545 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37546 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
37547 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
37548 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
37549 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
37550 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
37551 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
37552 * nscd/gai.c: Likewise.
37553 * nss/nss_db/db-open.c: Likewise.
37554 * sysdeps/generic/ldsodefs.h: Likewise.
37555 * sysdeps/sh/nptl/tls.h: Likewise.
37556 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37557 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
37558 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
37559 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
37560 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
37561 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37562 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
37563 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37564 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37565 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37566 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37567 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37568 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
37569 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
37570 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
37571 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
37572 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
37573 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
37574 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
37575 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
37576 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
37577 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
37578 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
37579 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
37580 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
37581 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
37582 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
37583 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
37584 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37585 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
37586 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
37587 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
37588 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
37589 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37590 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37591 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37592 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37593 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
37594 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
37595 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
37596 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37597 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
37598 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
37599 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37600 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
37601 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
37602 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
37603 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
37604 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
37605 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
37606 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
37607 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
37608 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
37609 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37610 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
37611 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37612 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37613 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
37614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
37616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
37617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
37618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
37619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
37620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
37621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
37622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
37625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
37626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
37627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
37628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
37634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
37635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
37636 * sysdeps/unix/sysv/linux/pread.c: Likewise.
37637 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
37638 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
37639 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
37640 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
37641 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
37642 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
37643 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
37644 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
37645 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
37646 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
37647 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
37648 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
37649 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
37650 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
37651 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
37652 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37653 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
37654 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
37655 * sysdeps/unix/sysv/linux/system.c: Likewise.
37656 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
37657 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37658 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37659 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37660 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37661 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37662 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37663
37664 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
37665 * configure: Regenerated.
37666 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
37667
37668 * configure.ac (base_machine): Do not set specially for particular
37669 machines here.
37670 * configure: Regenerated.
37671 * sysdeps/powerpc/preconfigure: Move machine and base_machine
37672 settings from configure.ac.
37673 * sysdeps/i386/preconfigure: New file.
37674 * sysdeps/s390/preconfigure: Likewise.
37675 * sysdeps/sh/preconfigure: Likewise.
37676 * sysdeps/sparc/preconfigure: Likewise.
37677
37678 2014-06-25 Roland McGrath <roland@hack.frob.com>
37679
37680 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
37681 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
37682 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
37683 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
37684 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
37685 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
37686 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
37687 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
37688 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
37689 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
37690 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
37691 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
37692 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
37693 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
37694 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
37695 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
37696 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
37697 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
37698 * sysdeps/sparc/sparc64/Makefile: ... appended here.
37699
37700 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
37701 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
37702 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
37703 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
37704 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
37705 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
37706 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
37707 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
37708 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
37709 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
37710 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
37711 * sysdeps/sparc/sparc32/sem_post.c: ... here.
37712 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
37713 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
37714 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
37715 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
37716 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
37717 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
37718 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
37719 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
37720 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
37721 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
37722 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
37723 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
37724 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
37725 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
37726 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
37727 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
37728 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
37729 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
37730 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
37731 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
37732 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
37733 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
37734 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
37735 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
37736 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
37737 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
37738
37739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
37740 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
37741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
37742 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
37743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37744 Moved ...
37745 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
37746 ... here.
37747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
37748 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
37749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
37750 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
37751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
37752 Moved ...
37753 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
37754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
37755 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
37756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
37757 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
37758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
37759 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
37760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37761 Moved ...
37762 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
37763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37764 Moved ...
37765 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
37766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
37767 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
37768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37769 Moved ...
37770 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
37771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
37772 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
37773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
37774 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
37775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
37776 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
37777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
37778 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
37779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37780 Moved ...
37781 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
37782 ... here.
37783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
37784 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
37785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
37786 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
37787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
37788 Moved ...
37789 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
37790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
37791 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
37792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
37793 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
37794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
37795 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
37796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37797 Moved ...
37798 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
37799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37800 Moved ...
37801 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
37802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
37803 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
37804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37805 Moved ...
37806 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
37807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
37808 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
37809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
37810 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
37811
37812 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37813
37814 * timezone/checktab.awk: Update from tzcode 2014e.
37815 * timezone/private.h: Likewise.
37816 * timezone/tzfile.h: Likewise.
37817 * timezone/zdump.c: Likewise.
37818 * timezone/zic.c: Likewise.
37819
37820 * sysdeps/unix/sysv/linux/kernel-features.h
37821 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
37822 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
37823 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
37824 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37825 Remove conditional code.
37826
37827 2014-06-25 Will Newton <will.newton@linaro.org>
37828
37829 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
37830 (_dl_arm_cap_flags): Add HWCAP2 values.
37831 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
37832 (_DL_HWCAP_COUNT): Increase to 37.
37833 (_DL_HWCAP_LAST): New define.
37834 (_DL_HWCAP2_LAST): New define.
37835 (_dl_procinfo): Add support for printing
37836 AT_HWCAP2 entries.
37837 (_dl_string_hwcap): Use _dl_hwcap_string.
37838
37839 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37840
37841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37842
37843 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37844
37845 * README: Do not mention ports directory.
37846
37847 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37848 Remove macro.
37849 * sysdeps/unix/sysv/linux/futimes.c: Do not include
37850 <kernel-features.h>.
37851 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
37852 conditional variable definition.
37853 (__futimes): Update comment.
37854 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
37855 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
37856
37857 [BZ #16560]
37858 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
37859 arguments close to 0.
37860 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
37861 Likewise.
37862 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37863 Likewise.
37864 * math/auto-libm-test-in: Add more tests of exp10.
37865 * math/auto-libm-test-out: Regenerated.
37866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37867
37868 * sysdeps/unix/sysv/linux/kernel-features.h
37869 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
37870 * sysdeps/unix/sysv/linux/readv.c: Do not include
37871 <kernel-features.h>.
37872 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37873 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37874 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37875 unconditional.
37876 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37877 conditional code.
37878 * sysdeps/unix/sysv/linux/writev.c: Do not include
37879 <kernel-features.h>.
37880 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37881 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37882 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37883 unconditional.
37884 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37885 conditional code.
37886
37887 2014-06-25 Will Newton <will.newton@linaro.org>
37888
37889 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
37890 comment changes throughout the file. Remove checks
37891 for HAVE_*_H definitions that are not required.
37892 (__gen_tempname): Call abort if an unknown kind value is
37893 passed.
37894
37895 2014-06-25 Andreas Schwab <schwab@suse.de>
37896
37897 [BZ #17086]
37898 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
37899 scalbln, scalblnf, scalblnl in libc.
37900
37901 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37902
37903 [BZ #17086]
37904 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
37905 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37906 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37907
37908 2014-06-24 Roland McGrath <roland@hack.frob.com>
37909
37910 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
37911 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
37912 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
37913 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
37914 Update #include.
37915 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
37916 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
37917 Update #include.
37918 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
37919 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
37920 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
37921 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
37922 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37923 * sysdeps/x86/bits/pthreadtypes.h: ... here.
37924 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
37925 * sysdeps/x86/bits/semaphore.h: ... here.
37926 * sysdeps/x86/nptl/elide.h: Moved ...
37927 * sysdeps/x86/elide.h: ... here.
37928 * sysdeps/x86_64/nptl/Implies: File removed.
37929 * sysdeps/i386/nptl/Implies: File removed.
37930
37931 2014-06-24 Joseph Myers <joseph@codesourcery.com>
37932
37933 [BZ #16539]
37934 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
37935 return the argument for normal arguments with exponent below -64.
37936 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37937 Likewise.
37938 * math/auto-libm-test-in: Add another test of expm1.
37939 * math/auto-libm-test-out: Regenerated.
37940
37941 [BZ #16287]
37942 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
37943 calling __erfcl for arguments at least 16.
37944 * math/auto-libm-test-in: Add more tests of erf.
37945 * math/auto-libm-test-out: Regenerated.
37946
37947 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
37948 individual architectures.
37949 * sysdeps/unix/sysv/linux/configure: Regenerated.
37950 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
37951 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
37952 * sysdeps/unix/sysv/linux/powerpc/configure.ac
37953 (ldd_rewrite_script): Define variable.
37954 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
37956 file.
37957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
37958 generated file.
37959 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
37960 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
37961 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
37962 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
37963 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
37964 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
37965 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
37966 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
37967
37968 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37969
37970 [BZ #17084]
37971 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
37972 Rename member __data.d to __data.__elision_data.
37973
37974 2014-06-24 Wilco <wdijkstr@arm.com>
37975
37976 * NEWS: Add 16918 to fixed bug list.
37977
37978 2014-06-24 Wilco <wdijkstr@arm.com>
37979
37980 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
37981
37982 2014-06-24 Wilco <wdijkstr@arm.com>
37983
37984 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
37985 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
37986 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
37987 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
37988 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
37989 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
37990 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
37991 Use _FPU_MASK_RM.
37992
37993 2014-06-24 Wilco <wdijkstr@arm.com>
37994
37995 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
37996
37997 2014-06-24 Wilco <wdijkstr@arm.com>
37998
37999 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38000 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38001 * sysdeps/arm/fesetround.c (fesetround): Remove space.
38002 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38003
38004 2014-06-24 Wilco <wdijkstr@arm.com>
38005
38006 [BZ #16918]
38007 * sysdeps/arm/feupdateenv.c (feupdateenv):
38008 Rewrite to reduce FPSCR accesses and fix return value.
38009
38010 2014-06-24 Wilco <wdijkstr@arm.com>
38011
38012 * sysdeps/arm/fclrexcpt.c (feclearexcept):
38013 Optimize to avoid unnecessary FPSCR writes.
38014 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38015 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38016 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38017 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38018
38019 2014-06-24 Wilco <wdijkstr@arm.com>
38020
38021 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38022 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38023 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38024 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38025 Call libc_fetestexcept_vfp.
38026 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38027 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38028 __SOFTFP__ ifdef so that they can be built for softfp.
38029
38030 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38031
38032 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38033 argument type signed char.
38034
38035 * Makerules (check-abi): Dump diff of symlist if the test
38036 fails.
38037
38038 2014-06-23 Roland McGrath <roland@hack.frob.com>
38039
38040 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38041 using abort.
38042
38043 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38044 Remove unused variable ST.
38045
38046 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38047
38048 [BZ #16354]
38049 [BZ #17061]
38050 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38051 small arguments before calling __expm1.
38052 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38053 small arguments before calling __expm1f.
38054 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38055 small arguments before calling __expm1l.
38056 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38057 Likewise.
38058 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38059 * math/auto-libm-test-in: Add more cosh tests. Do not allow
38060 spurious underflow for some cosh tests.
38061 * math/auto-libm-test-out: Regenerated.
38062 * sysdeps/i386/fpu/libm-test-ulps: Update.
38063
38064 [BZ #17050]
38065 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38066 (__ieee754_y1): Set errno if return value overflows.
38067 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38068 (__ieee754_y1f): Set errno if return value overflows.
38069 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38070 (__ieee754_y1l): Set errno if return value overflows.
38071 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38072 (__ieee754_y1l): Set errno if return value overflows.
38073 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38074 * math/auto-libm-test-out: Regenerated.
38075
38076 * math/gen-auto-libm-tests.c: Document use of
38077 ignore-zero-inf-sign.
38078 (input_flag_type): Add value flag_ignore_zero_inf_sign.
38079 (input_flags): Add ignore-zero-inf-sign.
38080 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38081 * math/gen-libm-test.pl (generate_testfile): Handle
38082 ignore-zero-inf-sign.
38083 * math/auto-libm-test-in: Mark some cpow tests with
38084 ignore-zero-inf-sign and some with xfail-rounding.
38085 * math/auto-libm-test-out: Regenerated.
38086 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38087 * sysdeps/i386/fpu/libm-test-ulps: Update.
38088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38089
38090 [BZ #16315]
38091 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38092 overflowing or underflowing operations take place with sign of
38093 result.
38094 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38095 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38096 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38097 (__ieee754_pow): Recompute overflowing and underflowing results in
38098 original rounding mode.
38099 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38100 (__powl_helper): Allow negative argument X and scale negated value
38101 as needed. Avoid passing value outside [-1, 1] to f2xm1.
38102 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38103 overflowing or underflowing operations take place with sign of
38104 result.
38105 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38106 Include <math.h>.
38107 * math/auto-libm-test-in: Add more tests of pow.
38108 * math/auto-libm-test-out: Regenerated.
38109 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38110 (pow_tonearest_test_data): Remove.
38111 (pow_test_tonearest): Likewise.
38112 (pow_towardzero_test_data): Likewise.
38113 (pow_test_towardzero): Likewise.
38114 (pow_downward_test_data): Likewise.
38115 (pow_test_downward): Likewise.
38116 (pow_upward_test_data): Likewise.
38117 (pow_test_upward): Likewise.
38118 (main): Don't call removed functions.
38119 * sysdeps/i386/fpu/libm-test-ulps: Update.
38120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38121
38122 2014-06-23 Roland McGrath <roland@hack.frob.com>
38123
38124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38125 Moved ...
38126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38128 Moved ...
38129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38131 Moved ...
38132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38134 Moved ...
38135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38137 File removed.
38138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38139 File removed.
38140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38141 File removed.
38142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38143 File removed.
38144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38145 File removed.
38146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38147 File removed.
38148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38149 File removed.
38150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38151 File removed.
38152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38153 File removed.
38154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38155 File removed.
38156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38157 File removed.
38158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38159 File removed.
38160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38161 Moved ...
38162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38164 Moved ...
38165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38166 ... here.
38167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38168 Moved ...
38169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38171 Moved ...
38172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38174 Moved ...
38175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38177 Moved ...
38178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38180 Moved ...
38181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38183 Moved ...
38184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38186 Moved ...
38187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38190 ... here.
38191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38192 Moved ...
38193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38195 Moved ...
38196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38197 ... here.
38198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38199 Moved ...
38200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38201 ... here.
38202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38203 Moved ...
38204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38205 ... here.
38206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38207 Moved ...
38208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38210 Moved ...
38211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38215 Moved ...
38216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38217 ... here.
38218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38219 Moved ...
38220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38221 ... here.
38222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38223 Moved ...
38224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38226 Moved ...
38227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38229 Moved ...
38230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38232 Moved ...
38233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38235 Moved ...
38236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38237 ... here.
38238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38239 Moved ...
38240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38242 Moved ...
38243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38245 Moved ...
38246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38248 Moved ...
38249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38253 Moved ...
38254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38256 Moved ...
38257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38259 Moved ...
38260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38261 ... here.
38262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38263 Moved ...
38264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38265 ... here.
38266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38267 Moved ...
38268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38269 ... here.
38270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38271 Moved ...
38272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38274 Moved ...
38275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38277 Moved ...
38278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38280 Moved ...
38281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38282 ... here.
38283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38284 Moved ...
38285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38286 ... here.
38287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38288 Moved ...
38289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38290 ... here.
38291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38292 Moved ...
38293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38295 Moved ...
38296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38297
38298 2014-06-23 Will Newton <will.newton@linaro.org>
38299 Wilco <wdijkstr@arm.com>
38300
38301 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38302 implementation. Include get-rounding-mode.h.
38303 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38304 [!libc_feholdsetround_noex_ctx]: Define
38305 libc_feholdsetround_noex_ctx.
38306 [!libc_feholdsetround_noexf_ctx]: Define
38307 libc_feholdsetround_noexf_ctx.
38308 [!libc_feholdsetround_noexl_ctx]: Define
38309 libc_feholdsetround_noexl_ctx.
38310 (libc_feholdsetround_ctx): New function.
38311 (libc_feresetround_ctx): New function.
38312 (libc_feholdsetround_noex_ctx): New function.
38313 (libc_feresetround_noex_ctx): New function.
38314
38315 2014-06-23 Roland McGrath <roland@hack.frob.com>
38316
38317 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38318 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38319 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38320 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38321 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38322 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38323
38324 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38325 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38326 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38327 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38328 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38329 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38330 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38331 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38332 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38333 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38334 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38335 Moved ...
38336 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38337 ... here.
38338 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38339 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38340 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38341 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38342 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38343 Moved ...
38344 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38345 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38346 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38347 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38348 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38349 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38350 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38351 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38352 Moved ...
38353 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38354 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38355 Moved ...
38356 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38357 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38358 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38359 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38360 Moved ...
38361 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38362 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38363 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38364 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38365 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38366 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38367 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38368 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38369 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38370 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38371 Moved ...
38372 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38373 ... here.
38374 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38375 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38376 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38377 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38378 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38379 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38380 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38381 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38382 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38383 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38384 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38385 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38386 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38387 Moved ...
38388 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38389 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38390 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38391 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38392 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38393 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38394 Moved ...
38395 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38396 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38397 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38398 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38399 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38400
38401 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38402 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38403 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38404 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38405 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38406 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38407 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38408 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38409 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38410 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38411 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38412 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38413 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38414 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38415 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38416 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38417 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38418 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38419 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38420 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38421 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38422 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38423 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38424 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38425 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38426 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38427 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38428 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38429
38430 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38431
38432 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38433 (FALLOC_FL_COLLAPSE_RANGE): New macro.
38434 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38435 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38436 (IPV6_PMTUDISC_INTERFACE): Likewise.
38437 (IPV6_PMTUDISC_OMIT): Likewise.
38438
38439 2014-06-23 Andreas Schwab <schwab@suse.de>
38440
38441 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
38442 Remove unused errout label.
38443
38444 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38445
38446 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
38447 macro: hardware supports Vector Crypto instructions.
38448
38449 2014-06-23 Will Newton <will.newton@linaro.org>
38450
38451 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
38452 rather than __builtin_expect.
38453
38454 * elf/dl-lookup.c (undefined_msg): Remove variable.
38455 (_dl_lookup_symbol_x): Replace undefined_msg with string
38456 literal.
38457
38458 * elf/dl-lookup.c (do_lookup_unique): New function.
38459 (do_lookup_x): Move STB_GNU_UNIQUE handling code
38460 to a separate function.
38461
38462 2014-06-23 Andreas Schwab <schwab@suse.de>
38463
38464 [BZ #17079]
38465 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
38466 before reading the next line.
38467
38468 2014-06-23 Will Newton <will.newton@linaro.org>
38469
38470 * test-skeleton.c (signal_handler): Use printf and %m
38471 rather than perror. Use printf rather than fprintf to
38472 stderr. Use puts rather than fputs to stderr.
38473 (main): Likewise.
38474
38475 2014-06-22 Ludovic Courtès <ludo@gnu.org>
38476
38477 * nscd/nscd.c (thread_info_t): Remove typedef.
38478 (thread_info): Remove variable.
38479
38480 2014-06-21 Allan McRae <allan@archlinux.org>
38481
38482 * NEWS: Mention CVE-2014-4043.
38483
38484 2014-06-20 Roland McGrath <roland@hack.frob.com>
38485
38486 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
38487 * nptl/smp.h: ... here.
38488
38489 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
38490
38491 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
38492 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38493 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
38494 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
38495
38496 * nptl/allocatestack.c: Include <stack-aliasing.h>.
38497 * nptl/stack-aliasing.h: New file.
38498 * sysdeps/i386/i686/stack-aliasing.h: New file.
38499 * sysdeps/i386/i686/nptl/Makefile: File removed.
38500 * sysdeps/x86_64/stack-aliasing.h: New file.
38501 * sysdeps/x86_64/nptl/Makefile
38502 (CFLAGS-pthread_create.c): Variable removed.
38503
38504 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38505 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
38506 old file.
38507 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
38508 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
38509 old file.
38510
38511 2014-06-21 Joseph Myers <joseph@codesourcery.com>
38512
38513 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38514 (__ASSUME_SIGFRAME_V2): Remove macro.
38515 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
38516 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
38517 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
38518 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
38519 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
38520 Declare as function. Remove conditional macro definitions.
38521 (__default_rt_sa_restorer): Likewise.
38522 (__default_sa_restorer_v1): Remove declaration.
38523 (__default_sa_restorer_v2): Likewise.
38524 (__default_rt_sa_restorer_v1): Likewise.
38525 (__default_rt_sa_restorer_v2): Likewise.
38526 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
38527 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
38528 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
38529
38530 2014-06-20 Roland McGrath <roland@hack.frob.com>
38531
38532 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
38533 (libpthread-routines): Add sysdep.
38534 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
38535 * sysdeps/unix/sysv/linux/sparc/Versions
38536 (libpthread: GLIBC_2.3.3): New version set.
38537 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
38538 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
38539 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
38540 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
38541 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
38542 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
38543 Moved ...
38544 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
38545 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
38546 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
38547 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
38548 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
38549 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
38550 * sysdeps/sparc/nptl/sem_init.c: ... here.
38551 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
38552 * sysdeps/sparc/nptl/sem_post.c: ... here.
38553 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
38554 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
38555 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
38556 * sysdeps/sparc/nptl/sem_wait.c: ... here.
38557 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
38558 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
38559 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
38560 (libpthread-routines): Add cpu_relax.
38561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
38562 File removed.
38563 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
38564 (librt: GLIBC_2.3.3): New version set.
38565 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
38566 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
38567 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
38568 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
38569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
38570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
38571 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
38572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
38573 Moved ...
38574 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
38575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
38576 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
38577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
38578 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
38579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
38580 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
38581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
38582 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
38583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
38584 Moved ...
38585 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
38586 Update #include.
38587 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
38588 Moved ...
38589 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
38590 Update #include.
38591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
38592 Moved ...
38593 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
38594 Update #include.
38595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
38596 Moved ...
38597 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
38598 Update #include.
38599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
38600 Moved ...
38601 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
38602 Update #include.
38603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
38604 Moved ...
38605 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
38606 Update #include.
38607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
38608 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
38609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
38610 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
38611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
38612 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
38613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
38614 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
38615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
38616 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
38617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38618 Moved ...
38619 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
38620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
38621 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
38622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
38623 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
38624
38625 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38626
38627 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
38628 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
38629 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38630 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
38631 * nscd/nscd.c: Likewise.
38632 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
38633 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
38634 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
38635 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
38636
38637 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
38638 <kernel-features.h>.
38639 (init_mq_netlink): Remove conditional have_sock_cloexec
38640 definitions. Remove code conditional on have_sock_cloexec < 0.
38641 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
38642 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
38643 * sysdeps/unix/sysv/linux/opensock.c: Do not include
38644 <kernel-features.h>.
38645 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
38646 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
38647
38648 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
38649
38650 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38651 Add tests for memset_chk and memset.
38652
38653 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
38654 with AVX2_Usable.
38655
38656 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
38657
38658 [BZ #16046]
38659 * elf/tst-dl-iter-static.c: New file.
38660 * elf/Makefile (tests-static): Add tst-dl-iter-static.
38661
38662 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
38663 error.
38664
38665 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38666
38667 * sysdeps/unix/sysv/linux/kernel-features.h
38668 (__ASSUME_F_GETOWN_EX): Remove macro.
38669 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
38670 <kernel-features.h>.
38671 (miss_F_GETOWN_EX): Remove variable or macro.
38672 (do_fcntl): Do not check miss_F_GETOWN_EX.
38673 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
38674
38675 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
38676 Remove macro.
38677 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
38678 [!__ASSUME_AT_RANDOM]: Remove conditional code.
38679 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
38680
38681 * sysdeps/unix/sysv/linux/kernel-features.h
38682 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
38683 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
38684 [ADJ_OFFSET_SS_READ]: Make code unconditional.
38685 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
38686
38687 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
38688
38689 [BZ #17075]
38690 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
38691 Fix calculation of the symbol's value.
38692 * sysdeps/arm/tst-armtlsdescloc.c: New file.
38693 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
38694 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
38695 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
38696 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
38697 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
38698 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
38699 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
38700 (modules-names): Add `tst-armtlsdescmod',
38701 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
38702 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
38703 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38704 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
38705 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
38706 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38707 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
38708 ($(objpfx)tst-armtlsdescloc): New dependency.
38709 ($(objpfx)tst-armtlsdescextnow): Likewise.
38710 ($(objpfx)tst-armtlsdescextlazy): Likewise.
38711 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
38712 TLS scheme support.
38713 * sysdeps/arm/configure: Regenerate.
38714
38715 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38716
38717 * include/fcntl.h (__atfct_seterrno): Remove prototype.
38718 (__atfct_seterrno_2): Likewise.
38719 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
38720 <kernel-features.h>.
38721 (__ASSUME_ATFCTS): Do not undefine and redefine.
38722 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
38723 (__have_atfcts): Remove conditional definition.
38724 (__fxstatat([__NR_fstatat64]: Make code unconditional.
38725 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
38726 unreachable if [__ASSUME_ATFCTS].
38727 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
38728 not undefine and redefine.
38729 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
38730 <kernel-features.h>.
38731 (faccessat) [__NR_faccessat]: Make code unconditional.
38732 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
38733 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
38734 <kernel-features.h>.
38735 (fchmodat) [__NR_fchmodat]: Make code unconditional.
38736 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38737 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
38738 <kernel-features.h>.
38739 (fchownat) [__NR_fchownat]: Make code unconditional.
38740 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
38741 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
38742 <kernel-features.h>.
38743 (futimesat) [__NR_futimesat]: Make code unconditional.
38744 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
38745 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38746 <kernel-features.h>.
38747 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38748 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38749 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38750 <kernel-features.h>.
38751 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
38752 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38753 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
38754 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38755 <kernel-features.h>.
38756 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
38757 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38758 * sysdeps/unix/sysv/linux/linkat.c: Do not include
38759 <kernel-features.h>.
38760 (linkat) [__NR_linkat]: Make code unconditional.
38761 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38762 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
38763 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
38764 <kernel-features.h>.
38765 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
38766 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38767 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
38768 <kernel-features.h>.
38769 (mkdirat) [__NR_mkdirat]: Make code unconditional.
38770 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
38771 * sysdeps/unix/sysv/linux/openat.c: Do not include
38772 <kernel-features.h>.
38773 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
38774 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
38775 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
38776 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
38777 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
38778 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
38779 <kernel-features.h>.
38780 (readlinkat) [__NR_readlinkat]: Make code unconditional.
38781 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
38782 result of INLINE_SYSCALL directly, not via int variable.
38783 * sysdeps/unix/sysv/linux/renameat.c: Do not include
38784 <kernel-features.h>.
38785 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
38786 (renameat) [__NR_renameat]: Make code unconditional.
38787 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
38788 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
38789 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
38790 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
38791 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
38792 (__ASSUME_ATFCTS): Do not undefine and redefine.
38793 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
38794 <kernel-features.h>.
38795 (symlinkat) [__NR_symlinkat]: Make code unconditional.
38796 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38797 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
38798 <kernel-features.h>.
38799 (unlinkat) [__NR_unlinkat]: Make code unconditional.
38800 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38801 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
38802 (__ASSUME_ATFCTS): Do not undefine and redefine.
38803 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38804 <kernel-features.h>.
38805 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38806 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38807 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38808 <kernel-features.h>.
38809 (__xmknodat) [__NR_mknodat]: Make code unconditional.
38810 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38811
38812 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
38813
38814 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
38815
38816 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
38817
38818 [BZ #17069]
38819 * posix/regcomp.c (parse_reg_exp): Deallocate partially
38820 constructed tree before returning error.
38821 * posix/bug-regexp36.c: Expand test case.
38822
38823 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
38824
38825 [BZ #6803]
38826 * math/libm-test.inc (scalbln_test_date):
38827 Add errno expectations.
38828 * math/w_scalblnf.c: New File.
38829 Add wrapper which checks for setting errno to ERANGE.
38830 Add weak_alias for corresponding scalbln function.
38831 * math/w_scalbln.c: Likewise.
38832 * math/w_scalblnl.c: Likewise.
38833 * math/Makefile (libm-calls): Add w_scalbln.
38834 * sysdeps/ieee754/flt-32/s_scalblnf.c:
38835 Remove weak_alias for corresponding scalbln function.
38836 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38837 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38838 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38839 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38840 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
38841 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38842 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
38843 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38844 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
38845 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
38846 Remove long_double_symbol for scalblnl function in libm, libc.
38847 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
38848 Add wrapper which checks for setting errno to ERANGE.
38849 Add long_double_symbol for scalblnl function in libm, libc.
38850 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
38851 Remove long_double_symbol for scalblnl in libm.
38852 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
38853 Add wrapper which checks for setting errno to ERANGE.
38854 Add long_double_symbol for scalblnl function in libm.
38855 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
38856 Do not use wrapper because of own implementation.
38857
38858 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
38859
38860 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
38861 3 bytes for __pad1 for x32.
38862 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
38863
38864 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
38865 H.J. Lu <hongjiu.lu@intel.com>
38866
38867 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
38868 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
38869 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38870 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38871 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
38872
38873 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
38874
38875 [BZ #17069]
38876 * posix/regcomp.c (parse_expression): Deallocate partially
38877 constructed tree before returning error.
38878 * posix/Makefile.c (tests): Add bug-regex36.
38879 (generated): Add bug-regex36.mtrace.
38880 (tests-special): Add $(objpfx)bug-regex36-mem.out
38881 (bug-regex36-ENV): New variable.
38882 ($(objpfx)bug-regex36-mem.out): New rule.
38883 * posix/bug-regex36.c: New file.
38884
38885 2014-06-19 Will Newton <will.newton@linaro.org>
38886
38887 * malloc/malloc.c (systrim): If extra is zero then return
38888 early.
38889
38890 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38891
38892 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
38893
38894 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
38895
38896 * sysdeps/aarch64/strchr.S: New file.
38897
38898 2014-06-18 Joseph Myers <joseph@codesourcery.com>
38899
38900 [BZ #17022]
38901 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
38902 from arguments -2 or below.
38903 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38904 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
38905
38906 2014-06-18 Andreas Schwab <schwab@suse.de>
38907
38908 [BZ #17062]
38909 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38910 of a bracket expr not to run off the end of the string.
38911 * posix/Makefile (tests): Add tst-fnmatch3.
38912 * posix/tst-fnmatch3.c: New file.
38913
38914 2014-06-18 Joseph Myers <joseph@codesourcery.com>
38915
38916 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
38917 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38918 [$(cross-compiling) = no]: Likewise.
38919 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38920 [$(cross-compiling) = no]: Likewise.
38921
38922 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38923
38924 [BZ #17031]
38925 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
38926 double, adjusted for any remainder from the high double.
38927 * math/libm-test.inc (nearbyint): Add tests.
38928 (rint): Likewise.
38929
38930 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38931
38932 * nptl/sysdeps/powerpc/Makefile: Moved ...
38933 * sysdeps/powerpc/nptl/Makefile: ... here.
38934 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38935 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
38936 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
38937 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
38938 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
38939 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
38940 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
38941 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
38942 * nptl/sysdeps/powerpc/tls.h: Moved ...
38943 * sysdeps/powerpc/nptl/tls.h: ... here.
38944
38945 2014-06-16 Joseph Myers <joseph@codesourcery.com>
38946
38947 [BZ #16681]
38948 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
38949 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
38950 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
38951 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
38952 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
38953 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
38954 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
38955 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
38956 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
38957
38958 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
38959
38960 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38961
38962 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
38963
38964 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
38965 defined operator.
38966
38967 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
38968 $TIMEOUTFACTOR.
38969
38970 2014-06-16 Florian Weimer <fweimer@redhat.com>
38971
38972 [BZ #17058]
38973 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
38974 non-executed part of the test.
38975
38976 2014-06-16 Andreas Schwab <schwab@suse.de>
38977
38978 * string/bits/string2.h (strdup, strndup): Update feature guard.
38979
38980 2014-06-14 David S. Miller <davem@davemloft.net>
38981
38982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38983
38984 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
38985
38986 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
38987 that was previously under [RESET_PID].
38988 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
38989
38990 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
38991 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
38992 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
38993 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38994 (__libc_vfork): New strong alias.
38995 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
38996
38997 2014-06-14 Andi Kleen <ak@linux.intel.com>
38998
38999 * sysdeps/generic/elide.h: New file.
39000
39001 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
39002
39003 * Makefile (installed-headers): Adjust path of pthread.h header.
39004
39005 2014-06-13 Roland McGrath <roland@hack.frob.com>
39006
39007 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39008 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39009 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39010 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39011
39012 * nptl/sysdeps/s390/Makefile: Moved ...
39013 * sysdeps/s390/nptl/Makefile: ... here.
39014 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39015 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39016 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39017 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39018 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39019 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39020 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39021 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39022 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39023 * sysdeps/s390/nptl/pthreaddef.h: ... here.
39024 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39025 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39026 * nptl/sysdeps/s390/tls.h: Moved ...
39027 * sysdeps/s390/nptl/tls.h: ... here.
39028
39029 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39030 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39031
39032 2014-06-13 David S. Miller <davem@davemloft.net>
39033
39034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39037 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39041 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39042 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39043 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39044 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39045 Remove RESET_PID cpp guards.
39046 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39047 Remove RESET_PID cpp guards.
39048 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39049
39050 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
39051
39052 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39053 __sp to uintptr_t.
39054
39055 2014-06-13 Andi Kleen <ak@linux.intel.com>
39056
39057 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39058 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39059 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39060 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39061 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39062 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39063 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39064 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39065 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39066 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39067 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39068 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39069 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39070 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39071 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39072 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39073 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39074 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39075 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39076 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39077
39078 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39079 (pthread_rwlock_rdlock): Add elision.
39080 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39081 (pthread_rwlock_wrlock): Add elision.
39082 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39083 (pthread_rwlock_trywrlock): Add elision.
39084 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39085 (pthread_rwlock_tryrdlock): Add elision.
39086 * nptl/pthread_rwlock_unlock.c: Include elide.h.
39087 (pthread_rwlock_tryrdlock): Add elision unlock.
39088 * nptl/sysdeps/pthread/pthread.h:
39089 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39090 (PTHREAD_RWLOCK_INITIALIZER,
39091 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39092 Handle new elision field.
39093 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39094 * sysdeps/arm/nptl/bits/pthreadtypes.h
39095 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39096 * sysdeps/sh/nptl/bits/pthreadtypes.h
39097 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39098 * sysdeps/tile/nptl/bits/pthreadtypes.h
39099 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39100 * sysdeps/a/nptl/bits/pthreadtypes.h
39101 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39102 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39103 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39104 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39106 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39107 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39108 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39109 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39110 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39111 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39112 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39113 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39114 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39115 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39116 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39117 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39118 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39119 (elision_init): Set try_xbegin to zero when no RTM.
39120 * sysdeps/x86/nptl/bits/pthreadtypes.h
39121 (pthread_rwlock_t): Change __pad1 to __rwelision.
39122 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39123
39124 2014-06-13 Andi Kleen <ak@linux.intel.com>
39125
39126 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39127 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39128 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39129 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39130
39131 2014-06-13 Meador Inge <meadori@codesourcery.com>
39132
39133 [BZ #16996]
39134 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39135 that the cached result has been set before returning it.
39136
39137 2014-06-12 Roland McGrath <roland@hack.frob.com>
39138
39139 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39140 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39141 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39142 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39143 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39144 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39145
39146 * nptl/sysdeps/sparc/Makefile: Moved ...
39147 * sysdeps/sparc/nptl/Makefile: ... here.
39148 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39149 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39150 * nptl/sysdeps/sparc/tls.h: Moved ...
39151 * sysdeps/sparc/nptl/tls.h: ... here.
39152 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39153 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39154 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39155 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39156 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39157 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39158 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39159 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39160 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39161 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39162 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39163 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39164 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39165 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39166 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39167 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39168 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39169 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39170 Update #include.
39171 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39172 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39173 Update #include.
39174 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39175 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39176 Update #include.
39177 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39179 Update #include.
39180
39181 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39182
39183 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39184 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39185
39186 * sysdeps/pthread/posix-timer.h: Include <list.h>.
39187 (struct list_links): Type removed.
39188 (struct thread_node, struct timer_node): Replace struct list_links
39189 with struct list_head.
39190 (list_unlink_ip): Likewise.
39191 * sysdeps/pthread/timer_routines.c
39192 (timer_free_list, thread_free_list, thread_active_list): Likewise.
39193 (list_append, list_insbefore): Likewise.
39194 (list_init): Function removed.
39195 (thread_init, init_module): Use INIT_LIST_HEAD instead.
39196 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39197 * sysdeps/pthread/Makefile: ... here, new file.
39198
39199 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39200 * sysdeps/nptl/Implies: ... here.
39201 * sysdeps/unix/sysv/linux/Implies: Add nptl.
39202 * nptl/sysdeps/pthread/list.h: Moved ...
39203 * include/list.h: ... here.
39204 * nptl/sysdeps/pthread/createthread.c: Moved ...
39205 * nptl/createthread.c: ... here.
39206 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39207 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39208 * nptl/pt-longjmp.c: ... here.
39209 * nptl/sysdeps/pthread/Makefile: Moved ...
39210 * sysdeps/nptl/Makefile: ... here.
39211 * nptl/sysdeps/pthread/Subdirs: Moved ...
39212 * sysdeps/nptl/Subdirs: ... here.
39213 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39214 * sysdeps/nptl/aio_misc.h: ... here.
39215 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39216 * sysdeps/nptl/bits/libc-lock.h: ... here.
39217 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39218 * sysdeps/nptl/bits/libc-lockP.h: ... here.
39219 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39220 * sysdeps/nptl/bits/stdio-lock.h: ... here.
39221 * nptl/sysdeps/pthread/configure: Moved ...
39222 * sysdeps/nptl/configure: ... here.
39223 * nptl/sysdeps/pthread/configure.ac: Moved ...
39224 * sysdeps/nptl/configure.ac: ... here.
39225 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39226 * sysdeps/nptl/gai_misc.h: ... here.
39227 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39228 * sysdeps/nptl/librt-cancellation.c: ... here.
39229 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39230 * sysdeps/nptl/malloc-machine.h: ... here.
39231 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39232 * sysdeps/nptl/pthread-functions.h: ... here.
39233 * nptl/sysdeps/pthread/pthread.h: Moved ...
39234 * sysdeps/nptl/pthread.h: ... here.
39235 * nptl/sysdeps/pthread/setxid.h: Moved ...
39236 * sysdeps/nptl/setxid.h: ... here.
39237 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39238 * sysdeps/nptl/sigfillset.c: ... here.
39239 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39240 * sysdeps/nptl/tcb-offsets.h: ... here.
39241 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39242 * sysdeps/nptl/tst-mqueue8x.c: ... here.
39243 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39244 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39245 * nptl/sysdeps/pthread/allocalim.h: Moved ...
39246 * sysdeps/pthread/allocalim.h: ... here.
39247 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39248 * sysdeps/pthread/bits/sigthread.h: ... here.
39249 * nptl/sysdeps/pthread/flockfile.c: Moved ...
39250 * sysdeps/pthread/flockfile.c: ... here.
39251 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39252 * sysdeps/pthread/ftrylockfile.c: ... here.
39253 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39254 * sysdeps/pthread/funlockfile.c: ... here.
39255 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39256 * sysdeps/pthread/posix-timer.h: ... here.
39257 * nptl/sysdeps/pthread/timer_create.c: Moved ...
39258 * sysdeps/pthread/timer_create.c: ... here.
39259 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39260 * sysdeps/pthread/timer_delete.c: ... here.
39261 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39262 * sysdeps/pthread/timer_getoverr.c: ... here.
39263 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39264 * sysdeps/pthread/timer_gettime.c: ... here.
39265 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39266 * sysdeps/pthread/timer_routines.c: ... here.
39267 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39268 * sysdeps/pthread/timer_settime.c: ... here.
39269 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39270 * sysdeps/pthread/tst-timer.c: ... here.
39271 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39272 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39273
39274 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39275 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39276
39277 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39278 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39279 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39280 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39281 Update #include target.
39282 * nptl/sysdeps/i386/i686/Makefile: Moved ...
39283 * sysdeps/i386/i686/nptl/Makefile: ... here.
39284 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39285 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39286 Update #include target.
39287 * nptl/sysdeps/i386/i686/tls.h: Moved ...
39288 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
39289 * nptl/sysdeps/i386/Makefile: Moved ...
39290 * sysdeps/i386/nptl/Makefile: ... here.
39291 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39292 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39293 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39294 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39295 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39296 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39297 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39298 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39299 * sysdeps/i386/nptl/pthreaddef.h: ... here.
39300 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39301 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39302 * nptl/sysdeps/i386/tls.h: Moved ...
39303 * sysdeps/i386/nptl/tls.h: ... here.
39304
39305 * sysdeps/sh/Makefile [$(subdir) = csu]
39306 (gen-as-const-headers): Add tcb-offsets.sym.
39307 * nptl/sysdeps/sh/Makefile: File removed.
39308 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39309 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39310 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39311 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39312 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39313 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39314 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39315 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39316 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39317 * sysdeps/sh/nptl/pthreaddef.h: ... here.
39318 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39319 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39320 * nptl/sysdeps/sh/tls.h: Moved ...
39321 * sysdeps/sh/nptl/tls.h: ... here.
39322 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39323 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39324 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39325 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39326 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39327 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39328 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39329 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39330 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39331 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39332 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39333 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39334 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39335 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39336 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39337 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39338 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39339 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39340 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39341 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39342 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39343 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39344 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39345 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39346 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39347 Moved ...
39348 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39349 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39350 Moved ...
39351 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39352 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39353 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39354 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39355 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39356 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39357 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39358 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39359 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39360 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39361 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39362 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39363 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39364 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39365 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39366 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39367 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39368 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39369 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39370
39371 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39372
39373 * posix/spawn_faction_addopen.c: Include string.h.
39374
39375 2014-06-11 Roland McGrath <roland@hack.frob.com>
39376
39377 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39378 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39379 * nptl/sysdeps/x86_64/Makefile: Moved ...
39380 * sysdeps/x86_64/nptl/Makefile: ... here.
39381 * nptl/sysdeps/x86_64/configure: Moved ...
39382 * sysdeps/x86_64/nptl/configure: ... here.
39383 * nptl/sysdeps/x86_64/configure.ac: Moved ...
39384 * sysdeps/x86_64/nptl/configure.ac: ... here.
39385 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39386 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39387 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39388 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39389 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39390 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39391 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39392 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39393 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39394 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39395 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39396 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39397 * nptl/sysdeps/x86_64/tls.h: Moved ...
39398 * sysdeps/x86_64/nptl/tls.h: ... here.
39399 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39400 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39401 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39402 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39403
39404 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39405
39406 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39407
39408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39409
39410 2014-06-11 Joseph Myers <joseph@codesourcery.com>
39411
39412 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39413 type.
39414 [POSIX] (off_t): Likewise.
39415 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39416 [POSIX] (S_ISBLK): Require macro.
39417 [POSIX] (S_ISCHR): Likewise.
39418 [POSIX] (S_ISDIR): Likewise.
39419 [POSIX] (S_ISFIFO): Likewise.
39420 [POSIX] (S_ISREG): Likewise.
39421 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39422 optional-macro.
39423 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39424 type.
39425 [POSIX] (time_t): Likewise.
39426 [POSIX] (timer_t): Likewise.
39427
39428 2014-06-11 Florian Weimer <fweimer@redhat.com>
39429
39430 [BZ #17048]
39431 * posix/spawn_int.h (struct __spawn_action): Make the path string
39432 non-const to support deallocation.
39433 * posix/spawn_faction_addopen.c
39434 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39435 * posix/spawn_faction_destroy.c
39436 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
39437 path in all spawn_do_open actions.
39438 * posix/tst-spawn.c (do_test): Exercise the copy operation in
39439 posix_spawn_file_actions_addopen.
39440
39441 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
39442
39443 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
39444 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
39445 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
39446 conditional code always true.
39447 (__libc_vfork): New alias.
39448
39449 2014-06-11 Roland McGrath <roland@hack.frob.com>
39450
39451 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39452 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
39453
39454 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
39455
39456 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39457 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
39458
39459 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39460 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
39461
39462 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39463 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
39464
39465 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
39466
39467 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
39468 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
39469 multiarch strcmp for PPC64.
39470 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
39471 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
39472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
39473 multiarch optimizations.
39474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39475 (__libc_ifunc_impl_list): Likewise.
39476
39477 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39478
39479 * benchtests/scripts/validate_benchout.py: New script.
39480 * benchtests/Makefile (bench-func): Call it.
39481 * benchtests/scripts/benchout.schema.json: New file.
39482
39483 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
39484
39485 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
39486 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39487 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
39488 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
39489 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
39490 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
39491 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39492 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
39493 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
39494 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
39495 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
39496 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
39497 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
39498 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
39499 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
39500 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
39501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
39502 Moved ...
39503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
39504 ... here.
39505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
39506 Moved ...
39507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
39508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
39509 Moved ...
39510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
39511 ... here.
39512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
39513 Moved ...
39514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
39515 ... here.
39516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
39517 Moved ...
39518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
39519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
39520 Moved ...
39521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
39522 ... here.
39523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
39524 Moved ...
39525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
39526 ... here.
39527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
39528 Moved ...
39529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
39530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
39531 Moved ...
39532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
39533 ... here.
39534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
39535 Moved ...
39536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
39537 ... here.
39538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
39539 Moved ...
39540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
39541 ... here.
39542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
39543 Moved ...
39544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
39545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
39546 Moved ...
39547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
39548 ... here.
39549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
39550 Moved ...
39551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
39552 ... here.
39553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
39554 Moved ...
39555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
39556 ... here.
39557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
39558 Moved ...
39559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
39560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
39561 Moved ...
39562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
39563 ... here.
39564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
39565 Moved ...
39566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
39567 ... here.
39568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
39569 Moved ...
39570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
39571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
39572 Moved ...
39573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
39574 ... here.
39575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
39576 Moved ...
39577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
39578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
39579 Moved ...
39580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
39581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
39582 Moved ...
39583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
39584 ... here.
39585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
39586 Moved ...
39587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
39588 ... here.
39589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
39590 Moved ...
39591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
39592 ... here.
39593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
39594 Moved ...
39595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
39596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
39597 Moved ...
39598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
39599 ... here.
39600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
39601 Moved ...
39602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
39603 ... here.
39604 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
39605 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
39606 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
39607 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
39608 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
39609 Moved ...
39610 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
39611 ... here.
39612 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
39613 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
39614 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
39615 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
39616 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
39617 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
39618 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
39619 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
39620 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
39621 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
39622 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
39623 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
39624 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
39625 Moved ...
39626 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
39627 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
39628 Moved ...
39629 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
39630 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
39631 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
39632 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
39633 Moved ...
39634 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
39635 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
39636 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
39637 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
39638 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
39639 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
39640 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
39641
39642 2014-06-10 Wilco <wdijkstr@arm.com>
39643
39644 * math/test-fenv-return.c: New file.
39645 * math/Makefile: Add new test test-fenv-return.
39646
39647 2014-06-10 Joseph Myers <joseph@codesourcery.com>
39648
39649 [BZ #17042]
39650 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
39651 when x - 1 is zero.
39652 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
39653 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
39654 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
39655 0.0L for an argument of 1.0L.
39656 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
39657 Likewise.
39658 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
39659 value when x - 1 is zero.
39660 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
39661 * sysdeps/i386/fpu/libm-test-ulps: Update.
39662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39663
39664 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
39665
39666 [BZ #15119]
39667 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
39668
39669 2014-06-09 Roland McGrath <roland@hack.frob.com>
39670
39671 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
39672 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
39673
39674 2014-06-09 Roland McGrath <roland@hack.frob.com>
39675
39676 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39677 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
39678
39679 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39680 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
39681
39682 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39683 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
39684
39685 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39686 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
39687
39688 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
39689 if not already defined.
39690 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
39691 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
39692 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
39693 (TLS_INIT_TP): Use it.
39694 (TLS_DEFINE_INIT_TP): New macro.
39695 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
39696
39697 2014-06-09 Joseph Myers <joseph@codesourcery.com>
39698
39699 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
39700 constant.
39701 [POSIX] (IXANY): Likewise.
39702 [POSIX] (OLCUC): Likewise.
39703 [POSIX || POSIX2008] (CBAUD): Do not allow.
39704 [POSIX || POSIX2008] (DEFECHO): Likewise.
39705 [POSIX || POSIX2008] (ECHOCTL): Likewise.
39706 [POSIX || POSIX2008] (ECHOKE): Likewise.
39707 [POSIX || POSIX2008] (ECHOPRT): Likewise.
39708 [POSIX || POSIX2008] (EXTA): Likewise.
39709 [POSIX || POSIX2008] (EXTB): Likewise.
39710 [POSIX || POSIX2008] (FLUSHO): Likewise.
39711 [POSIX || POSIX2008] (LOBLK): Likewise.
39712 [POSIX || POSIX2008] (PENDIN): Likewise.
39713 [POSIX || POSIX2008] (SWTCH): Likewise.
39714 [POSIX || POSIX2008] (VDISCARD): Likewise.
39715 [POSIX || POSIX2008] (VDSUSP): Likewise.
39716 [POSIX || POSIX2008] (VLNEXT): Likewise.
39717 [POSIX || POSIX2008] (VREPRINT): Likewise.
39718 [POSIX || POSIX2008] (VSTATUS): Likewise.
39719 [POSIX || POSIX2008] (VWERASE): Likewise.
39720 (B*): Change to B[0123456789]*.
39721 * conform/data/time.h-data [POSIX || UNIX98]
39722 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
39723 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39724 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
39725 [POSIX] (tm_*): Do not allow.
39726
39727 2014-06-07 Joseph Myers <joseph@codesourcery.com>
39728
39729 * Makefile (install): Don't set LANGUAGE.
39730 * Makefile.in (install): Likewise.
39731 * assert/Makefile (test-assert-ENV): Remove variable.
39732 (test-assert-perr-ENV): Likewise.
39733 * elf/Makefile (neededtest4-ENV): Likewise.
39734 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39735 [$(cross-compiling) = no]: Don't set LANGUAGE.
39736 * io/ftwtest-sh (LANG): Remove variable.
39737 * libio/Makefile (tst-widetext-ENV): Likewise.
39738 * manual/install.texi (Running make install): Don't refer to
39739 environment settings for make install.
39740 * INSTALL: Regenerated.
39741 * nptl/tst-tls6.sh: Don't set LANG.
39742 * posix/globtest.sh (LANG): Remove variable.
39743 * string/Makefile (tester-ENV): Likewise.
39744 (inl-tester-ENV): Likewise.
39745 (noinl-tester-ENV): Likewise.
39746 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39747 [$(cross-compiling) = no]: Don't set LANGUAGE.
39748 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
39749 without explicit environment settings.
39750
39751 2014-06-06 Roland McGrath <roland@hack.frob.com>
39752
39753 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
39754 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
39755 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
39756 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
39757
39758 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
39759
39760 * crypt/crypt-private.h [DOS]: Add some includes taken from the
39761 other files in the crypt directory.
39762 * crypt/crypt.c: Remove duplicate includes.
39763 * crypt/crypt-entry.c: Likewise.
39764 * crypt/crypt_util.c: Likewise.
39765
39766 2014-06-06 Joseph Myers <joseph@codesourcery.com>
39767
39768 * Makeconfig (run-program-env): New variable.
39769 (run-program-prefix-before-env): Likewise.
39770 (run-program-prefix-after-env): Likewise.
39771 (run-program-prefix): Define in terms of new variables.
39772 (built-program-cmd-before-env): New variable.
39773 (built-program-cmd-after-env): Likewise.
39774 (built-program-cmd): Define in terms of new variables.
39775 (test-program-prefix-before-env): New variable.
39776 (test-program-prefix-after-env): Likewise.
39777 (test-program-prefix): Define in terms of new variables.
39778 (test-program-cmd-before-env): New variable.
39779 (test-program-cmd-after-env): Likewise.
39780 (test-program-cmd): Define in terms of new variables.
39781 * Rules (make-test-out): Use $(run-program-env).
39782 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
39783 (help): Do not mention environment variables. Mention
39784 --timeoutfactor option.
39785 (timeoutfactor): New variable.
39786 (blacklist_exports): Remove function.
39787 (exports): Remove variable.
39788 (command): Do not include ${exports}.
39789 * manual/install.texi (Configuring and compiling): Do not mention
39790 test wrappers preserving environment variables. Mention that last
39791 assignment to a variable must take precedence.
39792 * INSTALL: Regenerated.
39793 * benchtests/Makefile (run-bench): Use $(run-program-env).
39794 * catgets/Makefile ($(objpfx)test1.cat): Use
39795 $(built-program-cmd-before-env), $(run-program-env) and
39796 $(built-program-cmd-after-env).
39797 ($(objpfx)test2.cat): Do not specify environment variables
39798 explicitly.
39799 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
39800 $(run-program-env) and $(built-program-cmd-after-env).
39801 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
39802 $(run-program-env) and $(test-program-cmd-after-env).
39803 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
39804 explicitly.
39805 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
39806 run_program_env and test_program_cmd_after_env arguments.
39807 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
39808 * elf/tst-pathopt.sh: Use run_program_env argument.
39809 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
39810 $(test-wrapper-env) and $(run-program-env).
39811 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
39812 run_program_env arguments.
39813 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
39814 * intl/Makefile ($(objpfx)tst-gettext.out): Use
39815 $(test-program-prefix-before-env), $(run-program-env) and
39816 $(test-program-prefix-after-env).
39817 ($(objpfx)tst-gettext2.out): Likewise.
39818 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
39819 run_program_env and test_program_prefix_after_env arguments.
39820 * intl/tst-gettext2.sh: Likewise.
39821 * intl/tst-gettext4.sh: Do not set environment variables
39822 explicitly.
39823 * intl/tst-gettext6.sh: Likewise.
39824 * intl/tst-translit.sh: Likewise.
39825 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
39826 $(test-program-prefix-before-env), $(run-program-env) and
39827 $(test-program-prefix-after-env).
39828 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
39829 run_program_env and test_program_prefix_after_env arguments.
39830 * math/Makefile (run-regen-ulps): Use $(run-program-env).
39831 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
39832 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
39833 explicitly with each use of ${test_wrapper_env}.
39834 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
39835 $(test-program-prefix-before-env), $(run-program-env) and
39836 $(test-program-prefix-after-env).
39837 * posix/tst-getconf.sh: Do not set environment variables
39838 explicitly.
39839 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
39840 run_program_env and test_program_prefix_after_env arguments.
39841 * stdio-common/tst-printf.sh: Do not set environment variables
39842 explicitly.
39843 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
39844 $(test-program-prefix-before-env), $(run-program-env) and
39845 $(test-program-prefix-after-env).
39846 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
39847 run_program_env and test_program_prefix_after_env arguments.
39848 Split $test calls into $test_pre and $test.
39849 * timezone/Makefile (build-testdata): Use
39850 $(built-program-cmd-before-env), $(run-program-env) and
39851 $(built-program-cmd-after-env).
39852
39853 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39854
39855 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
39856 strlen for non SHARED builds.
39857
39858 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39859
39860 * nptl/allocatestack.c (check_list): Inlined function...
39861 (__reclaim_stacks): ... here.
39862
39863 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
39864
39865 [BZ #15698]
39866 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39867 memory overrun.
39868
39869 2014-06-05 Joseph Myers <joseph@codesourcery.com>
39870
39871 * Rules (make-test-out): Include
39872 LOCPATH=$(common-objpfx)localedata in default environment.
39873 * debug/Makefile (tst-chk1-ENV): Remove variable.
39874 (tst-chk2-ENV): Likewise.
39875 (tst-chk3-ENV): Likewise.
39876 (tst-chk4-ENV): Likewise.
39877 (tst-chk5-ENV): Likewise.
39878 (tst-chk6-ENV): Likewise.
39879 (tst-lfschk1-ENV): Likewise.
39880 (tst-lfschk2-ENV): Likewise.
39881 (tst-lfschk3-ENV): Likewise.
39882 (tst-lfschk4-ENV): Likewise.
39883 (tst-lfschk5-ENV): Likewise.
39884 (tst-lfschk6-ENV): Likewise.
39885 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
39886 (tst-iconv7-ENV): Likewise.
39887 * intl/Makefile (LOCPATH-ENV): Likewise.
39888 (tst-codeset-ENV): Likewise.
39889 (tst-gettext3-ENV): Likewise.
39890 (tst-gettext5-ENV): Likewise.
39891 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
39892 (tst-fopenloc-ENV): Likewise.
39893 (tst-fgetws-ENV): Remove variable.
39894 (tst-ungetwc1-ENV): Likewise.
39895 (tst-ungetwc2-ENV): Likewise.
39896 (bug-ungetwc2-ENV): Likewise.
39897 (tst-swscanf-ENV): Likewise.
39898 (bug-ftell-ENV): Likewise.
39899 (tst-fgetwc-ENV): Likewise.
39900 (tst-fseek-ENV): Likewise.
39901 (tst-ftell-partial-wide-ENV): Likewise.
39902 (tst-ftell-active-handler-ENV): Likewise.
39903 (tst-ftell-append-ENV): Likewise.
39904 * posix/Makefile (tst-fnmatch-ENV): Likewise.
39905 (tst-regexloc-ENV): Likewise.
39906 (bug-regex1-ENV): Likewise.
39907 (tst-regex-ENV): Likewise.
39908 (tst-regex2-ENV): Likewise.
39909 (bug-regex5-ENV): Likewise.
39910 (bug-regex6-ENV): Likewise.
39911 (bug-regex17-ENV): Likewise.
39912 (bug-regex18-ENV): Likewise.
39913 (bug-regex19-ENV): Likewise.
39914 (bug-regex20-ENV): Likewise.
39915 (bug-regex22-ENV): Likewise.
39916 (bug-regex23-ENV): Likewise.
39917 (bug-regex25-ENV): Likewise.
39918 (bug-regex26-ENV): Likewise.
39919 (bug-regex30-ENV): Likewise.
39920 (bug-regex32-ENV): Likewise.
39921 (bug-regex33-ENV): Likewise.
39922 (bug-regex34-ENV): Likewise.
39923 (bug-regex35-ENV): Likewise.
39924 (tst-rxspencer-ENV): Likewise.
39925 (tst-rxspencer-no-utf8-ENV): Likewise.
39926 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
39927 (tst-sscanf-ENV): Likewise.
39928 (tst-swprintf-ENV): Likewise.
39929 (tst-swscanf-ENV): Likewise.
39930 (test-vfprintf-ENV): Likewise.
39931 (scanf13-ENV): Likewise.
39932 (bug14-ENV): Likewise.
39933 (tst-grouping-ENV): Likewise.
39934 * stdlib/Makefile (tst-strtod-ENV): Likewise.
39935 (tst-strtod3-ENV): Likewise.
39936 (tst-strtod4-ENV): Likewise.
39937 (tst-strtod5-ENV): Likewise.
39938 (testmb2-ENV): Likewise./
39939 * string/Makefile (tst-strxfrm-ENV): Likewise.
39940 (tst-strxfrm2-ENV): Likewise.
39941 (bug-strcoll1-ENV): Likewise.
39942 (test-strcasecmp-ENV): Likewise.
39943 (test-strncasecmp-ENV): Likewise.
39944 * time/Makefile (tst-strptime-ENV): Likewise.
39945 (tst-ftime_l-ENV): Likewise.
39946 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
39947 (tst-mbrtowc-ENV): Likewise.
39948 (tst-wcrtomb-ENV): Likewise.
39949 (tst-mbrtowc2-ENV): Likewise.
39950 (tst-c16c32-1-ENV): Likewise.
39951 (tst-mbsnrtowcs-ENV): Likewise.
39952
39953 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
39954
39955 * manual/resource.texi (How to get information about the memory
39956 subsystem?): Fix typo.
39957 Reported by Peon de la Parra Ivan <peon@keba.com>
39958
39959 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
39960
39961 [BZ #16882]
39962 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
39963 (pthread_spin_lock): Branch out of spin loop to proper location.
39964 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
39965 (pthread_spin_lock): Likewise.
39966
39967 * nptl/tst-spin4.c: New test.
39968 * nptl/Makefile (tests): Add tst-spin4.
39969
39970 2014-06-03 Andreas Schwab <schwab@suse.de>
39971
39972 [BZ #15946]
39973 * resolv/res_send.c (send_dg): Reload file descriptor after
39974 calling reopen.
39975
39976 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
39977
39978 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39979
39980 2014-06-03 Richard Henderson <rth@redhat.com>
39981
39982 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
39983 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
39984 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
39985 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
39986 in the SAVE_PID block.
39987 (__libc_vfork): New alias.
39988 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
39989
39990 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39991 child in registers, not on the stack. Remove RESET_PID conditionals.
39992 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
39993
39994 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
39995
39996 * sysdeps/aarch64/libm-test-ulps: Regenerate.
39997
39998 2014-06-03 Wilco <wdijkstr@arm.com>
39999
40000 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40001 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40002 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40003 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40004 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40005 Likewise.
40006
40007 2014-06-03 Wilco <wdijkstr@arm.com>
40008
40009 * sysdeps/aarch64/fpu/math_private.h
40010 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40011 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40012 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40013 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40014 Fix declarations.
40015
40016 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40017
40018 * crypt/crypt-private.h: Include ufc-crypt.h.
40019 (__b64_from_24bit): Declare extern.
40020 * crypt/crypt_util.c(__b64_from_24bit): New function.
40021 (b64t): New static const variable.
40022 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40023 (b64t): Remove variable.
40024 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40025 * crypt/sha256-crypt.c: Include crypt-private.h.
40026 (b64t): Remove variable.
40027 (__sha256_crypt_r): Remove b64_from_24bit and replace
40028 with __b64_from_24bit.
40029 * crypt/sha512-crypt.c: Likewise.
40030
40031 2014-06-02 Roland McGrath <roland@hack.frob.com>
40032
40033 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40034 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40035 Label the code __libc_vfork rather than __vfork.
40036 [!NOT_IN_libc] (vfork): Define as weak alias.
40037 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40038 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40039 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40040
40041 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40042
40043 * malloc/malloc.c (malloc_info): Fix format specifier for
40044 n_mmaps.
40045
40046 2014-06-02 Wilco <wdijkstr@arm.com>
40047
40048 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40049 FPCR write.
40050
40051 2014-06-02 Wilco <wdijkstr@arm.com>
40052
40053 [BZ #17009]
40054 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40055 Rewrite to reduce FPCR/FPSR accesses.
40056
40057 2014-06-01 David S. Miller <davem@davemloft.net>
40058
40059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40060
40061 2014-05-31 David S. Miller <davem@davemloft.net>
40062
40063 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40064 to occur in round to nearest mode when |x| >= 2.0
40065
40066 2014-05-30 Richard Henderson <rth@twiddle.net>
40067
40068 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40069 (PSEUDO_RET_NOERRNO): Remove.
40070 (ret): Don't redefine.
40071 (ret_NOERRNO): Define in terms of ret.
40072 (ret_ERRVAL): Likewise.
40073
40074 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40075 use of PSEUDO_RET; perform the error check directly.
40076
40077 2014-05-30 Marko Myllynen <myllynen@redhat.com>
40078
40079 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40080 with __int128_t.
40081
40082 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40083
40084 * malloc/malloc (malloc_info): Fix formatting.
40085
40086 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40087 Roland McGrath <roland@hack.frob.com>
40088
40089 * malloc/malloc (malloc_info): Also print mmapped statistics.
40090
40091 2014-05-30 Roland McGrath <roland@hack.frob.com>
40092
40093 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40094 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40095
40096 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
40097
40098 * malloc/malloc.c (malloc_info): Inline mi_arena.
40099
40100 2014-05-29 Richard Henderson <rth@twiddle.net>
40101
40102 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40103 Remove comma before expanding ASM_ARGS_##nr.
40104 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40105 Make _x0 a strict output; make _x8 a strict input; adjust expansion
40106 of ASM_ARGS_##nr.
40107 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40108 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40109 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40110 (ASM_ARGS_1): Add leading comma.
40111
40112 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40113 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40114 to __errno_location.
40115 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40116 Remove the expected plt for __errno_location.
40117
40118 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40119 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40120 call to __read_tp.
40121
40122 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40123 Always allocate 64 bytes of stack frame. Use ldp/stp to create
40124 it and break it down.
40125 (DOCARGS_0, DOCARGS_1): Do nothing.
40126 (DOCARGS_2): Update to store into the new stack frame.
40127 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40128 (UNDOCARGS_1): Update to restore from the new stack frame.
40129 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40130 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40131
40132 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40133 (SINGLE_THREAD_P): New parameter for result regno.
40134 (PSEUDO): Update to match; use cbz instead of beq.
40135
40136 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40137 Use ENTRY to define the _nocancel entry point. Share the syscall
40138 and syscall error check paths with the cancel path.
40139 (PSEUDO_END): New.
40140
40141 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40142 whitespace; tabs before and after asm mnemonics.
40143
40144 2014-05-29 Eric Wong <normalperson@yhbt.net>
40145
40146 [BZ #15132]
40147 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40148 Call fstat64 or stat64 internally, depending on arguments passed.
40149 Replace stat buffer argument with file descriptor argument.
40150 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40151 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40152 Pass fd to __internal_statvfs instead of calling fstat64.
40153 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40154 Pass fd to __internal_statvfs64 instead of calling fstat64.
40155 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40156 Pass -1 to __internal_statvfs instead of calling stat64.
40157 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40158 Pass -1 to __internal_statvfs64 instead of calling stat64.
40159
40160 2014-05-28 Roland McGrath <roland@hack.frob.com>
40161
40162 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40163 that was previously under [RESET_PID].
40164 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40165
40166 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40167 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40168
40169 2014-05-27 Roland McGrath <roland@hack.frob.com>
40170
40171 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40172
40173 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40174 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40175
40176 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
40177
40178 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40179
40180 2014-05-27 Andreas Schwab <schwab@suse.de>
40181
40182 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40183 TLS_INIT_TP macro.
40184 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40185 * elf/rtld.c (init_tls, dl_main): Likewise.
40186 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40187 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40188 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40189 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40190 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40191 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40192 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40193 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40194 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40195 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40196 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40197 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40198 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40199 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40200 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40201 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40202 * sysdeps/generic/tls.h: Update description.
40203
40204 2014-05-27 Will Newton <will.newton@linaro.org>
40205
40206 [BZ #16990]
40207 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40208 and restore r2 rather than just restoring.
40209
40210 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40211
40212 [BZ #16724]
40213 * libio/tst-ftell-append.c: New test case.
40214 * libio/Makefile (tests): Add test case.
40215 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40216 append mode.
40217 * libio/wfileops.c (do_ftell_wide): Likewise.
40218
40219 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40220
40221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40222
40223 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40224 ...
40225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40227 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40228 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40229 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40230 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40231 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40232 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40233 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40234 Moved ...
40235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40236 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40237 Moved ...
40238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40239 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40240 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40241 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40242 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40243 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40244 ...
40245 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40246 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40247 Moved ...
40248 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40249 here.
40250 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40251 ...
40252 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40253 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40254 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40255
40256 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40257 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40258 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40259 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40260
40261 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40262 merge into ...
40263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40264 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40265 ...
40266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40267 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40268 ...
40269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40270 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40271 Moved ...
40272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40273 here.
40274 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40275 Moved ...
40276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40277 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40278 Moved ...
40279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40280
40281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40282 conditional [RESET_PID].
40283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40285 removed.
40286 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40287 removed.
40288
40289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40290 <tcb-offsets.h>.
40291 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40292 (__libc_vfork): New strong alias.
40293 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40294 removed.
40295 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40296 Removed.
40297
40298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40299 <tcb-offsets.h>.
40300 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40301 (__libc_vfork): New strong alias.
40302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40303 removed.
40304 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40305 removed.
40306
40307 2014-05-26 Carlos O'Donell <carlos@redhat.com>
40308
40309 * malloc/malloc.c (mi_arena): New function.
40310 (malloc_info): Remove nested function mi_arena. Call non-nosted
40311 function mi_arena.
40312
40313 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40314
40315 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40316 by insrwi.
40317 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40318 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40319 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40320 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40321 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40322 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40323 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40324
40325 2014-05-26 Andreas Schwab <schwab@suse.de>
40326
40327 [BZ #16984]
40328 * locale/programs/repertoire.c (repertoire_read): Add slash
40329 between I18NPATH element and file name.
40330 * locale/programs/locfile.c (locfile_read): Likewise.
40331
40332 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40333
40334 * nptl/pthread_mutexattr_settype.c
40335 (__pthread_mutexattr_settype):
40336 Disable lock elision for PTHREAD_MUTEX_NORMAL.
40337
40338 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40339
40340 * nptl/tst-mutex5 (do_test):
40341 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40342
40343 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40344
40345 * benchtests/README: Document 'init' directive.
40346 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40347 BENCH_INIT.
40348 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40349 (parse_file): Recognize 'init' directive.
40350
40351 2014-05-26 Kyle McMartin <kyle@redhat.com>
40352
40353 [BZ #16796]
40354 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40355 alignment of struct pthread.
40356
40357 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40358
40359 [BZ #16878]
40360 * nscd/netgroupcache.c (addgetnetgrentX): Look for
40361 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40362 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40363 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40364
40365 2014-05-25 Richard Henderson <rth@twiddle.net>
40366
40367 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40368 (SINGLE_THREAD_P_PIC): Remove.
40369 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40370 (SINGLE_THREAD_P_PIC): Remove.
40371
40372 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40373 branch to syscall error ...
40374 (PSEUDO): ... here.
40375 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40376 from __local_syscall_error to .Lsyscall_error.
40377 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40378 (SYSCALL_ERROR): Update label name.
40379
40380 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40381 Do not use DOARGS/UNDOARGS.
40382 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40383 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40384 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40385 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40386 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40387
40388 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40389 block comment.
40390
40391 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40392 define if !NOT_IN_libc.
40393 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40394 define with non-default symbol versions.
40395
40396 2014-05-23 Richard Henderson <rth@twiddle.net>
40397
40398 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40399 (vfork, __vfork): Define via compat_symbol.
40400
40401 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40402 [!HAVE_IFUNC] (vfork_compat): Remove.
40403 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40404
40405 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40406
40407 [BZ #16978]
40408 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40409 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40410 variable.
40411
40412 2014-05-23 Richard Henderson <rth@twiddle.net>
40413
40414 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40415 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40416 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40417 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40418
40419 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40420 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40421 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40422 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40423 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40424 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40425 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40426 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40427 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40428 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40429 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40430 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40431 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40432 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40433 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40434 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40435 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40436 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40437 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40438 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40439 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40440 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
40441 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
40442 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
40443 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
40444 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
40445 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
40446 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
40447 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
40448 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
40449 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
40450 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40451 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
40452 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
40453 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
40454 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
40455 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
40456 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
40457 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
40458 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
40459 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
40460 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
40461 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
40462 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
40463 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
40464 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
40465 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
40466 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
40467 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
40468 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
40469 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
40470 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
40471 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
40472 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
40473 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
40474 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
40475
40476 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
40477 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
40478 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
40479 before exiting on error.
40480 (__libc_vfork): New strong alias.
40481 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
40482 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
40483
40484 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
40485 that was previously under [RESET_PID].
40486 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
40487
40488 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
40489
40490 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40491
40492 [BZ #16977]
40493 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
40494 value when x - 1 is zero.
40495 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
40496 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
40497 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
40498 0.0L for an argument of 1.0L.
40499 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
40500 Likewise.
40501 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
40502 value when x - 1 is zero.
40503 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
40504 * sysdeps/i386/fpu/libm-test-ulps: Update.
40505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40506
40507 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
40508
40509 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
40510 alphasort and versionsort.
40511
40512 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40513
40514 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
40515 macro.
40516 [copysignf]: Likewise.
40517
40518 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40519
40520 * crypt/md5-crypt.c: Fix formatting.
40521
40522 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40523
40524 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
40525 (b64_from_24bit): New function.
40526
40527 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40528
40529 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
40530 libc_hidden_builtin_def to ifunc.
40531 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40532 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
40533
40534 2014-05-21 Roland McGrath <roland@hack.frob.com>
40535
40536 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
40537 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
40538
40539 2014-05-21 Joseph Myers <joseph@codesourcery.com>
40540
40541 * nscd/Depend (linuxthreads): Remove.
40542 (nptl): Add.
40543 * resolv/Depend (linuxthreads): Remove.
40544 * rt/Depend (linuxthreads): Remove.
40545
40546 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
40547 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
40548 $(common-objpfx)elf/.
40549 (link-libc-before-gnulib): Likewise.
40550 (elfobjdir): Remove variable.
40551 * Makefile (install): Use $(elf-objpfx) instead of
40552 $(common-objpfx)elf/.
40553 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
40554 $(elfobjdir)/.
40555 (link-libc-deps): Likewise.
40556 ($(common-objpfx)libc.so): Likewise.
40557 ($(common-objpfx)linkobj/libc.so): Likewise.
40558 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
40559 instead of $(common-objpfx)elf/.
40560 (symbolic-link-list): Likewise.
40561 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40562 [$(cross-compiling) = no]: Likewise.
40563 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
40564 $(elfobjdir)/.
40565 (static-gnulib-arch): Likewise.
40566 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40567 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
40568 $(common-objpfx)elf/.
40569
40570 2014-05-21 Richard Henderson <rth@redhat.com>
40571
40572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40573 (SINGLE_THREAD_P): Use the correct width load. Fold
40574 into the ldr offset.
40575
40576 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
40577 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
40578
40579 2014-05-20 Joseph Myers <joseph@codesourcery.com>
40580
40581 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
40582 (libgcc_s_resume): Use __attribute_used__.
40583 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
40584 Likewise.
40585
40586 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40587
40588 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
40589 optimization when used with float constants.
40590
40591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40592
40593 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
40594
40595 [BZ #16915]
40596 * locale/nl_langinfo_l.c: Make direct reference to every
40597 _nl_current_CATEGORY symbol.
40598 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
40599 (tests-static): Add tst-langinfo-static.
40600 (tests-special): Add tst-langinfo-static.out.
40601 ($(objpfx)tst-langinfo.out): Redirect output.
40602 ($(objpfx)tst-langinfo-static.out): New.
40603 * localedata/tst-langinfo.sh: Send output to stdout.
40604 * localedata/tst-langinfo-static.c: New file.
40605
40606 [BZ #16965]
40607 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
40608 when the shift amount is modulo the limb size.
40609
40610 2014-05-20 Richard Henderson <rth@redhat.com>
40611
40612 [BZ #16967]
40613 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
40614 Change type of sa_flags from unsigned int to int.
40615
40616 [BZ #16966]
40617 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
40618
40619 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
40620
40621 2014-05-20 Will Newton <will.newton@linaro.org>
40622
40623 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40624 Test the return value of the system call in the nocancel case.
40625
40626 2014-05-20 Will Newton <will.newton@linaro.org>
40627 Yvan Roux <yvan.roux@linaro.org>
40628
40629 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
40630 #include of asm/ptrace.h.
40631 (PTRACE_GET_THREAD_AREA): Remove #undef.
40632 (PTRACE_GETHBPREGS): Likewise.
40633 (PTRACE_SETHBPREGS): Likewise.
40634 (struct user_regs_struct): New structure.
40635 (struct user_fpsimd_struct): New structure.
40636 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
40637 #include of asm/ptrace.h and second #include of sys/user.h.
40638 (PTRACE_GET_THREAD_AREA): Remove #undef.
40639 (PTRACE_GETHBPREGS): Likewise.
40640 (PTRACE_SETHBPREGS): Likewise.
40641 (ELF_NGREG): Use new struct user_regs_struct.
40642 (elf_fpregset_t): Use new struct user_fpsimd_struct.
40643
40644 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40645
40646 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
40647 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
40648
40649 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
40650
40651 [BZ #16958]
40652 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
40653 membar to avoid block loads/stores to overlap previous stores.
40654
40655 2014-05-17 Richard Henderson <rth@redhat.com>
40656
40657 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
40658 Create the __##syscall_name##_nocancel entry point.
40659 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
40660 Remove; let the sysdep-cancel.h code create it.
40661
40662 2014-05-17 David S. Miller <davem@davemloft.net>
40663
40664 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
40665 Protect with __USE_GNU.
40666 (TIOCSET_TEMPT): Likewise.
40667 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40668 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
40669 these are already provided in bits/ioctl-types.h
40670
40671 2014-05-16 Roland McGrath <roland@hack.frob.com>
40672
40673 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
40674 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
40675
40676 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
40677 Use wait4 regardless of [__NR_waitpid].
40678
40679 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
40680
40681 PR libgcc/60166
40682 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40683 (_FP_NANSIGN_Q): Set the quiet bit.
40684
40685 2014-05-16 Joseph Myers <joseph@codesourcery.com>
40686
40687 * benchtests/Makefile
40688 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
40689 not $(common-objpfx)math/libm.so.
40690 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
40691 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
40692 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
40693 $(common-objpfx)dlfcn/libdl.so.
40694 ($(objpfx)tst-audit8): Depend on $(libm), not
40695 $(common-objpfx)math/libm.so.
40696 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
40697 not $(common-objpfx)dlfcn/libdl.so.
40698 * math/Makefile
40699 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40700 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
40701 [$(build-shared) = yes].
40702 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
40703 $(common-objpfx)nptl/libpthread.so.
40704 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
40705 $(common-objpfx)math/libm.so$(libm.so-version) or
40706 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
40707 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
40708 $(common-objpfx)dlfcn/libdl.so.
40709 * setjmp/Makefile (link-libm): Remove variable.
40710 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
40711 * stdio-common/Makefile (link-libm): Remove variable.
40712 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
40713 * stdlib/Makefile (link-libm): Remove variable.
40714 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
40715 ($(objpfx)tst-strtod-round): Likewise.
40716 ($(objpfx)tst-tininess): Likewise.
40717 ($(objpfx)tst-strtod-underflow): Likewise.
40718 ($(objpfx)tst-strtod6): Likewise.
40719 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
40720 $(libdl), not $(common-objpfx)nptl/libpthread.so and
40721 $(common-objpfx)dlfcn/libdl.so.
40722
40723 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40724
40725 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
40726 BSD terminal modes definitions.
40727
40728 2014-05-16 Roland McGrath <roland@hack.frob.com>
40729
40730 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
40731 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
40732
40733 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
40734 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
40735 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
40736 Don't do #include_next.
40737 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
40738 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
40739 Don't do #include_next.
40740 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
40741 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
40742 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
40743 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
40744
40745 2014-05-16 Allan McRae <allan@archlinux.org>
40746
40747 * po/sv.po: Update Swedish translation from translation project.
40748
40749 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
40750 in sed expression.
40751
40752 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
40753
40754 [BZ #16917]
40755 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
40756 errno if the TIOCGPTN ioctl fails with an error different than
40757 EINVAL.
40758 * login/tst-ptsname.c: New file.
40759 * login/Makefile (tests): Add tst-ptsname.
40760
40761 [BZ #16943]
40762 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
40763 and prlimit64.
40764
40765 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40766
40767 [BZ #16849]
40768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
40769 herrno to return EAI_AGAIN.
40770
40771 2014-05-14 Roland McGrath <roland@hack.frob.com>
40772
40773 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
40774 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
40775 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
40776 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
40777 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
40778 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
40779 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
40780 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
40781 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
40782 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
40783 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
40784 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
40785 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
40786 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
40787 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
40788 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
40789 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
40790 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
40791 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
40792 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
40793 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
40794 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
40795 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
40796 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
40797 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
40798 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
40799 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
40800 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
40801 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
40802 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
40803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
40804 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
40805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
40806 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
40807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40808 Moved ...
40809 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
40810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
40811 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
40812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
40813 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
40814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
40815 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
40816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
40817 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
40818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
40819 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
40820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
40821 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
40822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
40823 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
40824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
40825 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
40826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
40827 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
40828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
40829 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
40830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
40831 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
40832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
40833 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
40834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
40835 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
40836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40837 Moved ...
40838 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
40839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
40840 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
40841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
40842 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
40843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
40844 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
40845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
40846 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
40847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
40848 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
40849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
40850 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
40851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
40852 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
40853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
40854 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
40855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
40856 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
40857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40858 Moved ...
40859 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
40860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
40861 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
40862
40863 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
40864 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
40865 (libpthread-sysdep_routines): Add elision-related stuff here instead.
40866 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
40867 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
40868 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
40869 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
40870 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
40871 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
40872 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
40873 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
40874 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
40875 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
40876 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
40877 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
40878 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
40879 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
40880 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
40881 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
40882 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
40883 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
40884 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
40885 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
40886 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
40887 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
40888 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
40889 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
40890 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
40891 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
40892 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
40893 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
40894
40895 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
40896 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
40897
40898 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
40899 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
40900 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
40901 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
40902 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
40903 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
40904 Moved ...
40905 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
40906 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
40907 Moved ...
40908 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
40909 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
40910 Moved ...
40911 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
40912 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
40913 Moved ...
40914 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
40915 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
40916 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
40917 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
40918 Moved ...
40919 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
40920 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
40921 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
40922 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
40923 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
40924 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
40925 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
40926 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
40927 Moved ...
40928 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
40929 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40930 Moved ...
40931 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40932 ... here.
40933 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
40934 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40935 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
40936 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
40937 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40938 Moved ...
40939 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40940 ... here.
40941 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
40942 Moved ...
40943 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
40944 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
40945 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
40946 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
40947 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
40948 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
40949 Moved ...
40950 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
40951 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
40952 Moved ...
40953 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
40954 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
40955 Moved ...
40956 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
40957 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
40958 Moved ...
40959 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
40960 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
40961 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
40962 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
40963 Moved ...
40964 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
40965 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
40966 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
40967 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
40968 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
40969 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
40970 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
40971 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
40972 Moved ...
40973 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
40974 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40975 Moved ...
40976 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40977 ... here.
40978 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
40979 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
40980 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
40981 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
40982 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40983 Moved ...
40984 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40985 ... here.
40986 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
40987 Moved ...
40988 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
40989 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
40990 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
40991 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
40992 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
40993 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
40994 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
40995 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
40996 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
40997 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
40998 Moved ...
40999 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41000 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41001 Moved ...
41002 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41003 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41004 Moved ...
41005 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41006 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41007 Moved ...
41008 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41009 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41010 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41011 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41012 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41013 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41014 Moved ...
41015 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41016 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41017 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41018 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41019 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41020 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41021 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41022 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41023 Moved ...
41024 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41025 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41026 Moved ...
41027 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41028 ... here.
41029 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41030 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41031 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41032 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41033 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41034 Moved ...
41035 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41036 ... here.
41037 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41038 Moved ...
41039 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41040 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41041 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41042 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41043 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41044 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41045 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41046 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41047 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41048 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41049 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41050
41051 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41052 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41053
41054 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41055 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41056
41057 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41058 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41059 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41060 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41061 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41062 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41063 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41064 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41065 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41066 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41067 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41068 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41069 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41070 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41071 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41072 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41073 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41074 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41075 Moved ...
41076 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41077 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41078 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41079 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41080 Moved ...
41081 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41082 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41083 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41084 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41085 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41086 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41087 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41089 Moved ...
41090 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41091 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41092 Moved ...
41093 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41094 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41095 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41096 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41097 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41098 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41099 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41100 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41101 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41102 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41103 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41104 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41105 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41106 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41107 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41108 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41109 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41110
41111 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41112 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41113 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41114 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41115 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41116
41117 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41118 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41119 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41120 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41121 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41122 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41123 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41124 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41125 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41126 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41127
41128 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41129 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41130
41131 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41132 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41133 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41134 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41135 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41136 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41137 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41138 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41139 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41140 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41141 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41142 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41143 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41144 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41145 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41146 Update #include.
41147 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41148 Likewise.
41149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41150 Likewise.
41151 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41152 Likewise.
41153 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41154 Likewise.
41155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41156 Likewise.
41157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41158 Likewise.
41159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41160 Likewise.
41161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41162 Likewise.
41163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41164 Likewise.
41165 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41166 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41167 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41168 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41169 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41170 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41171 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41172 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41173 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41174 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41175 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41176 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41177 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41178 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
41179 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
41180
41181 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41182 that was previously under [RESET_PID].
41183 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41184 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41185 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41186
41187 * sysdeps/i386/nptl/Implies: New file.
41188 * sysdeps/x86_64/nptl/Implies: New file.
41189 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41190 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41191 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41192 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41193
41194 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41195 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41196 (__libc_vfork): New strong alias.
41197 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41198 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41199
41200 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41201 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41202 (__libc_vfork): New strong alias.
41203 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41204 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41205
41206 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41207 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41208 (__libc_vfork): New strong alias.
41209 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41210 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41211 * nptl/pt-vfork.c: New file.
41212 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41213 (libpthread: GLIBC_2.20): New version set (empty).
41214
41215 2014-05-14 Will Newton <will.newton@linaro.org>
41216
41217 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41218 rather than #if.
41219
41220 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41221
41222 [BZ #16564]
41223 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41224 arguments with exponent 65 or above.
41225 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41226 arguments 0x1p113L or above.
41227 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41228 to arguments 0x1p107L or above.
41229 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41230 positive arguments with exponent 65 or above.
41231 * math/auto-libm-test-in: Add more tests of log1p.
41232 * math/auto-libm-test-out: Regenerated.
41233
41234 [BZ #16928]
41235 * math/s_cacos.c (__cacos): Ensure zero real part of result from
41236 non-finite arguments is +0.
41237 * math/s_cacosf.c (__cacosf): Likewise.
41238 * math/s_cacosl.c (__cacosl): Likewise.
41239 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41240 * sysdeps/i386/fpu/libm-test-ulps: Update.
41241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41242
41243 [BZ #16927]
41244 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41245 value.
41246 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41247 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41248 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41249 for explicit high bit of mantissa when testing for argument equal
41250 to 1.
41251 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41252 * sysdeps/i386/fpu/libm-test-ulps: Update.
41253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41254
41255 [BZ #16516]
41256 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41257 (__erf): Scale by 16 instead of 8 in potentially underflowing
41258 case. Ensure exception if result actually underflows.
41259 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41260 (__erff): Scale by 16 instead of 8 in potentially underflowing
41261 case. Ensure exception if result actually underflows.
41262 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41263 (efx8): Remove variable.
41264 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41265 case. Ensure exception if result actually underflows.
41266 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41267 (efx8): Remove variable.
41268 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41269 case. Ensure exception if result actually underflows.
41270 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41271 (efx8): Remove variable.
41272 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41273 case. Ensure exception if result actually underflows.
41274 * math/auto-libm-test-in: Add more tests of erf.
41275 * math/auto-libm-test-out: Regenerated.
41276
41277 2014-05-14 Andreas Schwab <schwab@suse.de>
41278
41279 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41280 Remove code conditionalized on USE___THREAD.
41281
41282 * config.h.in (HAVE_PT_CHOWN): Define as 0.
41283 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41284 not definedness.
41285
41286 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41287
41288 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41289 Define unconditionally.
41290 (__ASSUME_O_CLOEXEC): Likewise.
41291 (__ASSUME_SOCK_CLOEXEC): Likewise.
41292 (__ASSUME_IN_NONBLOCK): Likewise.
41293 (__ASSUME_PIPE2): Likewise.
41294 (__ASSUME_EVENTFD2): Likewise.
41295 (__ASSUME_SIGNALFD4): Likewise.
41296 (__ASSUME_DUP3): Likewise.
41297 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41298 (__ASSUME_DUP3): Do not define.
41299 (__ASSUME_EVENTFD2): Likewise.
41300 (__ASSUME_IN_NONBLOCK): Likewise.
41301 (__ASSUME_O_CLOEXEC): Likewise.
41302 (__ASSUME_PIPE2): Likewise.
41303 (__ASSUME_SIGNALFD4): Likewise.
41304 (__ASSUME_SOCK_CLOEXEC): Likewise.
41305 (__ASSUME_UTIMES): Undefine.
41306 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41307 (__ASSUME_UTIMES): Do not define.
41308 (__ASSUME_O_CLOEXEC): Likewise.
41309 (__ASSUME_SOCK_CLOEXEC): Likewise.
41310 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41311 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41312 0x020621].
41313 (__ASSUME_PIPE2): Likewise.
41314 (__ASSUME_EVENTFD2): Likewise.
41315 (__ASSUME_SIGNALFD4): Likewise.
41316 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41317 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41318 Do not define.
41319 (__ASSUME_EVENTFD2): Likewise.
41320 (__ASSUME_SIGNALFD4): Likewise.
41321 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41322 (__ASSUME_32BITUIDS): Likewise.
41323 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41324 (__ASSUME_IPC64): Likewise.
41325 (__ASSUME_ST_INO_64_BIT): Likewise.
41326 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41327 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41328 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41329 (__ASSUME_UTIMES): Do not define.
41330 (__ASSUME_PSELECT): Likewise.
41331 (__ASSUME_PPOLL): 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/m68k/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/microblaze/kernel-features.h
41349 (__ASSUME_UTIMES): Likewise.
41350 (__ASSUME_O_CLOEXEC): Likewise.
41351 (__ASSUME_SOCK_CLOEXEC): Likewise.
41352 (__ASSUME_IN_NONBLOCK): Likewise.
41353 (__ASSUME_PIPE2): Likewise.
41354 (__ASSUME_EVENTFD2): Likewise.
41355 (__ASSUME_SIGNALFD4): Likewise.
41356 (__ASSUME_DUP3): Likewise.
41357 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41358 Likewise.
41359 (__ASSUME_UTIMES): Likewise.
41360 (__ASSUME_EVENTFD2): Likewise.
41361 (__ASSUME_SIGNALFD4): Likewise.
41362 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41363 (__ASSUME_O_CLOEXEC): Likewise.
41364 (__ASSUME_SOCK_CLOEXEC): Likewise.
41365 (__ASSUME_IN_NONBLOCK): Likewise.
41366 (__ASSUME_PIPE2): Likewise.
41367 (__ASSUME_EVENTFD2): Likewise.
41368 (__ASSUME_SIGNALFD4): Likewise.
41369 (__ASSUME_DUP3): Likewise.
41370 (__ASSUME_UTIMES): Undefine.
41371
41372 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41373 feclearexcept. Remove symbol versioning code.
41374 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
41375 symbol versioning code.
41376 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
41377 symbol versioning code.
41378 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41379 feupdateenv. Remove symbol versioning code.
41380 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41381 fegetexceptflag. Remove symbol versioning code.
41382 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41383 fesetexceptflag. Remove symbol versioning code.
41384 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41385 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
41386 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41387 (__posix_fadvise64_l32): Remove prototype.
41388 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41389 code.
41390
41391 2014-05-13 Roland McGrath <roland@hack.frob.com>
41392
41393 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41394 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41395 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41396 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41397
41398 2014-05-13 Sami Kerola <kerolasa@iki.fi>
41399
41400 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41401 current working directory
41402
41403 2014-05-13 Roland McGrath <roland@hack.frob.com>
41404
41405 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41406 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41407 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41408 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41409 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41410 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41411 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41412 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41413 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41414 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41415 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41416 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41417 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41418 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41419 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41420 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41421 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41422 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41423 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41424 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41425 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41426 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41427 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41428 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41429 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41430 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41431 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41432 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41433 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41434 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41435 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41436 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41437 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41438 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41439 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41440 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
41441 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
41442 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
41443 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
41444 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
41445 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
41446 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
41447
41448 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
41449 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
41450
41451 * sysdeps/unix/sysv/linux/arm/Makefile
41452 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41453 Add rt-aeabi_unwind_cpp_pr1.
41454 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
41455 Add nptl-aeabi_unwind_cpp_pr1.
41456 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
41457 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
41458 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
41459 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41460 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
41461 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41462
41463 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
41464 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
41465 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
41466 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
41467
41468 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
41469 Deconditionalize the code that was previously under [RESET_PID].
41470 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
41471
41472 * sysdeps/generic/exit-thread.h: New file.
41473 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
41474 * include/unistd.h (__exit_thread): Remove declaration.
41475 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
41476 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
41477 * csu/libc-start.c: Include <exit-thread.h>.
41478 (LIBC_START_MAIN): Pass no argument to __exit_thread.
41479 * nptl/pthread_create.c: Include <exit-thread.h>.
41480 (start_thread): Call __exit_thread in place of __exit_thread_inline.
41481 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
41482 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
41483 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
41484 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
41485 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41486 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
41487 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
41488 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
41489 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
41490 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
41491 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
41492 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
41493 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
41494 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
41495 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
41496 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
41497
41498 2014-05-13 Andreas Schwab <schwab@suse.de>
41499
41500 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
41501
41502 2014-05-12 Joseph Myers <joseph@codesourcery.com>
41503
41504 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41505 (__ASSUME_UTIMES): Do not condition on kernel version.
41506 (__ASSUME_PSELECT): Define unconditionally.
41507 (__ASSUME_PPOLL): Likewise.
41508 (__ASSUME_ATFCTS): Likewise.
41509 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
41510 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
41511 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
41512 (__ASSUME_UTIMENSAT): Define unconditionally.
41513 (__ASSUME_PRIVATE_FUTEX): Likewise.
41514 (__ASSUME_FALLOCATE): Likewise.
41515 (__ASSUME_O_CLOEXEC): Likewise.
41516 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
41517 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
41518 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
41519 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
41520 (__ASSUME_IN_NONBLOCK): Likewise.
41521 (__ASSUME_PIPE2): Likewise.
41522 (__ASSUME_EVENTFD2): Likewise.
41523 (__ASSUME_SIGNALFD4): Likewise.
41524 (__ASSUME_DUP3): Likewise.
41525 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41526 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
41527 (__ASSUME_AT_RANDOM): Likewise.
41528 (__ASSUME_PREADV): Likewise.
41529 (__ASSUME_PWRITEV): Likewise.
41530 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
41531 (__ASSUME_F_GETOWN_EX): Define unconditionally.
41532 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
41533 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41534 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
41535 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41536 (__ASSUME_O_CLOEXEC): Define unconditionally.
41537 (__ASSUME_PSELECT): Do not undefine conditionally.
41538 (__ASSUME_PPOLL): Likewise.
41539 (__ASSUME_ATFCTS): Likewise.
41540 (__ASSUME_SET_ROBUST_LIST): Likewise.
41541 (__ASSUME_UTIMENSAT): Likewise.
41542 (__ASSUME_FDATASYNC): Define unconditionally.
41543 * sysdeps/unix/sysv/linux/arm/kernel-features.h
41544 (__ASSUME_SIGFRAME_V2): Likewise.
41545 )__ASSUME_EVENTFD2): Likewise.
41546 (__ASSUME_SIGNALFD4): Likewise.
41547 (__ASSUME_PSELECT): Do not undefine conditionally.
41548 (__ASSUME_PPOLL): Likewise.
41549 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41550 (__ASSUME_PSELECT): Define unconditionally.
41551 (__ASSUME_PPOLL): Likewise.
41552 (__ASSUME_O_CLOEXEC): Likewise.
41553 (__ASSUME_SOCK_CLOEXEC): Likewise.
41554 (__ASSUME_IN_NONBLOCK): Likewise.
41555 (__ASSUME_PIPE2): Likewise.
41556 (__ASSUME_EVENTFD2): Likewise.
41557 (__ASSUME_SIGNALFD4): Likewise.
41558 (__ASSUME_DUP3): Likewise.
41559 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41560 (__ASSUME_O_CLOEXEC): Likewise.
41561 (__ASSUME_SOCK_CLOEXEC): Likewise.
41562 (__ASSUME_IN_NONBLOCK): Likewise.
41563 (__ASSUME_PIPE2): Likewise.
41564 (__ASSUME_EVENTFD2): Likewise.
41565 (__ASSUME_SIGNALFD4): Likewise.
41566 (__ASSUME_DUP3): Likewise.
41567 * sysdeps/unix/sysv/linux/mips/kernel-features.h
41568 (__ASSUME_EVENTFD2): Likewise.
41569 (__ASSUME_SIGNALFD4): Likewise.
41570 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41571
41572 2014-05-12 Andreas Schwab <schwab@suse.de>
41573
41574 [BZ #16932]
41575 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
41576 (_nss_nis_gethostbyname4_r): Return error if item length is larger
41577 than maximum RPC packet size.
41578 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
41579 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
41580 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
41581 (_nss_nis_getservbyport_r): Likewise.
41582
41583 2014-05-12 Will Newton <will.newton@linaro.org>
41584
41585 * malloc/Makefile (tests): Add tst-mallopt.
41586 * malloc/tst-mallopt.c: New file.
41587
41588 2014-05-09 Roland McGrath <roland@hack.frob.com>
41589
41590 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
41591 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
41592
41593 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41594
41595 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
41596 (tst-tlsmod6.so): Likewise.
41597
41598 2014-05-09 Roland McGrath <roland@hack.frob.com>
41599
41600 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
41601
41602 2014-05-09 Joseph Myers <joseph@codesourcery.com>
41603
41604 [BZ #16064]
41605 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
41606 and <dl-procinfo.h>.
41607 (__fegetenv): Save SSE state in envp->__eip if supported.
41608 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
41609 envp->__eip if supported.
41610 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
41611 and <dl-procinfo.h>.
41612 (__fesetenv): Always set __eip, __cs_selector, __opcode,
41613 __data_offset and __data_selector in environment to 0. Set SSE
41614 state if supported.
41615 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
41616 test-fenv-sse.
41617 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
41618 -mfpmath=sse.
41619 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
41620
41621 2014-05-09 Will Newton <will.newton@linaro.org>
41622
41623 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
41624 and libc_relro_required for ARM.
41625 * sysdeps/arm/preconfigure: Regenerate.
41626
41627 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
41628 Stefan Liebler <stli@linux.vnet.ibm.com>
41629
41630 * config.make.in (enable-lock-elision): New Makefile variable.
41631 * configure.ac: Likewise.
41632 * configure: Regenerate.
41633 * sysdeps/s390/configure.ac:
41634 Add check for gcc transactions support.
41635 * sysdeps/s390/configure: Regenerate.
41636 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
41637 Build elision files if enabled.
41638 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
41639 Add lock elision support for s390.
41640 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
41641 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
41642 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
41643 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
41644 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
41645 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
41646 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41647 Likewise.
41648 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
41649 Likewise.
41650 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
41651 Likewise.
41652 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
41653 Likewise.
41654 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
41655 (__lll_timedlock_elision, __lll_lock_elision)
41656 (__lll_unlock_elision, __lll_trylock_elision)
41657 (lll_timedlock_elision, lll_lock_elision)
41658 (lll_unlock_elision, lll_trylock_elision): Add.
41659 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41660 (pthread_mutex_t): Add lock elision support for s390.
41661
41662 2014-05-14 Wilco <wdijkstr@arm.com>
41663
41664 * sysdeps/arm/fclrexcpt.c: Cleanup.
41665 * sysdeps/arm/fedisblxcpt.c: Cleanup.
41666 * sysdeps/arm/feenablxcpt.c: Cleanup.
41667 * sysdeps/arm/fegetenv.c: Cleanup.
41668 * sysdeps/arm/fegetexcept.c: Cleanup.
41669 * sysdeps/arm/fegetround.c: Cleanup.
41670 * sysdeps/arm/feholdexcpt.c: Cleanup.
41671 * sysdeps/arm/fesetenv.c: Cleanup.
41672 * sysdeps/arm/fesetround.c: Cleanup.
41673 * sysdeps/arm/feupdateenv.c: Cleanup.
41674 * sysdeps/arm/fgetexcptflg.c: Cleanup.
41675 * sysdeps/arm/fraiseexcpt.c: Cleanup.
41676 * sysdeps/arm/fsetexcptflg.c: Cleanup.
41677 * sysdeps/arm/ftestexcept.c: Cleanup.
41678 * sysdeps/arm/get-rounding-mode.h: Cleanup.
41679 * sysdeps/arm/setfpucw.c: Cleanup.
41680
41681 2014-05-09 Will Newton <will.newton@linaro.org>
41682
41683 * sysdeps/arm/armv7/strcmp.S: New file.
41684 * NEWS: Mention addition of ARMv7 optimized strcmp.
41685
41686 2014-05-08 Roland McGrath <roland@hack.frob.com>
41687
41688 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
41689 look for %.ac rather than %.in.
41690
41691 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
41692 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
41693 * sysdeps/mach/hurd/configure: Regenerated.
41694 * sysdeps/unix/sysv/linux/configure: Regenerated.
41695
41696 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
41697
41698 2014-05-07 Steve Ellcey <sellcey@mips.com>
41699
41700 [BZ# 16922]
41701 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
41702 (LONG_SUB): Ditto.
41703 (PTR_SUB): Ditto.
41704
41705 2014-05-07 Andreas Schwab <schwab@suse.de>
41706
41707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
41708 when skipping over non-matching result from nscd.
41709
41710 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
41711
41712 [BZ #16876]
41713 * nptl/sockperf.c (client): Check socket return value.
41714
41715 [BZ #16877]
41716 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
41717 nscd security class.
41718
41719 2014-05-06 Roland McGrath <roland@hack.frob.com>
41720
41721 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
41722 * sysdeps/arm/unwind.h: ... here.
41723
41724 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
41725
41726 [BZ# 16916]
41727 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
41728 Define.
41729
41730 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
41731
41732 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
41733 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
41734 multiarch strncpy for PPC64.
41735 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
41736 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
41737 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
41738 multiarch optimizations.
41739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41740 (__libc_ifunc_impl_list): Likewise.
41741 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
41742 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
41743 multiarch stpncpy for PPC64.
41744 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
41745 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
41746
41747 2014-05-06 Andreas Schwab <schwab@suse.de>
41748
41749 [BZ #16912]
41750 * gmon/mcount.c (_MCOUNT_DECL): Use
41751 atomic_compare_and_exchange_bool_acq instead of
41752 catomic_compare_and_exchange_bool_acq.
41753
41754 2014-05-05 Roland McGrath <roland@hack.frob.com>
41755
41756 * elf/Makefile (others, install-bin): Remove pldd.
41757 (pldd-modules): Variable removed.
41758 ($(objpfx)pldd): Target removed.
41759 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
41760 (others, install-bin): Append pldd here.
41761 ($(objpfx)pldd): New target.
41762
41763 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
41764 to 0, so the first #if test emitted later doesn't see it undefined.
41765 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
41766 * sysdeps/gnu/errlist.c: Regenerated.
41767
41768 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41769
41770 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41771 [libc_hidden_builtin_def]: Define to empty value.
41772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
41773 [libc_hidden_builtin_def]: Likewise.
41774 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
41775 [libc_hidden_builtin_def]: Likewise.
41776 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
41777 [libc_hidden_builtin_def]: Likewise.
41778 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
41779 __redirect_memcpy and define ifunc as default hidden symbol.
41780 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
41781 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
41782
41783 2014-05-04 Adam Conrad <adconrad@0c3.net>
41784
41785 * locale/iso-4217.def: Reintroduce XDR currency.
41786
41787 2014-05-04 Allan McRae <allan@archlinux.org>
41788
41789 * po/eo.po: Update Esperanto translation from translation project.
41790
41791 2014-05-02 Carlos O'Donell <carlos@redhat.com>
41792
41793 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
41794 and FEATURE_INDEX_MAX to 1.
41795 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
41796
41797 2014-05-01 Steve Ellcey <sellcey@mips.com>
41798
41799 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
41800 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
41801 * iconvdata/big5.c (ONE_DIRECTION): Define.
41802 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
41803 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
41804 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
41805 * iconvdata/cp932.c (ONE_DIRECTION): Define.
41806 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
41807 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
41808 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
41809 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
41810 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
41811 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
41812 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
41813 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
41814 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
41815 * iconvdata/gbk.c (ONE_DIRECTION): Define.
41816 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
41817 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
41818 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
41819 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
41820 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
41821 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
41822 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
41823 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
41824 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
41825 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
41826 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
41827 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
41828 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
41829 * iconvdata/iso646.c (ONE_DIRECTION): Define.
41830 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
41831 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
41832 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
41833 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
41834 * iconvdata/johab.c (ONE_DIRECTION): Define.
41835 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
41836 * iconvdata/sjis.c (ONE_DIRECTION): Define.
41837 * iconvdata/t.61.c (ONE_DIRECTION): Define.
41838 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
41839 * iconvdata/tscii.c (ONE_DIRECTION): Define.
41840 * iconvdata/uhc.c (ONE_DIRECTION): Define.
41841 * iconvdata/unicode.c (ONE_DIRECTION): Define.
41842 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
41843 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
41844 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
41845
41846 2014-05-01 Roland McGrath <roland@hack.frob.com>
41847
41848 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
41849 (_IO_JUMPS_OFFSET): Define to 0.
41850
41851 * nptl/sysdeps/pthread/bits/libc-lock.h
41852 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41853 (__libc_lock_define_initialized_recursive): Always define using
41854 initializer. Modern compilers treat uninitialized (implicit zero) and
41855 explicit zero initializers the same (i.e. put the datum in bss).
41856
41857 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
41858
41859 * nscd/nscd-client.h: Include <string.h>.
41860
41861 2014-05-01 David S. Miller <davem@davemloft.net>
41862
41863 [BZ #16885]
41864 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
41865 multiple zero bytes exist at the end of a string.
41866 Reported by Aurelien Jarno <aurelien@aurel32.net>
41867
41868 * string/test-strcmp.c (check): Add explicit test for situations where
41869 there are multiple zero bytes after the first.
41870
41871 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
41872
41873 [BZ #16890]
41874 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
41875 when compiling wprintf.
41876 * stdio-common/tstdiomisc.c (t3): New function.
41877 (main): Call it.
41878
41879 2014-05-01 Steve Ellcey <sellcey@mips.com>
41880
41881 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
41882 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
41883 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
41884 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41885
41886 2014-05-01 Steve Ellcey <sellcey@mips.com>
41887
41888 * stdlib/longlong.h: Updated from GCC.
41889
41890 2014-05-01 Will Newton <will.newton@linaro.org>
41891 Bernard Ogden <bernie.ogden@linaro.org>
41892
41893 * NEWS: Update fixed bug list.
41894
41895 [BZ #15119]
41896 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41897
41898 2014-04-30 David S. Miller <davem@davemloft.net>
41899
41900 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41901 (libc_feholdexcept_setround_sparc_ctx): New function.
41902 (libc_fesetenv_sparc_ctx): Likewise.
41903 (libc_feupdateenv_sparc_ctx): Likewise.
41904 (libc_feholdsetround_sparc_ctx): Likewise.
41905 (libc_feholdexcept_setround_ctx): Define.
41906 (libc_feholdexcept_setroundf_ctx): Likewise.
41907 (libc_feholdexcept_setroundl_ctx): Likewise.
41908 (libc_fesetenv_ctx): Likewise.
41909 (libc_fesetenvf_ctx): Likewise.
41910 (libc_fesetenvl_ctx): Likewise.
41911 (libc_feupdateenv_ctx): Likewise.
41912 (libc_feupdateenvf_ctx): Likewise.
41913 (libc_feupdateenvl_ctx): Likewise.
41914 (libc_feresetround_ctx): Likewise.
41915 (libc_feresetroundf_ctx): Likewise.
41916 (libc_feresetroundl_ctx): Likewise.
41917 (libc_feholdsetround_ctx): Likewise.
41918 (libc_feholdsetroundf_ctx): Likewise.
41919 (libc_feholdsetroundl_ctx): Likewise.
41920
41921 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41922 with __USE_GNU instead of XOPEN cpp guards.
41923
41924 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
41925 0.
41926
41927 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41928 with XOPEN cpp guards.
41929
41930 2014-04-30 Julian Brown <julian@codesourcery.com>
41931
41932 [BZ #16888]
41933 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
41934 handling.
41935
41936 2014-04-30 Joseph Myers <joseph@codesourcery.com>
41937
41938 [BZ #9894]
41939 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
41940 Change to 2.6.32.
41941 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
41942 * sysdeps/unix/sysv/linux/configure: Regenerated.
41943 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
41944 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
41945 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
41946 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
41947 * README: Update reference to required Linux kernel version.
41948 * manual/install.texi (Linux): Update reference to required Linux
41949 kernel headers version.
41950 * INSTALL: Regenerated.
41951
41952 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
41953 header inclusion.
41954 [POSIX] (limits.h): Likewise.
41955 [POSIX] (math.h): Likewise.
41956 [POSIX] (sys/wait.h): Likewise.
41957 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41958 function.
41959 [POSIX] (stddef.h): Do not allow header inclusion.
41960
41961 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41962
41963 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41964
41965 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
41966
41967 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
41968 Return immediately after lll_futex_wake.
41969
41970 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41971
41972 [BZ #16791]
41973 * nscd/nscd-client.h (datahead_init_common): Initialize entire
41974 structure.
41975 (datahead_init_pos): Call datahead_init_common early.
41976 (datahead_init_neg): Likewise.
41977
41978 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
41979 datahead_init_neg): New functions.
41980 * nscd/aicache.c (addhstaiX): Use them.
41981 * nscd/grpcache.c (cache_addgr): Likewise.
41982 * nscd/hstcache.c (cache_addhst): Likewise.
41983 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41984 * nscd/netgroupcache.c (do_notfound): Likewise.
41985 (addgetnetgrentX): Likewise.
41986 (addinnetgrX): Likewise.
41987 * nscd/pwdcache.c (cache_addpw): Likewise.
41988 * nscd/servicescache.c (cache_addserv): Likewise.
41989
41990 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41991 Atsushi Onoe <atsushi@onoe.org>
41992
41993 [BZ #14308]
41994 [BZ #12994]
41995 [BZ #13651]
41996 * resolv/res_query.c (__libc_res_nsearch): Return if at least
41997 one response is valid.
41998 * resolv/res_send.c (send_dg): Check for validity of other
41999 response if the current response is a referral.
42000
42001 2014-04-29 Steve Ellcey <sellcey@mips.com>
42002
42003 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42004
42005 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
42006
42007 [BZ #16823]
42008 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42009 Always divide by positive zero when computing -Inf result.
42010 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42011 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42012
42013 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42014
42015 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42016 FPSCR if value do not change.
42017 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42018 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42019 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42020 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42021 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42022 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42023 function.
42024
42025 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
42026
42027 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42028 * sysdeps/unix/sysv/linux/hppa: Move directory from
42029 ports/systeps/unix/sysv/linux/hppa.
42030 * README: Update listing for hppa-*-linux-gnu.
42031
42032 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
42033
42034 [BZ #16754]
42035 * manual/stdio.texi (Hook functions): Fix types of stream hook
42036 functions.
42037 [BZ #16854]
42038 * socket/sys/socket.h: Fix typo in comment.
42039
42040 2014-04-28 Wilco <wdijkstr@arm.com>
42041
42042 * sysdeps/arm/fenv_private.h: New file.
42043 * sysdeps/arm/math_private.h: New file.
42044 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42045
42046 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
42047
42048 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42049 with __int128_t.
42050 (La_x86_64_retval): Likewise.
42051
42052 2014-04-24 Ian Bolton <ian.bolton@arm.com>
42053
42054 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42055 fpsr if value didn't change.
42056 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42057 to fpcr if value didn't change.
42058 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42059 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42060 fpsr or fpcr if value didn't change.
42061 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42062 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42063 fpcr if value didn't change.
42064 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42065 to fpsr if value didn't change.
42066
42067 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
42068
42069 * nptl/tst-sem3.c: Use test-skeleton.c
42070 (main): Rename to do_test. Use return instead of
42071 exit.
42072 * nptl/tst-sem4.c: Use test-skeleton.c
42073 (main): Rename to do_test.
42074
42075 2014-04-22 David S. Miller <davem@davemloft.net>
42076
42077 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42078 (struct sigaction): New struct member __glibc_reserved0, change
42079 type of sa_flags to int.
42080
42081 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
42082
42083 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42084 (COUNT_LEADING_ZEROS_0): Define for AArch64.
42085
42086 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42087
42088 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42089 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42090
42091 2014-04-22 Will Newton <will.newton@linaro.org>
42092 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
42093
42094 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42095 (__longjmp): Add longjmp and longjmp_target SystemTap
42096 probes.
42097 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42098 (__sigsetjmp): Add setjmp SystemTap probe.
42099
42100 2014-04-17 Carlos O'Donell <carlos@redhat.com>
42101
42102 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42103 match manual order.
42104
42105 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42106
42107 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42108
42109 * sysdeps/powerpc/fpu/fenv_private.h
42110 (libc_feholdexcept_setroundl_ctx): Define to
42111 libc_feholdexcept_setround_ppc_ctx.
42112 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42113 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42114 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42115 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42116
42117 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42118
42119 * sysdeps/aarch64/math-tests.h: New file.
42120
42121 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
42122
42123 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42124 New.
42125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42126 Check and set bit_AVX2_Usable.
42127 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42128 macro.
42129 (bit_AVX2): Likewise.
42130 (index_AVX2_Usable): Likewise.
42131 (CPUID_AVX2): Likewise.
42132 (HAS_AVX2): Likewise.
42133
42134 2014-04-17 Will Newton <will.newton@linaro.org>
42135
42136 * manual/setjmp.texi (System V contexts): Add note that
42137 calling setcontext on a context created by a call to a
42138 signal handler is undefined. Update text to note that
42139 setcontext from a signal handler is possible but not
42140 recommended.
42141
42142 [BZ #16629]
42143 * stdlib/tst-setcontext.c: Include signal.h.
42144 (main): Check that the signal stack before and
42145 after swapcontext is the same.
42146
42147 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42148 Re-implement to restore registers in user code and avoid
42149 rt_sigreturn system call.
42150
42151 2014-04-17 Wilco <wdijkstr@arm.com>
42152
42153 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42154 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42155 * math/test-fenv.c: Skip exception trap tests on targets which only
42156 support non-stop mode.
42157
42158 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42159 Wilco Dijkstra <wilco.dijkstra@arm.com>
42160
42161 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42162 (libc_feholdsetround_aarch64_ctx)
42163 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42164 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42165 (libc_feresetround_ctx, libc_feresetroundf_ctx)
42166 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42167 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42168 (libc_feresetround_noexl_ctx): Define.
42169
42170 2014-04-16 Richard Henderson <rth@redhat.com>
42171
42172 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42173
42174 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42175 unwind tables.
42176
42177 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42178 const from the non-libc, non-ldso copy.
42179
42180 * sysdeps/alpha/libm-test-ulps: Regenerate.
42181
42182 2014-04-16 Ian Bolton <ian.bolton@arm.com>
42183 Wilco Dijkstra <wilco.dijkstra@arm.com>
42184
42185 * sysdeps/aarch64/fpu/math_private.h: New file.
42186
42187 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
42188
42189 * sysdeps/aarch64/libm-test-ulps: Regenerate.
42190
42191 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
42192
42193 [BZ #16275]
42194 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42195 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42197 Intel MPX bound registers before _dl_profile_fixup.
42198 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42199 registers after _dl_profile_fixup. Save and restore bound
42200 registers bnd0/bnd1 when calling _dl_call_pltexit.
42201 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42202 (LR_BND_OFFSET): Likewise.
42203 (LRV_BND0_OFFSET): Likewise.
42204 (LRV_BND1_OFFSET): Likewise.
42205
42206 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42207
42208 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42209 to...
42210 * sysdeps/mach/hurd/i386/tls.h: ... here.
42211 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42212 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42213 fields.
42214
42215 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42216
42217 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42218
42219 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42220
42221 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42222
42223 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42224
42225 [BZ #14770]
42226 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42227 * sysdeps/s390/configure: Regenerate.
42228
42229 [BZ #16824]
42230 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42231 Set round-to-nearest internally to reduce error accumulation.
42232
42233 2014-04-16 Alan Modra <amodra@gmail.com>
42234
42235 [BZ #16740]
42236 [BZ #16619]
42237 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42238 * math/libm-test.inc (frexp_test_data): Add tests.
42239 * NEWS: Update fixed bug list.
42240
42241 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42242
42243 * benchtests/Makefile: Depend on libraries in build directory.
42244 (bench-math): Separate out math tests.
42245 (bench-pthread): Separate out pthread tests.
42246 (bench): Include math and pthread tests.
42247
42248 2014-04-14 Carlos O'Donell <carlos@redhat.com>
42249
42250 [BZ #16831]
42251 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42252 _dl_debug_initialize.
42253
42254 * configure.ac: Remove SELinux header check.
42255 * configure: Regenerate.
42256 * nscd/selinux.c (perms): Array of const char* to permission names.
42257 (nscd_request_avc_has_perm): Call security_deny_unknown to find
42258 default policy. Call string_to_security_class and string_to_av_perm to
42259 translate strings. Enforce default policy and call avs_has_perm with
42260 results of translated strings.
42261
42262 2014-04-13 David S. Miller <davem@davemloft.net>
42263
42264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42265
42266 2014-04-12 Allan McRae <allan@archlinux.org>
42267
42268 [BZ #16838]
42269 * manual/string.texi (Collation Functions): Fix qsort argument
42270 order in example.
42271 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42272
42273 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
42274
42275 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42276 Make the test a no-op if there are no exceptions defined.
42277
42278 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
42279
42280 * elf/Makefile (tests): make tst-dlopen-aout conditional on
42281 enable-hardcoded-path-in-tests
42282
42283 2014-04-11 Will Newton <will.newton@linaro.org>
42284
42285 * benchtests/Makefile (extra-objs): Add json-lib.o.
42286 (bench-func): Tidy up JSON output.
42287 * benchtests/bench-skeleton.c: Include json-lib.h.
42288 (main): Use JSON library functions to do output of
42289 benchmark results.
42290 * benchtests/bench-timing-type.c (main): Output the
42291 timing type simply, leaving formatting to the user.
42292 * benchtests/json-lib.c: New file.
42293 * benchtests/json-lib.h: Likewise.
42294
42295 2014-04-11 Torvald Riegel <triegel@redhat.com>
42296
42297 [BZ #15215]
42298 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42299 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
42300 memory barriers. Add comments.
42301 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42302 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42303 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42304 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42305 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42306 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42307
42308 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42309
42310 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42311 * sysdeps/s390/s390-64/configure.ac: ... this ...
42312 * sysdeps/s390/configure.ac: ... to here.
42313 * sysdeps/s390/s390-32/configure: Delete file.
42314 * sysdeps/s390/s390-64/configure: Delete file.
42315 * sysdeps/s390/configure: Regenerate.
42316
42317 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
42318
42319 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42320
42321 2014-04-11 Will Newton <will.newton@linaro.org>
42322
42323 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42324 to zero if it is not defined elsewhere. (mtrim): Test
42325 the value of MALLOC_DEBUG with #if rather than #ifdef.
42326
42327 2014-04-10 Torvald Riegel <triegel@redhat.com>
42328
42329 * benchtests/pthread_once-inputs: New file.
42330 * benchtests/pthread_once-source.c: New file.
42331 * benchtests/README: Update documentation.
42332
42333 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
42334 H.J. Lu <hongjiu.lu@intel.com>
42335
42336 [BZ #16275]
42337 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42338 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42339 * sysdeps/x86_64/configure: Regenerated.
42340 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42341 macro.
42342 (REGISTER_SAVE_RAX): Likewise.
42343 (REGISTER_SAVE_RCX): Likewise.
42344 (REGISTER_SAVE_RDX): Likewise.
42345 (REGISTER_SAVE_RSI): Likewise.
42346 (REGISTER_SAVE_RDI): Likewise.
42347 (REGISTER_SAVE_R8): Likewise.
42348 (REGISTER_SAVE_R9): Likewise.
42349 (REGISTER_SAVE_BND0): Likewise.
42350 (REGISTER_SAVE_BND1): Likewise.
42351 (REGISTER_SAVE_BND2): Likewise.
42352 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
42353 bound registers when calling _dl_fixup.
42354
42355 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42356
42357 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42358 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42359 of its definition.
42360 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42361 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42362 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42363 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42364 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42365 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42366 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42367
42368 2014-04-09 Peter Brett <peter@peter-b.co.uk>
42369
42370 [BZ #15514]
42371 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42372 pathconf(_PC_NAME_MAX).
42373
42374 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42375
42376 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42377 Remove macro usage.
42378 (__PTHREAD_SPINS): Move definition to ...
42379 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42380 (__PTHREAD_SPINS): ... here.
42381 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42382 (__PTHREAD_SPIN): Likewise.
42383 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42384 (__PTHREAD_SPIN): Likewise.
42385 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42386 (__PTHREAD_SPIN): Likewise.
42387 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42388 (__PTHREAD_SPIN): Likewise.
42389 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42390 (__PTHREAD_SPIN): Likewise.
42391 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42392 (__PTHREAD_SPIN): Likewise.
42393 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42394 (__PTHREAD_SPIN): Likewise.
42395 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42396 (__PTHREAD_SPIN): Likewise.
42397 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42398 (__PTHREAD_SPIN): Likewise.
42399 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42400 (__PTHREAD_SPIN): Likewise.
42401 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42402 (__PTHREAD_SPIN): Likewise.
42403 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42404 (__PTHREAD_SPIN): Likewise.
42405
42406 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42407 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42408 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42409 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42410 imply folder.
42411 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42412 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42413 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42414 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42415 correct imply path.
42416 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42417 strlen symbol for non multi-arch builds.
42418 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42419 missing hidden_def and weak_alias.
42420
42421 2014-04-08 Carlos O'Donell <carlos@redhat.com>
42422
42423 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42424
42425 2014-04-07 Will Newton <will.newton@linaro.org>
42426
42427 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42428 and contents. [!_LIBC] Remove #ifndef and contents.
42429 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
42430 * string/memccpy.c (__memccpy): Use ANSI prototype.
42431 * string/memfrob.c (memfrob): Likewise.
42432 * string/strcoll.c (STRCOLL): Likewise.
42433 * string/strlen.c (strlen): Likewise.
42434 * string/strtok.c (STRTOK): Likewise.
42435 * string/strcat.c: Remove unused #include of memcopy.h.
42436 (strcat): Use ANSI prototype.
42437 * string/strchr.c: Remove unused #include of memcopy.h.
42438 (strchr): Use ANSI prototype.
42439 * string/strcmp.c: Remove unused #include of memcopy.h.
42440 (strcmp): Use ANSI prototype.
42441 * string/strcpy.c: Remove unused #include of memcopy.h.
42442 (strcpy): Use ANSI prototype.
42443
42444 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42445
42446 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
42447 * config.make.in (config-extra-cppflags): Set it from
42448 libc_extra_cppflags.
42449 * configure.ac (libc_extra_cflags): Make it accumulate over
42450 configure fragments.
42451 (libc_extra_cppflags): New flag.
42452 * configure. Regenerate.
42453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42454 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
42455 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
42456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
42457
42458 [BZ #16815]
42459 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
42460 result for FE_DOWNWARD rounding mode.
42461 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
42462 Likewise.
42463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42464
42465 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
42466
42467 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
42468 in function argument name.
42469
42470 2014-04-03 David Svoboda <svoboda@cert.org>
42471
42472 [BZ #5666]
42473 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
42474 explicitly.
42475
42476 2014-04-03 Roland McGrath <roland@hack.frob.com>
42477
42478 * elf/dl-unmap-segments.h: New file.
42479 * sysdeps/generic/ldsodefs.h
42480 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
42481 * elf/dl-close.c: Include <dl-unmap-segments.h>.
42482 * elf/dl-fptr.c: Likewise.
42483 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
42484 * sysdeps/aarch64/tlsdesc.c: Likewise.
42485 * sysdeps/arm/tlsdesc.c: Likewise.
42486 * sysdeps/i386/tlsdesc.c: Likewise.
42487 * sysdeps/tile/dl-runtime.c: Likewise.
42488 * sysdeps/x86_64/tlsdesc.c: Likewise.
42489 * elf/dl-load.h: New file.
42490 * elf/dl-load.c: Include it.
42491 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
42492 Macros moved to dl-load.h.
42493 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
42494 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
42495 Use _dl_unmap_segments in place of __munmap.
42496 Break out segment-mapping loop into ...
42497 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
42498
42499 2014-04-03 Will Newton <will.newton@linaro.org>
42500
42501 * elf/dl-lookup.c (do_lookup_x): Remove comment
42502 referring to nested function and move variable
42503 declarations down to before first use.
42504
42505 2014-04-02 Joseph Myers <joseph@codesourcery.com>
42506
42507 [BZ #16799]
42508 [BZ #16800]
42509 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
42510 with 0 numerator.
42511 * math/s_catanf.c (__catanf): Likewise.
42512 * math/s_catanh.c (__catanh): Likewise.
42513 * math/s_catanhf.c (__catanhf): Likewise.
42514 * math/s_catanhl.c (__catanhl): Likewise.
42515 * math/s_catanl.c (__catanl): Likewise.
42516 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
42517 by positive zero when computing -Inf result.
42518 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
42519 (catanh_test): Likewise.
42520 * sysdeps/i386/fpu/libm-test-ulps: Update.
42521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42522
42523 [BZ #16789]
42524 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
42525 instead of using underflowing value in computing result.
42526 * math/s_clog10.c (__clog10): Likewise.
42527 * math/s_clog10f.c (__clog10f): Likewise.
42528 * math/s_clog10l.c (__clog10l): Likewise.
42529 * math/s_clogf.c (__clogf): Likewise.
42530 * math/s_clogl.c (__clogl): Likewise.
42531 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
42532 (clog10_test): Likewise.
42533 * sysdeps/i386/fpu/libm-test-ulps: Update.
42534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42535
42536 2014-04-02 Alan Modra <amodra@gmail.com>
42537
42538 [BZ #16739]
42539 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
42540 output when value is near a power of two. Use int64_t for lx and
42541 remove casts. Use decimal rather than hex exponent constants.
42542 Don't use long double multiplication when double will suffice.
42543 * math/libm-test.inc (nextafter_test_data): Add tests.
42544 * NEWS: Add 16739 and 16786 to bug list.
42545
42546 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
42547
42548 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
42549
42550 2014-04-01 Will Newton <will.newton@linaro.org>
42551
42552 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
42553 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
42554
42555 2014-04-01 Florian Weimer <fweimer@redhat.com>
42556
42557 [BZ #13347]
42558 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
42559 * nptl/tst-setuid2.c: New file.
42560 * nptl/Makefile (xtests): Add tst-setuid2.
42561
42562 2014-04-01 Alan Modra <amodra@gmail.com>
42563
42564 [BZ #16786]
42565 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
42566
42567 2014-03-31 Joseph Myers <joseph@codesourcery.com>
42568
42569 [BZ #6803]
42570 [BZ #6804]
42571 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
42572 set errno as appropriate.
42573 * math/w_scalbf.c (__scalbf): Likewise.
42574 * math/w_scalbl.c (__scalbl): Likewise.
42575 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
42576 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
42577 * math/libm-test.inc (scalb_test_data): Add errno expectations.
42578 Add more NaN tests.
42579
42580 [BZ #16349]
42581 * math/w_atan2.c: Include <errno.h>.
42582 (__atan2): Set errno for result underflowing to zero.
42583 * math/w_atan2f.c: Include <errno.h>.
42584 (__atan2f): Set errno for result underflowing to zero.
42585 * math/w_atan2l.c: Include <errno.h>.
42586 (__atan2l): Set errno for result underflowing to zero.
42587 * math/auto-libm-test-in: Don't allow missing errno for some atan2
42588 tests.
42589 * math/auto-libm-test-out: Regenerated.
42590
42591 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42592
42593 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42594 Encode instruction correctly in little endian.
42595 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42596 Likewise.
42597 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42598 Likewise.
42599 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42600 Likewise.
42601 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42602 Likewise.
42603
42604 2014-03-31 Joseph Myers <joseph@codesourcery.com>
42605
42606 [BZ #9894]
42607 * sysdeps/unix/sysv/linux/kernel-features.h
42608 [__sparc__ && !__arch64__ && !__sparc_v9__]
42609 (__ASSUME_SET_ROBUST_LIST): Do not define.
42610 [__sparc__ && !__arch64__ && !__sparc_v9__]
42611 (__ASSUME_FUTEX_LOCK_PI): Likewise.
42612 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
42613 Likewise.
42614 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42615 (__ASSUME_FUTEX_LOCK_PI): Undefine.
42616 (__ASSUME_REQUEUE_PI): Likewise.
42617 (__ASSUME_SET_ROBUST_LIST): Likewise.
42618 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42619 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
42620 Undefine.
42621 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42622 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
42623 Likewise.
42624 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
42625 Likewise.
42626 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
42627 Likewise.
42628 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42629 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
42630 Undefine.
42631 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
42632 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
42633 Likewise.
42634
42635 [BZ #16648]
42636 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42637 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
42638 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
42639
42640 2014-03-31 Will Newton <will.newton@linaro.org>
42641
42642 * benchtests/Makefile (bench): Add ffs and ffsll to list
42643 of tests.
42644 * benchtests/ffs-inputs: New file.
42645 * benchtests/ffsll-inputs: Likewise.
42646
42647 2014-03-29 Joseph Myers <joseph@codesourcery.com>
42648
42649 [BZ #16770]
42650 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
42651 too large before casting to int.
42652 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
42653 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
42654 * math/libm-test.inc (scalb_test_data): Add more tests.
42655
42656 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42657
42658 * benchtests/Makefile (DETAILED_OPT): New make option.
42659 (bench-func): Run benchmark program with -d if DETAILED_OPT is
42660 set.
42661 * benchtests/bench-skeleton.c: Include stdbool.h.
42662 (main): Store and print timings per input.
42663 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
42664 member to each argument value.
42665 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
42666 (_print_arg_data): Initialize per-input timing to 0.
42667
42668 * benchtests/Makefile (timing-type): New binary.
42669 (bench-clean): Also remove bench-timing-type.
42670 (bench): New target for timing-type.
42671 (bench-func): Print output in JSON format.
42672 * benchtests/bench-skeleton.c (main): Print output in JSON
42673 format.
42674 * benchtests/bench-timing-type.c: New file.
42675 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
42676 (TIMING_PRINT_STATS): Remove.
42677 * benchtests/scripts/bench.py (_print_arg_data): Store variant
42678 name separately.
42679
42680 * benchtests/bench-modf.c: Remove.
42681 * benchtests/modf-inputs: New inputs file.
42682
42683 2014-03-28 Joseph Myers <joseph@codesourcery.com>
42684
42685 [BZ #16362]
42686 * math/s_clog10.c (M_PI_LOG10E): New macro.
42687 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
42688 imaginary parts are 0.
42689 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
42690 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
42691 imaginary parts are 0.
42692 * math/s_clog10l.c (M_PI_LOG10El): New macro.
42693 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
42694 imaginary parts are 0.
42695 * math/libm-test.inc (clog10_test_data): Update expected results
42696 for when real and imaginary parts are 0.
42697
42698 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
42699
42700 * elf/dl-load.c: Finish conversion of __builtin_expect into
42701 __glibc_{un}likely.
42702
42703 2014-03-27 Joseph Myers <joseph@codesourcery.com>
42704
42705 [BZ #16348]
42706 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
42707 1+x for argument with exponent below -67.
42708 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
42709 Likewise.
42710 * math/auto-libm-test-in: Add more tests of exp.
42711 * math/auto-libm-test-out: Regenerated.
42712
42713 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42714
42715 [BZ #16759]
42716 * inet/getnetgrent_r.c (get_nonempty_val): New function.
42717 (nscd_getnetgrent): Use it.
42718
42719 [BZ #16760]
42720 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
42721 of stpcpy.
42722
42723 2014-03-27 Andi Kleen <ak@linux.intel.com>
42724
42725 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
42726 (lll_robust_lock, lll_cond_lock, lll_timedlock)
42727 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42728 (lll_robust_unlock): Remove out of line section. Use cfi
42729 intrinsics.
42730 (LLL_STUB_UNWIND_INFO*): Remove.
42731 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
42732 (lll_robust_lock, lll_cond_lock, lll_timedlock)
42733 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42734 (lll_robust_unlock): Remove out of line section. Use cfi
42735 intrinsics.
42736 (LLL_STUB_UNWIND_INFO*): Remove.
42737
42738 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42739
42740 [BZ #16758]
42741 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
42742 blank values.
42743
42744 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
42745
42746 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
42747
42748 2014-03-26 Joseph Myers <joseph@codesourcery.com>
42749
42750 [BZ #16198]
42751 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
42752 fnstenv.
42753 * math/test-fenv-preserve.c: New file.
42754 * math/Makefile (tests): Add test-fenv-preserve.
42755
42756 2014-03-26 Will Newton <will.newton@linaro.org>
42757
42758 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
42759
42760 2014-03-25 Roland McGrath <roland@hack.frob.com>
42761
42762 * scripts/versionlist.awk: Partition the version sets and emit all
42763 GLIBC_* (sorted) before all others (sorted).
42764
42765 2014-03-25 Joseph Myers <joseph@codesourcery.com>
42766
42767 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
42768 GLIBC_2.2.5 version.
42769
42770 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42771
42772 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
42773 calls.
42774
42775 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
42776 previous change.
42777
42778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42779
42780 2014-03-25 Andreas Schwab <schwab@suse.de>
42781
42782 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
42783 label to be used after in6ailist is initialized.
42784
42785 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42786
42787 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42788 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42789
42790 2014-03-25 Joseph Myers <joseph@codesourcery.com>
42791
42792 [BZ #16357]
42793 [BZ #16599]
42794 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
42795 min_plus_half.
42796 (fp_formats): Update initializers.
42797 (init_fp_formats): Initialize new field.
42798 (output_for_one_input_case): Allow underflow for results up to
42799 min_plus_half.
42800 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
42801 * math/auto-libm-test-in: Don't mark some underflows from asin and
42802 atanh as spurious.
42803 * math/auto-libm-test-out: Regenerated.
42804 * sysdeps/i386/fpu/libm-test-ulps: Update.
42805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42806
42807 2014-03-25 Andreas Schwab <schwab@suse.de>
42808
42809 * libio/Makefile (tst-ftell-partial-wide-ENV)
42810 (tst-ftell-active-handler-ENV): Define.
42811
42812 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
42813
42814 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
42815
42816 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
42817
42818 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
42819
42820 2014-03-24 Joseph Myers <joseph@codesourcery.com>
42821
42822 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
42823 * sysdeps/x86_64/fpu/multiarch/e_exp.c
42824 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
42825
42826 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
42827
42828 [BZ #16634]
42829 * elf/dl-load.c (open_verify): Add mode parameter.
42830 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
42831 (open_path): Change from boolean 'secure' to complete flag 'mode'
42832 (_dl_map_object): Adjust.
42833 * elf/Makefile (tests): Add tst-dlopen-aout.
42834 * elf/tst-dlopen-aout.c: New test.
42835
42836 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
42837
42838 [BZ #16714]
42839 * sysdeps/unix/sysv/linux/s390/bits/stat.h
42840 (struct stat): Rename member pad0 to __glibc_reserved0.
42841
42842 [BZ #16712]
42843 * sysdeps/s390/s390-32/bits/wordsize.h
42844 (__WORDSIZE32_SIZE_ULONG): New define.
42845 * sysdeps/s390/s390-64/bits/wordsize.h
42846 (__WORDSIZE32_SIZE_ULONG): Likewise.
42847 * sysdeps/generic/stdint.h (SIZE_MAX):
42848 Define as UL if __WORDSIZE32_SIZE_ULONG.
42849
42850 [BZ #16713]
42851 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
42852 (__glibc_reserved0): New variable.
42853 (sa_flags): Change type to int.
42854
42855 * posix/Makefile (before-compile): Use += before-compile instead
42856 of a :=.
42857
42858 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42859 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42860
42861 2014-03-20 Andreas Schwab <schwab@suse.de>
42862
42863 [BZ #16743]
42864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
42865 non-matching result from nscd.
42866
42867 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42868
42869 * scripts/bench.py: Moved to ...
42870 * benchtests/scripts/bench.py: ... here.
42871 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
42872
42873 2014-03-24 Andreas Schwab <schwab@suse.de>
42874
42875 [BZ #16002]
42876 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
42877 alloca_account and account alloca use for struct in6ailist.
42878
42879 2014-03-24 Joseph Myers <joseph@codesourcery.com>
42880
42881 [BZ #16284]
42882 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
42883 rounding mode to recompute results that overflow to infinity or
42884 underflow to zero.
42885 * math/auto-libm-test-in: Don't mark tests as expected to fail for
42886 bug 16284.
42887 * math/auto-libm-test-out: Regenerated.
42888 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
42889 (ccosh_test): Likewise.
42890 (csin_test_data): Use plus_oflow.
42891 (csin_test): Use ALL_RM_TEST.
42892 (csinh_test_data): Use plus_oflow.
42893 (csinh_test): Use ALL_RM_TEST.
42894 * sysdeps/i386/fpu/libm-test-ulps: Update.
42895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42896
42897 2014-03-21 Joseph Myers <joseph@codesourcery.com>
42898
42899 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
42900 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
42901 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
42902
42903 [BZ #16731]
42904 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
42905 when x - 1 is zero.
42906 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
42907 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
42908 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42909 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
42910 argument is 1.
42911 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
42912 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
42913 zero.
42914 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
42915 * sysdeps/i386/fpu/libm-test-ulps: Update.
42916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42917
42918 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42919
42920 * scripts/bench.pl: Remove file.
42921 * scripts/bench.py: New benchmark script.
42922 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
42923 * benchtests/README: Mention python dependency.
42924 * scripts/pylintrc: New file.
42925 * scripts/pylint: New file.
42926
42927 * bits/mathdef.h: Use #ifdef instead of #if.
42928 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
42929 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42930 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
42931 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42932 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
42933 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42934
42935 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42936 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42937
42938 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
42939 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
42940 and strpbrk-ppc64 objects.
42941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42942 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
42943 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
42944 multiarch strpbrk for POWER7.
42945 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
42946 multiarch strpbrk for PPC64.
42947 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
42948 ifunc selector.
42949 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
42950 strpbrk for POWER7.
42951
42952 2014-03-20 Joseph Myers <joseph@codesourcery.com>
42953
42954 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
42955 (atan_test): Likewise.
42956 (atanh_test_data): Use NO_TEST_INLINE for two tests.
42957 (atanh_test): Use ALL_RM_TEST.
42958 (atan2_test_data): Likewise.
42959 (cabs_test): Likewise.
42960 (cacosh_test): Likewise.
42961 (carg_test): Likewise.
42962 (casin_test): Likewise.
42963 (casinh_test): Likewise.
42964 (cbrt_test): Likewise.
42965 (csqrt_test): Likewise.
42966 (erf_test): Likewise.
42967 (erfc_test): Likewise.
42968 (pow10_test): Likewise.
42969 (exp2_test): Likewise.
42970 (hypot_test): Likewise.
42971 (j0_test): Likewise.
42972 (j1_test): Likewise.
42973 (lgamma_test): Likewise.
42974 (gamma_test): Likewise.
42975 (sincos_test): Likewise.
42976 (tanh_test): Likewise.
42977 (y0_test): Likewise.
42978 (y1_test): Likewise.
42979 * sysdeps/i386/fpu/libm-test-ulps: Update.
42980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42981
42982 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42983
42984 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
42985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
42986 and strcspn-ppc64 objects.
42987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42988 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
42989 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
42990 multiarch strcspn for POWER7.
42991 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
42992 multiarch strcspn for PPC64.
42993 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
42994 ifunc selector.
42995 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
42996 strcspn for POWER7.
42997
42998 2014-03-20 Joseph Myers <joseph@codesourcery.com>
42999
43000 * math/gen-libm-test.pl (generate_testfile): Expect only function
43001 name as argument to AUTO_TESTS_* and pass results for all rounding
43002 modes to parse_args.
43003 (parse_auto_input): Separate inputs of automatic tests from
43004 outputs before storing in %auto_tests.
43005 * math/libm-test.inc (acos_test_data): Update call to
43006 AUTO_TESTS_f_f.
43007 (acos_test): Use ALL_RM_TEST.
43008 (acos_tonearest_test_data): Remove.
43009 (acos_test_tonearest): Likewise.
43010 (acos_towardzero_test_data): Likewise.
43011 (acos_test_towardzero): Likewise.
43012 (acos_downward_test_data): Likewise.
43013 (acos_test_downward): Likewise.
43014 (acos_upward_test_data): Likewise.
43015 (acos_test_upward): Likewise.
43016 (acosh_test_data): Update call to AUTO_TESTS_f_f.
43017 (asin_test_data): Likewise.
43018 (asin_test): Use ALL_RM_TEST.
43019 (asin_tonearest_test_data): Remove.
43020 (asin_test_tonearest): Likewise.
43021 (asin_towardzero_test_data): Likewise.
43022 (asin_test_towardzero): Likewise.
43023 (asin_downward_test_data): Likewise.
43024 (asin_test_downward): Likewise.
43025 (asin_upward_test_data): Likewise.
43026 (asin_test_upward): Likewise.
43027 (asinh_test_data): Update call to AUTO_TESTS_f_f.
43028 (atan_test_data): Likewise.
43029 (atanh_test_data): Likewise.
43030 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43031 (cabs_test_data): Update call to AUTO_TESTS_c_f.
43032 (carg_test_data): Likewise.
43033 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43034 (ccos_test_data): Update call to AUTO_TESTS_c_c.
43035 (ccosh_test_data): Likewise.
43036 (cexp_test_data): Likewise.
43037 (clog_test_data): Likewise.
43038 (clog10_test_data): Likewise.
43039 (cos_test_data): Update call to AUTO_TESTS_f_f.
43040 (cos_test): Use ALL_RM_TEST.
43041 (cos_tonearest_test_data): Remove.
43042 (cos_test_tonearest): Likewise.
43043 (cos_towardzero_test_data): Likewise.
43044 (cos_test_towardzero): Likewise.
43045 (cos_downward_test_data): Likewise.
43046 (cos_test_downward): Likewise.
43047 (cos_upward_test_data): Likewise.
43048 (cos_test_upward): Likewise.
43049 (cosh_test_data): Update call to AUTO_TESTS_f_f.
43050 (cosh_test): Use ALL_RM_TEST.
43051 (cosh_tonearest_test_data): Remove.
43052 (cosh_test_tonearest): Likewise.
43053 (cosh_towardzero_test_data): Likewise.
43054 (cosh_test_towardzero): Likewise.
43055 (cosh_downward_test_data): Likewise.
43056 (cosh_test_downward): Likewise.
43057 (cosh_upward_test_data): Likewise.
43058 (cosh_test_upward): Likewise.
43059 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43060 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43061 (ctan_test_data): Likewise.
43062 (ctan_test): Use ALL_RM_TEST.
43063 (ctan_tonearest_test_data): Remove.
43064 (ctan_test_tonearest): Likewise.
43065 (ctan_towardzero_test_data): Likewise.
43066 (ctan_test_towardzero): Likewise.
43067 (ctan_downward_test_data): Likewise.
43068 (ctan_test_downward): Likewise.
43069 (ctan_upward_test_data): Likewise.
43070 (ctan_test_upward): Likewise.
43071 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43072 (ctanh_test): Use ALL_RM_TEST.
43073 (ctanh_tonearest_test_data): Remove.
43074 (ctanh_test_tonearest): Likewise.
43075 (ctanh_towardzero_test_data): Likewise.
43076 (ctanh_test_towardzero): Likewise.
43077 (ctanh_downward_test_data): Likewise.
43078 (ctanh_test_downward): Likewise.
43079 (ctanh_upward_test_data): Likewise.
43080 (ctanh_test_upward): Likewise.
43081 (erf_test_data): Update call to AUTO_TESTS_f_f.
43082 (erfc_test_data): Likewise.
43083 (exp_test_data): Likewise.
43084 (exp_test): Use ALL_RM_TEST.
43085 (exp_tonearest_test_data): Remove.
43086 (exp_test_tonearest): Likewise.
43087 (exp_towardzero_test_data): Likewise.
43088 (exp_test_towardzero): Likewise.
43089 (exp_downward_test_data): Likewise.
43090 (exp_test_downward): Likewise.
43091 (exp_upward_test_data): Likewise.
43092 (exp_test_upward): Likewise.
43093 (exp10_test_data): Update call to AUTO_TESTS_f_f.
43094 (exp10_test): Use ALL_RM_TEST.
43095 (exp10_tonearest_test_data): Remove.
43096 (exp10_test_tonearest): Likewise.
43097 (exp10_towardzero_test_data): Likewise.
43098 (exp10_test_towardzero): Likewise.
43099 (exp10_downward_test_data): Likewise.
43100 (exp10_test_downward): Likewise.
43101 (exp10_upward_test_data): Likewise.
43102 (exp10_test_upward): Likewise.
43103 (exp2_test_data): Update call to AUTO_TESTS_f_f.
43104 (expm1_test_data): Likewise.
43105 (expm1_test): Use ALL_RM_TEST.
43106 (expm1_tonearest_test_data): Remove.
43107 (expm1_test_tonearest): Likewise.
43108 (expm1_towardzero_test_data): Likewise.
43109 (expm1_test_towardzero): Likewise.
43110 (expm1_downward_test_data): Likewise.
43111 (expm1_test_downward): Likewise.
43112 (expm1_upward_test_data): Likewise.
43113 (expm1_test_upward): Likewise.
43114 (fma_test_data): Update call to AUTO_TESTS_fff_f.
43115 (fma_test): Use ALL_RM_TEST.
43116 (fma_towardzero_test_data): Remove.
43117 (fma_test_towardzero): Likewise.
43118 (fma_downward_test_data): Likewise.
43119 (fma_test_downward): Likewise.
43120 (fma_upward_test_data): Likewise.
43121 (fma_test_upward): Likewise.
43122 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43123 (j0_test_data): Update call to AUTO_TESTS_f_f.
43124 (j1_test_data): Likewise.
43125 (jn_test_data): Update call to AUTO_TESTS_if_f.
43126 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43127 (log_test_data): Update call to AUTO_TESTS_f_f.
43128 (log10_test_data): Likewise.
43129 (log1p_test_data): Likewise.
43130 (log2_test_data): Likewise.
43131 (pow_test_data): Update call to AUTO_TESTS_ff_f.
43132 (pow_tonearest_test_data): Likewise.
43133 (sin_test_data): Update call to AUTO_TESTS_f_f.
43134 (sin_test): Use ALL_RM_TEST.
43135 (sin_tonearest_test_data): Remove.
43136 (sin_test_tonearest): Likewise.
43137 (sin_towardzero_test_data): Likewise.
43138 (sin_test_towardzero): Likewise.
43139 (sin_downward_test_data): Likewise.
43140 (sin_test_downward): Likewise.
43141 (sin_upward_test_data): Likewise.
43142 (sin_test_upward): Likewise.
43143 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43144 (sinh_test_data): Update call to AUTO_TESTS_f_f.
43145 (sinh_test): Use ALL_RM_TEST.
43146 (sinh_tonearest_test_data): Remove.
43147 (sinh_test_tonearest): Likewise.
43148 (sinh_towardzero_test_data): Likewise.
43149 (sinh_test_towardzero): Likewise.
43150 (sinh_downward_test_data): Likewise.
43151 (sinh_test_downward): Likewise.
43152 (sinh_upward_test_data): Likewise.
43153 (sinh_test_upward): Likewise.
43154 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43155 (sqrt_test): Use ALL_RM_TEST.
43156 (sqrt_tonearest_test_data): Remove.
43157 (sqrt_test_tonearest): Likewise.
43158 (sqrt_towardzero_test_data): Likewise.
43159 (sqrt_test_towardzero): Likewise.
43160 (sqrt_downward_test_data): Likewise.
43161 (sqrt_test_downward): Likewise.
43162 (sqrt_upward_test_data): Likewise.
43163 (sqrt_test_upward): Likewise.
43164 (tan_test_data): Update call to AUTO_TESTS_f_f.
43165 (tan_test): Use ALL_RM_TEST.
43166 (tan_tonearest_test_data): Remove.
43167 (tan_test_tonearest): Likewise.
43168 (tan_towardzero_test_data): Likewise.
43169 (tan_test_towardzero): Likewise.
43170 (tan_downward_test_data): Likewise.
43171 (tan_test_downward): Likewise.
43172 (tan_upward_test_data): Likewise.
43173 (tan_test_upward): Likewise.
43174 (tanh_test_data): Update call to AUTO_TESTS_f_f.
43175 (tgamma_test_data): Likewise.
43176 (y0_test_data): Likewise.
43177 (y1_test_data): Likewise.
43178 (yn_test_data): Update call to AUTO_TESTS_if_f.
43179 (main): Do not call removed functions.
43180
43181 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43182
43183 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43184 (ldexp_test_data): Remove.
43185 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
43186 scalbn_test_data.
43187 (scalb_test): Use ALL_RM_TEST.
43188
43189 2014-03-19 Andreas Schwab <schwab@suse.de>
43190
43191 * nscd/nscd.service: Also invalidate netgroup cache on reload.
43192
43193 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43194
43195 [BZ #16649]
43196 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43197 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43198 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43199 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43200 (__ASSUME_PREADV): Undefine.
43201 (__ASSUME_PWRITEV): Likewise.
43202
43203 2014-03-18 Roland McGrath <roland@hack.frob.com>
43204
43205 * bits/mman-linux.h: Add comment about non-Linux use.
43206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43207 bits/mman-linux.h resting place.
43208
43209 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43210 * bits/mman-linux.h: ... here.
43211
43212 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43213
43214 * conform/conformtest.pl: Add standard definition when calling C
43215 preprocessor on data files.
43216 (checknamespace): Remove unused variable.
43217
43218 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43219
43220 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43221 minus_oflow, plus_uflow and minus_uflow in expected results.
43222 * math/libm-test.inc (scalbn_test_data): Add more tests of
43223 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
43224 minus_uflow.
43225 (scalbn_test): Use ALL_RM_TEST.
43226 (scalbln_test_data): Add more tests of negative arguments. Use
43227 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43228 (scalbln_test): Use ALL_RM_TEST.
43229
43230 2014-03-18 Roland McGrath <roland@hack.frob.com>
43231
43232 * scripts/abilist.awk: Ignore symbols marked with .hidden.
43233
43234 2014-03-18 Will Newton <will.newton@linaro.org>
43235
43236 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43237 inaccurate comment.
43238
43239 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43240
43241 * Makerules [!subdir] (check-abi): Exit with error status if a
43242 test failed.
43243
43244 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43245
43246 * math/libm-test.inc (nearbyint_test_data): Include all tests used
43247 for rint. Include results for all rounding modes.
43248 (nearbyint_test): Use ALL_RM_TEST.
43249 (rint_test_data): Include all tests used for nearbyint.
43250
43251 2014-03-17 Will Newton <will.newton@linaro.org>
43252
43253 * nptl/sysdeps/pthread/pthread.h: Revert previous
43254 change.
43255
43256 * sysdeps/generic/ldsodefs.h: Revert previous
43257 change.
43258
43259 * libio/genops.c: Revert previous change.
43260 * libio/libioP.h: Likewise.
43261 * stdio-common/vfprintf.c: Likewise.
43262
43263 * sysdeps/generic/math_private.h: Revert previous
43264 change.
43265
43266 * sysdeps/generic/math_private.h: Check whether
43267 HAVE_RM_CTX is defined with #ifdef rather
43268 than #if.
43269
43270 * argp/argp-fmtstream.h: Check whether
43271 __STRICT_ANSI__ is defined with #ifdef rather
43272 than #if.
43273 * argp/argp.h: Likewise.
43274
43275 * libio/genops.c: Check whether
43276 _IO_JUMPS_OFFSET is defined with #ifdef rather
43277 than #if.
43278 * libio/libioP.h: Likewise.
43279 * stdio-common/vfprintf.c: Likewise.
43280
43281 * sysdeps/generic/ldsodefs.h: Check whether
43282 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43283 than #if.
43284
43285 * nptl/sysdeps/pthread/pthread.h: Check
43286 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43287 its value.
43288
43289 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43290
43291 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43292 setting O_APPEND.
43293 * libio/tst-ftell-active-handler.c (do_append_test): Add a
43294 test case.
43295
43296 [BZ #16680]
43297 * libio/fileops.c (_IO_file_open): Seek to end of file but
43298 don't cache the offset.
43299 (get_file_offset): Remove function.
43300 (do_ftell): Use cached offset when available.
43301 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43302 don't cache the offset.
43303 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43304 case.
43305 (do_one_test): Call it.
43306 (do_ftell_test): Fix up expected old offset for a+ mode.
43307 * libio/wfileops.c (do_ftell_wide): Used cached offset when
43308 available.
43309
43310 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43311 up test status with function return status.
43312 (do_write_test): Likewise.
43313 (do_append_test): Likewise.
43314
43315 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43316 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43317 Remove.
43318
43319 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43320
43321 * math/gen-libm-test.pl (parse_args): Handle results specified for
43322 each rounding mode separately.
43323 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43324 tests and results from lrint_tonearest_test_data,
43325 lrint_towardzero_test_data, lrint_downward_test_data and
43326 lrint_upward_test_data.
43327 (lrint_test): Use ALL_RM_TEST.
43328 (lrint_tonearest_test_data): Remove.
43329 (lrint_test_tonearest): Likewise.
43330 (lrint_towardzero_test_data): Likewise.
43331 (lrint_test_towardzero): Likewise.
43332 (lrint_downward_test_data): Likewise.
43333 (lrint_test_downward): Likewise.
43334 (lrint_upward_test_data): Likewise.
43335 (lrint_test_upward): Likewise.
43336 (llrint_test_data): Merge in per-rounding-mode tests and results
43337 from llrint_tonearest_test_data, llrint_towardzero_test_data,
43338 llrint_downward_test_data and llrint_upward_test_data.
43339 (llrint_test): Use ALL_RM_TEST.
43340 (llrint_tonearest_test_data): Remove.
43341 (llrint_test_tonearest): Likewise.
43342 (llrint_towardzero_test_data): Likewise.
43343 (llrint_test_towardzero): Likewise.
43344 (llrint_downward_test_data): Likewise.
43345 (llrint_test_downward): Likewise.
43346 (llrint_upward_test_data): Likewise.
43347 (llrint_test_upward): Likewise.
43348 (rint_test_data): Merge in per-rounding-mode tests and results
43349 from rint_tonearest_test_data, rint_towardzero_test_data,
43350 rint_downward_test_data and rint_upward_test_data. Add
43351 per-rounding-mode results for tests not in those arrays.
43352 (rint_test): Use ALL_RM_TEST.
43353 (rint_tonearest_test_data): Remove.
43354 (rint_test_tonearest): Likewise.
43355 (rint_towardzero_test_data): Likewise.
43356 (rint_test_towardzero): Likewise.
43357 (rint_downward_test_data): Likewise.
43358 (rint_test_downward): Likewise.
43359 (rint_upward_test_data): Likewise.
43360 (rint_test_upward): Likewise.
43361 (main): Don't call removed functions.
43362
43363 2014-03-14 Roland McGrath <roland@hack.frob.com>
43364
43365 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43366 "Compiled on ..." crapola. It is anti-useful.
43367
43368 2014-03-14 Joseph Myers <joseph@codesourcery.com>
43369
43370 * scripts/evaluate-test.sh: Handle fourth argument to determine
43371 whether test run should stop on failure.
43372 * Makeconfig (stop-on-test-failure): New variable.
43373 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43374 $(stop-on-test-failure).
43375 * Makefile (tests): Give a summary of results from testing and
43376 exit with failure status if they include an ERROR or FAIL.
43377 (xtests): Likewise.
43378 * manual/install.texi (Configuring and compiling): Mention
43379 stop-on-test-failure=y.
43380 * INSTALL: Regenerated.
43381
43382 2014-03-14 Roland McGrath <roland@hack.frob.com>
43383
43384 * scripts/versionlist.awk: New file.
43385 * Makerules [$(build-shared) = yes]
43386 (postclean-generated): Add Versions.def, not Versions.def.v and
43387 Versions.def.v.i.
43388 ($(common-objpfx)Versions.def.v.i): Target removed.
43389 ($(common-objpfx)Versions.def): New target.
43390 ($(common-objpfx)Versions.all): Depend on that rather that
43391 $(common-objpfx)Versions.def.v.
43392 * Versions.def: File removed.
43393
43394 * Makeconfig (+gccwarn): Add -Wundef.
43395 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43396 a dl-sysdep.h breaking its contract.
43397 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43398 * include/stackinfo.h: New file.
43399 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43400 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43401 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43402 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43403 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43404 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43405 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43406 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43407 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43408 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43409 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43410 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43411 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43412 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43413 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43414
43415 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43416
43417 [BZ #16707]
43418 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43419 implementation.
43420 * math/libm-test.inc (round_test_data): Add more tests.
43421
43422 [BZ #16706]
43423 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43424 implementation.
43425 * math/libm-test.inc (nearbyint_test_data): Add more tests.
43426
43427 [BZ #16701]
43428 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43429 implementation.
43430 * math/libm-test.inc (ceil_test_data): Add more tests.
43431
43432 * math/libm-test.inc (trunc_test_data): Add more tests related to
43433 BZ#16414.
43434
43435 2014-03-14 Roland McGrath <roland@hack.frob.com>
43436
43437 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43438 with #if rather than #ifdef.
43439 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43440
43441 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
43442
43443 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
43444 first. Disable AVX-512 GCC support if assembler doesn't support
43445 it.
43446 * sysdeps/x86_64/configure: Regenerated.
43447
43448 2014-03-13 Carlos O'Donell <carlos@redhat.com>
43449
43450 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
43451 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
43452 (__old_pthread_attr_setstack): Likewise.
43453 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
43454 [!_STACK_GROWS_DOWN]: Likewise.
43455
43456 2014-03-13 Mike Frysinger <vapier@gentoo.org>
43457
43458 * config.make.in (have-bash2): Delete.
43459 * configure.ac (libc_cv_have_bash2): Delete.
43460 * configure: Regenerate.
43461 * elf/Makefile (common-ldd-rewrite): Rename to ...
43462 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
43463 (sh-ldd-rewrite): Delete.
43464 (bash-ldd-rewrite): Delete.
43465 (have-bash2): Delete checks.
43466 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
43467 ldd-rewrite.
43468
43469 * config.make.in (have-ksh): Delete.
43470 (KSH): Delete.
43471 * configure.ac (libc_cv_have_ksh): Delete.
43472 * configure: Regenerate.
43473
43474 * elf/Makefile: Delete $(have-ksh) check.
43475 ($(objpfx)sotruss): Change KSH to BASH.
43476 * elf/sotruss.ksh: Rename to ...
43477 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
43478 function style to match POSIX. Drop ksh vim mode setting.
43479
43480 * manual/time.texi (Specifying the Time Zone with TZ): Change
43481 Tuesday to Thursday.
43482
43483 * debug/tst-longjmp_chk2.c: Update header comment.
43484 (stackoverflow_handler): Add comment. Call assert on pass value.
43485
43486 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
43487
43488 [BZ #16194]
43489 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
43490 (HAVE_AVX512_ASM_SUPPORT): Likewise.
43491 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43492 (La_x86_64_vector): Add zmm.
43493 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
43494 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
43495 ($(objpfx)tst-audit10): New target.
43496 ($(objpfx)tst-audit10.out): Likewise.
43497 (tst-audit10-ENV): New.
43498 (AVX512-CFLAGS): Likewise.
43499 (CFLAGS-tst-audit10.c): Likewise.
43500 (CFLAGS-tst-auditmod10a.c): Likewise.
43501 (CFLAGS-tst-auditmod10b.c): Likewise.
43502 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
43503 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43504 * sysdeps/x86_64/configure: Regenerated.
43505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
43506 AVX-512 zmm register support.
43507 (_dl_x86_64_save_sse): Likewise.
43508 (_dl_x86_64_restore_sse): Likewise.
43509 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
43510 size vector registers.
43511 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
43512 (ZMM_SIZE): Likewise.
43513 * sysdeps/x86_64/tst-audit10.c: New file.
43514 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
43515 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
43516
43517 2014-03-13 Roland McGrath <roland@hack.frob.com>
43518
43519 * configure.ac (HAVE_EHDR_START): New check.
43520 * configure: Regenerated.
43521 * config.h.in (HAVE_EHDR_START): New #undef.
43522 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
43523 assuming the lowest-addressed segment maps the start of the file.
43524
43525 2014-03-13 Joseph Myers <joseph@codesourcery.com>
43526
43527 * INSTALL: Regenerated.
43528
43529 2014-03-13 Will Newton <will.newton@linaro.org>
43530
43531 * manual/setjmp.texi (System V contexts): Improve
43532 clarity and grammar of documentation.
43533
43534 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
43535
43536 [BZ #16381]
43537 * elf/Makefile (tests): Add tst-pie2.
43538 (tests-pie): Add tst-pie2.
43539 * elf/tst-pie2.c: New file.
43540 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
43541 for ET_EXEC.
43542 * elf/rtld.c (map_doit): Load executable as lt_executable.
43543 (dl_main): Likewise.
43544
43545 2014-03-12 Joseph Myers <joseph@codesourcery.com>
43546
43547 [BZ #16642]
43548 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43549 (__ASSUME_PSELECT): Undefine.
43550
43551 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43552
43553 [BZ #16689]
43554 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
43555 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
43556 static build.
43557 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
43558 selector for static builds.
43559
43560 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43561
43562 [BZ #16695]
43563 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
43564 key in the buffer.
43565
43566 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43567
43568 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
43569 IFUNC selector for static builds.
43570
43571 2014-03-11 Joseph Myers <joseph@codesourcery.com>
43572
43573 * sysdeps/mips/math_private.h [__mips_hard_float]
43574 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
43575 libc_feresetround_mips_ctx.
43576 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
43577 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
43578 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
43579
43580 [BZ #16677]
43581 * math/s_nextafter.c (__nextafter): Do not return value from
43582 overflowing computation.
43583 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
43584 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
43585 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
43586 Likewise.
43587 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
43588 Likewise.
43589 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
43590 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
43591
43592 2014-03-11 Roland McGrath <roland@hack.frob.com>
43593
43594 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
43595 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
43596 Move sfi_sp use from the load-multiple (that no longer sets sp) to
43597 the new mov targetting sp.
43598
43599 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43600
43601 [BZ #16683]
43602 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
43603 Define it for static builds as well.
43604 (NO_BZERO_IMPL): Likewise.
43605
43606 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43607
43608 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
43609 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
43610 multiarch strspn for PPC64.
43611 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
43612 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
43613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43614 (__libc_ifunc_impl_list): Likewise.
43615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
43616 multiarch optimizations
43617 * string/strspn.c (strspn): Using macro to redefine symbol name.
43618
43619 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43620 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43621
43622 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
43623 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
43624 multiarch strncat for PPC64.
43625 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
43626 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
43627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43628 (__libc_ifunc_impl_list): Likewise.
43629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
43630 multiarch optimizations
43631
43632 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43633
43634 [BZ #16639]
43635 * nscd/nscd.service: Make service type forking.
43636
43637 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43638
43639 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
43640 sign in non default rounding modes.
43641 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
43642
43643 2014-03-08 Joseph Myers <joseph@codesourcery.com>
43644
43645 * math/libm-test.inc (ALL_RM_TEST): New macro.
43646 (ceil_test): Use ALL_RM_TEST.
43647 (cimag_test): Likewise.
43648 (conj_test): Likewise.
43649 (copysign_test): Likewise.
43650 (cproj_test): Likewise.
43651 (creal_test): Likewise.
43652 (fabs_test): Likewise.
43653 (floor_test): Likewise.
43654 (fmax_test): Likewise.
43655 (fmin_test): Likewise.
43656 (fmod_test): Likewise.
43657 (fpclassify_test): Likewise.
43658 (frexp_test): Likewise.
43659 (ilogb_test): Likewise.
43660 (isfinite_test): Likewise.
43661 (finite_test): Likewise.
43662 (isgreater_test): Likewise.
43663 (isgreaterequal_test): Likewise.
43664 (isinf_test): Likewise.
43665 (isless_test): Likewise.
43666 (islessequal_test): Likewise.
43667 (islessgreater_test): Likewise.
43668 (isnan_test): Likewise.
43669 (isnormal_test): Likewise.
43670 (issignaling_test): Likewise.
43671 (isunordered_test): Likewise.
43672 (logb_test): Likewise.
43673 (logb_downward_test_data): Remove.
43674 (logb_test_downward): Likewise.
43675 (lround_test): Use ALL_RM_TEST.
43676 (llround_test): Likewise.
43677 (modf_test): Likewise.
43678 (nexttoward_test): Likewise.
43679 (remainder_test): Likewise.
43680 (drem_test): Likewise.
43681 (remainder_tonearest_test_data): Likewise.
43682 (remainder_test_tonearest): Likewise.
43683 (drem_test_tonearest): Likewise.
43684 (remainder_towardzero_test_data): Likewise.
43685 (remainder_test_towardzero): Likewise.
43686 (drem_test_towardzero): Likewise.
43687 (remainder_downward_test_data): Likewise.
43688 (remainder_test_downward): Likewise.
43689 (drem_test_downward): Likewise.
43690 (remainder_upward_test_data): Likewise.
43691 (remainder_test_upward): Likewise.
43692 (drem_test_upward): Likewise.
43693 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
43694 (round_test): Use ALL_RM_TEST.
43695 (signbit_test): Likewise.
43696 (trunc_test): Likewise.
43697 (significand_test): Likewise.
43698 (main): Don't call removed functions.
43699
43700 2014-03-07 Joseph Myers <joseph@codesourcery.com>
43701
43702 [BZ #16674]
43703 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
43704 || __USE_XOPEN2K8].
43705 (ILL_ILLOPN): Likewise.
43706 (ILL_ILLADR): Likewise.
43707 (ILL_ILLTRP): Likewise.
43708 (ILL_PRVOPC): Likewise.
43709 (ILL_PRVREG): Likewise.
43710 (ILL_COPROC): Likewise.
43711 (ILL_BADSTK): Likewise.
43712 (FPE_INTDIV): Likewise.
43713 (FPE_INTOVF): Likewise.
43714 (FPE_FLTDIV): Likewise.
43715 (FPE_FLTOVF): Likewise.
43716 (FPE_FLTUND): Likewise.
43717 (FPE_FLTRES): Likewise.
43718 (FPE_FLTINV): Likewise.
43719 (FPE_FLTSUB): Likewise.
43720 (SEGV_MAPERR): Likewise.
43721 (SEGV_ACCERR): Likewise.
43722 (BUS_ADRALN): Likewise.
43723 (BUS_ADRERR): Likewise.
43724 (BUS_OBJERR): Likewise.
43725 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43726 (TRAP_TRACE): Likewise.
43727 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43728 __USE_XOPEN2K8].
43729 (CLD_KILLED): Likewise.
43730 (CLD_DUMPED): Likewise.
43731 (CLD_TRAPPED): Likewise.
43732 (CLD_STOPPED): Likewise.
43733 (CLD_CONTINUED): Likewise.
43734 (POLL_IN): Likewise.
43735 (POLL_OUT): Likewise.
43736 (POLL_MSG): Likewise.
43737 (POLL_ERR): Likewise.
43738 (POLL_PRI): Likewise.
43739 (POLL_HUP): Likewise.
43740 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
43741 Likewise.
43742 (ILL_ILLOPN): Likewise.
43743 (ILL_ILLADR): Likewise.
43744 (ILL_ILLTRP): Likewise.
43745 (ILL_PRVOPC): Likewise.
43746 (ILL_PRVREG): Likewise.
43747 (ILL_COPROC): Likewise.
43748 (ILL_BADSTK): Likewise.
43749 (FPE_INTDIV): Likewise.
43750 (FPE_INTOVF): Likewise.
43751 (FPE_FLTDIV): Likewise.
43752 (FPE_FLTOVF): Likewise.
43753 (FPE_FLTUND): Likewise.
43754 (FPE_FLTRES): Likewise.
43755 (FPE_FLTINV): Likewise.
43756 (FPE_FLTSUB): Likewise.
43757 (SEGV_MAPERR): Likewise.
43758 (SEGV_ACCERR): Likewise.
43759 (BUS_ADRALN): Likewise.
43760 (BUS_ADRERR): Likewise.
43761 (BUS_OBJERR): Likewise.
43762 (BUS_MCEERR_AR): Likewise.
43763 (BUS_MCEERR_AO): Likewise.
43764 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43765 (TRAP_TRACE): Likewise.
43766 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43767 __USE_XOPEN2K8].
43768 (CLD_KILLED): Likewise.
43769 (CLD_DUMPED): Likewise.
43770 (CLD_TRAPPED): Likewise.
43771 (CLD_STOPPED): Likewise.
43772 (CLD_CONTINUED): Likewise.
43773 (POLL_IN): Likewise.
43774 (POLL_OUT): Likewise.
43775 (POLL_MSG): Likewise.
43776 (POLL_ERR): Likewise.
43777 (POLL_PRI): Likewise.
43778 (POLL_HUP): Likewise.
43779 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
43780 (ILL_ILLOPN): Likewise.
43781 (ILL_ILLADR): Likewise.
43782 (ILL_ILLTRP): Likewise.
43783 (ILL_PRVOPC): Likewise.
43784 (ILL_PRVREG): Likewise.
43785 (ILL_COPROC): Likewise.
43786 (ILL_BADSTK): Likewise.
43787 (FPE_INTDIV): Likewise.
43788 (FPE_INTOVF): Likewise.
43789 (FPE_FLTDIV): Likewise.
43790 (FPE_FLTOVF): Likewise.
43791 (FPE_FLTUND): Likewise.
43792 (FPE_FLTRES): Likewise.
43793 (FPE_FLTINV): Likewise.
43794 (FPE_FLTSUB): Likewise.
43795 (SEGV_MAPERR): Likewise.
43796 (SEGV_ACCERR): Likewise.
43797 (BUS_ADRALN): Likewise.
43798 (BUS_ADRERR): Likewise.
43799 (BUS_OBJERR): Likewise.
43800 (BUS_MCEERR_AR): Likewise.
43801 (BUS_MCEERR_AO): Likewise.
43802 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43803 (TRAP_TRACE): Likewise.
43804 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43805 __USE_XOPEN2K8].
43806 (CLD_KILLED): Likewise.
43807 (CLD_DUMPED): Likewise.
43808 (CLD_TRAPPED): Likewise.
43809 (CLD_STOPPED): Likewise.
43810 (CLD_CONTINUED): Likewise.
43811 (POLL_IN): Likewise.
43812 (POLL_OUT): Likewise.
43813 (POLL_MSG): Likewise.
43814 (POLL_ERR): Likewise.
43815 (POLL_PRI): Likewise.
43816 (POLL_HUP): Likewise.
43817 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
43818 Likewise.
43819 (ILL_ILLOPN): Likewise.
43820 (ILL_ILLADR): Likewise.
43821 (ILL_ILLTRP): Likewise.
43822 (ILL_PRVOPC): Likewise.
43823 (ILL_PRVREG): Likewise.
43824 (ILL_COPROC): Likewise.
43825 (ILL_BADSTK): Likewise.
43826 (ILL_BADIADDR): Likewise.
43827 (ILL_BREAK): Likewise.
43828 (FPE_INTDIV): Likewise.
43829 (FPE_INTOVF): Likewise.
43830 (FPE_FLTDIV): Likewise.
43831 (FPE_FLTOVF): Likewise.
43832 (FPE_FLTUND): Likewise.
43833 (FPE_FLTRES): Likewise.
43834 (FPE_FLTINV): Likewise.
43835 (FPE_FLTSUB): Likewise.
43836 (FPE_DECOVF): Likewise.
43837 (FPE_DECDIV): Likewise.
43838 (FPE_DECERR): Likewise.
43839 (FPE_INVASC): Likewise.
43840 (FPE_INVDEC): Likewise.
43841 (SEGV_MAPERR): Likewise.
43842 (SEGV_ACCERR): Likewise.
43843 (SEGV_PSTKOVF): Likewise.
43844 (BUS_ADRALN): Likewise.
43845 (BUS_ADRERR): Likewise.
43846 (BUS_OBJERR): Likewise.
43847 (BUS_MCEERR_AR): Likewise.
43848 (BUS_MCEERR_AO): Likewise.
43849 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43850 (TRAP_TRACE): Likewise.
43851 (TRAP_BRANCH): Likewise.
43852 (TRAP_HWBKPT): Likewise.
43853 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43854 __USE_XOPEN2K8].
43855 (CLD_KILLED): Likewise.
43856 (CLD_DUMPED): Likewise.
43857 (CLD_TRAPPED): Likewise.
43858 (CLD_STOPPED): Likewise.
43859 (CLD_CONTINUED): Likewise.
43860 (POLL_IN): Likewise.
43861 (POLL_OUT): Likewise.
43862 (POLL_MSG): Likewise.
43863 (POLL_ERR): Likewise.
43864 (POLL_PRI): Likewise.
43865 (POLL_HUP): Likewise.
43866 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
43867 (ILL_ILLOPN): Likewise.
43868 (ILL_ILLADR): Likewise.
43869 (ILL_ILLTRP): Likewise.
43870 (ILL_PRVOPC): Likewise.
43871 (ILL_PRVREG): Likewise.
43872 (ILL_COPROC): Likewise.
43873 (ILL_BADSTK): Likewise.
43874 (FPE_INTDIV): Likewise.
43875 (FPE_INTOVF): Likewise.
43876 (FPE_FLTDIV): Likewise.
43877 (FPE_FLTOVF): Likewise.
43878 (FPE_FLTUND): Likewise.
43879 (FPE_FLTRES): Likewise.
43880 (FPE_FLTINV): Likewise.
43881 (FPE_FLTSUB): Likewise.
43882 (SEGV_MAPERR): Likewise.
43883 (SEGV_ACCERR): Likewise.
43884 (BUS_ADRALN): Likewise.
43885 (BUS_ADRERR): Likewise.
43886 (BUS_OBJERR): Likewise.
43887 (BUS_MCEERR_AR): Likewise.
43888 (BUS_MCEERR_AO): Likewise.
43889 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43890 (TRAP_TRACE): Likewise.
43891 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43892 __USE_XOPEN2K8].
43893 (CLD_KILLED): Likewise.
43894 (CLD_DUMPED): Likewise.
43895 (CLD_TRAPPED): Likewise.
43896 (CLD_STOPPED): Likewise.
43897 (CLD_CONTINUED): Likewise.
43898 (POLL_IN): Likewise.
43899 (POLL_OUT): Likewise.
43900 (POLL_MSG): Likewise.
43901 (POLL_ERR): Likewise.
43902 (POLL_PRI): Likewise.
43903 (POLL_HUP): Likewise.
43904 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
43905 (ILL_ILLOPN): Likewise.
43906 (ILL_ILLADR): Likewise.
43907 (ILL_ILLTRP): Likewise.
43908 (ILL_PRVOPC): Likewise.
43909 (ILL_PRVREG): Likewise.
43910 (ILL_COPROC): Likewise.
43911 (ILL_BADSTK): Likewise.
43912 (FPE_INTDIV): Likewise.
43913 (FPE_INTOVF): Likewise.
43914 (FPE_FLTDIV): Likewise.
43915 (FPE_FLTOVF): Likewise.
43916 (FPE_FLTUND): Likewise.
43917 (FPE_FLTRES): Likewise.
43918 (FPE_FLTINV): Likewise.
43919 (FPE_FLTSUB): Likewise.
43920 (SEGV_MAPERR): Likewise.
43921 (SEGV_ACCERR): Likewise.
43922 (BUS_ADRALN): Likewise.
43923 (BUS_ADRERR): Likewise.
43924 (BUS_OBJERR): Likewise.
43925 (BUS_MCEERR_AR): Likewise.
43926 (BUS_MCEERR_AO): Likewise.
43927 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43928 (TRAP_TRACE): Likewise.
43929 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43930 __USE_XOPEN2K8].
43931 (CLD_KILLED): Likewise.
43932 (CLD_DUMPED): Likewise.
43933 (CLD_TRAPPED): Likewise.
43934 (CLD_STOPPED): Likewise.
43935 (CLD_CONTINUED): Likewise.
43936 (POLL_IN): Likewise.
43937 (POLL_OUT): Likewise.
43938 (POLL_MSG): Likewise.
43939 (POLL_ERR): Likewise.
43940 (POLL_PRI): Likewise.
43941 (POLL_HUP): Likewise.
43942 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
43943 (ILL_ILLOPN): Likewise.
43944 (ILL_ILLADR): Likewise.
43945 (ILL_ILLTRP): Likewise.
43946 (ILL_PRVOPC): Likewise.
43947 (ILL_PRVREG): Likewise.
43948 (ILL_COPROC): Likewise.
43949 (ILL_BADSTK): Likewise.
43950 (FPE_INTDIV): Likewise.
43951 (FPE_INTOVF): Likewise.
43952 (FPE_FLTDIV): Likewise.
43953 (FPE_FLTOVF): Likewise.
43954 (FPE_FLTUND): Likewise.
43955 (FPE_FLTRES): Likewise.
43956 (FPE_FLTINV): Likewise.
43957 (FPE_FLTSUB): Likewise.
43958 (SEGV_MAPERR): Likewise.
43959 (SEGV_ACCERR): Likewise.
43960 (BUS_ADRALN): Likewise.
43961 (BUS_ADRERR): Likewise.
43962 (BUS_OBJERR): Likewise.
43963 (BUS_MCEERR_AR): Likewise.
43964 (BUS_MCEERR_AO): Likewise.
43965 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43966 (TRAP_TRACE): Likewise.
43967 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43968 __USE_XOPEN2K8].
43969 (CLD_KILLED): Likewise.
43970 (CLD_DUMPED): Likewise.
43971 (CLD_TRAPPED): Likewise.
43972 (CLD_STOPPED): Likewise.
43973 (CLD_CONTINUED): Likewise.
43974 (POLL_IN): Likewise.
43975 (POLL_OUT): Likewise.
43976 (POLL_MSG): Likewise.
43977 (POLL_ERR): Likewise.
43978 (POLL_PRI): Likewise.
43979 (POLL_HUP): Likewise.
43980 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
43981 (ILL_ILLOPN): Likewise.
43982 (ILL_ILLADR): Likewise.
43983 (ILL_ILLTRP): Likewise.
43984 (ILL_PRVOPC): Likewise.
43985 (ILL_PRVREG): Likewise.
43986 (ILL_COPROC): Likewise.
43987 (ILL_BADSTK): Likewise.
43988 (ILL_DBLFLT): Likewise.
43989 (ILL_HARDWALL): Likewise.
43990 (FPE_INTDIV): Likewise.
43991 (FPE_INTOVF): Likewise.
43992 (FPE_FLTDIV): Likewise.
43993 (FPE_FLTOVF): Likewise.
43994 (FPE_FLTUND): Likewise.
43995 (FPE_FLTRES): Likewise.
43996 (FPE_FLTINV): Likewise.
43997 (FPE_FLTSUB): Likewise.
43998 (SEGV_MAPERR): Likewise.
43999 (SEGV_ACCERR): Likewise.
44000 (BUS_ADRALN): Likewise.
44001 (BUS_ADRERR): Likewise.
44002 (BUS_OBJERR): Likewise.
44003 (BUS_MCEERR_AR): Likewise.
44004 (BUS_MCEERR_AO): Likewise.
44005 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44006 (TRAP_TRACE): Likewise.
44007 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44008 __USE_XOPEN2K8].
44009 (CLD_KILLED): Likewise.
44010 (CLD_DUMPED): Likewise.
44011 (CLD_TRAPPED): Likewise.
44012 (CLD_STOPPED): Likewise.
44013 (CLD_CONTINUED): Likewise.
44014 (POLL_IN): Likewise.
44015 (POLL_OUT): Likewise.
44016 (POLL_MSG): Likewise.
44017 (POLL_ERR): Likewise.
44018 (POLL_PRI): Likewise.
44019 (POLL_HUP): Likewise.
44020 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44021 (ILL_ILLOPN): Likewise.
44022 (ILL_ILLADR): Likewise.
44023 (ILL_ILLTRP): Likewise.
44024 (ILL_PRVOPC): Likewise.
44025 (ILL_PRVREG): Likewise.
44026 (ILL_COPROC): Likewise.
44027 (ILL_BADSTK): Likewise.
44028 (FPE_INTDIV): Likewise.
44029 (FPE_INTOVF): Likewise.
44030 (FPE_FLTDIV): Likewise.
44031 (FPE_FLTOVF): Likewise.
44032 (FPE_FLTUND): Likewise.
44033 (FPE_FLTRES): Likewise.
44034 (FPE_FLTINV): Likewise.
44035 (FPE_FLTSUB): Likewise.
44036 (SEGV_MAPERR): Likewise.
44037 (SEGV_ACCERR): Likewise.
44038 (BUS_ADRALN): Likewise.
44039 (BUS_ADRERR): Likewise.
44040 (BUS_OBJERR): Likewise.
44041 (BUS_MCEERR_AR): Likewise.
44042 (BUS_MCEERR_AO): Likewise.
44043 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44044 (TRAP_TRACE): Likewise.
44045 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44046 __USE_XOPEN2K8].
44047 (CLD_KILLED): Likewise.
44048 (CLD_DUMPED): Likewise.
44049 (CLD_TRAPPED): Likewise.
44050 (CLD_STOPPED): Likewise.
44051 (CLD_CONTINUED): Likewise.
44052 (POLL_IN): Likewise.
44053 (POLL_OUT): Likewise.
44054 (POLL_MSG): Likewise.
44055 (POLL_ERR): Likewise.
44056 (POLL_PRI): Likewise.
44057 (POLL_HUP): Likewise.
44058 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44059 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44060
44061 [BZ #16670]
44062 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44063 before #include of <time.h>.
44064 [!__USE_XOPEN2K] (__need_timespec): Likewise.
44065 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44066 (test-xfail-UNIX98/sched.h/conform): Likewise.
44067
44068 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
44069
44070 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44071 error absence of trapping exception support.
44072 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44073
44074 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44075
44076 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44077 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44078 * timezone/Makefile (testdata): Move definition above include of
44079 Rules.
44080 (test-zones): New variable.
44081 (tests-special): Add zone files.
44082 (build-testdata): Use $(evaluate-test).
44083
44084 * elf/Makefile (tests-special): Rename tests to end with .out.
44085 ($(objpfx)noload-mem): Likewise.
44086 ($(objpfx)tst-leaks1-mem): Likewise.
44087 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44088 * iconv/Makefile (xtests-special): Change test-iconvconfig to
44089 $(objpfx)test-iconvconfig.out.
44090 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
44091 set -e inside subshell and redirect output to file.
44092 * iconvdata/Makefile (generated): Rename tests to end with .out.
44093 Correct type.
44094 (tests-special): Rename tests to end with .out.
44095 ($(objpfx)mtrace-tst-loading): Likewise.
44096 * intl/Makefile (generated): Likewise.
44097 (tests-special): Likewise.
44098 ($(objpfx)mtrace-tst-gettext): Likewise.
44099 * misc/Makefile (generated): Likewise.
44100 (tests-special): Likewise.
44101 ($(objpfx)tst-error1-mem): Likewise.
44102 * nptl/Makefile (tests-special): Likewise.
44103 ($(objpfx)tst-stack3-mem): Likewise.
44104 (generated): Likewise.
44105 * posix/Makefile (generated): Likewise.
44106 (tests-special): Likewise.
44107 (xtests-special): Likewise.
44108 ($(objpfx)tst-fnmatch-mem): Likewise.
44109 ($(objpfx)bug-regex2-mem): Likewise.
44110 ($(objpfx)bug-regex14-mem): Likewise.
44111 ($(objpfx)bug-regex21-mem): Likewise.
44112 ($(objpfx)bug-regex31-mem): Likewise.
44113 ($(objpfx)tst-vfork3-mem): Likewise.
44114 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44115 ($(objpfx)tst-pcre-mem): Likewise.
44116 ($(objpfx)tst-boost-mem): Likewise.
44117 ($(objpfx)bug-ga2-mem): Likewise.
44118 ($(objpfx)bug-glob2-mem): Likewise.
44119 * resolv/Makefile (generate): Likewise.
44120 (tests-special): Likewise.
44121 (xtests-special): Likewise.
44122 (generated): Likewise.
44123 ($(objpfx)mtrace-tst-leaks): Likewise.
44124 ($(objpfx)mtrace-tst-leaks2): Likewise.
44125
44126 * scripts/merge-test-results.sh: New file.
44127 * Makefile (tests-special-notdir): New variable.
44128 (tests): Run merge-test-results.sh.
44129 (xtests): Likewise.
44130 * Rules (tests-special-notdir): New variable.
44131 (xtests-special-notdir): Likewise.
44132 (tests): Run merge-test-results.sh
44133 (xtests): Likewise.
44134
44135 * Makeconfig (test-xfail-name): New variable.
44136 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44137 compute variable name for expected failures.
44138 * conform/Makefile (conformtest-headers-data): New variable.
44139 (conformtest-standards): Likewise.
44140 (conformtest-headers-ISO): Likewise.
44141 (conformtest-headers-ISO99): Likewise.
44142 (conformtest-headers-ISO11): Likewise.
44143 (conformtest-headers-POSIX): Likewise.
44144 (conformtest-headers-XPG3): Likewise.
44145 (conformtest-headers-XPG4): Likewise.
44146 (conformtest-headers-UNIX98): Likewise.
44147 (conformtest-headers-XOPEN2K): Likewise.
44148 (conformtest-headers-POSIX2008): Likewise.
44149 (conformtest-headers-XOPEN2K8): Likewise.
44150 (conformtest-header-list-base): Likewise.
44151 (conformtest-header-list-tests): Likewise.
44152 (conformtest-header-base): Likewise.
44153 (conformtest-header-tests): Likewise.
44154 (tests-special): Add $(conformtest-header-list-tests). If
44155 [$(fast-check) && !$(cross-compiling)], add
44156 $(conformtest-header-tests) instead of
44157 $(objpfx)run-conformtest.out.
44158 (generated): Add $(conformtest-header-list-base). If
44159 [$(fast-check) && !$(cross-compiling)], add
44160 $(conformtest-header-base). Remove previous setting.
44161 ($(conformtest-header-list-tests)): New target.
44162 (test-xfail-run-conformtest): Remove variable.
44163 ($(objpfx)run-conformtest.out): Remove target.
44164 (test-xfail-ISO11/complex.h/conform): New variable.
44165 (test-xfail-ISO11/stdalign.h/conform): Likewise.
44166 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44167 (test-xfail-XPG3/varargs.h/conform): Likewise.
44168 (test-xfail-XPG4/varargs.h/conform): Likewise.
44169 (test-xfail-UNIX98/varargs.h/conform): Likewise.
44170 (test-xfail-XPG4/ndbm.h/conform): Likewise.
44171 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44172 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44173 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44174 (test-xfail-XPG3/fcntl.h/conform): Likewise.
44175 (test-xfail-XPG3/ftw.h/conform): Likewise.
44176 (test-xfail-XPG3/grp.h/conform): Likewise.
44177 (test-xfail-XPG3/langinfo.h/conform): Likewise.
44178 (test-xfail-XPG3/limits.h/conform): Likewise.
44179 (test-xfail-XPG3/pwd.h/conform): Likewise.
44180 (test-xfail-XPG3/search.h/conform): Likewise.
44181 (test-xfail-XPG3/signal.h/conform): Likewise.
44182 (test-xfail-XPG3/stdio.h/conform): Likewise.
44183 (test-xfail-XPG3/stdlib.h/conform): Likewise.
44184 (test-xfail-XPG3/string.h/conform): Likewise.
44185 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44186 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44187 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44188 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44189 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44190 (test-xfail-XPG3/sys/types.h/conform): Likewise.
44191 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44192 (test-xfail-XPG3/termios.h/conform): Likewise.
44193 (test-xfail-XPG3/time.h/conform): Likewise.
44194 (test-xfail-XPG3/unistd.h/conform): Likewise.
44195 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44196 (test-xfail-XPG4/fcntl.h/conform): Likewise.
44197 (test-xfail-XPG4/langinfo.h/conform): Likewise.
44198 (test-xfail-XPG4/netdb.h/conform): Likewise.
44199 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44200 (test-xfail-XPG4/signal.h/conform): Likewise.
44201 (test-xfail-XPG4/stdio.h/conform): Likewise.
44202 (test-xfail-XPG4/stdlib.h/conform): Likewise.
44203 (test-xfail-XPG4/stropts.h/conform): Likewise.
44204 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44205 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44206 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44207 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44208 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44209 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44210 (test-xfail-XPG4/sys/time.h/conform): Likewise.
44211 (test-xfail-XPG4/sys/types.h/conform): Likewise.
44212 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44213 (test-xfail-XPG4/termios.h/conform): Likewise.
44214 (test-xfail-XPG4/ucontext.h/conform): Likewise.
44215 (test-xfail-XPG4/unistd.h/conform): Likewise.
44216 (test-xfail-XPG4/utmpx.h/conform): Likewise.
44217 (test-xfail-POSIX/sched.h/conform): Likewise.
44218 (test-xfail-POSIX/signal.h/conform): Likewise.
44219 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44220 (test-xfail-POSIX/tar.h/conform): Likewise.
44221 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44222 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44223 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44224 (test-xfail-UNIX98/netdb.h/conform): Likewise.
44225 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44226 (test-xfail-UNIX98/sched.h/conform): Likewise.
44227 (test-xfail-UNIX98/signal.h/conform): Likewise.
44228 (test-xfail-UNIX98/stdio.h/conform): Likewise.
44229 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44230 (test-xfail-UNIX98/stropts.h/conform): Likewise.
44231 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44232 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44233 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44234 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44235 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44236 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44237 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44238 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44239 (test-xfail-UNIX98/unistd.h/conform): Likewise.
44240 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44241 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44242 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44243 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44244 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44245 (test-xfail-XOPEN2K/math.h/conform): Likewise.
44246 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44247 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44248 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44249 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44250 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44251 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44252 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44253 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44254 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44255 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44256 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44257 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44258 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44259 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44260 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44261 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44262 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44263 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44264 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44265 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44266 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44267 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44268 (test-xfail-POSIX2008/signal.h/conform): Likewise.
44269 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44270 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44271 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44272 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44273 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44274 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44275 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44276 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44277 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44278 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44279 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44280 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44281 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44282 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44283 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44284 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44285 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44286 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44287 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44288 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44289 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44290 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44291 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44292 (conformtest-cc-flags): Likewise.
44293 ($(conformtest-header-tests): New target.
44294 * conform/check-header-lists.sh: New file.
44295 * conform/run-conformtest.sh: Remove.
44296
44297 * conform/conformtest.pl: Allow ' and \ in values given for
44298 constants.
44299 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44300 inclusion.
44301 [POSIX] (sys/types.h): Likewise.
44302 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44303 inclusion.
44304 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44305 inclusion.
44306 * conform/data/signal.h-data (SIGIO): Remove expectation.
44307 [XPG3] (SIGBUS): Do not expect.
44308 [POSIX || XPG3] (SIGPOLL): Likewise.
44309 [POSIX || XPG3] (SIGPROF): Likewise.
44310 [POSIX || XPG3] (SIGSYS): Likewise.
44311 [XPG3] (SIGTRAP): Likewise.
44312 [POSIX || XPG3] (SIGURG): Likewise.
44313 [POSIX || XPG3] (SIGVTALRM): Likewise.
44314 [POSIX || XPG3] (SIGXCPU): Likewise.
44315 [POSIX || XPG3] (SIGXFSZ): Likewise.
44316 [POSIX] (SA_SIGINFO): Expect.
44317 [XPG3] (siginfo_t): Do not expect type or contents.
44318 [POSIX] (si_pid): Do not expect element.
44319 [POSIX] (si_uid): Likewise.
44320 [POSIX] (si_addr): Likewise.
44321 [POSIX] (si_status): Likewise.
44322 [POSIX] (si_band): Likewise.
44323 [XPG4] (si_value): Likewise.
44324 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44325 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44326 [POSIX || XPG3] (ILL_ILLADR): Likewise.
44327 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44328 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44329 [POSIX || XPG3] (ILL_PRVREG): Likewise.
44330 [POSIX || XPG3] (ILL_COPROC): Likewise.
44331 [POSIX || XPG3] (ILL_BADSTK): Likewise.
44332 [POSIX || XPG3] (FPE_INTDIV): Likewise.
44333 [POSIX || XPG3] (FPE_INTOVF): Likewise.
44334 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44335 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44336 [POSIX || XPG3] (FPE_FLTUND): Likewise.
44337 [POSIX || XPG3] (FPE_FLTRES): Likewise.
44338 [POSIX || XPG3] (FPE_FLTINV): Likewise.
44339 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44340 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44341 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44342 [POSIX || XPG3] (BUS_ADRALN): Likewise.
44343 [POSIX || XPG3] (BUS_ADRERR): Likewise.
44344 [POSIX || XPG3] (BUS_OBJERR): Likewise.
44345 [POSIX || XPG3] (CLD_EXITED): Likewise.
44346 [POSIX || XPG3] (CLD_KILLED): Likewise.
44347 [POSIX || XPG3] (CLD_DUMPED): Likewise.
44348 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44349 [POSIX || XPG3] (CLD_STOPPED): Likewise.
44350 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44351 [POSIX || XPG3] (POLL_IN): Likewise.
44352 [POSIX || XPG3] (POLL_OUT): Likewise.
44353 [POSIX || XPG3] (POLL_MSG): Likewise.
44354 [POSIX || XPG3] (POLL_ERR): Likewise.
44355 [POSIX || XPG3] (POLL_PRI): Likewise.
44356 [POSIX || XPG3] (POLL_HUP): Likewise.
44357 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44358 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44359 (SIG*): Do not allow.
44360 [XPG3] (si_*): Likewise.
44361 [XPG3] (SI_*): Likewise.
44362 [XPG3 || XPG4] (sigev_*): Likewise.
44363 [XPG3 || XPG4] (SIGEV_*): Likewise.
44364 [XPG3 || XPG4] (sival_*): Likewise.
44365 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44366 [POSIX || XPG3] (BUS_*): Likewise.
44367 [POSIX || XPG3] (CLD_*): Likewise.
44368 [POSIX || XPG3] (FPE_*): Likewise.
44369 [POSIX || XPG3] (ILL_*): Likewise.
44370 [POSIX || XPG3] (POLL_*): Likewise.
44371 [POSIX || XPG3] (SEGV_*): Likewise.
44372 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44373 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44374 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44375 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44376 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44377 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44378 Specify type and value.
44379 (TVERSLEN): Likewise.
44380 (REGTYPE): Likewise.
44381 (AREGTYPE): Likewise.
44382 (LNKTYPE): Likewise.
44383 (SYMTYPE): Likewise.
44384 (CHRTYPE): Likewise.
44385 (BLKTYPE): Likewise.
44386 (DIRTYPE): Likewise.
44387 (FIFOTYPE): Likewise.
44388 (CONTTYPE): Likewise.
44389 (TSUID): Likewise.
44390 (TSGID): Likewise.
44391 (TSVTX): Likewise.
44392 (TUREAD): Likewise.
44393 (TUWRITE): Likewise.
44394 (TUEXEC): Likewise.
44395 (TGREAD): Likewise.
44396 (TGWRITE): Likewise.
44397 (TGEXEC): Likewise.
44398 (TOREAD): Likewise.
44399 (TOWRITE): Likewise.
44400 (TOEXEC): Likewise.
44401 [POSIX] (TSVTX): Expect constant.
44402
44403 2014-03-06 Joseph Myers <joseph@codesourcery.com>
44404
44405 * Makefile (tests): Change dependencies to ....
44406 (tests-special): ... additions to this variable.
44407 (tests): Depend on $(tests-special).
44408 * Makerules (check-abi-list): New variable.
44409 (check-abi): Depend on $(check-abi-list).
44410 [$(subdir) = elf] (tests-special): Add
44411 $(objpfx)check-abi-libc.out.
44412 [$(build-shared) = yes && subdir] (tests-special): Add
44413 $(check-abi-list).
44414 [$(build-shared) = yes && subdir] (tests): Do not depend on
44415 check-abi.
44416 * Rules (tests): Depend on $(tests-special).
44417 (xtests): Depend on $(xtests-special).
44418 * catgets/Makefile (tests): Change dependencies to ....
44419 (tests-special): ... additions to this variable.
44420 * conform/Makefile (tests): Change dependencies to ....
44421 (tests-special): ... additions to this variable.
44422 * elf/Makefile (tests): Change dependencies to ....
44423 (tests-special): ... additions to this variable.
44424 * grp/Makefile (tests): Change dependencies to ....
44425 (tests-special): ... additions to this variable.
44426 * iconv/Makefile (xtests): Change dependencies to ....
44427 (xtests-special): ... additions to this variable.
44428 * iconvdata/Makefile (tests): Change dependencies to ....
44429 (tests-special): ... additions to this variable.
44430 * intl/Makefile (tests): Change dependencies to ....
44431 (tests-special): ... additions to this variable. Also add
44432 $(objpfx)tst-gettext.out.
44433 * io/Makefile (tests): Change dependencies to ....
44434 (tests-special): ... additions to this variable.
44435 * libio/Makefile (tests): Change dependencies to ....
44436 (tests-special): ... additions to this variable.
44437 * malloc/Makefile (tests): Change dependencies to ....
44438 (tests-special): ... additions to this variable.
44439 * misc/Makefile (tests): Change dependencies to ....
44440 (tests-special): ... additions to this variable.
44441 * nptl/Makefile (tests): Change dependencies to ....
44442 (tests-special): ... additions to this variable.
44443 * nptl_db/Makefile (tests): Change dependencies to ....
44444 (tests-special): ... additions to this variable.
44445 * posix/Makefile (tests): Change dependencies to ....
44446 (tests-special): ... additions to this variable.
44447 (xtests): Change dependencies to ....
44448 (xtests-special): ... additions to this variable.
44449 * resolv/Makefile (tests): Change dependencies to ....
44450 (tests-special): ... additions to this variable.
44451 (xtests): Change dependencies to ....
44452 (xtests-special): ... additions to this variable.
44453 * stdio-common/Makefile (tests): Change dependencies to ....
44454 (tests-special): ... additions to this variable.
44455 (do-tst-unbputc): Remove target.
44456 (do-tst-printf): Likewise.
44457 * stdlib/Makefile (tests): Change dependencies to ....
44458 (tests-special): ... additions to this variable.
44459 * string/Makefile (tests): Change dependencies to ....
44460 (tests-special): ... additions to this variable.
44461 * sysdeps/x86/Makefile (tests): Change dependencies to ....
44462 (tests-special): ... additions to this variable.
44463
44464 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
44465 whole file.
44466 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
44467 whole file.
44468 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
44469 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
44470
44471 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
44472 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
44473 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
44474 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
44475 * conform/data/libgen.h-data [XPG3]: Likewise.
44476 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
44477 * conform/data/ndbm.h-data [XPG3]: Likewise.
44478 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44479 * conform/data/netdb.h-data [XPG3]: Likewise.
44480 * conform/data/netinet/in.h-data [XPG3]: Likewise.
44481 * conform/data/poll.h-data [XPG3]: Likewise.
44482 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44483 * conform/data/strings.h-data [XPG3]: Likewise.
44484 * conform/data/stropts.h-data [XPG3]: Likewise.
44485 * conform/data/sys/mman.h-data [XPG3]: Likewise.
44486 * conform/data/sys/resource.h-data [XPG3]: Likewise.
44487 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
44488 Likewise.
44489 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
44490 * conform/data/sys/time.h-data [XPG3]: Likewise.
44491 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
44492 * conform/data/sys/uio.h-data [XPG3]: Likewise.
44493 * conform/data/sys/un.h-data [XPG3]: Likewise.
44494 * conform/data/syslog.h-data [XPG3]: Likewise.
44495 * conform/data/ucontext.h-data [XPG3]: Likewise.
44496 * conform/data/utmpx.h-data [XPG3]: Likewise.
44497 * conform/data/varargs.h-data [UNIX98]: Enable file.
44498
44499 * manual/Makefile (INSTALL_INFO): Remove variable setting.
44500
44501 * math/libm-test.inc (struct test_f_f_data): Move expected results
44502 into structure for each rounding mode.
44503 (struct test_ff_f_data): Likewise.
44504 (struct test_ff_f_data_nexttoward): Likewise.
44505 (struct test_fi_f_data): Likewise.
44506 (struct test_fl_f_data): Likewise.
44507 (struct test_if_f_data): Likewise.
44508 (struct test_fff_f_data): Likewise.
44509 (struct test_c_f_data): Likewise.
44510 (struct test_f_f1_data): Likewise.
44511 (struct test_fF_f1_data): Likewise.
44512 (struct test_ffI_f1_data): Likewise.
44513 (struct test_c_c_data): Likewise.
44514 (struct test_cc_c_data): Likewise.
44515 (struct test_f_i_data): Likewise.
44516 (struct test_ff_i_data): Likewise.
44517 (struct test_f_l_data): Likewise.
44518 (struct test_f_L_data): Likewise.
44519 (struct test_fFF_11_data): Likewise.
44520 (RM_): New macro.
44521 (RM_FE_DOWNWARD): Likewise.
44522 (RM_FE_TONEAREST): Likewise.
44523 (RM_FE_TOWARDZERO): Likewise.
44524 (RM_FE_UPWARD): Likewise.
44525 (RUN_TEST_LOOP_f_f): Update references to expected results.
44526 (RUN_TEST_LOOP_2_f): Likewise.
44527 (RUN_TEST_LOOP_fff_f): Likewise.
44528 (RUN_TEST_LOOP_c_f): Likewise.
44529 (RUN_TEST_LOOP_f_f1): Likewise.
44530 (RUN_TEST_LOOP_fF_f1): Likewise.
44531 (RUN_TEST_LOOP_fI_f1): Likewise.
44532 (RUN_TEST_LOOP_ffI_f1): Likewise.
44533 (RUN_TEST_LOOP_c_c): Likewise.
44534 (RUN_TEST_LOOP_cc_c): Likewise.
44535 (RUN_TEST_LOOP_f_i): Likewise.
44536 (RUN_TEST_LOOP_f_i_tg): Likewise.
44537 (RUN_TEST_LOOP_ff_i_tg): Likewise.
44538 (RUN_TEST_LOOP_f_b): Likewise.
44539 (RUN_TEST_LOOP_f_b_tg): Likewise.
44540 (RUN_TEST_LOOP_f_l): Likewise.
44541 (RUN_TEST_LOOP_f_L): Likewise.
44542 (RUN_TEST_LOOP_fFF_11): Likewise.
44543 * math/gen-libm-test.pl (parse_args): Output four copies of
44544 expected results for each test.
44545
44546 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44547 (__ASSUME_UTIMES): Remove.
44548 * sysdeps/unix/sysv/linux/tile/kernel-features.h
44549 (__ASSUME_UTIMES): Likewise.
44550
44551 * math/gen-auto-libm-tests.c: Update comment on output format.
44552 (output_for_one_input_case): Generate before-rounding and
44553 after-rounding information as conditions on output flags not
44554 floating-point format.
44555 * math/auto-libm-test-out: Regenerated.
44556 * math/gen-libm-test.pl (cond_value): New function.
44557 (or_cond_value): Use cond_value.
44558 (generate_testfile): Handle conditional exceptions.
44559
44560 2014-03-05 Joseph Myers <joseph@codesourcery.com>
44561
44562 * math/libm-test.inc (max_valid_error): New variable.
44563 (init_max_error): Take new argument specifying whether function
44564 results are exactly determined. Set max_valid_error and bound
44565 other variables for errors based on this argument.
44566 (set_max_error): Do not record results above max_valid_error.
44567 (check_float_internal): Only accept errors of up to 0.5ulps if
44568 also at most max_valid_error.
44569 (START): Take new argument EXACT and pass it to init_max_error.
44570 (acos_test): Update call to START.
44571 (acos_test_tonearest): Likewise.
44572 (acos_test_towardzero): Likewise.
44573 (acos_test_downward): Likewise.
44574 (acos_test_upward): Likewise.
44575 (acosh_test): Likewise.
44576 (asin_test): Likewise.
44577 (asin_test_tonearest): Likewise.
44578 (asin_test_towardzero): Likewise.
44579 (asin_test_downward): Likewise.
44580 (asin_test_upward): Likewise.
44581 (asinh_test): Likewise.
44582 (atan_test): Likewise.
44583 (atanh_test): Likewise.
44584 (atan2_test): Likewise.
44585 (cabs_test): Likewise.
44586 (cacos_test): Likewise.
44587 (cacosh_test): Likewise.
44588 (carg_test): Likewise.
44589 (casin_test): Likewise.
44590 (casinh_test): Likewise.
44591 (catan_test): Likewise.
44592 (catanh_test): Likewise.
44593 (cbrt_test): Likewise.
44594 (ccos_test): Likewise.
44595 (ccosh_test): Likewise.
44596 (ceil_test): Likewise.
44597 (cexp_test): Likewise.
44598 (cimag_test): Likewise.
44599 (clog_test): Likewise.
44600 (clog10_test): Likewise.
44601 (conj_test): Likewise.
44602 (copysign_test): Likewise.
44603 (cos_test): Likewise.
44604 (cos_test_tonearest): Likewise.
44605 (cos_test_towardzero): Likewise.
44606 (cos_test_downward): Likewise.
44607 (cos_test_upward): Likewise.
44608 (cosh_test): Likewise.
44609 (cosh_test_tonearest): Likewise.
44610 (cosh_test_towardzero): Likewise.
44611 (cosh_test_downward): Likewise.
44612 (cosh_test_upward): Likewise.
44613 (cpow_test): Likewise.
44614 (cproj_test): Likewise.
44615 (creal_test): Likewise.
44616 (csin_test): Likewise.
44617 (csinh_test): Likewise.
44618 (csqrt_test): Likewise.
44619 (ctan_test): Likewise.
44620 (ctan_test_tonearest): Likewise.
44621 (ctan_test_towardzero): Likewise.
44622 (ctan_test_downward): Likewise.
44623 (ctan_test_upward): Likewise.
44624 (ctanh_test): Likewise.
44625 (ctanh_test_tonearest): Likewise.
44626 (ctanh_test_towardzero): Likewise.
44627 (ctanh_test_downward): Likewise.
44628 (ctanh_test_upward): Likewise.
44629 (erf_test): Likewise.
44630 (erfc_test): Likewise.
44631 (exp_test): Likewise.
44632 (exp_test_tonearest): Likewise.
44633 (exp_test_towardzero): Likewise.
44634 (exp_test_downward): Likewise.
44635 (exp_test_upward): Likewise.
44636 (exp10_test): Likewise.
44637 (exp10_test_tonearest): Likewise.
44638 (exp10_test_towardzero): Likewise.
44639 (exp10_test_downward): Likewise.
44640 (exp10_test_upward): Likewise.
44641 (pow10_test): Likewise.
44642 (exp2_test): Likewise.
44643 (expm1_test): Likewise.
44644 (expm1_test_tonearest): Likewise.
44645 (expm1_test_towardzero): Likewise.
44646 (expm1_test_downward): Likewise.
44647 (expm1_test_upward): Likewise.
44648 (fabs_test): Likewise.
44649 (fdim_test): Likewise.
44650 (floor_test): Likewise.
44651 (fma_test): Likewise.
44652 (fma_test_towardzero): Likewise.
44653 (fma_test_downward): Likewise.
44654 (fma_test_upward): Likewise.
44655 (fmax_test): Likewise.
44656 (fmin_test): Likewise.
44657 (fmod_test): Likewise.
44658 (fpclassify_test): Likewise.
44659 (frexp_test): Likewise.
44660 (hypot_test): Likewise.
44661 (ilogb_test): Likewise.
44662 (isfinite_test): Likewise.
44663 (finite_test): Likewise.
44664 (isgreater_test): Likewise.
44665 (isgreaterequal_test): Likewise.
44666 (isinf_test): Likewise.
44667 (isless_test): Likewise.
44668 (islessequal_test): Likewise.
44669 (islessgreater_test): Likewise.
44670 (isnan_test): Likewise.
44671 (isnormal_test): Likewise.
44672 (issignaling_test): Likewise.
44673 (isunordered_test): Likewise.
44674 (j0_test): Likewise.
44675 (j1_test): Likewise.
44676 (jn_test): Likewise.
44677 (ldexp_test): Likewise.
44678 (lgamma_test): Likewise.
44679 (gamma_test): Likewise.
44680 (lrint_test): Likewise.
44681 (lrint_test_tonearest): Likewise.
44682 (lrint_test_towardzero): Likewise.
44683 (lrint_test_downward): Likewise.
44684 (lrint_test_upward): Likewise.
44685 (llrint_test): Likewise.
44686 (llrint_test_tonearest): Likewise.
44687 (llrint_test_towardzero): Likewise.
44688 (llrint_test_downward): Likewise.
44689 (llrint_test_upward): Likewise.
44690 (log_test): Likewise.
44691 (log10_test): Likewise.
44692 (log1p_test): Likewise.
44693 (log2_test): Likewise.
44694 (logb_test): Likewise.
44695 (logb_test_downward): Likewise.
44696 (lround_test): Likewise.
44697 (llround_test): Likewise.
44698 (modf_test): Likewise.
44699 (nearbyint_test): Likewise.
44700 (nextafter_test): Likewise.
44701 (nexttoward_test): Likewise.
44702 (pow_test): Likewise.
44703 (pow_test_tonearest): Likewise.
44704 (pow_test_towardzero): Likewise.
44705 (pow_test_downward): Likewise.
44706 (pow_test_upward): Likewise.
44707 (remainder_test): Likewise.
44708 (drem_test): Likewise.
44709 (remainder_test_tonearest): Likewise.
44710 (drem_test_tonearest): Likewise.
44711 (remainder_test_towardzero): Likewise.
44712 (drem_test_towardzero): Likewise.
44713 (remainder_test_downward): Likewise.
44714 (drem_test_downward): Likewise.
44715 (remainder_test_upward): Likewise.
44716 (drem_test_upward): Likewise.
44717 (remquo_test): Likewise.
44718 (rint_test): Likewise.
44719 (rint_test_tonearest): Likewise.
44720 (rint_test_towardzero): Likewise.
44721 (rint_test_downward): Likewise.
44722 (rint_test_upward): Likewise.
44723 (round_test): Likewise.
44724 (scalb_test): Likewise.
44725 (scalbn_test): Likewise.
44726 (scalbln_test): Likewise.
44727 (signbit_test): Likewise.
44728 (sin_test): Likewise.
44729 (sin_test_tonearest): Likewise.
44730 (sin_test_towardzero): Likewise.
44731 (sin_test_downward): Likewise.
44732 (sin_test_upward): Likewise.
44733 (sincos_test): Likewise.
44734 (sinh_test): Likewise.
44735 (sinh_test_tonearest): Likewise.
44736 (sinh_test_towardzero): Likewise.
44737 (sinh_test_downward): Likewise.
44738 (sinh_test_upward): Likewise.
44739 (sqrt_test): Likewise.
44740 (sqrt_test_tonearest): Likewise.
44741 (sqrt_test_towardzero): Likewise.
44742 (sqrt_test_downward): Likewise.
44743 (sqrt_test_upward): Likewise.
44744 (tan_test): Likewise.
44745 (tan_test_tonearest): Likewise.
44746 (tan_test_towardzero): Likewise.
44747 (tan_test_downward): Likewise.
44748 (tan_test_upward): Likewise.
44749 (tanh_test): Likewise.
44750 (tgamma_test): Likewise.
44751 (trunc_test): Likewise.
44752 (y0_test): Likewise.
44753 (y1_test): Likewise.
44754 (yn_test): Likewise.
44755 (significand_test): Likewise.
44756
44757 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
44758 individual tests in comment.
44759 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
44760 (prev_max_error): New variable.
44761 (prev_real_max_error): Likewise.
44762 (prev_imag_max_error): Likewise.
44763 (compare_ulp_data): Don't refer to test names in comment.
44764 (find_test_ulps): Remove function.
44765 (find_function_ulps): Likewise.
44766 (find_complex_function_ulps): Likewise.
44767 (init_max_error): Take function name as argument. Look up ulps
44768 for that function.
44769 (print_ulps): Remove function.
44770 (print_max_error): Use prev_max_error instead of calling
44771 find_function_ulps.
44772 (print_complex_max_error): Use prev_real_max_error and
44773 prev_imag_max_error instead of calling find_complex_function_ulps.
44774 (check_float_internal): Take max_ulp parameter instead of calling
44775 find_test_ulps. Don't call print_ulps.
44776 (check_float): Update call to check_float_internal.
44777 (check_complex): Update calls to check_float_internal.
44778 (START): Pass argument to init_max_error.
44779 * math/gen-libm-test.pl (%results): Don't include "kind"
44780 information.
44781 (parse_ulps): Don't handle ulps of individual tests.
44782 (print_ulps_file): Likewise.
44783 (output_ulps): Likewise.
44784 * math/README.libm-test: Update.
44785 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
44786 individual tests.
44787 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
44788 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
44789 * sysdeps/arm/libm-test-ulps: Likewise.
44790 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
44791 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
44792 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
44793 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
44794 * sysdeps/microblaze/libm-test-ulps: Likewise.
44795 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
44796 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44797 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44798 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
44799 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44800 * sysdeps/sh/libm-test-ulps: Likewise.
44801 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44802 * sysdeps/tile/libm-test-ulps: Likewise.
44803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44804
44805 2014-03-04 Joseph Myers <joseph@codesourcery.com>
44806
44807 * math/libm-test.inc (print_complex_max_error): Check separately
44808 whether real and imaginary errors are within allowed range and
44809 pass 0 to print_complex_function_ulps instead of value within
44810 allowed range.
44811
44812 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44813
44814 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
44815 formatting.
44816 (get_handles_fopen): Likewise.
44817 (do_write_test): Likewise.
44818
44819 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
44820
44821 * libio/fileops.c (do_ftell): Use cached offset when
44822 available.
44823 * libio/iofwide.c (do_ftell_wide): Likewise.
44824 * libio/iofdopen.c (_IO_new_fdopen): Don't use
44825 _IO_file_attach.
44826 * libio/wfileops.c (_IO_fwide): Don't cache offset.
44827
44828 [BZ #16532]
44829 * libio/libioP.h (get_file_offset): New function.
44830 * libio/fileops.c (get_file_offset): Likewise.
44831 (do_ftell): Likewise.
44832 (_IO_new_file_seekoff): Split out ftell logic.
44833 * libio/wfileops.c (do_ftell_wide): Likewise.
44834 (_IO_wfile_seekoff): Split out ftell logic.
44835 * libio/tst-ftell-active-handler.c: New test case.
44836 * libio/Makefile (tests): Add it.
44837
44838 2014-03-03 Roland McGrath <roland@hack.frob.com>
44839
44840 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
44841 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
44842
44843 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
44844
44845 [BZ #16639]
44846 * nscd/connections.c (nscd_init): Call do_exit.
44847 (start_threads): Call do_exit and notify_parent.
44848 (begin_drop_privileges): Call do_exit.
44849 (finish_drop_privileges): Likewise.
44850 * nscd/selinux.c (preserve_capabilities): Likewise.
44851 (install_real_capabilities): Likewise.
44852 (nscd_selinux_enabled): Likewise.
44853 (avc_create_thread): Likewise.
44854 (avc_alloc_lock): Likewise.
44855 (nscd_avc_init): Likewise.
44856 * nscd/nscd.c (parent_fd): New static variable.
44857 (main): Create a pipe between parent and child processes.
44858 Skip closing parent_fd.
44859 (monitor_child): New function.
44860 (do_exit): Likewise.
44861 (notify_parent): Likewise.
44862 * nscd/nscd.h (notify_parent): Likewise.
44863 (do_exit): Likewise.
44864
44865 2014-03-03 Carlos O'Donell <carlos@redhat.com>
44866
44867 * malloc/malloc.c (__libc_calloc): Revert last change.
44868
44869 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44870
44871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44872
44873 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44874
44875 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
44876 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
44877 implementation.
44878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44879 (__libc_ifunc_impl_list): Likewise.
44880 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44881 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
44882 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
44883 * string/strrchr.c: Define STRRCHR.
44884
44885 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
44886
44887 * benchtest/bench-strtok.c (simple_strtok): Delete.
44888 (strtok_string): Use as benchmark.
44889 * string/strtok (STRTOK): New macro.
44890
44891 2014-02-28 Carlos O'Donell <carlos@redhat.com>
44892
44893 * manual/threads.texi: Add header and standard comments to all
44894 functions.
44895
44896 * elf/dl-lookup.c (check_match): New function.
44897 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
44898 (do_lookup_x): Remove nested function check_match. Use non-nested
44899 function check_match.
44900
44901 2014-02-28 Roland McGrath <roland@hack.frob.com>
44902
44903 * csu/Makefile (generated, before-compile): Use += rather than =.
44904 * catgets/Makefile (generated, generated-dirs): Likewise.
44905 * debug/Makefile (generated): Likewise.
44906 * dlfcn/Makefile (generated): Likewise.
44907 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
44908 * iconvdata/Makefile (before-compile, generated): Likewise.
44909 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
44910 * libio/Makefile (generated): Likewise.
44911 * malloc/Makefile (generated): Likewise.
44912 * manual/Makefile (generated, generated-dirs): Likewise.
44913 * misc/Makefile (generated): Likewise.
44914 * posix/Makefile (generated): Likewise.
44915 * resolv/Makefile (generated): Likewise.
44916 * sunrpc/Makefile (generated, generated-dirs): Likewise.
44917 * timezone/Makefile (generated, generated-dirs): Likewise.
44918
44919 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
44920
44921 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44922
44923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44924 power8 implementation.
44925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
44926 file: POWER8 llround ifunc implementation.
44927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
44928 (__lllround): Add POWER8 implementation.
44929 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
44930 POWER8 llround implementation.
44931
44932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
44933 power8 implementation.
44934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
44935 file: POWER8 llrint ifunc implementation.
44936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
44937 Add POWER8 implementation.
44938 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
44939 POWER8 llrint implementation.
44940
44941 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
44942 power8 implementation.
44943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
44944 file: POWER8 finite ifunc implementation.
44945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
44946 Add POWER8 implementation.
44947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
44948 Likewise.
44949 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
44950 POWER8 finite implementation.
44951 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
44952
44953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
44954 power8 implementation.
44955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
44956 file: POWER8 isinf ifunc implementation.
44957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44958 POWER8 implementation.
44959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
44960 Likewise.
44961 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
44962 isinf implementation.
44963 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
44964
44965 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
44966 (INIT_ARCH): Add hwcap2 initialization.
44967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44968 power8 implementation.
44969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
44970 file: POWER8 isnan ifunc implementation.
44971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
44972 POWER8 implementation.
44973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
44974 Likewise.
44975 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
44976 isnan implementation.
44977 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
44978
44979 2014-02-27 Joey Ye <joey.ye@arm.com>
44980
44981 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44982 (_FP_NANFRAC_Q): Set to zero.
44983
44984 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
44985
44986 [BZ #16623]
44987 * math/auto-libm-test-in: New test inputs.
44988 * math/auto-libm-test-out: Regenerate.
44989 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
44990 and DA.
44991 (__cos): Likewise.
44992 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44993
44994 2014-02-27 Joseph Myers <joseph@codesourcery.com>
44995
44996 * scripts/evaluate-test.sh: Take new argument indicating whether
44997 failure is expected.
44998 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
44999 indicating whether failure is expected.
45000 * conform/Makefile (test-xfail-run-conformtest): New variable.
45001 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45002 level.
45003 * posix/Makefile (test-xfail-annexc): New variable.
45004 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45005
45006 2014-02-26 Joseph Myers <joseph@codesourcery.com>
45007
45008 * argp/Makefile: Include Makeconfig immediately after defining
45009 subdir.
45010 * assert/Makefile: Likewise.
45011 * benchtests/Makefile: Likewise.
45012 * catgets/Makefile: Likewise.
45013 * conform/Makefile: Likewise.
45014 * crypt/Makefile: Likewise.
45015 * csu/Makefile: Likewise.
45016 (all): Remove target.
45017 * ctype/Makefile: Include Makeconfig immediately after defining
45018 subdir.
45019 * debug/Makefile: Likewise.
45020 * dirent/Makefile: Likewise.
45021 * dlfcn/Makefile: Likewise.
45022 * gmon/Makefile: Likewise.
45023 * gnulib/Makefile: Likewise.
45024 * grp/Makefile: Likewise.
45025 * gshadow/Makefile: Likewise.
45026 * hesiod/Makefile: Likewise.
45027 * hurd/Makefile: Likewise.
45028 (all): Remove target.
45029 * iconvdata/Makefile: Include Makeconfig immediately after
45030 defining subdir.
45031 * inet/Makefile: Likewise.
45032 * intl/Makefile: Likewise.
45033 * io/Makefile: Likewise.
45034 * libio/Makefile: Likewise.
45035 (all): Remove target.
45036 * locale/Makefile: Include Makeconfig immediately after defining
45037 subdir.
45038 * login/Makefile: Likewise.
45039 * mach/Makefile: Likewise.
45040 (all): Remove target.
45041 * malloc/Makefile: Include Makeconfig immediately after defining
45042 subdir.
45043 (all): Remove target.
45044 * manual/Makefile: Include Makeconfig immediately after defining
45045 subdir.
45046 * math/Makefile: Likewise.
45047 * misc/Makefile: Likewise.
45048 * nis/Makefile: Likewise.
45049 * nss/Makefile: Likewise.
45050 * po/Makefile: Likewise.
45051 (all): Remove target.
45052 * posix/Makefile: Include Makeconfig immediately after defining
45053 subdir.
45054 * pwd/Makefile: Likewise.
45055 * resolv/Makefile: Likewise.
45056 * resource/Makefile: Likewise.
45057 * rt/Makefile: Likewise.
45058 * setjmp/Makefile: Likewise.
45059 * shadow/Makefile: Likewise.
45060 * signal/Makefile: Likewise.
45061 * socket/Makefile: Likewise.
45062 * soft-fp/Makefile: Likewise.
45063 * stdio-common/Makefile: Likewise.
45064 * stdlib/Makefile: Likewise.
45065 * streams/Makefile: Likewise.
45066 * string/Makefile: Likewise.
45067 * sunrpc/Makefile: Likewise.
45068 (all): Remove target.
45069 * sysvipc/Makefile: Include Makeconfig immediately after defining
45070 subdir.
45071 * termios/Makefile: Likewise.
45072 * time/Makefile: Likewise.
45073 * timezone/Makefile: Likewise.
45074 (all): Remove target.
45075 * wcsmbs/Makefile: Include Makeconfig immediately after defining
45076 subdir.
45077 * wctype/Makefile: Likewise.
45078
45079 2014-02-26 Steve Ellcey <sellcey@mips.com>
45080
45081 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45082 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45083 (libc_feholdexcept_setround_mips): Ditto.
45084 (libc_feholdsetround): New.
45085 (libc_feholdsetroundf): New.
45086 (libc_feholdsetroundl): New.
45087 (libc_feupdateenv_test_mips): New.
45088 (libc_feupdateenv_test): New.
45089 (libc_feupdateenv_testf): New.
45090 (libc_feupdateenv_testl): New.
45091 (libc_feresetround): New.
45092 (libc_feresetroundf): New.
45093 (libc_feresetroundl): New.
45094 (libc_fetestexcept_mips): New.
45095 (libc_fetestexcept): New.
45096 (libc_fetestexceptf): New.
45097 (libc_fetestexceptl): New.
45098 (HAVE_RM_CTX): New.
45099 (libc_feholdexcept_setround_mips_ctx): New.
45100 (libc_feholdexcept_setround_ctx): New.
45101 (libc_feholdexcept_setroundf_ctx): New.
45102 (libc_feholdexcept_setroundl_ctx): New.
45103 (libc_fesetenv_mips_ctx): New.
45104 (libc_fesetenv_ctx): New.
45105 (libc_fesetenv_ctxf): New.
45106 (libc_fesetenv_ctxl): New.
45107 (libc_feupdateenv_mips_ctx): New.
45108 (libc_feupdateenv_ctx): New.
45109 (libc_feupdateenvf_ctx): New.
45110 (libc_feupdateenvl_ctx): New.
45111 (libc_feholdsetround_mips_ctx): New.
45112 (libc_feholdsetround_ctx): New.
45113 (libc_feholdsetroundf_ctx): New.
45114 (libc_feholdsetroundl_ctx): New.
45115 (libc_feresetround_mips_ctx): New.
45116 (libc_feresetround_ctx): New.
45117 (libc_feresetroundf_ctx): New.
45118 (libc_feresetroundl_ctx): New.
45119
45120 2014-02-26 Carlos O'Donell <carlos@redhat.com>
45121
45122 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45123
45124 * manual/ipc.texi: New file.
45125 * manual/Makefile (chapters): Add ipc.
45126 * manual/job.texi: Add "Inter-Process Communication" to next.
45127 * manual/process.texi: Add "Inter-Process Communication" to prev.
45128
45129 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45130
45131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45132
45133 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
45134
45135 * malloc/malloc.c (__libc_calloc): Simplify implementation.
45136
45137 * manual/arith.texi: Fix spaces after sentences.
45138 * manual/charset.texi: Likewise.
45139 * manual/errno.texi: Likewise.
45140 * manual/install.texi: Likewise.
45141 * manual/llio.texi: Likewise.
45142 * manual/locale.texi: Likewise.
45143 * manual/maint.texi: Likewise.
45144 * manual/math.texi: Likewise.
45145 * manual/memory.texi: Likewise.
45146 * manual/message.texi: Likewise.
45147 * manual/probes.texi: Likewise.
45148 * manual/resource.texi: Likewise.
45149 * manual/signal.texi: Likewise.
45150 * manual/socket.texi: Likewise.
45151 * manual/stdio.texi: Likewise.
45152 * manual/string.texi: Likewise.
45153 * manual/time.texi: Likewise.
45154 * manual/users.texi: Likewise.
45155
45156 2014-02-25 Carlos O'Donell <carlos@redhat.com>
45157
45158 [BZ #16632]
45159 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45160 _DEFAULT_SOURCE is defined.
45161
45162 2014-02-25 Ulrich Drepper <drepper@gmail.com>
45163 Carlos O'Donell <carlos@redhat.com>
45164
45165 [BZ #16613]
45166 * elf/dl-tls.c (_dl_count_modids): New function.
45167 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45168 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45169 audit library and increment generation counter.
45170 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45171 * elf/tst-audit9.c: New file.
45172 * elf/tst-auditmod9a.c: New file.
45173 * elf/tst-auditmod9b.c: New file.
45174 * elf/Makefile: Add rules to build and run tst-audit9.
45175
45176 2014-02-25 Florian Weimer <fweimer@redhat.com>
45177
45178 [BZ #15347]
45179 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45180
45181 2014-02-25 Will Newton <will.newton@linaro.org>
45182
45183 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45184 (__longjmp): Restore sp and lr before restoring callee
45185 saved registers. Add longjmp and longjmp_target
45186 SystemTap probe point.
45187 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45188 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45189 Define to zero to match jmpbuf layout.
45190 * sysdeps/arm/setjmp.S: Include stap-probe.h.
45191 (__sigsetjmp): Save sp and lr before saving callee
45192 saved registers. Add setjmp SystemTap probe point.
45193
45194 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
45195
45196 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45197
45198 2014-02-24 Andreas Schwab <schwab@suse.de>
45199
45200 [BZ #15804]
45201 * elf/pldd.c (wait_for_ptrace_stop): New function.
45202 (main): Call it after attaching.
45203
45204 2014-02-22 Roland McGrath <roland@hack.frob.com>
45205
45206 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45207 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45208 Versions files is now verboten.
45209 * hurd/Versions (libc: GLIBC_2.0):
45210 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45211 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45212 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45213 * mach/Versions: Likewise.
45214
45215 * csu/Versions: Remove unused %include.
45216 * resolv/Versions: Likewise.
45217
45218 2014-02-21 Joseph Myers <joseph@codesourcery.com>
45219
45220 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45221 ($(objpfx)check-local-headers.out): Likewise.
45222 ($(objpfx)begin-end-check.out): Likewise.
45223 * Makerules (check-abi-%.out): Likewise.
45224 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45225 ($(objpfx)test2.cat): Likewise.
45226 ($(objpfx)de/libc.cat): Likewise.
45227 ($(objpfx)test-gencat.out): Likewise.
45228 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45229 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45230 ($(objpfx)noload-mem): Likewise.
45231 ($(objpfx)tst-pathopt.out): Likewise.
45232 ($(objpfx)tst-rtld-load-self.out): Likewise.
45233 ($(objpfx)tst-array1-cmp.out): Likewise.
45234 ($(objpfx)tst-array1-static-cmp.out): Likewise.
45235 ($(objpfx)tst-array2-cmp.out): Likewise.
45236 ($(objpfx)tst-array3-cmp.out): Likewise.
45237 ($(objpfx)tst-array4-cmp.out): Likewise.
45238 ($(objpfx)tst-array5-cmp.out): Likewise.
45239 ($(objpfx)tst-array5-static-cmp.out): Likewise.
45240 ($(objpfx)check-textrel.out): Likewise.
45241 ($(objpfx)check-execstack.out): Likewise.
45242 ($(objpfx)check-localplt.out): Likewise.
45243 ($(objpfx)order2-cmp.out): Likewise.
45244 ($(objpfx)tst-leaks1-mem): Likewise.
45245 ($(objpfx)tst-leaks1-static-mem): Likewise.
45246 ($(objpfx)tst-initorder-cmp.out): Likewise.
45247 ($(objpfx)tst-initorder2-cmp.out): Likewise.
45248 ($(objpfx)tst-unused-dep.out): Likewise.
45249 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45250 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45251 * iconv/Makefile (test-iconvconfig): Likewise.
45252 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45253 ($(objpfx)iconv-test.out): Likewise.
45254 ($(objpfx)tst-tables.out): Likewise.
45255 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45256 ($(objpfx)tst-gettext.out): Likewise.
45257 ($(objpfx)tst-translit.out): Likewise.
45258 ($(objpfx)tst-gettext2.out): Likewise.
45259 ($(objpfx)tst-gettext4.out): Likewise.
45260 ($(objpfx)tst-gettext6.out): Likewise.
45261 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45262 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45263 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45264 ($(objpfx)tst-fopenloc-mem.out): Likewise.
45265 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45266 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45267 * posix/Makefile ($(objpfx)globtest.out): Likewise.
45268 ($(objpfx)wordexp-tst.out): Likewise.
45269 ($(objpfx)annexc.out): Likewise.
45270 ($(objpfx)tst-fnmatch-mem): Likewise.
45271 ($(objpfx)bug-regex2-mem): Likewise.
45272 ($(objpfx)bug-regex14-mem): Likewise.
45273 ($(objpfx)bug-regex21-mem): Likewise.
45274 ($(objpfx)bug-regex31-mem): Likewise.
45275 ($(objpfx)tst-vfork3-mem): Likewise.
45276 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45277 ($(objpfx)tst-pcre-mem): Likewise.
45278 ($(objpfx)tst-boost-mem): Likewise.
45279 ($(objpfx)tst-getconf.out): Likewise.
45280 ($(objpfx)bug-ga2-mem): Likewise.
45281 ($(objpfx)bug-glob2-mem): Likewise.
45282 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45283 ($(objpfx)mtrace-tst-leaks2): Likewise.
45284 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45285 ($(objpfx)tst-printf.out): Likewise.
45286 ($(objpfx)tst-setvbuf1.out): Likewise.
45287 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45288 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45289 ($(objpfx)tst-fmtmsg.out): Likewise.
45290 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45291 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45292
45293 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45294 * bits/sigaction.h [__USE_MISC]: Likewise.
45295 * bits/waitstatus.h: Update #endif comments.
45296 * ctype/ctype.h: Likewise.
45297 * dirent/dirent.h: Likewise.
45298 [__USE_MISC]: Remove redundant conditionals.
45299 * grp/grp.h: Update #endif comments.
45300 [__USE_GNU]: Remove redundant conditionals.
45301 [__USE_MISC]: Likewise.
45302 * inet/netinet/in.h [__USE_GNU]: Likewise.
45303 * io/sys/stat.h [__USE_MISC]: Likewise.
45304 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45305 * libio/bits/stdio.h: Update #endif comments.
45306 [__USE_MISC]: Remove redundant conditionals.
45307 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45308 * libio/stdio.h: Update #endif comments.
45309 [__USE_MISC]: Remove redundant conditionals.
45310 * math/bits/math-finite.h [__USE_MISC]: Likewise.
45311 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45312 * math/math.h: Update #else and #endif comments.
45313 [__USE_MISC]: Remove redundant conditionals.
45314 * misc/sys/uio.h: Update #endif comments.
45315 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45316 * posix/glob.h [__USE_MISC]: Likewise.
45317 * posix/sys/types.h: Update #endif comments.
45318 [__USE_MISC]: Remove redundant conditionals.
45319 * posix/sys/wait.h: Update #endif comments.
45320 [__USE_MISC]: Remove redundant conditionals.
45321 * posix/unistd.h: Update #endif comments.
45322 [__USE_MISC]: Remove redundant conditionals.
45323 * pwd/pwd.h [__USE_GNU]: Likewise.
45324 [__USE_MISC]: Likewise.
45325 * resolv/netdb.h [__USE_GNU]: Likewise.
45326 * signal/signal.h: Update #endif comments.
45327 [__USE_MISC]: Remove redundant conditionals.
45328 * stdlib/stdlib.h: Update #else and #endif comments.
45329 [__USE_MISC]: Remove redundant conditionals.
45330 [__USE_GNU]: Likewise.
45331 * string/bits/string2.h [__USE_MISC]: Likewise.
45332 * string/string.h: Update #endif comments.
45333 [__USE_MISC]: Remove redundant conditionals.
45334 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45335 Likewise.
45336 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45337 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45338 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45339 Likewise.
45340 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45341 Likewise.
45342 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45343 comments.
45344 [__USE_MISC]: Remove redundant conditionals.
45345 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45346 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45347 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45348 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45349 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45350 Likewise.
45351 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45352 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45353 Likewise.
45354 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45355 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45356 Likewise.
45357 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45358 Likewise.
45359 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45360 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45361 Likewise.
45362 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45363 Likewise.
45364 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45365 * sysdeps/x86/bits/string.h: Update #endif comments.
45366 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45367 conditionals.
45368 * time/sys/time.h: Update #endif comments.
45369 * time/time.h: Likewise.
45370 [__USE_MISC]: Remove redundant conditionals.
45371
45372 2014-02-21 Yury Gribov <y.gribov@samsung.com>
45373
45374 [BZ #16600]
45375 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45376
45377 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
45378
45379 * Versions.def (librt): Add GLIBC_2.17.
45380
45381 2014-02-21 Adam Conrad <adconrad@0c3.net>
45382
45383 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45384 synonym for _SYS_AUXV_H to allow direct inclusion.
45385 * sysdeps/sparc/bits/hwcap.h: Likewise.
45386 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45387 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45388 * sysdeps/sparc/sysdep.h: Likewise.
45389
45390 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45391
45392 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45393
45394 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45395
45396 * benchtests/bench-strrchr.c: Print length instead of position.
45397
45398 2014-02-20 Joseph Myers <joseph@codesourcery.com>
45399
45400 [BZ #16611]
45401 * sysdeps/unix/sysv/linux/kernel-features.h
45402 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45403 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45404 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45405 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45406 Likewise.
45407 [__i386__ || __powerpc__ || __sh__ || __sparc__]
45408 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45409 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45410 (__ASSUME_SENDMMSG): Define instead of using previous
45411 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45412 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45413 (__ASSUME_SENDMMSG_SYSCALL): Define.
45414 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45415 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45416 Likewise.
45417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45418 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45419 Likewise.
45420 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45421 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45422 Likewise.
45423 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45424 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45425 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45426 [__ASSUME_SENDMMSG]: Change conditionals to
45427 [__ASSUME_SENDMMSG_SOCKETCALL].
45428 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45429 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45430 Define.
45431 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45432 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45433 Likewise.
45434 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45435 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45436 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45437 [!__ASSUME_SENDMMSG]: Change conditional to
45438 [!__ASSUME_SENDMMSG_SOCKETCALL].
45439 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45440 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45441 Define.
45442
45443 [BZ #16610]
45444 * sysdeps/unix/sysv/linux/kernel-features.h
45445 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
45446 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
45447 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
45448 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
45449 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45450 [__i386__ || __sparc__]
45451 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45452 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
45453 (__ASSUME_RECVMMSG): Define instead of using previous
45454 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
45455 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45456 (__ASSUME_RECVMMSG_SYSCALL): Define.
45457 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45458 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45459 Likewise.
45460 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45461 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45462 Likewise.
45463 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45464 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45465 Likewise.
45466 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
45467 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45468 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45469 [__ASSUME_RECVMMSG]: Change condition to
45470 [__ASSUME_RECVMMSG_SOCKETCALL].
45471 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45472 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45473 Define.
45474 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45475 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45476 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45477 Likewise.
45478 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
45479 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45480 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45481 [!__ASSUME_RECVMMSG]: Change condition to
45482 [!__ASSUME_RECVMMSG_SOCKETCALL].
45483 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45484 (__ASSUME_RECVMMSG_SYSCALL): Define.
45485
45486 [BZ #16609]
45487 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
45488 __powerpc__ || __s390__ || __sh__ || __sparc__]
45489 (__ASSUME_SOCKETCALL): Define.
45490 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
45491 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
45492 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
45493 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
45494 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45495 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45496 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
45497 (__ASSUME_ACCEPT4): Define instead of using previous
45498 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
45499 __powerpc__ || __sparc__ || __s390__)] condition.
45500 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45501 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45502 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
45503 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45504 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45505 [!__ASSUME_ACCEPT4]: Change condition to
45506 [!__ASSUME_ACCEPT4_SOCKETCALL].
45507 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45508 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
45509 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
45510 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45511 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
45512 __ASSUME_ACCEPT4_SYSCALL.
45513 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
45514 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
45515 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45516 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
45517 __ASSUME_ACCEPT4_SYSCALL.
45518 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
45519 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45520 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45521 [__ASSUME_ACCEPT4]: Change condition to
45522 [__ASSUME_ACCEPT4_SOCKETCALL].
45523 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45524 (__ASSUME_SOCKETCALL): Define.
45525 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
45526 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45527 (__ASSUME_SOCKETCALL): Define.
45528 (__ASSUME_ACCEPT4): Remove.
45529 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
45530 Define.
45531 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45532 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
45533 Likewise.
45534 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45535 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45536
45537 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
45538 macro.
45539 (HWCAP_ARM_LPAE): Likewise.
45540 (HWCAP_ARM_EVTSTRM): Likewise.
45541 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
45542 Add vpfd32, lpae and evtstrm.
45543 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
45544 Increase to 22.
45545
45546 2014-02-19 Joseph Myers <joseph@codesourcery.com>
45547
45548 * math/auto-libm-test-in: Add tests of clog10.
45549 * math/auto-libm-test-out: Regenerated.
45550 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
45551 * sysdeps/i386/fpu/libm-test-ulps: Update.
45552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45553
45554 2014-02-18 Andreas Schwab <schwab@suse.de>
45555
45556 [BZ #16574]
45557 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
45558 Store non-zero if the second buffer was newly allocated.
45559 (send_dg): Likewise.
45560 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
45561 to send_vc and send_dg.
45562 (res_nsend): Pass NULL for ansp2_malloced.
45563 * resolv/res_query.c (__libc_res_nquery): Add parameter
45564 answerp2_malloced and pass it down to __libc_res_nsend.
45565 (res_nquery): Pass additional NULL to __libc_res_nquery.
45566 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
45567 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
45568 second answer buffer if answerp2_malloced was set.
45569 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
45570 (__libc_res_nquerydomain): Add parameter
45571 answerp2_malloced and pass it down to __libc_res_nquery.
45572 (res_nquerydomain): Pass additional NULL to
45573 __libc_res_nquerydomain.
45574 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
45575 additional NULL to __libc_res_nsend and __libc_res_nquery.
45576 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
45577 additional NULL to __libc_res_nsearch.
45578 (_nss_dns_gethostbyname4_r): Revert last change. Use new
45579 parameter of __libc_res_nsearch to check for separately allocated
45580 second buffer.
45581 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
45582 __libc_res_nquery.
45583 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
45584 additional NULL to __libc_res_nquery.
45585 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
45586 __libc_res_nsearch.
45587 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
45588 * include/resolv.h: Update prototypes of __libc_res_nquery,
45589 __libc_res_nsearch, __libc_res_nsend.
45590
45591 2014-02-18 Joseph Myers <joseph@codesourcery.com>
45592
45593 * math/auto-libm-test-in: Add tests of fma.
45594 * math/auto-libm-test-out: Regenerated.
45595 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
45596 (fma_towardzero_test_data): Likewise.
45597 (fma_downward_test_data): Likewise.
45598 (fma_upward_test_data): Likewise.
45599 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
45600 mpc_mode.
45601 (rounding_modes): Add values for new field.
45602 (func_calc_method): Add value mpfr_fff_f.
45603 (func_calc_desc): Add mpfr_fff_f union field.
45604 (test_function): Add field exact_args.
45605 (FUNC): Add macro argument EXACT_ARGS.
45606 (FUNC_mpfr_f_f): Update call to FUNC.
45607 (FUNC_mpfr_f_f): Likewise.
45608 (FUNC_mpfr_ff_f): Likewise.
45609 (FUNC_mpfr_if_f): Likewise.
45610 (FUNC_mpc_c_f): Likewise.
45611 (FUNC_mpc_c_c): Likewise.
45612 (test_functions): Add fma. Update calls to FUNC.
45613 (handle_input_arg): Add argument exact_args.
45614 (add_test): Update call to handle_input_arg.
45615 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
45616 (output_for_one_input_case): Update call to calc_generic_results.
45617 Recalculate exact zero results in each rounding mode.
45618
45619 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
45620 non-negative before setting low bit.
45621 * math/auto-libm-test-in: Mark one asin test possibly having
45622 spurious underflow.
45623 * math/auto-libm-test-out: Regenerated.
45624 * sysdeps/i386/fpu/libm-test-ulps: Update.
45625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45626
45627 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
45628
45629 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
45630 * sysdeps/unix/sysv/linux/microblaze: Move directory from
45631 ports/sysdeps/unix/sysv/linux/microblaze.
45632 * README: Add missing listing for microblaze*-*-linux-gnu.
45633
45634 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
45635
45636 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
45637 duplicate code
45638
45639 2014-02-16 Mike Frysinger <vapier@gentoo.org>
45640
45641 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
45642 * sysdeps/unix/sysv/linux/ia64: Move directory from
45643 ports/sysdeps/unix/sysv/linux/ia64.
45644 * README: Update listing for ia64-*-linux-gnu.
45645
45646 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
45647 Joseph Myers <joseph@codesourcery.com>
45648
45649 * Makeconfig (test-name): New variable.
45650 (evaluate-test): Likewise.
45651 * Makerules (do-test-clean): Remove .test-result files.
45652 (common-mostlyclean): Likewise.
45653 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
45654 * scripts/evaluate-test.sh: New file.
45655
45656 2014-02-14 Joseph Myers <joseph@codesourcery.com>
45657
45658 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
45659 separate $(objpfx)tst-fopenloc-cmp.out and
45660 $(objpfx)tst-fopenloc-mem.out targets.
45661 (tests): Update dependencies.
45662 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
45663 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
45664 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
45665 (tst-rxspencer-no-utf8-ARGS): New variable.
45666 (tst-rxspencer-no-utf8-ENV): Likewise.
45667 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
45668 instead of $(objpfx)tst-rxspencer-mem.
45669 ($(objpfx)tst-rxspencer-mem): Change target to
45670 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
45671 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
45672 * posix/tst-rxspencer-no-utf8.c: New file.
45673
45674 * elf/Makefile ($(objpfx)order.out): Remove rule.
45675 [$(run-built-tests) = yes] (tests): Depend on
45676 $(objpfx)order-cmp.out.
45677 ($(objpfx)order-cmp.out): New rule.
45678 [$(run-built-tests) = yes] (tests): Depend on
45679 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
45680 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
45681 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
45682 $(objpfx)tst-array5-static-cmp.out.
45683 ($(objpfx)tst-array1.out): Remove rule.
45684 ($(objpfx)tst-array1-cmp.out): New rule.
45685 ($(objpfx)tst-array1-static.out): Remove rule.
45686 ($(objpfx)tst-array1-static-cmp.out): New rule.
45687 ($(objpfx)tst-array2.out): Remove rule.
45688 ($(objpfx)tst-array2-cmp.out): New rule.
45689 ($(objpfx)tst-array3.out): Remove rule.
45690 ($(objpfx)tst-array3-cmp.out): New rule.
45691 ($(objpfx)tst-array4.out): Remove rule.
45692 ($(objpfx)tst-array4-cmp.out): New rule.
45693 ($(objpfx)tst-array5.out): Remove rule.
45694 ($(objpfx)tst-array5-cmp.out): New rule.
45695 ($(objpfx)tst-array5-static.out): Remove rule.
45696 ($(objpfx)tst-array5-static-cmp.out): New rule.
45697 [$(run-built-tests) = yes] (tests): Depend on
45698 $(objpfx)order2-cmp.out.
45699 ($(objpfx)order2.out): Remove rule.
45700 ($(objpfx)order2-cmp.out): New rule.
45701 ($(objpfx)tst-initorder.out): Remove rule.
45702 [$(run-built-tests) = yes] (tests): Depend on
45703 $(objpfx)tst-initorder-cmp.out.
45704 ($(objpfx)tst-initorder-cmp.out): New rule.
45705 ($(objpfx)tst-initorder2.out): Remove rule.
45706 [$(run-built-tests) = yes] (tests): Depend on
45707 $(objpfx)tst-initorder2-cmp.out.
45708 ($(objpfx)tst-initorder2-cmp.out): New rule.
45709 [$(run-built-tests) = yes] (tests): Depend on
45710 $(objpfx)tst-unused-dep-cmp.out.
45711 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
45712 ($(objpfx)tst-unused-dep-cmp.out): New rule.
45713 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
45714 on $(objpfx)tst-setvbuf1-cmp.out.
45715 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
45716 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
45717 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
45718 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
45719 ($(objpfx)tst-svc.out): Remove rule.
45720 ($(objpfx)tst-svc-cmp.out): New rule.
45721
45722 2014-02-13 Joseph Myers <joseph@codesourcery.com>
45723
45724 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
45725 * ctype/ctype.h [__USE_MISC]: Likewise.
45726 * dirent/dirent.h [__USE_MISC]: Likewise.
45727 * grp/grp.h [__USE_MISC]: Likewise.
45728 * io/fcntl.h [__USE_MISC]: Likewise.
45729 * io/sys/stat.h [__USE_MISC]: Likewise.
45730 * libio/stdio.h [__USE_MISC]: Likewise.
45731 * posix/unistd.h [__USE_MISC]: Likewise.
45732 * pwd/pwd.h [__USE_MISC]: Likewise.
45733 * stdlib.h [__USE_MISC]: Likewise.
45734 * string/bits/string2.h [__USE_MISC]: Likewise.
45735 * string/string.h [__USE_MISC]: Likewise.
45736 * time/time.h [__USE_MISC]: Likewise.
45737
45738 2014-02-13 Andreas Schwab <schwab@suse.de>
45739
45740 [BZ #16574]
45741 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
45742 second answer buffer if it was separately allocated.
45743
45744 2014-02-12 Joseph Myers <joseph@codesourcery.com>
45745
45746 * sysdeps/mips/math-tests.h: Include <features.h>.
45747 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45748 (ROUNDING_TESTS_long_double): Do not define.
45749 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45750 (EXCEPTION_TESTS_long_double): Likewise.
45751 * sysdeps/mips/mips64/libm-test-ulps: Update.
45752
45753 * include/features.h (__USE_BSD): Remove macro definitions.
45754 (__USE_SVID): Likewise.
45755 (_BSD_SOURCE): Likewise.
45756 (_SVID_SOURCE): Likewise.
45757 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
45758 from definition of _DEFAULT_SOURCE.
45759 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
45760 [_DEFAULT_SOURCE].
45761 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
45762 * bits/mman.h [__USE_BSD]: Likewise.
45763 * bits/termios.h [__USE_BSD]: Likewise.
45764 * bits/waitstatus.h [__USE_BSD]: Likewise.
45765 * ctype/ctype.h [__USE_SVID]: Likewise.
45766 * dirent/dirent.h [__USE_BSD]: Likewise.
45767 * grp/grp.h [__USE_SVID]: Likewise.
45768 [__USE_BSD]: Likewise.
45769 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
45770 * io/fcntl.h [__USE_BSD]: Likewise.
45771 * io/ftw.h [__USE_BSD]: Likewise.
45772 * io/sys/stat.h [__USE_BSD]: Likewise.
45773 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
45774 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
45775 * libio/stdio.h [__USE_SVID]: Likewise.
45776 [__USE_BSD]: Likewise.
45777 * math/math.h [__USE_SVID]: Likewise.
45778 [__USE_BSD]: Likewise.
45779 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
45780 * misc/bits/syslog.h [__USE_BSD]: Likewise.
45781 * misc/search.h [__USE_SVID]: Likewise.
45782 * misc/sys/mman.h [__USE_BSD]: Likewise.
45783 * misc/sys/syslog.h [__USE_BSD]: Likewise.
45784 * misc/sys/uio.h [__USE_BSD]: Likewise.
45785 * posix/bits/unistd.h [__USE_BSD]: Likewise.
45786 * posix/glob.h [__USE_BSD]: Likewise.
45787 * posix/regex.h [__USE_BSD]: Likewise.
45788 * posix/sys/types.h [__USE_BSD]: Likewise.
45789 [__USE_SVID]: Likewise.
45790 * posix/sys/utsname.h [__USE_SVID]: Likewise.
45791 * posix/sys/wait.h [__USE_BSD]: Likewise.
45792 [__USE_SVID]: Likewise.
45793 * posix/unistd.h [__USE_BSD]: Likewise.
45794 [__USE_SVID]: Likewise.
45795 * pwd/pwd.h [__USE_SVID]: Likewise.
45796 * resolv/netdb.h [__USE_BSD]: Likewise.
45797 * setjmp/setjmp.h [__USE_BSD]: Likewise.
45798 * signal/signal.h [__USE_BSD]: Likewise.
45799 [__USE_SVID]: Likewise.
45800 * socket/sys/socket.h [__USE_BSD]: Likewise.
45801 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
45802 * stdlib/stdlib.h [__USE_BSD]: Likewise.
45803 [__USE_SVID]: Likewise.
45804 * string/bits/string2.h [__USE_BSD]: Likewise.
45805 [__USE_SVID]: Likewise.
45806 * string/bits/string3.h [__USE_BSD]: Likewise.
45807 * string/endian.h [__USE_BSD]: Likewise.
45808 * string/string.h [__USE_SVID]: Likewise.
45809 [__USE_BSD]: Likewise.
45810 * string/strings.h [__USE_BSD]: Likewise.
45811 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
45812 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
45813 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
45814 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
45815 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
45816 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
45817 Likewise.
45818 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
45819 Likewise.
45820 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
45821 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
45822 Likewise.
45823 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
45824 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
45825 Likewise.
45826 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
45827 Likewise.
45828 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
45829 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
45830 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
45831 Likewise.
45832 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
45833 Likewise.
45834 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
45835 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
45836 * termios/termios.h [__USE_BSD]: Likewise.
45837 * time/sys/time.h [__USE_BSD]: Likewise.
45838 * time/time.h [__USE_BSD]: Likewise.
45839 [__USE_SVID]: Likewise.
45840
45841 * Makefile (subdir_targets): Remove subdir_lint.out.
45842
45843 * stdio-common/Makefile (do-tst-unbputc): Remove target.
45844 (do-tst-printf): Likewise.
45845 (tests): Depend directly on $(objpfx)tst-unbputc.out and
45846 $(objpfx)tst-printf.out.
45847
45848 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
45849
45850 * Makerules (check-abi-%): Change target to
45851 $(objpfx)check-abi-%.out.
45852 (check-abi target): Update dependencies.
45853 (check-abi-pattern variable): Redirect output of diff to $@.
45854 (check-abi variable): Likewise.
45855 * elf/Makefile (check-abi): Update dependencies.
45856
45857 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
45858 unused.
45859 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
45860 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
45861 subnormal range.
45862 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
45863 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
45864 value has largest subnormal exponent.
45865 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
45866 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
45867 * sysdeps/aarch64/soft-fp/sfp-machine.h
45868 (_FP_TININESS_AFTER_ROUNDING): New macro.
45869 * sysdeps/alpha/soft-fp/sfp-machine.h
45870 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45871 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45872 Likewise.
45873 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
45874 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45875 * sysdeps/mips/soft-fp/sfp-machine.h
45876 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45877 * sysdeps/powerpc/soft-fp/sfp-machine.h
45878 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45879 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45880 Likewise.
45881 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45882 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45883 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45884 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45885 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45886 Likewise.
45887
45888 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
45889
45890 [BZ #16545]
45891 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
45892 model 1.
45893
45894 2014-02-12 Richard Henderson <rth@redhat.com>
45895
45896 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
45897 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
45898 * sysdeps/unix/sysv/linux/alpha: Move directory from
45899 ports/sysdeps/unix/sysv/linux/alpha.
45900 * README: Update listing for alpha-*-linux-gnu.
45901
45902 2014-02-11 Joseph Myers <joseph@codesourcery.com>
45903
45904 * include/features.h: Update comment documenting feature test
45905 macros.
45906 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
45907 _DEFAULT_SOURCE.
45908 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
45909 (_SVID_SOURCE): Likewise.
45910 (_DEFAULT_SOURCE): Update description of default features.
45911 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
45912 with _GNU_SOURCE.
45913 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
45914 (S_ISVTX): Likewise.
45915 * manual/math.texi (Mathematical Constants): Likewise.
45916 * manual/signal.texi (Interrupted Primitives): Likewise.
45917 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
45918 * math/test-matherr.c (_SVID_SOURCE): Do not define.
45919 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
45920 Don't refer to _SVID_SOURCE in warning text.
45921
45922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45923
45924 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
45925 already defined.
45926 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
45927 * sysdeps/mips/dl-lookup.c: Remove.
45928 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
45929
45930 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
45931
45932 [BZ #16447]
45933 * math/auto-libm-test-in: Add testcase for expl.
45934 * math/auto-libm-test-out: Regenerate.
45935 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
45936 calculation of unsafe.
45937 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45938
45939 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
45940
45941 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
45942 * sysdeps/unix/sysv/linux/aarch64: Move directory from
45943 ports/sysdeps/unix/sysv/linux/aarch64.
45944 * README: Update listing for aarch64*-*-linux-gnu.
45945
45946 2014-02-11 Will Newton <will.newton@linaro.org>
45947
45948 * manual/probes.texi (Mathematical Function Probes): Use
45949 "triggered" instead of "hit".
45950
45951 * manual/probes.texi (Internal Probes): Add documentation
45952 of setjmp, longjmp and longjmp_target probes.
45953
45954 * include/stap-probe.h: Add comment about probe argument
45955 format.
45956
45957 * malloc/mtrace.c (attribute_hidden): Remove unused macro
45958 definition. (tr_where, tr_freehook, tr_mallochook,
45959 tr_reallochook, tr_memalignhook): Use ANSI protoype.
45960
45961 2014-02-11 David S. Miller <davem@davemloft.net>
45962
45963 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
45964 processing int_tests.
45965
45966 2014-02-10 Joseph Myers <joseph@codesourcery.com>
45967
45968 * sysdeps/mips: Move directory from ports/sysdeps/mips.
45969 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
45970 * sysdeps/unix/sysv/linux/mips: Move directory from
45971 ports/sysdeps/unix/sysv/linux/mips.
45972 * README: Update listing for mips-*-linux-gnu and
45973 mips64-*-linux-gnu.
45974
45975 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
45976
45977 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
45978 * sysdeps/unix/sysv/linux/m68k: Move directory from
45979 ports/sysdeps/unix/sysv/linux/m68k.
45980 * README: Update listing for m68k-*-linux-gnu.
45981
45982 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
45983
45984 * sysdeps/tile: Move directory from ports/sysdeps/tile.
45985 * sysdeps/unix/sysv/linux/generic: Move directory from
45986 ports/sysdeps/unix/sysv/linux/generic.
45987 * sysdeps/unix/sysv/linux/tile: Move directory from
45988 ports/sysdeps/unix/sysv/linux/tile.
45989 * README: Update listing for tile*-*-linux-gnu.
45990
45991 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
45992
45993 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
45994 __builtin_expect.
45995 * benchtests/bench-memmem.c (simple_memmem): Likewise.
45996 * catgets/open_catalog.c (__open_catalog): Likewise.
45997 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
45998 * debug/confstr_chk.c: Likewise.
45999 * debug/fread_chk.c (__fread_chk): Likewise.
46000 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46001 * debug/getgroups_chk.c: Likewise.
46002 * debug/mbsnrtowcs_chk.c: Likewise.
46003 * debug/mbsrtowcs_chk.c: Likewise.
46004 * debug/mbstowcs_chk.c: Likewise.
46005 * debug/memcpy_chk.c: Likewise.
46006 * debug/memmove_chk.c: Likewise.
46007 * debug/mempcpy_chk.c: Likewise.
46008 * debug/memset_chk.c: Likewise.
46009 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46010 * debug/strcat_chk.c (__strcat_chk): Likewise.
46011 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46012 * debug/strncat_chk.c (__strncat_chk): Likewise.
46013 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46014 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46015 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46016 * debug/wcpncpy_chk.c: Likewise.
46017 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46018 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46019 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46020 * debug/wcsncpy_chk.c: Likewise.
46021 * debug/wcsnrtombs_chk.c: Likewise.
46022 * debug/wcsrtombs_chk.c: Likewise.
46023 * debug/wcstombs_chk.c: Likewise.
46024 * debug/wmemcpy_chk.c: Likewise.
46025 * debug/wmemmove_chk.c: Likewise.
46026 * debug/wmempcpy_chk.c: Likewise.
46027 * debug/wmemset_chk.c: Likewise.
46028 * dirent/scandirat.c (SCANDIRAT): Likewise.
46029 * dlfcn/dladdr1.c (dladdr1): Likewise.
46030 * dlfcn/dladdr.c (dladdr): Likewise.
46031 * dlfcn/dlclose.c (dlclose_doit): Likewise.
46032 * dlfcn/dlerror.c (__dlerror): Likewise.
46033 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46034 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46035 * dlfcn/dlopen.c (dlopen_doit): Likewise.
46036 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46037 * dlfcn/dlsym.c (dlsym_doit): Likewise.
46038 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46039 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46040 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46041 Likewise.
46042 * elf/dl-conflict.c: Likewise.
46043 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46044 * elf/dl-dst.h: Likewise.
46045 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46046 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46047 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46048 * elf/dl-init.c (call_init, _dl_init): Likewise.
46049 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46050 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46051 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46052 Likewise.
46053 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46054 Likewise.
46055 * elf/dl-minimal.c (__libc_memalign): Likewise.
46056 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46057 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46058 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46059 * elf/dl-sym.c (do_sym): Likewise.
46060 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46061 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46062 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46063 * elf/dl-writev.h (_dl_writev): Likewise.
46064 * elf/ldconfig.c (search_dir): Likewise.
46065 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46066 (dl_main): Likewise.
46067 * elf/setup-vdso.h (setup_vdso): Likewise.
46068 * grp/compat-initgroups.c (compat_call): Likewise.
46069 * grp/fgetgrent.c (fgetgrent): Likewise.
46070 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46071 * grp/putgrent.c (putgrent): Likewise.
46072 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46073 Likewise.
46074 * hurd/hurdinit.c: Likewise.
46075 * iconvdata/8bit-gap.c (struct): Likewise.
46076 * iconvdata/ansi_x3.110.c : Likewise.
46077 * iconvdata/big5.c : Likewise.
46078 * iconvdata/big5hkscs.c : Likewise.
46079 * iconvdata/cp1255.c: Likewise.
46080 * iconvdata/cp1258.c : Likewise.
46081 * iconvdata/cp932.c : Likewise.
46082 * iconvdata/euc-cn.c: Likewise.
46083 * iconvdata/euc-jisx0213.c : Likewise.
46084 * iconvdata/euc-jp.c: Likewise.
46085 * iconvdata/euc-jp-ms.c : Likewise.
46086 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46087 * iconvdata/gb18030.c : Likewise.
46088 * iconvdata/gbbig5.c (const): Likewise.
46089 * iconvdata/gbgbk.c: Likewise.
46090 * iconvdata/gbk.c : Likewise.
46091 * iconvdata/ibm1364.c : Likewise.
46092 * iconvdata/ibm930.c : Likewise.
46093 * iconvdata/ibm932.c: Likewise.
46094 * iconvdata/ibm933.c : Likewise.
46095 * iconvdata/ibm935.c : Likewise.
46096 * iconvdata/ibm937.c : Likewise.
46097 * iconvdata/ibm939.c : Likewise.
46098 * iconvdata/ibm943.c: Likewise.
46099 * iconvdata/iso_11548-1.c: Likewise.
46100 * iconvdata/iso-2022-cn.c : Likewise.
46101 * iconvdata/iso-2022-cn-ext.c : Likewise.
46102 * iconvdata/iso-2022-jp-3.c: Likewise.
46103 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46104 * iconvdata/iso-2022-kr.c : Likewise.
46105 * iconvdata/iso646.c (gconv_end): Likewise.
46106 * iconvdata/iso_6937-2.c : Likewise.
46107 * iconvdata/iso_6937.c : Likewise.
46108 * iconvdata/iso8859-1.c: Likewise.
46109 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46110 * iconvdata/shift_jisx0213.c : Likewise.
46111 * iconvdata/sjis.c : Likewise.
46112 * iconvdata/t.61.c : Likewise.
46113 * iconvdata/tcvn5712-1.c : Likewise.
46114 * iconvdata/tscii.c: Likewise.
46115 * iconvdata/uhc.c : Likewise.
46116 * iconvdata/unicode.c (gconv_end): Likewise.
46117 * iconvdata/utf-16.c (gconv_end): Likewise.
46118 * iconvdata/utf-32.c (gconv_end): Likewise.
46119 * iconvdata/utf-7.c (base64): Likewise.
46120 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46121 * iconv/gconv_close.c (__gconv_close): Likewise.
46122 * iconv/gconv_open.c (__gconv_open): Likewise.
46123 * iconv/gconv_simple.c (internal_ucs4_loop_single)
46124 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46125 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46126 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46127 (ucs4le_internal_loop_single): Likewise.
46128 * iconv/iconv.c (iconv): Likewise.
46129 * iconv/iconv_close.c: Likewise.
46130 * iconv/loop.c (SINGLE): Likewise.
46131 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46132 * include/atomic.h: Likewise.
46133 * inet/inet6_option.c (option_alloc): Likewise.
46134 * intl/bindtextdom.c (set_binding_values): Likewise.
46135 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46136 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46137 * intl/localealias.c (read_alias_file): Likewise.
46138 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46139 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46140 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46141 * libio/fmemopen.c (fmemopen): Likewise.
46142 * libio/iofgets.c (_IO_fgets): Likewise.
46143 * libio/iofgets_u.c (fgets_unlocked): Likewise.
46144 * libio/iofgetws.c (fgetws): Likewise.
46145 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46146 * libio/iogetdelim.c (_IO_getdelim): Likewise.
46147 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46148 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46149 * locale/findlocale.c (_nl_find_locale): Likewise.
46150 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46151 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46152 Likewise.
46153 * locale/setlocale.c (setlocale): Likewise.
46154 * login/programs/pt_chown.c (main): Likewise.
46155 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46156 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46157 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46158 (mmap, mmap64, mremap, munmap): Likewise.
46159 * math/e_exp2l.c: Likewise.
46160 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46161 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46162 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46163 * math/s_catan.c (__catan): Likewise.
46164 * math/s_catanf.c (__catanf): Likewise.
46165 * math/s_catanh.c (__catanh): Likewise.
46166 * math/s_catanhf.c (__catanhf): Likewise.
46167 * math/s_catanhl.c (__catanhl): Likewise.
46168 * math/s_catanl.c (__catanl): Likewise.
46169 * math/s_ccosh.c (__ccosh): Likewise.
46170 * math/s_ccoshf.c (__ccoshf): Likewise.
46171 * math/s_ccoshl.c (__ccoshl): Likewise.
46172 * math/s_cexp.c (__cexp): Likewise.
46173 * math/s_cexpf.c (__cexpf): Likewise.
46174 * math/s_cexpl.c (__cexpl): Likewise.
46175 * math/s_clog10.c (__clog10): Likewise.
46176 * math/s_clog10f.c (__clog10f): Likewise.
46177 * math/s_clog10l.c (__clog10l): Likewise.
46178 * math/s_clog.c (__clog): Likewise.
46179 * math/s_clogf.c (__clogf): Likewise.
46180 * math/s_clogl.c (__clogl): Likewise.
46181 * math/s_csin.c (__csin): Likewise.
46182 * math/s_csinf.c (__csinf): Likewise.
46183 * math/s_csinh.c (__csinh): Likewise.
46184 * math/s_csinhf.c (__csinhf): Likewise.
46185 * math/s_csinhl.c (__csinhl): Likewise.
46186 * math/s_csinl.c (__csinl): Likewise.
46187 * math/s_csqrt.c (__csqrt): Likewise.
46188 * math/s_csqrtf.c (__csqrtf): Likewise.
46189 * math/s_csqrtl.c (__csqrtl): Likewise.
46190 * math/s_ctan.c (__ctan): Likewise.
46191 * math/s_ctanf.c (__ctanf): Likewise.
46192 * math/s_ctanh.c (__ctanh): Likewise.
46193 * math/s_ctanhf.c (__ctanhf): Likewise.
46194 * math/s_ctanhl.c (__ctanhl): Likewise.
46195 * math/s_ctanl.c (__ctanl): Likewise.
46196 * math/w_pow.c: Likewise.
46197 * math/w_powf.c: Likewise.
46198 * math/w_powl.c: Likewise.
46199 * math/w_scalb.c (sysv_scalb): Likewise.
46200 * math/w_scalbf.c (sysv_scalbf): Likewise.
46201 * math/w_scalbl.c (sysv_scalbl): Likewise.
46202 * misc/error.c (error_tail): Likewise.
46203 * misc/pselect.c (__pselect): Likewise.
46204 * nis/nis_callback.c (__nis_create_callback): Likewise.
46205 * nis/nis_call.c (__nisfind_server): Likewise.
46206 * nis/nis_creategroup.c (nis_creategroup): Likewise.
46207 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46208 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46209 * nis/nis_getservlist.c (nis_getservlist): Likewise.
46210 * nis/nis_lookup.c (nis_lookup): Likewise.
46211 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46212 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46213 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46214 * nis/nis_xdr.c (xdr_endpoint): Likewise.
46215 * nis/nss_compat/compat-grp.c (getgrent_next_file)
46216 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46217 * nis/nss_compat/compat-initgroups.c (add_group)
46218 (internal_getgrent_r): Likewise.
46219 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46220 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46221 * nis/nss_compat/compat-spwd.c (getspent_next_file)
46222 (internal_getspnam_r): Likewise.
46223 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46224 (_nss_nis_getaliasbyname_r): Likewise.
46225 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46226 (_nss_nis_getntohost_r): Likewise.
46227 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46228 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46229 (_nss_nis_getgrgid_r): Likewise.
46230 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46231 (internal_nis_gethostent_r, internal_gethostbyname2_r)
46232 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46233 (_nss_nis_gethostbyname4_r): Likewise.
46234 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46235 (initgroups_netid): Likewise.
46236 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46237 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46238 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46239 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46240 (_nss_nis_getprotobynumber_r): Likewise.
46241 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46242 (_nss_nis_getsecretkey): Likewise.
46243 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46244 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46245 (_nss_nis_getpwuid_r): Likewise.
46246 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46247 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46248 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46249 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46250 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46251 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46252 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46253 Likewise.
46254 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46255 (_nss_nisplus_getntohost_r): Likewise.
46256 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46257 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46258 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46259 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46260 Likewise.
46261 * nis/nss_nisplus/nisplus-initgroups.c
46262 (_nss_nisplus_initgroups_dyn): Likewise.
46263 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46264 (_nss_nisplus_getnetbyaddr_r): Likewise.
46265 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46266 (_nss_nisplus_getprotobynumber_r): Likewise.
46267 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46268 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46269 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46270 Likewise.
46271 * nis/nss_nisplus/nisplus-service.c
46272 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46273 (_nss_nisplus_getservbyport_r): Likewise.
46274 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46275 (_nss_nisplus_getspnam_r): Likewise.
46276 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46277 Likewise.
46278 * nscd/aicache.c (addhstaiX): Likewise.
46279 * nscd/cache.c (cache_search, prune_cache): Likewise.
46280 * nscd/connections.c (register_traced_file, send_ro_fd)
46281 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46282 (main_loop_epoll): Likewise.
46283 * nscd/grpcache.c (addgrbyX): Likewise.
46284 * nscd/hstcache.c (addhstbyX): Likewise.
46285 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46286 * nscd/mem.c (gc, mempool_alloc): Likewise.
46287 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46288 (addinnetgrX): Likewise.
46289 * nscd/nscd-client.h (__nscd_acquire_maplock)
46290 (__nscd_drop_map_ref): Likewise.
46291 * nscd/nscd_getai.c (__nscd_getai): Likewise.
46292 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46293 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46294 Likewise.
46295 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46296 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46297 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46298 (__nscd_get_map_ref): Likewise.
46299 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46300 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46301 Likewise.
46302 * nscd/pwdcache.c (addpwbyX): Likewise.
46303 * nscd/selinux.c (preserve_capabilities): Likewise.
46304 * nscd/servicescache.c (addservbyX): Likewise.
46305 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46306 * posix/fnmatch.c (fnmatch): Likewise.
46307 * posix/getopt.c (_getopt_internal_r): Likewise.
46308 * posix/glob.c (glob, glob_in_dir): Likewise.
46309 * posix/wordexp.c (exec_comm_child): Likewise.
46310 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46311 (getanswer_r, gaih_getanswer_slice): Likewise.
46312 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46313 * resolv/res_init.c: Likewise.
46314 * resolv/res_mkquery.c (res_nmkquery): Likewise.
46315 * resolv/res_query.c (__libc_res_nquery): Likewise.
46316 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46317 Likewise.
46318 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46319 * stdio-common/perror.c (perror): Likewise.
46320 * stdio-common/printf_fp.c (___printf_fp): Likewise.
46321 * stdio-common/tmpnam.c (tmpnam): Likewise.
46322 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46323 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46324 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46325 Likewise.
46326 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46327 * stdlib/putenv.c (putenv): Likewise.
46328 * stdlib/setenv.c (__add_to_environ): Likewise.
46329 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46330 * stdlib/strtol_l.c (INTERNAL): Likewise.
46331 * string/memmem.c (memmem): Likewise.
46332 * string/strerror.c (strerror): Likewise.
46333 * string/strnlen.c (__strnlen): Likewise.
46334 * string/test-memmem.c (simple_memmem): Likewise.
46335 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46336 * sunrpc/pm_getport.c (__get_socket): Likewise.
46337 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46338 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46339 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46340 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46341 Likewise.
46342 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46343 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46344 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46345 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46346 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46347 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46348 Likewise.
46349 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46350 Likewise.
46351 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46352 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46353 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46354 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46355 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46357 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46358 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46359 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46360 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46361 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46362 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46363 Likewise.
46364 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46365 Likewise.
46366 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46367 Likewise.
46368 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46369 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46370 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46371 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46372 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46373 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46374 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46375 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46376 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46377 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46378 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46379 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46380 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46381 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46382 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46383 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46384 Likewise.
46385 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46386 Likewise.
46387 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46388 Likewise.
46389 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46390 Likewise.
46391 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46392 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46393 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46394 Likewise.
46395 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46396 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46397 * sysdeps/posix/opendir.c (__opendirat): Likewise.
46398 * sysdeps/posix/sleep.c: Likewise.
46399 * sysdeps/posix/tempname.c: Likewise.
46400 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46401 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46402 Likewise.
46403 * sysdeps/powerpc/powerpc32/dl-machine.h
46404 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46405 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46406 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46407 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46408 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46409 Likewise.
46410 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46411 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46412 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46413 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46414 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46415 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46416 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46417 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46418 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46419 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46420 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46421 (elf_machine_lazy_rel): Likewise.
46422 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46423 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46424 (elf_machine_lazy_rel): Likewise.
46425 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46426 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46427 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46428 * sysdeps/unix/grantpt.c (grantpt): Likewise.
46429 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46430 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46431 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46432 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46433 Likewise.
46434 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46435 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46436 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46437 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46438 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46439 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46440 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
46441 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
46442 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
46443 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46444 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46445 Likewise.
46446 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
46447 (__posix_fallocate64_l64): Likewise.
46448 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
46449 (posix_fallocate): Likewise.
46450 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
46451 Likewise.
46452 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46453 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
46454 (getifaddrs_internal): Likewise.
46455 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
46456 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
46457 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
46458 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
46459 * sysdeps/unix/sysv/linux/posix_fallocate64.c
46460 (__posix_fallocate64_l64): Likewise.
46461 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
46462 Likewise.
46463 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
46464 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
46465 (__get_clockfreq): Likewise.
46466 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
46467 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
46468 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
46469 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46470 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46471 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
46472 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
46473 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
46474 Likewise.
46475 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
46476 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
46477 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
46478 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
46479 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46480 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
46481 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
46482 Likewise.
46483 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46484 (posix_fallocate): Likewise.
46485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46486 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
46487 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
46488 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
46489 (elf_machine_rela, elf_machine_rela_relative)
46490 (elf_machine_lazy_rel): Likewise.
46491 * time/asctime.c (asctime_internal): Likewise.
46492 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
46493 * time/tzset.c (__tzset_parse_tz): Likewise.
46494 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46495 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46496 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
46497 * wcsmbs/wcsmbsload.h: Likewise.
46498
46499 [BZ #15894]
46500 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
46501
46502 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
46503 (arena_get2): Remove THREAD_STATS conditionals.
46504 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
46505 (__malloc_stats, int): Likewise.
46506
46507 2014-02-08 Mike Frysinger <vapier@gentoo.org>
46508
46509 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
46510 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
46511
46512 * manual/setjmp.texi: Fix typos/grammar errors.
46513
46514 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
46515 Only return early when n is <= 0. Delete unused return statement.
46516
46517 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
46518 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
46519 * debug/tst-longjmp_chk3.c: New file.
46520
46521 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
46522 (test_main): Replace code with set_fortify_handler call.
46523 * debug/test-strcpy_chk.c: Likewise.
46524 * debug/tst-chk1.c: Likewise.
46525 * debug/tst-longjmp_chk.c: Likewise.
46526 * test-skeleton.c: Include fcntl.h & paths.h
46527 (set_fortify_handler): Define.
46528
46529 * debug/tst-longjmp_chk.c: Add header comment and include
46530 ../test-skeleton.c.
46531 (do_test): Mark static.
46532 (TEST_FUNCTION): Define.
46533
46534 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
46535 (IP_PMTUDISC_INTERFACE): Likewise.
46536 (IP_MULTICAST_IF): Likewise.
46537 (IP_MULTICAST_TTL): Likewise.
46538 (IP_MULTICAST_LOOP): Likewise.
46539 (IP_ADD_MEMBERSHIP): Likewise.
46540 (IP_DROP_MEMBERSHIP): Likewise.
46541 (IP_UNBLOCK_SOURCE): Likewise.
46542 (IP_BLOCK_SOURCE): Likewise.
46543 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
46544 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
46545 (IP_MSFILTER): Likewise.
46546 (MCAST_JOIN_GROUP): Likewise.
46547 (MCAST_BLOCK_SOURCE): Likewise.
46548 (MCAST_UNBLOCK_SOURCE): Likewise.
46549 (MCAST_LEAVE_GROUP): Likewise.
46550 (MCAST_JOIN_SOURCE_GROUP): Likewise.
46551 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
46552 (MCAST_MSFILTER): Likewise.
46553 (IP_MULTICAST_ALL): Likewise.
46554 (IP_UNICAST_IF): Likewise.
46555
46556 * timezone/Makefile: Delete $(have-ksh) check.
46557 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
46558 * timezone/tzselect.ksh: Add +x mode bits.
46559
46560 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
46561 (ANON_INODE_FS_MAGIC): Likewise.
46562 (BDEVFS_MAGIC): Likewise.
46563 (BINFMTFS_MAGIC): Likewise.
46564 (BTRFS_TEST_MAGIC): Likewise.
46565 (CRAMFS_MAGIC_WEND): Likewise.
46566 (DEBUGFS_MAGIC): Likewise.
46567 (ECRYPTFS_SUPER_MAGIC): Likewise.
46568 (EXT3_SUPER_MAGIC): Likewise.
46569 (EXT4_SUPER_MAGIC): Likewise.
46570 (FUTEXFS_SUPER_MAGIC): Likewise.
46571 (HOSTFS_SUPER_MAGIC): Likewise.
46572 (HUGETLBFS_MAGIC): Likewise.
46573 (MINIX3_SUPER_MAGIC): Likewise.
46574 (MTD_INODE_FS_MAGIC): Likewise.
46575 (NILFS_SUPER_MAGIC): Likewise.
46576 (OPENPROM_SUPER_MAGIC): Likewise.
46577 (PIPEFS_MAGIC): Likewise.
46578 (PSTOREFS_MAGIC): Likewise.
46579 (QNX6_SUPER_MAGIC): Likewise.
46580 (RAMFS_MAGIC): Likewise.
46581 (REISERFS_SUPER_MAGIC_STRING): Likewise.
46582 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
46583 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
46584 (SECURITYFS_MAGIC): Likewise.
46585 (SELINUX_MAGIC): Likewise.
46586 (SMACK_MAGIC): Likewise.
46587 (SOCKFS_MAGIC): Likewise.
46588 (SQUASHFS_MAGIC): Likewise.
46589 (STACK_END_MAGIC): Likewise.
46590 (TMPFS_MAGIC): Likewise.
46591 (USBDEVICE_SUPER_MAGIC): Likewise.
46592 (V9FS_MAGIC): Likewise.
46593 (XENFS_SUPER_MAGIC): Likewise.
46594 (CRAMFS_MAGIC): Fix typo in comment.
46595 (EXT2_SUPER_MAGIC): Update comment.
46596 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
46597
46598 2014-02-08 Joseph Myers <joseph@codesourcery.com>
46599
46600 * sysdeps/arm: Move directory from ports/sysdeps/arm.
46601 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
46602 * sysdeps/unix/sysv/linux/arm: Move directory from
46603 ports/sysdeps/unix/sysv/linux/arm.
46604 * README: Update listing for arm-*-linux-gnueabi.
46605
46606 * README: Remove mention of am33.
46607
46608 2014-02-07 Roland McGrath <roland@hack.frob.com>
46609
46610 * bits/sigset.h (__sigemptyset): Use a statement expression rather
46611 than the comma operator, to avoid "rhs of comma has no effect"
46612 compiler warnings.
46613 (__sigfillset, __sigandset, __sigorset): Likewise.
46614 * include/signal.h (__sigemptyset): Likewise.
46615 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
46616
46617 2014-02-07 Allan McRae <allan@archlinux.org>
46618
46619 * version.h (RELEASE): Set to "development".
46620 (VERSION): Set to "2.19.90"
46621 * NEWS: Add 2.20 section.
46622
46623 2014-02-06 Carlos O'Donell <carlos@redhat.com>
46624
46625 [BZ #16529]
46626 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
46627
46628 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46629
46630 * manual/contrib.texi: Update entry for Carlos O'Donell,
46631 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
46632
46633 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
46634
46635 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
46636
46637 * sysdeps/unix/sysv/linux/kernel-features.h
46638 [__LINUX_KERNEL_VERSION >= 0x020621]
46639 (__ASSUME_PROC_PID_TASK_COMM): Define.
46640
46641 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46642
46643 [BZ #16398]
46644 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
46645 conversion when destination buffer does not have enough space.
46646 * libio/tst-ftell-partial-wide.c: New test case.
46647 * libio/Makefile (tests): Add tst-ftell-partial-wide.
46648
46649 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
46650 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
46651 Leonard and Allan McRae.
46652
46653 2014-02-04 David S. Miller <davem@davemloft.net>
46654
46655 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
46656 32-bit.
46657
46658 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46659
46660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46661 New file
46662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46663 New file
46664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46665 New file.
46666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46667 New file.
46668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46669 New file.
46670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46671 New file.
46672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46673 New file.
46674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46675 New file.
46676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46677 New file.
46678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46679 New file.
46680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46681 New file.
46682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46683 New file.
46684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46685 New file.
46686
46687 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46688
46689 * nptl/shlib-versions: Change powerpc*le start to 2.17.
46690 * shlib-versions: Likewise.
46691
46692 2014-02-04 Roland McGrath <roland@hack.frob.com>
46693 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46694
46695 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
46696 (abilist-pattern): New variable, set to %-le.abilist.
46697
46698 * Makerules (abilist-pattern): New variable.
46699 (vpath): Use $(abilist-pattern) in place of %.abilist.
46700 (check-abi-% pattern rule): Likewise.
46701 (check-abi, update-abi): Likewise.
46702
46703 2014-02-04 Eric Wong <normalperson@yhbt.net>
46704
46705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46706
46707 2014-02-03 Carlos O'Donell <carlos@redhat.com>
46708
46709 * manual/startup.texi: Add next, previous, and top entries for
46710 the `Program Arguments' and `Environment Variables' nodes.
46711
46712 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
46713
46714 * manual/macros.texi: Add comments before MTASC-safety macros.
46715
46716 * manual/users.texi: Document MTASC-safety properties.
46717
46718 * manual/threads.texi (pthread_key_create, pthread_key_delete)
46719 (pthread_getspecific, pthread_setspecific): Format with
46720 @deftypefun, and add @safety note.
46721 * manual/signal.texi: Move comments that analyze the above
46722 functions to their home place.
46723
46724 2014-02-03 Allan McRae <allan@archlinux.org>
46725
46726 * po/sl.po: Update Slovenian translation from translation project.
46727
46728 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
46729
46730 * manual/time.texi (timegm): Add missing blank after @c.
46731 Reported by Joseph Myers <joseph@codesourcery.com>.
46732
46733 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
46734
46735 * manual/check-safety.sh: New.
46736 * manual/Makefile ($(objpfx)stamp-summary): Run it.
46737
46738 * manual/terminal.texi: Document MTASC-safety properties.
46739
46740 * manual/filesys.texi: Document MTASC-safety properties.
46741
46742 * manual/errno.texi: Document MTASC-safety properties.
46743
46744 * manual/intro.texi: Document safety identifiers and
46745 conditionals.
46746
46747 * manual/string.texi (wcstok): Fix prototype.
46748 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
46749
46750 * manual/time.texi: Document MTASC-safety properties.
46751
46752 * manual/string.texi: Document MTASC-safety properties.
46753
46754 * manual/threads.texi: Document MTASC-safety properties.
46755
46756 * manual/stdio.texi: Document MTASC-safety properties.
46757
46758 * manual/syslog.texi: Document MTASC-safety properties.
46759
46760 * manual/sysinfo.texi: Document MTASC-safety properties.
46761
46762 * manual/startup.texi: Document MTASC-safety properties.
46763
46764 * manual/socket.texi: Document MTASC-safety properties.
46765
46766 * manual/signal.texi: Document MTASC-safety properties.
46767
46768 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
46769
46770 * manual/setjmp.texi: Document MTASC-safety properties.
46771
46772 * manual/search.texi: Document MTASC-safety properties.
46773
46774 * manual/resource.texi: Document MTASC-safety properties.
46775
46776 * manual/process.texi: Document MTASC-safety properties.
46777
46778 * manual/platform.texi: Document MTASC-safety properties.
46779
46780 * manual/pipe.texi: Document MTASC-safety properties.
46781
46782 * manual/pattern.texi: Document MTASC-safety properties.
46783
46784 * manual/message.texi: Document MTASC-safety properties.
46785
46786 [BZ #12751]
46787 * manual/memory.texi: Document MTASC-safety properties.
46788
46789 * manual/math.texi: Document MTASC-safety properties.
46790
46791 * manual/locale.texi: Document MTASC-safety properties.
46792
46793 * manual/llio.texi: Document MTASC-safety properties.
46794
46795 * manual/libdl.texi: New.
46796
46797 * manual/lang.texi: Document MTASC-safety properties.
46798
46799 * manual/job.texi: Document MTASC-safety properties.
46800
46801 * manual/getopt.texi: Document MTASC-safety properties.
46802
46803 * manual/ctype.texi: Document MTASC-safety properties.
46804
46805 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
46806
46807 [BZ #16046]
46808 * csu/libc-tls.c (static_map): Remove variable.
46809 (__libc_setup_tls): Use main executable's link map for TLS data.
46810 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
46811 casing for LM_ID_BASE and GL(dl_nns).
46812 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
46813 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
46814 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
46815 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
46816 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
46817 member.
46818 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
46819 l_phnum members.
46820
46821 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
46822
46823 * manual/debug.texi: Document MTASC-safety properties.
46824
46825 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
46826
46827 [BZ #16510]
46828 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
46829 of __x86_64__ when disabling x87 inline functions.
46830
46831 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
46832
46833 * manual/charset.texi: Document MTASC-safety properties.
46834
46835 * manual/crypt.texi: Document MTASC-safety properties.
46836
46837 * manual/conf.texi: Document MTASC-safety properties.
46838
46839 * manual/arith.texi: Document MTASC-safety properties.
46840
46841 * manual/argp.texi: Document MTASC-safety properties.
46842
46843 * manual/macros.texi: Introduce macros to document multi
46844 thread, asynchronous signal and asynchronous cancellation
46845 safety properties.
46846 * manual/intro.texi: Introduce the properties themselves.
46847
46848 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46849
46850 * sysdeps/sh/sh4/Makefile: New file.
46851
46852 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
46853
46854 * math/gen-libm-test.pl ($srcdir): New variable.
46855 ($auto_input): Use it.
46856
46857 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
46858
46859 [BZ #16506]
46860 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
46861 access beyond array bounds when parsing netgroups file.
46862
46863 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
46864 the old buffer before realloc.
46865
46866 2014-01-27 Allan McRae <allan@archlinux.org>
46867
46868 * po/fr.po: Update French translation from translation project.
46869
46870 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46871
46872 * sysdeps/sh/libm-test-ulps: Regenerate.
46873
46874 2014-01-24 David S. Miller <davem@davemloft.net>
46875
46876 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
46877
46878 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46879
46880 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
46881 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
46882
46883 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46884
46885 [BZ #16474]
46886 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
46887 string pointers after reallocation.
46888
46889 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46890
46891 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
46892 __SH4A__ instead of __SH_FPU_ANY__.
46893
46894 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46895
46896 * sysdeps/sh/fpu_control.h: New file.
46897 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
46898 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
46899 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
46900 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
46901 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46902 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
46903 * sysdeps/sh/sys/ucontext.h: Remove.
46904 * sysdeps/sh/sys: Remove directory.
46905
46906 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46907
46908 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
46909 s390/sys/ucontext.h.
46910 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46911 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
46912
46913 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
46914
46915 [BZ #15605]
46916 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
46917
46918 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46919
46920 [BZ#16431]
46921 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46922 Adjust the vDSO correctly for internal calls.
46923 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
46924
46925 2014-01-20 Allan McRae <allan@archlinux.org>
46926
46927 * po/ca.po: Update Catalan translation from translation project.
46928
46929 2014-01-16 Mike Frysinger <vapier@gentoo.org>
46930
46931 * sysdeps/s390/sotruss-lib.c: New file.
46932
46933 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46934
46935 [BZ#16430]
46936 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
46937 (__GI___gettimeofday): Alias for a different internal symbol to avoid
46938 local calls issues by not having a PLT stub required for IFUNC calls.
46939 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
46940
46941 2014-01-16 Joseph Myers <joseph@codesourcery.com>
46942
46943 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
46944 * math/test-fpucw-static.c: Likewise.
46945
46946 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46947
46948 [BZ #16453]
46949 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
46950
46951 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46952
46953 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
46954 implementation for powerpc.
46955
46956 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
46957
46958 [BZ #14782]
46959 * sysdeps/posix/system.c (__libc_system): Do not enable
46960 asynchronous cancellation.
46961
46962 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46963
46964 [BZ #16427]
46965 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
46966 handling only for numbers special also in the IEEE case.
46967
46968 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46969
46970 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46971
46972 2014-01-11 Allan McRae <allan@archlinux.org>
46973
46974 * po/bg.po: Update Bulgarian translation from translation project.
46975
46976 * po/de.po: Update German translation from translation project.
46977
46978 2014-01-10 Roland McGrath <roland@hack.frob.com>
46979
46980 * sysdeps/generic/gcc-compat.h: New file.
46981
46982 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46983
46984 * benchtests/asin-inputs: Correct slow inputs.
46985 * benchtests/acos-inputs: Likewise.
46986
46987 2014-01-10 Allan McRae <allan@archlinux.org>
46988
46989 * po:sv.po: Update Swedish translation from translation project.
46990
46991 * po/vi.po: Update Vietnamese translation from translation project.
46992
46993 * po/eo.po: Update Esperanto translation from translation project.
46994
46995 * po/cs.po: Update Czech translation from translation project.
46996
46997 * po/nl.po: Update Dutch translation from translation project.
46998
46999 * po/pl.po: Update Polish translation from translation project.
47000
47001 * po/ru.po: Update Russian translation from translation project.
47002
47003 * po/uk.po: Update Ukrainian translation from translation project.
47004
47005 2014-01-08 Brooks Moses <bmoses@google.com>
47006
47007 * elf/dl-load.c: Fix comment typo.
47008
47009 2014-01-08 Carlos O'Donell <carlos@redhat.com>
47010
47011 * po/header.pot: Rename to...
47012 * po/pot.header: ... this.
47013 * po/Makefile: Use pot.header.
47014
47015 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
47016 Maxim Kuvyrkov <maxim@kugelworks.com>
47017
47018 [BZ #16394]
47019 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47020 SRC and DEST against LEN.
47021
47022 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47023
47024 [BZ #16414]
47025 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47026 implementation.
47027 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47028
47029 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47030
47031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47032
47033 2014-01-08 Joseph Myers <joseph@codesourcery.com>
47034
47035 [BZ #16408]
47036 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47037 for large positive arguments.
47038
47039 2014-01-07 Joseph Myers <joseph@codesourcery.com>
47040
47041 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47042
47043 * math/auto-libm-test-in: Mark various tests with
47044 xfail-rounding:ldbl-128ibm.
47045 * math/auto-libm-test-out: Regenerated.
47046
47047 [BZ #16407]
47048 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47049 Increase overflow threshold.
47050
47051 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
47052
47053 [BZ #14286]
47054 * stdio-common/vfprintf.c: Check for integer overflow.
47055
47056 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47057
47058 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47059 the first argument and return value of __tls_get_addr_internal.
47060
47061 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47062
47063 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47064 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47065
47066 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47067
47068 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47069 * sysdeps/s390/rtld-global-offsets.sym: New file.
47070 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47071 GLIBC_2.19 symbol.
47072 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47073 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47074 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47075 ... this.
47076 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47077 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47078 ... this.
47079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47080 Regenerate.
47081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47082 Regenerate.
47083 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47084 halfs of GPRs for high_gprs contexts.
47085 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47086 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
47087 field.
47088 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47089 uc_flags field.
47090 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47091 64 bit versions:
47092 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47093 for high GPRs (uc_high_gprs) and for future extensions
47094 (__reserved).
47095 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47096 for future extensions (__reserved).
47097 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47098 64 bit versions:
47099 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47100 SC_HIGHGPRS offset definition.
47101 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47102 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47103
47104 * Versions.def: Add GLIBC_2.19 for libpthread.
47105 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47106 siglongjmp for libpthread with GLIBC_2.19 symver.
47107 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47108 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47109 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47110 * sysdeps/s390/__longjmp.c: New file.
47111 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47112 * sysdeps/s390/longjmp.c: New file.
47113 * sysdeps/s390/setjmp.S: New file.
47114 * sysdeps/s390/sigjmp.S: New file.
47115 * sysdeps/s390/v1-longjmp.c: New file.
47116 * sysdeps/s390/v1-setjmp.h: New file.
47117 * sysdeps/s390/v1-sigjmp.c: New file.
47118 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47119 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47120 GLIBC_2.19 version.
47121 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47122 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47123 versioned symbols for ____longjmp_chk.
47124 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47125 Likewise.
47126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47127 Regenerate.
47128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47129 Regenerate.
47130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47131 Regenerate.
47132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47133 Regenerate.
47134 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47135 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47136 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47137 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47138 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47139 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47140 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47141 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47142 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47143 * sysdeps/s390/rtld-__longjmp.c: New file.
47144 * sysdeps/s390/rtld-setjmp.S: New file.
47145
47146 2014-01-06 Joseph Myers <joseph@codesourcery.com>
47147
47148 [BZ #16400]
47149 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47150 Return -__logl (x) for small positive arguments without evaluating
47151 a polynomial.
47152
47153 2014-01-06 Mike Frysinger <vapier@gentoo.org>
47154
47155 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47156 Rename to ...
47157 (__ptrace_peeksiginfo_args): ... this.
47158 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47159 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47160 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47161
47162 2014-01-06 Allan McRae <allan@archlinux.org>
47163
47164 * inet/netinet/in.h: Fix typo in comment.
47165
47166 2014-01-05 Andreas Jaeger <aj@suse.de>
47167
47168 * sysdeps/i386/fpu/libm-test-ulps: Update.
47169
47170 2014-01-05 Allan McRae <allan@archlinux.org>
47171
47172 * po/libc.pot: Regenerated.
47173
47174 * malloc/memusagestat.c: Fix gettext call formatting.
47175
47176 2014-01-04 Sami Kerola <kerolasa@iki.fi>
47177
47178 * nscd/nscd.c: Improve usage() output.
47179
47180 2014-01-04 Mike Frysinger <vapier@gentoo.org>
47181
47182 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47183 * sysdeps/unix/sysv/linux/configure: Regenerated.
47184 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47185 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47186
47187 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47188
47189 [BZ #16390]
47190 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47191 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47192
47193 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47194
47195 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47196 extra tokens at end of #undef directive.
47197 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47198 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47199 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47200
47201 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47202
47203 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47204
47205 * math/auto-libm-test-in: Mark various tests with
47206 xfail-rounding:ldbl-128ibm.
47207 * math/auto-libm-test-out: Regenerated.
47208
47209 2014-01-02 Joseph Myers <joseph@codesourcery.com>
47210
47211 [BZ #16386]
47212 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47213 numbers with subnormal high part when calculating exponent.
47214
47215 [BZ #16385]
47216 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47217 fabs.
47218
47219 [BZ #16384]
47220 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47221 M_LN2l.
47222 (__ieee754_acoshl): Use __log1pl not __log1p.
47223
47224 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
47225
47226 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47227 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47228 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47229 (grow_heap, heap_trim, _int_new_arena, get_free_list)
47230 (reused_arena, arena_get2): Convert to GNU style.
47231 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47232 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47233 (memalign_check, __malloc_set_state): Likewise.
47234 * malloc/mallocbug.c (main): Likewise.
47235 * malloc/malloc.c (__malloc_assert, malloc_init_state)
47236 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47237 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47238 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47239 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47240 (__posix_memalign, malloc_info): Likewise.
47241 * malloc/malloc.h: Likewise.
47242 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47243 (mallochook, memalignhook, reallochook, mabort): Likewise.
47244 * malloc/mcheck.h: Likewise.
47245 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47246 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47247 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47248 * malloc/morecore.c (__default_morecore): Likewise.
47249 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47250 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47251 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47252 (print_and_abort): Likewise.
47253 * malloc/obstack.h: Likewise.
47254 * malloc/set-freeres.c (__libc_freeres): Likewise.
47255 * malloc/tst-mallocstate.c (main): Likewise.
47256 * malloc/tst-mtrace.c (main): Likewise.
47257 * malloc/tst-realloc.c (do_test): Likewise.
47258
47259 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47260
47261 [BZ #16366]
47262 * nscd/netgroupcache.c (do_notfound): New function.
47263 (addgetnetgrentX): Use it.
47264
47265 [BZ # 16365]
47266 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47267 NSS_STATUS_NOTFOUND.
47268
47269 2014-01-01 Joseph Myers <joseph@codesourcery.com>
47270
47271 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47273
47274 2014-01-01 Allan McRae <allan@archlinux.org>
47275
47276 * scripts/update-copyrights: Update configure input file suffix.
47277
47278 * NEWS: Update copyright year.
47279 * catgets/gencat.c: Likewise.
47280 * csu/version.c: Likewise.
47281 * debug/catchsegv.sh: Likewise.
47282 * debug/pcprofiledump.c: Likewise.
47283 * debug/xtrace.sh: Likewise.
47284 * elf/ldconfig.c: Likewise.
47285 * elf/ldd.bash.in: Likewise.
47286 * elf/pldd.c: Likewise.
47287 * elf/sotruss.ksh: Likewise.
47288 * elf/sprof.c: Likewise.
47289 * iconv/iconv_prog.c: Likewise.
47290 * iconv/iconvconfig.c: Likewise.
47291 * locale/programs/locale.c: Likewise.
47292 * locale/programs/localedef.c: Likewise.
47293 * login/programs/pt_chown.c: Likewise.
47294 * malloc/memusage.sh: Likewise.
47295 * malloc/memusagestat.c: Likewise.
47296 * malloc/mtrace.pl: Likewise.
47297 * manual/libc.texinfo: Likewise.
47298 * nscd/nscd.c: Likewise.
47299 * nss/getent.c: Likewise.
47300 * nss/makedb.c: Likewise.
47301 * posix/getconf.c: Likewise.
47302 * scripts/test-installation.pl: Likewise.
47303
47304 * All files with FSF copyright notices: Update copyright dates
47305 using scripts/update-copyrights.
47306 * intl/plural.c: Regenerated.
47307 * locale/programs/charmap-kw.h: Likewise.
47308 * locale/programs/locfile-kw.h: Likewise.
47309
47310 2013-12-31 Mike Frysinger <vapier@gentoo.org>
47311
47312 * sysdeps/unix/sysv/linux/configure: Regenerated.
47313 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47314 the linux/fanotify.h header.
47315 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47316 HAVE_LINUX_FANOTIFY_H is defined.
47317
47318 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47319
47320 * benchtests/cos-inputs: New inputs.
47321 * benchtests/sin-inputs: Likewise.
47322
47323 * benchtests/atan-inputs: New inputs. Fix name of multiple
47324 precision fallback inputs.
47325
47326 * benchtests/atanh-inputs: New inputs.
47327 * benchtests/tanh-inputs: Likewise.
47328
47329 * benchtests/acosh-inputs: New inputs.
47330 * benchtests/asinh-inputs: Likewise.
47331
47332 * benchtests/cosh-inputs: New inputs.
47333 * benchtests/sinh-inputs: Likewise.
47334
47335 * benchtests/acos-inputs: Add more inputs.
47336 * benchtests/asin-inputs: Likewise.
47337
47338 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
47339
47340 [BZ #16375]
47341 * manual/arith.texi: Fix spelling.
47342 * manual/charset.texi: Likewise.
47343 * manual/errno.texi: Likewise.
47344 * manual/filesys.texi: Likewise.
47345 * manual/lang.texi: Likewise.
47346 * manual/llio.texi: Likewise.
47347 * manual/locale.texi: Likewise.
47348 * manual/message.texi: Likewise.
47349 * manual/resource.texi: Likewise.
47350 * manual/search.texi: Likewise.
47351 * manual/setjmp.texi: Likewise.
47352 * manual/stdio.texi: Likewise.
47353 * manual/string.texi: Likewise.
47354 * manual/sysinfo.texi: Likewise.
47355 * manual/time.texi: Likewise.
47356
47357 2013-12-27 Carlos O'Donell <carlos@redhat.com>
47358
47359 * po/sl.po: New file.
47360
47361 2013-12-27 Mike Frysinger <vapier@gentoo.org>
47362
47363 * .gitignore: Add core/.gdbinit/.gdb_history.
47364
47365 2013-12-27 Allan McRae <allan@archlinux.org>
47366
47367 [BZ #16369]
47368 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47369 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47370
47371 2013-12-24 Brooks Moses <bmoses@google.com>
47372
47373 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47374 all compilers that claim C++98 compliance, not just GCC.
47375 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47376 Likewise.
47377
47378 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47379
47380 * NEWS: Restore accidentally deleted bug-fix entries.
47381
47382 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47383 Ondřej Bílka <neleai@seznam.cz>
47384
47385 [BZ #15073]
47386 * malloc/malloc.c (_int_free): Perform sanity check only if we
47387 have_lock.
47388
47389 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
47390
47391 [BZ #12986]
47392 * manual/stdio.texi (String Input Conversions): Clarify that character
47393 classes are not supported.
47394
47395 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47396
47397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47398
47399 2013-12-22 Joseph Myers <joseph@codesourcery.com>
47400
47401 [BZ #16337]
47402 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47403 Calculate results for small negative arguments directly rather
47404 than using reflection formula with special underflow handling.
47405
47406 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47407 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47408 sysdeps/unix/bsd/bsd4.4/syscalls.list.
47409 (fchflags): Likewise.
47410 (revoke): Likewise.
47411 (setlogin): Likewise.
47412 (sigaltstack): Likewise.
47413 (wait4): Likewise.
47414 (sigblock): Remove.
47415 (sigsetmask): Likewise.
47416 (wait3): Likewise.
47417 (waitpid): Likewise.
47418 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47419 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47420 file.
47421 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47422 * sysdeps/unix/bsd/Makefile: ... here.
47423 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47424 * sysdeps/unix/bsd/Versions: ... here.
47425 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47426 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47427 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47428 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47429 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47430 * sysdeps/unix/bsd/sigblock.c: ... here.
47431 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47432 * sysdeps/unix/bsd/sigsetmask.c: ... here.
47433 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47434 * sysdeps/unix/bsd/sigvec.c: ... here.
47435 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47436 * sysdeps/unix/bsd/tcdrain.c: ... here.
47437 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47438 * sysdeps/unix/bsd/tcgetattr.c: ... here.
47439 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47440 * sysdeps/unix/bsd/tcsetattr.c: ... here.
47441 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
47442 * sysdeps/unix/bsd/wait.c: ... here.
47443 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
47444 * sysdeps/unix/bsd/wait3.c: ... here.
47445 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
47446 * sysdeps/unix/bsd/waitpid.c: ... here.
47447
47448 2013-12-21 Joseph Myers <joseph@codesourcery.com>
47449
47450 [BZ #16356]
47451 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
47452 round-to-nearest for [!USE_AS_EXPM1L].
47453 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
47454 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
47455 more tests of exp and exp10. Expect some exp10 tests to miss
47456 exceptions or fail in directed rounding modes.
47457 * math/auto-libm-test-out: Regenerated.
47458 * math/libm-test.inc (exp10_tonearest_test_data): New array.
47459 (exp10_test_tonearest): New function.
47460 (exp10_towardzero_test_data): New array.
47461 (exp10_test_towardzero): New function.
47462 (exp10_downward_test_data): New array.
47463 (exp10_test_downward): New function.
47464 (exp10_upward_test_data): New array.
47465 (exp10_test_upward): New function.
47466 (main): Call the new functions.
47467 * sysdeps/i386/fpu/libm-test-ulps: Update.
47468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47469
47470 2013-12-20 Joseph Myers <joseph@codesourcery.com>
47471
47472 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
47473 asinh, atan, atan2, atanh, cbrt, cos and cosh.
47474 * math/auto-libm-test-out: Regenerated.
47475 * math/libm-test.inc (acosh_test_data): Add more tests.
47476 (atanh_test_data): Likewise.
47477 (ceil_test_data): Likewise.
47478 (copysign_test_data): Likewise.
47479 * sysdeps/i386/fpu/libm-test-ulps: Update.
47480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47481
47482 * timezone/checktab.awk: Update from tzcode 2013i.
47483 * timezone/private.h: Likewise.
47484 * timezone/scheck.c: Likewise.
47485 * timezone/tzfile.h: Likewise.
47486 * timezone/tzselect.ksh: Likewise.
47487 * timezone/zdump.c: Likewise.
47488 * timezone/zic.c: Likewise.
47489
47490 * math/auto-libm-test-in: Add tests of cpow.
47491 * math/auto-libm-test-out: Regenerated.
47492 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
47493 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47494 mpc_cc_c.
47495 (func_calc_desc): Add mpc_cc_c union field.
47496 (test_functions): Add cpow.
47497 (special_fill_2pi): New function.
47498 (special_real_inputs): Add 2pi.
47499 (calc_generic_results): Handle mpc_cc_c.
47500 * sysdeps/i386/fpu/libm-test-ulps: Update.
47501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47502
47503 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
47504 csqrt, ctan and ctanh.
47505 * math/auto-libm-test-out: Regenerated.
47506 * math/libm-test.inc (TEST_COND_x86_64): New macro.
47507 (TEST_COND_x86): Likewise.
47508 (ccos_test_data): Use AUTO_TESTS_c_c.
47509 (ccosh_test_data): Likewise.
47510 (cexp_test_data): Likewise.
47511 (clog_test_data): Likewise.
47512 (csqrt_test_data): Likewise.
47513 (ctan_test_data): Likewise.
47514 (ctan_tonearest_test_data): Likewise.
47515 (ctan_towardzero_test_data): Likewise.
47516 (ctan_downward_test_data): Likewise.
47517 (ctan_upward_test_data): Likewise.
47518 (ctanh_test_data): Likewise.
47519 (ctanh_tonearest_test_data): Likewise.
47520 (ctanh_towardzero_test_data): Likewise.
47521 (ctanh_downward_test_data): Likewise.
47522 (ctanh_upward_test_data): Likewise.
47523 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47524 mpc_c_c.
47525 (func_calc_desc): Add mpc_c_c union field.
47526 (FUNC_mpc_c_c): New macro.
47527 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
47528 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
47529 ctanh.
47530 (special_fill_min_subnorm_p120): New function.
47531 (special_real_inputs): Add min_subnorm_p120.
47532 (calc_generic_results): Handle mpc_c_c.
47533 * sysdeps/i386/fpu/libm-test-ulps: Update.
47534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47535
47536 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
47537
47538 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
47539 (do_sin_slow): New functions.
47540 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
47541 (cslow2, csloww1, csloww2): Use the new functions.
47542
47543 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
47544 Use M to change sign of result instead of X. Assume X is
47545 positive.
47546 (csloww1): Likewise.
47547 (__sin): Adjust.
47548 (__cos): Adjust.
47549
47550 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
47551 arguments A and DA.
47552 (__sin): Adjust.
47553 (__cos): Likewise.
47554
47555 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
47556 (__cos): Likewise.
47557 (sloww1): Don't adjust sign of DX.
47558 (csloww1): Likewise.
47559 (sloww2): Use X directly and don't adjust sign of DX.
47560 (csloww2): Likewise.
47561
47562 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47563
47564 * math/auto-libm-test-in: Add tests of cabs and carg.
47565 * math/auto-libm-test-out: Regenerated.
47566 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
47567 (carg_test_data): Likewise.
47568 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47569 mpc_c_f.
47570 (func_calc_desc): Add mpc_c_f union field.
47571 (test_functions): Add cabs and carg.
47572 (calc_generic_results): Handle mpc_c_f.
47573
47574 * sysdeps/powerpc/powerpc32/libgcc-compat.S
47575 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
47576 as a macro and a compat symbol.
47577 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
47578 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
47579 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
47580 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
47581 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
47582 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
47583 not use .hidden.
47584 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
47585 Likewise.
47586 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
47587 Likewise.
47588 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
47589 Likewise.
47590 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
47591 Likewise.
47592 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
47593 Likewise.
47594 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
47595 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
47596 from GLIBC_2.3.2.
47597
47598 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47599
47600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47601
47602 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47603
47604 * manual/texinfo.tex: Update to version 2013-11-26.10 with
47605 trailing whitespace removed.
47606 * scripts/config.guess: Update to version 2013-11-29.
47607 * scripts/config.sub: Update to version 2013-10-01.
47608
47609 * math/auto-libm-test-in: Add tests of sincos.
47610 * math/auto-libm-test-out: Regenerated.
47611 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
47612 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47613 mpfr_f_11.
47614 (func_calc_desc): Add mpfr_f_11 union field.
47615 (test_functions): Add sincos.
47616 (calc_generic_results): Handle mpfr_f_11.
47617 * sysdeps/i386/fpu/libm-test-ulps: Update.
47618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47619
47620 2013-12-19 Andreas Schwab <schwab@suse.de>
47621
47622 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
47623 CALL_MCOUNT.
47624 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47625 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
47626 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
47627
47628 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47629
47630 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
47631 * sysdeps/i386/fpu/libm-test-ulps: Update.
47632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47633
47634 [BZ #16293]
47635 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
47636 round-to-nearest mode when using frndint.
47637 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
47638 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47639 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47640 Likewise.
47641 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
47642 sinh test to fail.
47643 * math/auto-libm-test-out: Regenerated.
47644 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
47645 (TEST_COND_x86): Likewise.
47646 (expm1_tonearest_test_data): New array.
47647 (expm1_test_tonearest): New function.
47648 (expm1_towardzero_test_data): New array.
47649 (expm1_test_towardzero): New function.
47650 (expm1_downward_test_data): New array.
47651 (expm1_test_downward): New function.
47652 (expm1_upward_test_data): New array.
47653 (expm1_test_upward): New function.
47654 (main): Run the new test functions.
47655 * sysdeps/i386/fpu/libm-test-ulps: Update.
47656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47657
47658 * include/features.h: Update comment documenting feature test
47659 macros. Mention _DEFAULT_SOURCE in comment.
47660 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
47661 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
47662 _BSD_SOURCE and _SVID_SOURCE.
47663 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
47664 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
47665 !_SVID_SOURCE]: Likewise.
47666 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47667 (__USE_POSIX_IMPLICITLY): Define.
47668 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47669 (_POSIX_SOURCE): Undefine and redefine.
47670 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47671 (_POSIX_C_SOURCE): Likewise.
47672 * manual/creature.texi (_DEFAULT_SOURCE): Document.
47673 (Feature Test Macros): Update documentation of default features.
47674
47675 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47676
47677 * benchtests/Makefile: Add bench-strtok.
47678 * benchtests/bench-strtok.c: New file: strtok benchtest.
47679
47680 2013-12-19 Allan McRae <allan@archlinux.org>
47681
47682 * manual/install.texi: Suppress menu for plain text output.
47683 * INSTALL: Regenerated.
47684
47685 2013-12-18 Brooks Moses <bmoses@google.com>
47686
47687 [BZ #15846]
47688 * misc/getauxval.c: Include errno.h.
47689 (__getauxval): Set errno to ENOENT if the requested type is not
47690 found.
47691 * misc/sys/auxv.h (getauxval): Document that it may set errno;
47692 don't declare with __attribute_const__.
47693 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
47694 * manual/startup.texi: Document that getauxval sets errno.
47695
47696 2013-12-18 Joseph Myers <joseph@codesourcery.com>
47697
47698 * math/auto-libm-test-in: Add tests of jn and yn.
47699 * math/auto-libm-test-out: Regenerated.
47700 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
47701 (yn_test_data): Likewise.
47702 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47703 mpfr_if_f.
47704 (func_calc_desc): Add mpfr_if_f union field.
47705 (FUNC_mpfr_if_f): New macro.
47706 (test_functions): Add jn and yn.
47707 (calc_generic_results): Assert type of second input for
47708 mpfr_ff_f. Handle mpfr_if_f.
47709 (output_for_one_input_case): Disable all checking for arguments
47710 fitting floating-point types in case of an integer argument.
47711 * sysdeps/i386/fpu/libm-test-ulps: Update.
47712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47713
47714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47715 Don't expect fegetround reference in libm.so.
47716
47717 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
47718
47719 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
47720 $(config-cflags-nofma).
47721
47722 2013-12-18 Joseph Myers <joseph@codesourcery.com>
47723
47724 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
47725 * math/auto-libm-test-out: Regenerated.
47726
47727 [BZ #16338]
47728 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
47729 to determine exponent and adjust argument to have exponent of -1.
47730 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
47731 log2.
47732 * math/auto-libm-test-out: Regenerated.
47733 * sysdeps/i386/fpu/libm-test-ulps: Update.
47734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47735
47736 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
47737
47738 * manual/probes.texi: Remove cases when per-thread arenas are
47739 disabled.
47740
47741 2013-12-18 Andreas Schwab <schwab@suse.de>
47742
47743 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
47744 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
47745 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
47746 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
47747 * sysdeps/i386/i686/multiarch/Makefile: Update.
47748 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
47749
47750 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47751
47752 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
47753 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
47754
47755 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
47756
47757 [BZ #15968]
47758 Support TZ transition times < 00:00:00.
47759 This is needed for version-3 tz-format files; it supports time
47760 stamps past 2037 for America/Godthab (the only entry in the tz
47761 database for which this change is relevant).
47762 * manual/time.texi (TZ Variable): Document transition times
47763 from -167:59:59 through -00:00:01.
47764 * time/tzset.c (tz_rule): Time of day is now signed.
47765 (__tzset_parse_tz): Parse negative time of day.
47766
47767 Document TZ transition times >= 25:00:00.
47768 * manual/time.texi (TZ Variable): Document transition times from
47769 25:00:00 through 167:59:59. These are already supported, and this
47770 support will help with version-3 tz-format files.
47771
47772 * manual/time.texi (TZ Variable): Modernize North America example
47773 to reflect current (i.e., 2007-and-later) daylight saving rules.
47774
47775 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
47776
47777 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47778
47779 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
47780 * sysdeps/unix/bsd/bits/stat.h: Likewise.
47781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
47782 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47783 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
47784 * sysdeps/unix/bsd/bsdstat.h: Likewise.
47785 * sysdeps/unix/bsd/clock.c: Likewise.
47786 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
47787 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
47788 * sysdeps/unix/bsd/init-posix.c: Likewise.
47789 * sysdeps/unix/bsd/poll.c: Likewise.
47790 * sysdeps/unix/bsd/ptsname.c: Likewise.
47791 * sysdeps/unix/bsd/seekdir.c: Likewise.
47792 * sysdeps/unix/bsd/setegid.c: Likewise.
47793 * sysdeps/unix/bsd/seteuid.c: Likewise.
47794 * sysdeps/unix/bsd/setgid.c: Likewise.
47795 * sysdeps/unix/bsd/setrgid.c: Likewise.
47796 * sysdeps/unix/bsd/setruid.c: Likewise.
47797 * sysdeps/unix/bsd/setsid.c: Likewise.
47798 * sysdeps/unix/bsd/setuid.c: Likewise.
47799 * sysdeps/unix/bsd/sigaction.c: Likewise.
47800 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
47801 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
47802 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
47803 * sysdeps/unix/bsd/telldir.c: Likewise.
47804 * sysdeps/unix/bsd/times.c: Likewise.
47805 * sysdeps/unix/bsd/usleep.c: Likewise.
47806
47807 * misc/Makefile (install-lib): Remove libbsd-compat.a.
47808 ($(objpfx)libbsd-compat.a): Remove rule.
47809
47810 * include/features.h (__FAVOR_BSD): Do not define.
47811 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
47812 features conflicting with POSIX.
47813 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
47814 (_BSD_SOURCE): Remove description of not being a subset of other
47815 feature test macros.
47816 * manual/job.texi (getpgrp): Do not document BSD version.
47817 (getpgid): Do not document by reference to BSD getpgrp.
47818 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
47819 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
47820 * signal/signal.h [__FAVOR_BSD]: Likewise.
47821 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
47822 instead of making contents conditional on [__FAVOR_BSD].
47823 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
47824
47825 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47826
47827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47828
47829 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47830
47831 [BZ #16314]
47832 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
47833 values below 2**-450, not 2**-500.
47834 * math/auto-libm-test-in: Don't allow spurious underflow from
47835 hypot.
47836 * math/auto-libm-test-out: Regenerated.
47837
47838 [BZ #16316]
47839 [BZ #16330]
47840 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
47841 values of ha and hb and sort them after adjusting subnormal
47842 arguments.
47843 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
47844 Likewise.
47845 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
47846 values of ea and eb and sort them after adjusting subnormal
47847 arguments.
47848 * math/auto-libm-test-in: Do not expect some hypot tests of
47849 subnormals to fail. Add more hypot tests.
47850 * math/auto-libm-test-out: Regenerated.
47851
47852 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47853
47854 [BZ #13304]
47855 * sysdeps/sh/s_fma.c: New file.
47856 * sysdeps/sh/s_fmaf.c: New file.
47857 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
47858 version.
47859 * sysdeps/sh/Implies: Add sh/soft-fp.
47860
47861 2013-12-16 Roland McGrath <roland@hack.frob.com>
47862
47863 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
47864 level of indirection to members `objname', `errstring', `malloced'.
47865 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
47866 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
47867 it as the __longjmp argument (just pass 1 instead).
47868 (_dl_catch_error): Initialize C with argument pointers and address of
47869 volatile local ERRCODE rather than copying values out of C at return.
47870
47871 2013-12-16 Joseph Myers <joseph@codesourcery.com>
47872
47873 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
47874 * math/auto-libm-test-out: Regenerated.
47875 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
47876 (hypot_test_data): Likewise.
47877 (pow_test_data): Likewise.
47878 (pow_tonearest_test_data): Likewise.
47879 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47880 mpfr_ff_f.
47881 (func_calc_desc): Add mpfr_ff_f union field.
47882 (FUNC_mpfr_ff_f): New macro.
47883 (test_functions): Add atan2, hypot and pow.
47884 (special_fill_min): New function.
47885 (special_fill_minus_min): Likewise.
47886 (special_fill_min_subnorm): Likewise.
47887 (special_fill_minus_min_subnorm): Likewise.
47888 (special_real_inputs): Add min, -min, min_subnorm and
47889 -min_subnorm.
47890 (calc_generic_results): Handle mpfr_ff_f.
47891 * sysdeps/i386/fpu/libm-test-ulps: Update.
47892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47893
47894 2013-12-16 Will Newton <will.newton@linaro.org>
47895
47896 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
47897 (Aligned Memory Blocks): Add documentation for aligned_alloc
47898 and suggest it as an alternative to posix_memalign.
47899 (Hooks for Malloc): Document __memalign_hook is also called
47900 for aligned_alloc. (Summary of Malloc): Add summary for
47901 aligned alloc. Document __memalign_hook is also called
47902 for aligned_alloc.
47903
47904 2013-12-16 Will Newton <will.newton@linaro.org>
47905
47906 * manual/memory.texi (Malloc Examples): Clarify default
47907 alignment documentation. Suggest posix_memalign rather
47908 than memalign or valloc.
47909 (Aligned Memory Blocks): Remove suggestion to use memalign
47910 or valloc. Remove obsolete comment about BSD.
47911 Document memalign errno values and mark the function obsolete.
47912 Document posix_memalign returned error codes. Mark valloc
47913 as obsolete. (Hooks for Malloc): __memalign_hook is also
47914 called for posix_memalign and valloc.
47915 (Summary of Malloc): Add posix_memalign to function summary.
47916 __memalign_hook is also called for posix_memalign and valloc.
47917
47918 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47919
47920 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
47921 TAYLOR_SIN.
47922 (__sin): Adjust.
47923 (__cos): Likewise.
47924 (sloww): Use mynumber union. Expand ternary operator into
47925 if-else statements.
47926 (cslow): use mynumber union.
47927
47928 2013-12-16 Allan McRae <allan@archlinux.org>
47929
47930 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
47931 * configure: Regenerated.
47932
47933 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
47934
47935 [BZ #14120]
47936 * configure.ac: Added --enable-maintainer-mode. Check for
47937 autoconf when enabled.
47938 * configure: Regenerated.
47939
47940 * nscd/nscd.service: New file.
47941 * nscd/nscd.tmpfiles: New file.
47942
47943 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
47944
47945 [BZ #12100]
47946 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
47947 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
47948 * sysdeps/x86_64/multiarch/strstr.c: ... here.
47949 (strstr): Add __strstr_sse2_unaligned ifunc.
47950 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
47951 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
47952 (strcasestr): Remove __strcasestr_sse42 ifunc.
47953 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
47954 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47956
47957 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47958
47959 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
47960 * sysdeps/sh/bits/fenv.h: ... here.
47961 * sysdeps/sh/sh4/fpu/bits: Remove directory.
47962
47963 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47964
47965 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
47966
47967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
47968 hypotf multiarch implementations.
47969 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
47970 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
47971 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47972 multiarch hypot for PPC64.
47973 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
47974 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
47975 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
47976 multiarch hypotf for PPC64.
47977
47978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
47979 modff multiarch implementations.
47980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
47981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
47982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
47983 multiarch modf for PPC64.
47984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
47985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
47986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
47987 multiarch modff for PPC64.
47988
47989 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
47990 and logl multiarch implementations.
47991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
47992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
47993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
47994 multiarch logb for PPC64.
47995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
47996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
47997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
47998 multiarch logb for PPC64.
47999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48002 multiarch logb for PPC64.
48003
48004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48005 isinff multiarch implementation.
48006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48007 file.
48008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48010 multiarch isinf for PPC64.
48011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48012 file.
48013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48014 multiarch isinff for PPC64.
48015
48016 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48017 finitef multiarch implementation.
48018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48019 file.
48020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48022 multiarch finite for PPC64.
48023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48024 file.
48025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48026 multiarch finitef for PPC64.
48027
48028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48029 lrint multiarch implementation.
48030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48031 file.
48032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48034 multiarch llrint for PPC64.
48035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48036 multiarch lrint for PPC64.
48037
48038 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48039 copysignf multiarch implementation.
48040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48041 file.
48042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48043 file.
48044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48045 multiarch copysign for PPC64.
48046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48047 multiarch copysignf for PPC64.
48048
48049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48050 multiarch implementation.
48051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48052 file.
48053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48054 file.
48055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48056 file.
48057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48058 file.
48059 multiarch llround for PPC64.
48060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48061 multiarch trunc for PPC64.
48062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48063 multiarch truncf for PPC64.
48064
48065 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48066 multiarch implementation.
48067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48068 file.
48069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48070 file.
48071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48072 file.
48073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48074 file.
48075 multiarch llround for PPC64.
48076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48077 multiarch round for PPC64.
48078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48079 multiarch roundf for PPC64.
48080
48081 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48082 multiarch implementation.
48083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48084 file.
48085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48086 file.
48087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48088 file.
48089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48090 file.
48091 multiarch llround for PPC64.
48092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48093 multiarch floor for PPC64.
48094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48095 multiarch floorf for PPC64.
48096
48097 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48098 multiarch implementation.
48099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48100 file.
48101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48102 file.
48103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48104 file.
48105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48106 file.
48107 multiarch llround for PPC64.
48108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48109 multiarch ceil for PPC64.
48110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48111 multiarch ceilf for PPC64.
48112
48113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48114 multiarch implementation.
48115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48116 file.
48117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48118 file.
48119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48120 file.
48121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48122 multiarch llround for PPC64.
48123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48124 multiarch lround for PPC64.
48125
48126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48127 multiarch implementation.
48128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48131 file.
48132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48135 multiarch isnan for PPC64.
48136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48137 multiarch isnanf for PPC64.
48138
48139 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48140 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48141 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48142 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48143 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48145
48146 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48147 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48148 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48149 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48150
48151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48152 multiarch implementations.
48153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48154 (__libc_ifunc_impl_list): Likewise.
48155 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48156 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48157 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48158 multiarch stpcpy for PPC64.
48159
48160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48161 multiarch implementations.
48162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48163 (__libc_ifunc_impl_list): Likewise.
48164 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48165 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48166 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48167 multiarch strcpy for PPC64.
48168
48169 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48170 redefine function name.
48171 (_wordcopy_fwd_dest_aligned): Likewise.
48172 (_wordcopy_bwd_aligned): Likewise.
48173 (_wordcopy_bwd_dest_aligned): Likewise.
48174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48175 multiarch implementations.
48176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48177 (__libc_ifunc_impl_list): Likewise.
48178 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48179 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48180 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48181 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48182 multiarch wcscpy for PPC64.
48183
48184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48185 multiarch implementations.
48186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48187 (__libc_ifunc_impl_list): Likewise.
48188 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48189 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48190 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48191 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48192 multiarch wcscpy for PPC64.
48193
48194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48195 multiarch implementations.
48196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48197 (__libc_ifunc_impl_list): Likewise.
48198 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48199 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48200 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48201 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48202 multiarch wcsrchr for PPC64.
48203
48204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48205 multiarch implementations.
48206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48207 (__libc_ifunc_impl_list): Likewise.
48208 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48209 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48210 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48211 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48212 multiarch wcschr for PPC64.
48213
48214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48215 multiarch implementations.
48216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48217 (__libc_ifunc_impl_list): Likewise.
48218 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48219 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48220 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48221 multiarch strchrnul for PPC64.
48222
48223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48224 implementations.
48225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48226 (__libc_ifunc_impl_list): Likewise.
48227 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48228 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48229 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48230 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48231 strchr for PPC64.
48232
48233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48234 implementations.
48235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48236 (__libc_ifunc_impl_list): Likewise.
48237 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48238 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48239 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48240 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48241 strncmp for PPC64.
48242
48243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48244 multiarch implementations.
48245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48246 (__libc_ifunc_impl_list): Likewise.
48247 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48248 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48249 strncasecmp for PPC64.
48250 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48251 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48252 multiarch strncasecmp_l for PPC64.
48253
48254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48255 multiarch implementations.
48256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48257 (__libc_ifunc_impl_list): Likewise.
48258 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48259 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48260 multiarch strcasecmp for PPC64.
48261 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48262 file.
48263 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48264 multiarch strcasecmp_l for PPC64.
48265
48266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48267 implementations.
48268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48269 (__libc_ifunc_impl_list): Likewise.
48270 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48271 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48272 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48273 strnlen for PPC64.
48274
48275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48276 implementations.
48277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48278 (__libc_ifunc_impl_list): Likewise.
48279 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48280 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48281 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48282 strlen for PPC64.
48283
48284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48285 implementations.
48286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48287 (__libc_ifunc_impl_list): Likewise.
48288 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48289 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48290 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48291 rawmemrchr for PPC64.
48292
48293 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48294 implementation.
48295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48296 (__libc_ifunc_impl_list): Likewise.
48297 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48298 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48299 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48300 memrchr for PPC64.
48301
48302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48303 implementation.
48304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48305 (__libc_ifunc_impl_list): Likewise.
48306 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48307 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48308 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48309 memchr for PPC64.
48310
48311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48312 implementation.
48313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48314 (__libc_ifunc_impl_list): Likewise.
48315 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48316 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48317 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48318 mempcpy for PPC64.
48319
48320 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48321 avoid cretion of __bzero symbol.
48322 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48323 Likewise.
48324 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48325 Likewise.
48326 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48327 Likewise.
48328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48329 multiarch implementations.
48330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48331 (__libc_ifunc_impl_list): Likewise.
48332 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48333 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48334 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48335 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48336 bzero for PPC32.
48337 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48338 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48339 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48340 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48341 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48342 memset for PPC64.
48343 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48344
48345 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48347 implementations.
48348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48349 (__libc_ifunc_impl_list): Likewise.
48350 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48351 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48352 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48353 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48354 memcmp for PPC64.
48355
48356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48357 multiarch for POWER/PPC64.
48358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48359 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48360 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48361 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48362 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48363 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48364 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48365 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48366 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48367 memcpy for PPC64.
48368
48369 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48370 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48371 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48372 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48373 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48374 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48375 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48376 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48377 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48378 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48379 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48380 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48381 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48382 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48383 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48391
48392 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48393
48394 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48395
48396 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
48397
48398 * benchtests/Makefile (bench): Add exp2 and log2.
48399 (LDLIBS-bench-exp2): Add -lm.
48400 (LDLIBS-bench-log2): Likewise.
48401 * benchtests/exp2-inputs: New inputs file.
48402 * benchtests/log2-inputs: New inputs file.
48403 * benchtests/log-inputs: Add new inputs.
48404 * benchtests/tan-inputs: Likewise.
48405
48406 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48407
48408 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48409 definition...
48410 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48411 (csloww2): ... from here.
48412
48413 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48414 instead of structures.
48415 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48416 (POLYNOMIAL): Likewise.
48417 (TAYLOR_SLOW): Likewise.
48418 (__sin): Likewise.
48419 (__cos): Likewise.
48420 (slow1): Likewise.
48421 (slow2): Likewise.
48422 (sloww): Likewise.
48423 (sloww1); Likewise.
48424 (sloww2): Likewise.
48425 (bsloww1): Likewise.
48426 (bsloww2): Likewise.
48427 (cslow2): Likewise.
48428 (csloww): Likewise.
48429 (csloww1): Likewise.
48430 (csloww2): Likewise.
48431
48432 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
48433
48434 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48435 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48436 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48437 * malloc/hooks.c (realloc_check): Likewise.
48438
48439 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48440 * malloc/arena.c: Remove PER_THREAD conditional.
48441 [!PER_THREAD]: Remove code.
48442 (ptmalloc_unlock_all2): Likewise.
48443 (ptmalloc_init): Likewise.
48444 (_int_new_arena): Likewise.
48445 (arena_get2): Likewise.
48446 * malloc/hooks.c (__malloc_get_state): Likewise.
48447 (__malloc_set_state): Likewise.
48448 * malloc/malloc.c: Likewise.
48449 (struct malloc_state): Likewise.
48450 (struct malloc_par): Likewise.
48451 (__libc_realloc): Likewise.
48452 (__libc_mallopt): Likewise.
48453
48454 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48455
48456 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
48457
48458 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
48459
48460 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
48461 macro to a function. Check for zero perturb_byte.
48462 (_int_malloc, _int_free): Remove zero perturb_byte checks.
48463
48464 * malloc/malloc.c: (force_reg): Remove.
48465 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
48466 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
48467 force_reg by atomic_forced_read.
48468 * malloc/arena.c (ptmalloc_init): Likewise.
48469 * malloc/hooks.c (top_check): Likewise.
48470
48471 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48472
48473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48474
48475 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
48476
48477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48478
48479 2013-12-08 Joseph Myers <joseph@codesourcery.com>
48480
48481 * math/auto-libm-test-in: Add tests of lgamma.
48482 * math/auto-libm-test-out: Regenerated.
48483 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
48484 (M_LOG_2_SQRT_PIl): Likewise.
48485 (lgamma_test_data): Use AUTO_TESTS_f_f1.
48486 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48487 mpfr_f_f1.
48488 (func_calc_desc): Add mpfr_f_f1 union field.
48489 (ARGS1): New macro.
48490 (ARGS2): Likewise.
48491 (ARGS3): Likewise.
48492 (ARGS4): Likewise.
48493 (RET1): Likewise.
48494 (RET2): Likewise.
48495 (CALC): Likewise.
48496 (FUNC): Likewise.
48497 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
48498 (test_functions): Add lgamma.
48499 (calc_generic_results): Handle mpfr_f_f1.
48500 * sysdeps/i386/fpu/libm-test-ulps: Update.
48501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48502
48503 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48504
48505 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
48506 __mpn_add_n for PowerPC64/POWER7.
48507 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
48508 __mpn_sub_n for PowerPC64/POWER7.
48509
48510 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
48511 __mpn_addmul_1 for PowerPC64.
48512 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
48513 __mpn_submul_1 for PowerPC64.
48514 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
48515 for PowerPC64.
48516 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
48517 for PowerPC64.
48518
48519 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
48520
48521 [BZ #15089]
48522 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
48523
48524 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48525
48526 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
48527
48528 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
48529 add multiarch folders.
48530 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
48531 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
48532 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
48533 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
48534 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
48535 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
48536 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
48537 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
48538 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
48539 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
48540 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
48541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
48542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
48543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
48544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
48545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
48546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
48547
48548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48549 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
48550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
48551 New file.
48552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
48553 New file.
48554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
48555 multiarch __ieee754_hypot for PowerPC32.
48556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
48557 New file.
48558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
48559 New file.
48560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
48561 multiarch __ieee754_hypotf for PowerPC32.
48562
48563 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
48564 long_double_symbol only if __logbl is defined.
48565 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
48566 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
48567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
48568 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
48569 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
48570 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
48571 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
48572 path for implementation.
48573 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
48574 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
48575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
48576 logb, and logbl multiarch implementations for PowerPC32.
48577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
48578 file.
48579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
48580 file.
48581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
48582 multiarch logb for PowerPC32.
48583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
48584 file.
48585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
48586 file.
48587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
48588 multiarch logbf for PowerPC32.
48589 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
48590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
48591 file.
48592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
48593 multiarch logbl implementation for PowerPC32.
48594
48595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
48596 and modff multiarch implementations.
48597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
48598 New file.
48599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
48600 New file.
48601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
48602 multiarch modf for PowerPC32.
48603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
48604 New file.
48605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
48606 New file.
48607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
48608 multiarch modff for PowerPC32.
48609
48610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
48611 and lrintf multiarch implementations.
48612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
48613 New file.
48614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
48615 New file.
48616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
48617 multiarch lrint for PowerPC32.
48618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
48619 file: multiarch lrintf for PowerPC32.
48620
48621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
48622 and lroundf multiarch implementations.
48623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
48624 New file.
48625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
48626 New file.
48627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
48628 New file.
48629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
48630 multiarch lround for PowerPC32.
48631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
48632 file: multiarch lroundf for PowerPC32.
48633
48634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48635 copysign and copysignf multiarch implementations.
48636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
48637 New file.
48638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
48639 New file.
48640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
48641 file: multiarch copysign for PowerPC32.
48642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
48643 file: multiarch copysignf for PowerPC32.
48644
48645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
48646 and truncf multiarch implementations.
48647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
48648 New file.
48649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
48650 file.
48651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
48652 multiarch trunc for PowerPC32.
48653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
48654 New file.
48655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
48656 New file.
48657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
48658 multiarch truncf for PowerPC32.
48659
48660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
48661 and roundf multiarch implementations.
48662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
48663 New file.
48664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
48665 file.
48666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
48667 multiarch round for PowerPC32.
48668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
48669 New file.
48670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
48671 New file.
48672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
48673 multiarch roundf for PowerPC32.
48674
48675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
48676 and floorf multiarch implementations.
48677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
48678 New file.
48679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
48680 file.
48681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
48682 multiarch floor for PowerPC32.
48683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
48684 New file.
48685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
48686 New file.
48687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
48688 multiarch floorf for PowerPC32.
48689
48690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
48691 and ceilf multiarch implementations.
48692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
48693 New file.
48694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
48695 file.
48696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
48697 multiarch ceil for PowerPC32.
48698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
48699 New file.
48700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
48701 file.
48702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
48703 multiarch ceilf for PowerPC32.
48704
48705 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
48706 is defined.
48707 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
48708 FINITEF is defined.
48709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
48710 and finitef multiarch implementations.
48711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
48712 New file.
48713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
48714 file.
48715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
48716 multiarch finite for PowerPC32.
48717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
48718 New file.
48719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
48720 file: multiarch finitef for PowerPC32.
48721
48722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
48723 and isinff multiarch implementations.
48724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
48725 file.
48726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
48727 file.
48728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
48729 multiarch isinf for PowerPC32.
48730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
48731 New file.
48732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
48733 multiarch isinff for PowerPC32.
48734
48735 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
48736 alias when __isnan is defined.
48737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
48738 and isnanf multiarch implementations.
48739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
48740 file.
48741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
48742 file.
48743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
48744 file.
48745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
48746 file.
48747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
48748 multiarch isnan for PowerPC32.
48749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
48750 New file.
48751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
48752 New file.
48753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
48754 multiarch isnanf for PowerPC32.
48755
48756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
48757 and sqrtf multiarch implementations.
48758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
48759 file.
48760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
48761 file.
48762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
48763 multiarch sqrt for PowerPC32.
48764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
48765 file.
48766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
48767 file.
48768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
48769 multiarch sqrtf for PowerPC32.
48770
48771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
48772 and llroundf multiarch implementations.
48773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
48774 New file.
48775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
48776 New file.
48777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
48778 New file.
48779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
48780 file: multiarch llround for PowerPC32.
48781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
48782 file: multiarch llroundf for PowerPC32.
48783
48784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
48785 multiarch PowerPC32 fpu implementations.
48786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
48787 New file.
48788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
48789 New file.
48790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
48791 multiarch llrint for PowerPC32.
48792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
48793 New file.
48794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
48795 New file.
48796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
48797 file.
48798
48799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
48800
48801 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
48802 file.
48803 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
48804 file.
48805 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
48806 file.
48807 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
48808 multiarch wordcopy for PPC32.
48809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48810 wordcopy objects.
48811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48812 (__libc_ifunc_impl_list): Likewise.
48813 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
48814 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
48815 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
48816 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
48817 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
48818 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
48819
48820 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
48821 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
48822 file.
48823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
48824 file.
48825 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
48826 file.
48827 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
48828 multiarch wcscpy for PPC32.
48829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48830 multiarch objects.
48831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48832 (__libc_ifunc_impl_list): Likewise.
48833 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48834 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48835 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
48836 sysdeps/powerpc/power6/wcscpy.c.
48837
48838 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
48839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
48840 file.
48841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
48842 file.
48843 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
48844 file.
48845 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
48846 multiarch wcsrchr for PPC32.
48847 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48848 multiarch objects.
48849 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48850 (__libc_ifunc_impl_list): Likewise.
48851 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48852 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48853 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
48854 sysdeps/powerpc/power6/wcsrchr.c.
48855
48856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
48857 file.
48858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
48859 file.
48860 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
48861 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
48862 multiarch wcschr for PPc32.
48863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48864 multiarch objects.
48865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48866 (__libc_ifunc_impl_list): Likewise.
48867 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
48868 * sysdeps/powerpc/power6/wcschr.c: ... to here.
48869 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
48870 sysdeps/powerpc/power6/wcschr.c.
48871
48872 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
48873 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
48874 file.
48875 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
48876 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
48877 file: multiarch strchr for PPC32.
48878 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48879 multiarch objects.
48880 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48881 (__libc_ifunc_impl_list): Likewise.
48882
48883 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
48884 name.
48885 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
48886 file.
48887 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
48888 file.
48889 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
48890 multiarch strchrnul for PPC32.
48891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
48892 multiarch objects.
48893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48894 (__libc_ifunc_impl_list): Likewise.
48895
48896 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
48897 file.
48898 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
48899 multiarch strncasecmp for PPC32.
48900 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
48901 file.
48902 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
48903 multiarch strncasecmp_l for PPC32.
48904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
48905 strncasecmp multiarch objects.
48906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48907 (__libc_ifunc_impl_list): Likewise.
48908
48909 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
48910 file.
48911 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
48912 multiarch strncasecmp for PPC32.
48913 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
48914 New file.
48915 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
48916 multiarch strcasecmp_l for PPC32.
48917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
48918 multiarch objects.
48919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48920 (__libc_ifunc_impl_list): Likewise.
48921
48922 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
48923 file.
48924 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
48925 file.
48926 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
48927 multiarch strncmp for PPC32.
48928 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
48929 multiarch objects.
48930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48931 (__libc_ifunc_impl_list): Likewise.
48932
48933 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
48934 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48935 file.
48936 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
48937 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
48938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
48939 multiarch objects.
48940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48941 (__libc_ifunc_impl_list): Likewise.
48942
48943 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
48944 file.
48945 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
48946 file.
48947 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
48948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
48949 multiarch objects.
48950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48951 (__libc_ifunc_impl_list): Likewise.
48952
48953 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
48954 file.
48955 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
48956 file.
48957 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
48958 multiarch rawmemchr for PPC32.
48959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
48960 multiarch objects.
48961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48962 (__libc_ifunc_impl_list): Likewise.
48963
48964 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
48965 file.
48966 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
48967 file.
48968 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
48969 file: memrchr multiarch for PPC32.
48970 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
48971 multiarch objects.
48972 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48973 (__libc_ifunc_impl_list): Likewise.
48974
48975 * string/memchr.c (__memchr): Using macro to redefine symbol name.
48976 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
48977 file.
48978 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
48979 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
48980 multiarch memchr for PPC32.
48981 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
48982 multiarch objects.
48983 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48984 (__libc_ifunc_impl_list): Likewise.
48985
48986 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
48987 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
48988 file.
48989 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
48990 file.
48991 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48992 file: multiarch mempcpy for PPC32.
48993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
48994 multiarch objects.
48995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48996 (__libc_ifunc_impl_list): Likewise.
48997
48998 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
48999 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49000 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49001 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49002 multiarch bzero for PPC32.
49003 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49004 file.
49005 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49006 file.
49007 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49008 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49009 file: multiarch memset for PPC32.
49010 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49012 memset multiarch objects.
49013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49014 (__libc_ifunc_impl_list): Likewise.
49015
49016 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49017 file.
49018 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49020 memcmp for PPC32.
49021 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49023 multiarch objects.
49024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49025 (__libc_ifunc_impl_list): Likewise.
49026
49027 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49028 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49029 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49030 file.
49031 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49032 file.
49033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49034 file.
49035 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49036 multiarch memcpy for PPC32.
49037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49038 multiarch objects.
49039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49040 (__libc_ifunc_impl_list): Likewise.
49041
49042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49043 support multiarch for POWER/PPC32.
49044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49045 Likewise.
49046 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49048 Implies file to make multiarch folder appers before the fpu and
49049 default folder for power4 configuration.
49050
49051 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49052
49053 * scripts/bench.pl: Append volatile keyword to type.
49054
49055 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49056
49057 * sysdeps/sh/sotruss-lib.c: New file.
49058 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49059
49060 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49061
49062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49063
49064 2013-12-05 Joseph Myers <joseph@codesourcery.com>
49065
49066 [BZ #6810]
49067 * math/w_tgamma.c: Include <errno.h>.
49068 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
49069 * math/w_tgammaf.c: Include <errno.h>.
49070 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
49071 * math/w_tgammal.c: Include <errno.h>.
49072 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
49073 * math/auto-libm-test-in: Do not allow missing errno on tgamma
49074 underflow. Add more tgamma tests.
49075 * math/auto-libm-test-out: Regenerated.
49076 * sysdeps/i386/fpu/libm-test-ulps: Update.
49077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49078
49079 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49080 sin, sinh, tan, tanh, tgamma, y0 and y1.
49081 * math/auto-libm-test-out: Regenerated.
49082 * math/libm-test.inc (TEST_COND_x86_64): New macro.
49083 (TEST_COND_x86): Likewise.
49084 (M_E2l): Remove macro.
49085 (M_E3l): Likewise.
49086 (M_2_SQRT_PIl): Likewise.
49087 (M_SQRT_PIl): Likewise.
49088 (M_1_DIV_El): Likewise.
49089 (log_test_data): Use AUTO_TESTS_f_f.
49090 (log10_test_data): Likewise.
49091 (log1p_test_data): Likewise.
49092 (log2_test_data): Likewise.
49093 (sin_test_data): Likewise.
49094 (sin_tonearest_test_data): Likewise.
49095 (sin_towardzero_test_data): Likewise.
49096 (sin_downward_test_data): Likewise.
49097 (sin_upward_test_data): Likewise.
49098 (sinh_test_data): Likewise.
49099 (sinh_tonearest_test_data): Likewise.
49100 (sinh_towardzero_test_data): Likewise.
49101 (sinh_downward_test_data): Likewise.
49102 (sinh_upward_test_data): Likewise.
49103 (tan_test_data): Likewise.
49104 (tan_tonearest_test_data): Likewise.
49105 (tan_towardzero_test_data): Likewise.
49106 (tan_downward_test_data): Likewise.
49107 (tan_upward_test_data): Likewise.
49108 (tanh_test_data): Likewise.
49109 (tgamma_test_data): Likewise.
49110 (y0_test_data): Likewise.
49111 (y1_test_data): Likewise.
49112 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49113 (special_real_inputs): Add pi/4.
49114 * sysdeps/i386/fpu/libm-test-ulps: Update.
49115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49116
49117 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49118
49119 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49120 "longjmp_target" static probes.
49121 (__longjmp): Rename to __longjmp_symbol.
49122 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49123 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49124 on which longjmp to generate.
49125 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49126 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49127 probe.
49128 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49129 (__sigjmp_save): Rename to __sigjmp_save_symbol.
49130 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49131 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49132 and __sigjmp_save_symbol based on which sigsetjmp to generated.
49133 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49135 __longjmp_symbol based on which __longjmp to generate.
49136 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49137 probe.
49138 (setjmp): Rename to setjmp_symbol.
49139 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49140 (_setjmp): Rename to _setjmp_symbol.
49141 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49142 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49143 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49144 which setjmp to generate.
49145 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49146 "longjmp_target" static probes.
49147
49148 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49149
49150 * benchtests/README: Add note about output arguments.
49151 * benchtests/bench-sincos.c: Remove file.
49152 * benchtests/sincos-inputs: New file.
49153 * scripts/bench.pl: Identify output arguments and define
49154 static variables for them.
49155
49156 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49157
49158 [BZ #15941]
49159 * Makefile (INSTALL): Add install-plain.texi as the primary
49160 dependency.
49161 * manual/install-plain.texi: New file.
49162 * manual/install.texi: Include node directive only for
49163 non-plaintext output.
49164
49165 2013-12-04 Joseph Myers <joseph@codesourcery.com>
49166
49167 * stdlib/longlong.h: Update from GCC.
49168
49169 [BZ #6807]
49170 [BZ #15901]
49171 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49172 * math/w_j0f.c (y0f): Likewise.
49173 * math/w_j0l.c (__y0l): Likewise.
49174 * math/w_j1.c (y1): Likewise.
49175 * math/w_j1f.c (y1f): Likewise.
49176 * math/w_j1l.c (__y1l): Likewise.
49177 * math/w_jn.c (yn): Likewise.
49178 * math/w_jnf.c (ynf): Likewise.
49179 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49180 Bessel function pole errors in _POSIX_ mode. Use NAN as return
49181 value for Bessel function domain errors outside _SVID_ mode.
49182 Adjust sign of return value for yn (negative integer, 0).
49183 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49184 by zero in return for negative x and set sign appropriately for
49185 negative n.
49186 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49187 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49188 * math/libm-test.inc (y0_test_data): Add more tests and adjust
49189 expectations in error cases.
49190 (y1_test_data): Likewise.
49191 (yn_test_data): Likewise.
49192 * sysdeps/i386/fpu/libm-test-ulps: Update.
49193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49194
49195 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49196
49197 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49198 "64" to "64-v1". Add "64-v2".
49199 (abi-64-options): Rename to ...
49200 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
49201 (abi-64-condition): Rename to ...
49202 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
49203 (abi-64-ld-soname): Rename to ...
49204 (abi-64-v1-ld-soname): ... this.
49205 (abi-64-v2-options): Define.
49206 (abi-64-v2-condition): Likewise.
49207 (abi-64-v2-ld-soname): Likewise.
49208 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49209 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49213
49214 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49215 Alan Modra <amodra@gmail.com>
49216
49217 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49218 New versions for use with the ELFv2 ABI.
49219 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49220 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49221 declaration.
49222 (struct La_ppc64v2_retval): Likewise.
49223 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49224 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49225 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49226 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49227 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49228 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49229 Do not save or restore CR.
49230 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49231 (_dl_profile_resolve): Do no save or restore CR. Support extended
49232 return values for ELFv2 ABI. Fix location of FPR return registers.
49233 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49234 updated values for _CALL_ELF == 2.
49235 (La_regs, La_retval, int_retval): Likewise.
49236
49237 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49238
49239 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49240 (FRAME_MIN_SIZE_PARM): Likewise.
49241 (FRAME_BACKCHAIN): Likewise.
49242 (FRAME_CR_SAVE): Likewise.
49243 (FRAME_LR_SAVE): Likewise.
49244 (FRAME_TOC_SAVE): Likewise.
49245 (FRAME_PARM_SAVE): Likewise.
49246 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49247 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49248 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49249 (call_mcount_parm_offset): New macro.
49250 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49251 (PROF): Use symbolic stack frame offsets.
49252 (TAIL_CALL_SYSCALL_ERROR): Likewise.
49253 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49254 Redefine in terms of FRAME_MIN_SIZE.
49255 (_dl_runtime_resolve): Use symbolic stack frame offsets.
49256 (_dl_profile_resolve): Likewise. Update comment.
49257 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49258 symbols stack frame offsets.
49259 (__sigsetjmp): Likewise.
49260 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49261 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49262 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49263 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49264
49265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49266 (FRAME_BACKCHAIN): Remove.
49267 (FRAME_CR_SAVE): Likewise.
49268 (FRAME_LR_SAVE): Likewise.
49269 (FRAME_COMPILER_DW): Likewise.
49270 (FRAME_LINKER_DW): Likewise.
49271 (FRAME_TOC_SAVE): Likewise.
49272 (FRAME_PARM_SAVE): Likewise.
49273 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49274 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49275 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49277 (CHECK_SP): Use symbolic stack frame offsets.
49278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49279 zone" instead of caller's parameter save area for temp storage.
49280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49281 Likewise. Also, use symbolic stack frame offsets.
49282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49283 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49284 our own stack frame instead of the caller's.
49285 (__socket): Use symbolic stack frame offsets.
49286
49287 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49288 Alan Modra <amodra@gmail.com>
49289
49290 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49291 Define.
49292 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49293 (PPC64_LOCAL_ENTRY_OFFSET): Define.
49294 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49295 New function.
49296 (elf_machine_fixup_plt): Call it.
49297 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
49298 reloc arguments.
49299 (elf_machine_rela): Update call to elf_machine_plt_conflict.
49300 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49301 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49302 r2 before calling target.
49303
49304 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49305 Alan Modra <amodra@gmail.com>
49306
49307 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49308 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49309 versions of macros to support ELFv2 ABI.
49310 (LOCALENTRY): New macro.
49311 (ENTRY, EALIGN): Use it.
49312 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49313 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49314 fall through into ENTRY entry point.
49315 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49316 Only define if _CALL_ELF != 2.
49317
49318 (elf_machine_matches_host): Verify ABI version matches.
49319 (RTLD_START): Use LOCALENTRY.
49320 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49321 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49322 (PLT_ENTRY_WORDS): New macro.
49323 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49324 (elf_machine_runtime_setup): Support ELFv2 ABI.
49325 (elf_machine_fixup_plt): Likewise.
49326 (elf_machine_plt_conflict): Likewise.
49327 (resolve_ifunc): Likewise.
49328 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49329 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49330 Likewise.
49331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49332 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49334 (makecontext): Support ELFv2 ABI.
49335 * elf/elf.h (EF_PPC64_ABI): Define.
49336
49337 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49338
49339 * sysdeps/powerpc/powerpc64/sysdep.h
49340 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49341 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49342 (ENTRY) [ASSEMBLER]: ... but instead here ...
49343 (EALIGN) [ASSEMBLER]: ... and here.
49344 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49345 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49346 (ENTRY_2) [!ASSEMBLER]: Use it.
49347 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49348 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
49349 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49350 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49351 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49353 Use PPC64_LOAD_FUNCPTR.
49354
49355 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49356
49357 2013-12-04 Alan Modra <amodra@gmail.com>
49358
49359 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49360 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49361 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49362 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49363
49364 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49365 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49366 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49367 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49368 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49369 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49370
49371 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49372
49373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49374 (__makecontext): Fix incorrect CFI when backtracing out of
49375 context created via makecontext.
49376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49377 (__setcontext): Fix incorrect CFI during switch to new context.
49378 (__novec_setcontext): Likewise.
49379
49380 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49381
49382 [BZ #4772]
49383 * time/strptime_l.c (__strptime_internal): Allow modifiers
49384 in strptime.
49385 * time/tst-strptime.c (day_tests): Add testcase.
49386
49387 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49388
49389 * scripts/bench.pl: Skip over blank lines.
49390
49391 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
49392
49393 [BZ #926]
49394 * manual/time.texi (Calendar Time): Clarify what timezone functions
49395 use.
49396
49397 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49398
49399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49400
49401 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49402
49403 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49404 implementation.
49405 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49406 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49407 * debug/memset_chk.c (__memset_chk): Likewise.
49408 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49409 * debug/strncpy_chk.c: Likewise.
49410
49411 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49412
49413 [BZ #15268]
49414 [BZ #15425]
49415 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49416 (__ieee754_exp): For possibly underflowing results, check size of
49417 result and force underflow exception if required.
49418 * math/auto-libm-test-in: Add more tests of exp.
49419 * math/auto-libm-test-out: Regenerated.
49420 * sysdeps/i386/fpu/libm-test-ulps: Update.
49421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49422
49423 [BZ #16283]
49424 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49425 * math/w_exp2f.c (__exp2f): Likewise.
49426 * math/w_exp2l.c (__exp2l): Likewise.
49427 * math/auto-libm-test-in: Do not allow missing errno on exp2
49428 underflow.
49429 * math/auto-libm-test-out: Regenerated.
49430
49431 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
49432
49433 [BZ #16274]
49434 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49435 handle filename validation.
49436 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49437 (do_open): Delete.
49438
49439 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49440
49441 [BZ #6786]
49442 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
49443 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
49444 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
49445 <float.h>.
49446 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
49447 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
49448 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49449 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
49450 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49451 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
49452 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49453 * math/auto-libm-test-in: Don't allow missing errno from erfc.
49454 Add more erfc tests.
49455 * math/auto-libm-test-out: Regenerated.
49456 * sysdeps/i386/fpu/libm-test-ulps: Update.
49457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49458
49459 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
49460 exp2, expm1, j0 and j1.
49461 * math/auto-libm-test-out: Regenerated.
49462 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
49463 (erfc_test_data): Likewise.
49464 (exp_test_data): Likewise.
49465 (exp_tonearest_test_data): Likewise.
49466 (exp_towardzero_test_data): Likewise.
49467 (exp_downward_test_data): Likewise.
49468 (exp_upward_test_data): Likewise.
49469 (exp10_test_data): Likewise.
49470 (exp2_test_data): Likewise.
49471 (expm1_test_data): Likewise.
49472 (j0_test_data): Likewise.
49473 (j1_test_data): Likewise.
49474 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
49475 (input_flag_type): Add flag_xfail_rounding.
49476 (input_flags): Add xfail-rounding.
49477 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
49478 (output_for_one_input_case): Handle flag_xfail_rounding.
49479 * sysdeps/i386/fpu/libm-test-ulps: Update.
49480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49481
49482 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
49483
49484 [BZ #16289]
49485 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
49486 division by 0.
49487
49488 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
49489
49490 [BZ #16195]
49491 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
49492 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
49493 (STAP_PROBE0): New macro.
49494 (STAP_PROBE1): Likewise.
49495 (STAP_PROBE2): Likewise.
49496 (STAP_PROBE3): Likewise.
49497 (STAP_PROBE4): Likewise.
49498
49499 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
49500
49501 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
49502
49503 2013-12-02 Steve Ellcey <sellcey@mips.com>
49504
49505 * benchtests/Makefile (bench): Add sqrt.
49506 (LDLIBS-bench-sqrt): New.
49507 * benchtests/sqrt-input: New.
49508
49509 2013-12-02 Pavel Simerda <psimerda@redhat.com>
49510
49511 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
49512 (GAIH_EAI): Likewise.
49513 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
49514 (gaih_inet): Likewise.
49515 (getaddrinfo): Don't use GAIH_EAI.
49516
49517 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
49518 (struct gaih): Remove definition.
49519
49520 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49521
49522 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
49523 Use HERRNOP directly.
49524
49525 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49526
49527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49528
49529 2013-11-30 Joseph Myers <joseph@codesourcery.com>
49530
49531 * math/gen-auto-libm-tests.c (test_functions): Add more
49532 single-argument functions.
49533 (special_fill_pi_2): New function.
49534 (special_fill_minus_pi_2): Likewise.
49535 (special_fill_pi_6): Likewise.
49536 (special_fill_minus_pi_6): Likewise.
49537 (special_fill_pi_3): Likewise.
49538 (special_fill_2pi_3): Likewise.
49539 (special_fill_e): Likewise.
49540 (special_fill_1_e): Likewise.
49541 (special_fill_e_minus_1): Likewise.
49542 (special_real_inputs): Add more special inputs.
49543 (output_for_one_input_case): Do not require ERANGE on underflow to
49544 zero if round-to-nearest result does not underflow to zero, unless
49545 exact results required.
49546 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
49547 atan, atanh, cbrt, cos and cosh.
49548 * math/auto-libm-test-out: Regenerated.
49549 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
49550 (acos_tonearest_test_data): Likewise.
49551 (acos_towardzero_test_data): Likewise.
49552 (acos_downward_test_data): Likewise.
49553 (acos_upward_test_data): Likewise.
49554 (acosh_test_data): Likewise.
49555 (asin_test_data): Likewise.
49556 (asin_tonearest_test_data): Likewise.
49557 (asin_towardzero_test_data): Likewise.
49558 (asin_upward_test_data): Likewise.
49559 (asinh_test_data): Likewise.
49560 (atan_test_data): Likewise.
49561 (atanh_test_data): Likewise.
49562 (cbrt_test_data): Likewise.
49563 (cos_test_data): Likewise.
49564 (cos_tonearest_test_data): Likewise.
49565 (cos_towardzero_test_data): Likewise.
49566 (cos_downward_test_data): Likewise.
49567 (cos_upward_test_data): Likewise.
49568 (cosh_test_data): Likewise.
49569 (cosh_tonearest_test_data): Likewise.
49570 (cosh_towardzero_test_data): Likewise.
49571 (cosh_downward_test_data): Likewise.
49572 (cosh_upward_test_data): Likewise.
49573 * sysdeps/i386/fpu/libm-test-ulps: Update.
49574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49575
49576 2013-11-29 Joseph Myers <joseph@codesourcery.com>
49577
49578 [BZ #6787]
49579 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
49580 * math/w_exp10f.c (__exp10f): Likewise.
49581 * math/w_exp10l.c (__exp10l): Likewise.
49582 * math/libm-test.inc (exp10_test_data): Add more tests and expect
49583 errno settings in existing tests.
49584
49585 [BZ #14032]
49586 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
49587 precision control set to double precision.
49588 * sysdeps/i386/fpu/w_sqrt.c: New file.
49589 * math/auto-libm-test-in: Add more tests.
49590 * math/auto-libm-test-out: Update.
49591
49592 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
49593 (sqrt_test_tonearest): New function.
49594 (sqrt_towardzero_test_data): New variable.
49595 (sqrt_test_towardzero): New function.
49596 (sqrt_downward_test_data): New variable.
49597 (sqrt_test_downward): New function.
49598 (sqrt_upward_test_data): New variable.
49599 (sqrt_test_upward): New function.
49600 (main): Call the new functions.
49601
49602 * math/gen-auto-libm-tests.c: New file.
49603 * math/auto-libm-test-in: Likewise.
49604 * math/auto-libm-test-out: New generated file.
49605 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
49606 variables.
49607 (%beautify): Add generated representations of zero.
49608 (top level): Set $auto_input and call parse_auto_input.
49609 (beautify): Remove trailing "f" from hex float constants.
49610 (parse_args): Handle XFAIL_TEST.
49611 (convert_condition): New function.
49612 (or_value): Likewise.
49613 (or_cond_value): Likewise.
49614 (generate_testfile): Handle AUTO_TESTS_* lines.
49615 (parse_auto_input): New function.
49616 * math/libm-test.inc (XFAIL_TEST): New macro.
49617 (ERRNO_UNCHANGED): Update value.
49618 (ERRNO_EDOM): Likewise.
49619 (ERRNO_ERANGE): Likewise.
49620 (IGNORE_RESULT): Likewise.
49621 (TEST_COND_flt_32): New macro.
49622 (TEST_COND_dbl_64): Likewise.
49623 (TEST_COND_ldbl_96_intel): Likewise.
49624 (TEST_COND_ldbl_96_m68k): Likewise.
49625 (TEST_COND_ldbl_128): Likewise.
49626 (TEST_COND_ldbl_128ibm): Likewise.
49627 (TEST_COND_long32): Likewise.
49628 (TEST_COND_long64): Likewise.
49629 (TEST_COND_before_rounding): Likewise.
49630 (TEST_COND_after_rounding): Likewise.
49631 (enable_test): Handle XFAIL_TEST flag.
49632 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
49633 with finite results.
49634 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
49635 auto-libm-test-out.
49636
49637 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
49638 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49639
49640 [BZ #16214]
49641 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
49642 __tls_get_addr_internal instead of __tls_get_offset in order to
49643 avoid GOT pointer dependency. Make rtld export
49644 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
49645 __tls_get_addr since we are a __tls_get_offset platform.
49646 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
49647 GOT pointer being set up before.
49648 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
49649
49650 2013-11-28 Joseph Myers <joseph@codesourcery.com>
49651
49652 * manual/math.texi (Errors in Math Functions): Document accuracy
49653 goals.
49654
49655 [BZ #15004]
49656 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
49657 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
49658 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49659 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49660 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49661 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49662 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49663 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49664 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49665 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49666 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49667 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49668 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49669 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49670 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49671 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49672
49673 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
49674 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
49675 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
49676 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
49677 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
49678 Likewise.
49679 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
49680 Likewise.
49681 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
49682 Likewise.
49683 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
49684 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
49685 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
49686 atomic-feupdateenv and flt-rounds.
49687 * sysdeps/powerpc/nofpu/Versions (libc): Add
49688 __atomic_feholdexcept, __atomic_feclearexcept,
49689 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
49690 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
49691 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
49692 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
49693 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
49694 here.
49695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49696 Update.
49697
49698 * manual/arith.texi (FP Exceptions): Document that exceptions may
49699 not be raised when matherr is used.
49700 (Math Error Reporting): Document overflow in directed rounding
49701 modes. Document that errno may not be set when finite values are
49702 returned on overflow. Document intent to set errno on underflow
49703 only for underflow to zero.
49704
49705 [BZ #16271]
49706 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
49707 round-to-nearest then adjust result for other rounding modes.
49708 * include/fenv.h (fegetround): Use libm_hidden_proto.
49709 * math/fegetround.c (fegetround): Use libm_hidden_def.
49710 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
49711 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
49712 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49713 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
49714 Likewise.
49715 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
49716 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49717 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
49718 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
49719
49720 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49721
49722 [BZ #16077]
49723 * nss/Versions (libnss_files): Add
49724 _nss_files_gethostbyname3_r.
49725 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
49726 New function.
49727 (HOST_DB_LOOKUP): Remove macro.
49728 (_nss_files_gethostbyname_r): Implement function without the
49729 HOST_DB_LOOKUP macro.
49730 (_nss_files_gethostbyname2_r): Likewise.
49731
49732 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
49733
49734 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
49735
49736 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
49737
49738 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
49739 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
49740 warning.
49741
49742 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49743
49744 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
49745 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
49746 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49747 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
49748 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
49749 __fe_nomask_env_priv and attribute_hidden.
49750 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
49751 (libc_feupdateenv_test_ppc): Likewise.
49752 (libc_feresetround_ppc): Likewise.
49753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49754 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
49755 compat_symbol macro.
49756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49757 (__fe_nomask_env): Likewise.
49758 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
49759
49760 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49761
49762 * string/Makefile: Remove ifunc tests.
49763 * string/test-string.h: Define TEST_IFUNC.
49764 * string/test-bcopy-ifunc.c: Remove.
49765 * string/test-bzero-ifunc.c: Likewise.
49766 * string/test-memccpy-ifunc.c: Likewise.
49767 * string/test-memchr-ifunc.c: Likewise.
49768 * string/test-memcmp-ifunc.c: Likewise.
49769 * string/test-memcpy-ifunc.c: Likewise.
49770 * string/test-memmem-ifunc.c: Likewise.
49771 * string/test-memmove-ifunc.c: Likewise.
49772 * string/test-mempcpy-ifunc.c: Likewise.
49773 * string/test-memrchr-ifunc.c: Likewise.
49774 * string/test-memset-ifunc.c: Likewise.
49775 * string/test-rawmemchr-ifunc.c: Likewise.
49776 * string/test-stpcpy-ifunc.c: Likewise.
49777 * string/test-stpncpy-ifunc.c: Likewise.
49778 * string/test-strcasecmp-ifunc.c: Likewise.
49779 * string/test-strcasestr-ifunc.c: Likewise.
49780 * string/test-strcat-ifunc.c: Likewise.
49781 * string/test-strchr-ifunc.c: Likewise.
49782 * string/test-strchrnul-ifunc.c: Likewise.
49783 * string/test-strcmp-ifunc.c: Likewise.
49784 * string/test-strcpy-ifunc.c: Likewise.
49785 * string/test-strcspn-ifunc.c: Likewise.
49786 * string/test-strlen-ifunc.c: Likewise.
49787 * string/test-strncasecmp-ifunc.c: Likewise.
49788 * string/test-strncat-ifunc.c: Likewise.
49789 * string/test-strncmp-ifunc.c: Likewise.
49790 * string/test-strncpy-ifunc.c: Likewise.
49791 * string/test-strnlen-ifunc.c: Likewise.
49792 * string/test-strpbrk-ifunc.c: Likewise.
49793 * string/test-strrchr-ifunc.c: Likewise.
49794 * string/test-strspn-ifunc.c: Likewise.
49795 * string/test-strstr-ifunc.c: Likewise.
49796
49797 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49798
49799 * benchtests/Makefile: Remove ifunc tests.
49800 * benchtests/bench-string.h: Define TEST_IFUNC.
49801 * benchtests/bench-bcopy-ifunc.c: Remove.
49802 * benchtests/bench-bzero-ifunc.c: Likewise.
49803 * benchtests/bench-memccpy-ifunc.c: Likewise.
49804 * benchtests/bench-memchr-ifunc.c: Likewise.
49805 * benchtests/bench-memcmp-ifunc.c: Likewise.
49806 * benchtests/bench-memcpy-ifunc.c: Likewise.
49807 * benchtests/bench-memmem-ifunc.c: Likewise.
49808 * benchtests/bench-memmove-ifunc.c: Likewise.
49809 * benchtests/bench-mempcpy-ifunc.c: Likewise.
49810 * benchtests/bench-memrchr-ifunc.c: Likewise.
49811 * benchtests/bench-memset-ifunc.c: Likewise.
49812 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
49813 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
49814 * benchtests/bench-stpcpy-ifunc.c: Likewise.
49815 * benchtests/bench-stpncpy-ifunc.c: Likewise.
49816 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
49817 * benchtests/bench-strcasestr-ifunc.c: Likewise.
49818 * benchtests/bench-strcat-ifunc.c: Likewise.
49819 * benchtests/bench-strchr-ifunc.c: Likewise.
49820 * benchtests/bench-strchrnul-ifunc.c: Likewise.
49821 * benchtests/bench-strcmp-ifunc.c: Likewise.
49822 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
49823 * benchtests/bench-strcpy-ifunc.c: Likewise.
49824 * benchtests/bench-strcspn-ifunc.c: Likewise.
49825 * benchtests/bench-strlen-ifunc.c: Likewise.
49826 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
49827 * benchtests/bench-strncat-ifunc.c: Likewise.
49828 * benchtests/bench-strncmp-ifunc.c: Likewise.
49829 * benchtests/bench-strncpy-ifunc.c: Likewise.
49830 * benchtests/bench-strnlen-ifunc.c: Likewise.
49831 * benchtests/bench-strpbrk-ifunc.c: Likewise.
49832 * benchtests/bench-strrchr-ifunc.c: Likewise.
49833 * benchtests/bench-strsep-ifunc.c: Likewise.
49834 * benchtests/bench-strspn-ifunc.c: Likewise.
49835 * benchtests/bench-strstr-ifunc.c: Likewise.
49836
49837 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49838
49839 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
49840
49841 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49842
49843 * resolv/netdb.h: Use __glibc_reserved instead __unused.
49844 * rt/aio.h: Likewise.
49845 * sysdeps/gnu/bits/utmp.h: Likewise.
49846 * sysdeps/gnu/bits/utmpx.h: Likewise.
49847 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49848 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
49849 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
49850 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
49851 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
49852 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
49853 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
49854 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
49855 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49856 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
49857 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
49858 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
49859 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
49860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
49861 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49862 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
49863 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
49864 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
49865 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
49866 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
49867 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
49868 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
49869 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
49870 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49871 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
49872 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49873 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
49874 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
49875 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
49876 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
49877 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
49878 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
49879 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
49880 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49881 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
49882 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
49883 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
49884 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
49885 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
49886 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49887 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
49888 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49889
49890 2013-11-25 Carlos O'Donell <carlos@redhat.com>
49891
49892 [BZ #16245]
49893 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
49894 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
49895
49896 2013-11-25 Joseph Myers <joseph@codesourcery.com>
49897
49898 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
49899 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
49900 Likewise.
49901
49902 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49903
49904 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
49905 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
49906 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
49907 (__fesetround): Remove define.
49908 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
49909 rounding and exceptions handling.
49910 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
49911 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
49912 (__fe_nomask_env): Likewise.
49913 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
49914 __fegetround instead of fegetround.
49915 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49916 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
49917
49918 2013-11-21 Roland McGrath <roland@hack.frob.com>
49919
49920 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
49921 it's there.
49922
49923 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
49924
49925 2013-11-21 Meador Inge <meadori@codesourcery.com>
49926
49927 [BZ #11157]
49928 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
49929 (encrypt_r): Likewise.
49930 * malloc/obstack.h (obstack_free): Likewise.
49931 * posix/unistd.h (encrypt): Likewise.
49932
49933 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
49934
49935 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
49936 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
49937 DL_CALL_DT_FINI() that call the functions directly.
49938 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
49939 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
49940 * elf/dl-fini.c: Likewise.
49941
49942 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
49943
49944 * malloc/hooks.c (memalign_check): Add alignment rounding.
49945 * malloc/malloc.c (_mid_memalign): New function.
49946 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
49947 Implement by calling _mid_memalign.
49948 * manual/probes.texi (Memory Allocation Probes): Remove
49949 memory_valloc_retry and memory_pvalloc_retry.
49950
49951 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
49952
49953 * locale/programs/locarchive.c (open_archive): Add const
49954 qualifier to ARCHIVEFNAME and copy default fname to
49955 DEFAULT_FNAME.
49956
49957 [BZ #15601]
49958 * libio/tst-widetext.input: Rename Oriya to Odia.
49959 * locale/iso-639.def: Likewise.
49960
49961 * manual/probes.texi (Mathematical Function Probes): Add
49962 documentation for sin, cos, asin and acos probes.
49963 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
49964 (__sin32): Add slowasin probe.
49965 (__cos32): Add slowacos probe.
49966 (__mpsin): Add slowsin probe.
49967 (__mpcos): Add slowcos probe.
49968
49969 2013-11-19 Joseph Myers <joseph@codesourcery.com>
49970
49971 [BZ #15483]
49972 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49973 thread-local __sim_exceptions_thread and global
49974 __sim_exceptions_global.
49975 (__sim_disabled_exceptions): Change to thread-local
49976 __sim_disabled_exceptions_thread and global
49977 __sim_disabled_exceptions_global.
49978 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49979 and global __sim_round_mode_global.
49980 (__simulate_exceptions): Use thread-local floating-point state and
49981 set global state from it as needed.
49982 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
49983 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
49984 __sim_round_mode_thread.
49985 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
49986 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
49987 and global __sim_exceptions_global.
49988 (__sim_disabled_exceptions): Change to thread-local
49989 __sim_disabled_exceptions_thread and global
49990 __sim_disabled_exceptions_global.
49991 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49992 and global __sim_round_mode_global.
49993 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
49994 (SIM_SET_GLOBAL): Likewise.
49995 * sysdeps/powerpc/soft-fp/sfp-machine.h
49996 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
49997 __sim_round_mode_thread.
49998 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
49999 __sim_disabled_exceptions_thread.
50000 (__sim_exceptions): Change to __sim_exceptions_thread.
50001 (__sim_disabled_exceptions): Change to
50002 __sim_disabled_exceptions_thread.
50003 (__sim_round_mode): Change to __sim_round_mode_thread.
50004 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50005 thread-local floating-point state and set global state from it as
50006 needed.
50007 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50008 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50009 (__sim_disabled_exceptions): Remove extern declaration.
50010 (feenableexcept): Use thread-local floating-point state and set
50011 global state from it as needed.
50012 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50013 extern declaration.
50014 (__sim_disabled_exceptions): Likewise.
50015 (__sim_round_mode): Likewise.
50016 (__fegetenv): Use thread-local floating-point state.
50017 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50018 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50019 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50020 floating-point state and set global state from it as needed.
50021 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50022 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50023 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50024 Likewise.
50025 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50026 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50027 Likewise.
50028 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50029 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50030 Use __sim_round_mode_thread.
50031 * math/test-fenv-tls.c: New file.
50032 * math/Makefile (tests): Add test-fenv-tls.
50033 ($(objpfx)test-fenv-tls): Depend on
50034 $(common-objpfx)nptl/libpthread.so.
50035
50036 2013-11-19 Andreas Schwab <schwab@suse.de>
50037
50038 * locale/programs/locale.c (show_info): Decode wordarray elements.
50039 * locale/categories.def (LC_MONETARY): Add element for
50040 _NL_MONETARY_CRNCYSTR.
50041 * locale/C-monetary.c (conversion_rate): New variable.
50042 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50043 element.
50044
50045 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
50046
50047 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50048 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50049
50050 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50051
50052 * elf/Makefile (tst-auxv): New test.
50053 * elf/tst-auxv.c: New
50054 * elf/rtld.c (dl_main): Adjust AT_EXECFN
50055
50056 2013-11-18 Joseph Myers <joseph@codesourcery.com>
50057
50058 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50059 (hidden_proto): Caller changed.
50060 (hidden_tls_proto): New macro.
50061 (libc_hidden_tls_proto): Likewise.
50062 (rtld_hidden_tls_proto): Likewise.
50063 (libm_hidden_tls_proto): Likewise.
50064 (libresolv_hidden_tls_proto): Likewise.
50065 (librt_hidden_tls_proto): Likewise.
50066 (libdl_hidden_tls_proto): Likewise.
50067 (libnss_files_hidden_tls_proto): Likewise.
50068 (libnsl_hidden_tls_proto): Likewise.
50069 (libnss_nisplus_hidden_tls_proto): Likewise.
50070 (libutil_hidden_tls_proto): Likewise.
50071
50072 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
50073
50074 [BZ #10253]
50075 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50076 (decompose_rpath): Defer expansion to fillin_rpath.
50077 (_dl_init_paths): Pass linkmap to fillin_rpath.
50078
50079 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50080
50081 * benchtests/Makefile: Add strsep.
50082 * benchtests/bench-strsep.c: New file: strsep benchtest.
50083 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50084
50085 2013-11-18 Andreas Schwab <schwab@suse.de>
50086
50087 * locale/programs/locale.c (show_info) [case byte]: Check for
50088 '\377' instead of '\177'.
50089 * locale/C-monetary.c (not_available): Always use "\377".
50090 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50091 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
50092 detect unavailable sign_posn locale elements.
50093 * locale/localeconv.c (__localeconv): For grouping and
50094 mon_grouping handle "\177" and "\377" like no grouping.
50095 (INT_ELEM): New macro. Use it to set all numeric members.
50096 * locale/programs/ld-monetary.c (monetary_read)
50097 <tok_mon_grouping>: Normalize single -1 to the empty string.
50098 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50099 Likewise.
50100
50101 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50102
50103 [BZ #16055]
50104 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50105 when we match (nil).
50106 * stdio-common/tst-sscanf.c (struct test): Add testcase.
50107
50108 2013-11-16 Joseph Myers <joseph@codesourcery.com>
50109
50110 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50111 (NO_TEST_INLINE): Update value.
50112 (ERRNO_UNCHANGED): Likewise.
50113 (ERRNO_EDOM): Likewise.
50114 (ERRNO_ERANGE): Likewise.
50115 (IGNORE_RESULT): Likewise.
50116 (check_float_internal): Check signs of NaN results if
50117 TEST_NAN_SIGN used.
50118 (check_complex): Pass TEST_NAN_SIGN flag through to second
50119 check_float_internal call.
50120 (copysign_test_data): Add tests with quiet NaNs as second
50121 argument. Use TEST_NAN_SIGN.
50122 (fabs_test_data): Add test of negative quiet NaN argument. Use
50123 TEST_NAN_SIGN.
50124 (signbit_test_data): Add tests of quiet NaN argument.
50125 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50126
50127 * math/gen-libm-test.pl (show_exceptions): Take extra argument
50128 $ignore_result.
50129 (parse_args): Handle function results specified as IGNORE.
50130 * math/libm-test.inc (IGNORE_RESULT): New macro.
50131 (check_float_internal): Do not check numerical result if flag
50132 IGNORE_RESULT set.
50133 (check_complex): Pass through IGNORE_RESULT to second
50134 check_float_internal call.
50135 (check_int): Do not check numerical result if flag IGNORE_RESULT
50136 set.
50137 (check_long): Likewise.
50138 (check_bool): Likewise.
50139 (check_longlong): Likewise.
50140 (lrint_test_data): Add tests of infinite and NaN arguments.
50141 (lrint_tonearest_test_data): Likewise.
50142 (lrint_towardzero_test_data): Likewise.
50143 (lrint_downward_test_data): Likewise.
50144 (lrint_upward_test_data): Likewise.
50145 (llrint_test_data): Likewise.
50146 (llrint_tonearest_test_data): Likewise.
50147 (llrint_towardzero_test_data): Likewise.
50148 (llrint_downward_test_data): Likewise.
50149 (llrint_upward_test_data): Likewise.
50150 (lround_test_data): Likewise.
50151 (llround_test_data): Likewise.
50152
50153 * math/libm-test.inc (NO_TEST_INLINE): New macro.
50154 (ERRNO_UNCHANGED): Update value.
50155 (ERRNO_EDOM): Likewise.
50156 (ERRNO_ERANGE): Likewise.
50157 (NO_TEST_INLINE_FLOAT): New macro.
50158 (NO_TEST_INLINE_DOUBLE): Likewise.
50159 (enable_test): New function.
50160 (RUN_TEST_f_f): Check enable_test before running test.
50161 (RUN_TEST_2_f): Likewise.
50162 (RUN_TEST_fff_f): Likewise.
50163 (RUN_TEST_c_f): Likewise.
50164 (RUN_TEST_f_f1): Likewise.
50165 (RUN_TEST_fF_f1): Likewise.
50166 (RUN_TEST_fI_f1): Likewise.
50167 (RUN_TEST_ffI_f1): Likewise.
50168 (RUN_TEST_c_c): Likewise.
50169 (RUN_TEST_cc_c): Likewise.
50170 (RUN_TEST_f_i): Likewise.
50171 (RUN_TEST_f_i_tg): Likewise.
50172 (RUN_TEST_ff_i_tg): Likewise.
50173 (RUN_TEST_f_b): Likewise.
50174 (RUN_TEST_f_b_tg): Likewise.
50175 (RUN_TEST_f_l): Likewise.
50176 (RUN_TEST_f_L): Likewise.
50177 (RUN_TEST_fFF_11): Likewise.
50178 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50179 conditionals.
50180 (cosh_test_data): Likewise.
50181 (exp_test_data): Likewise.
50182 (expm1_test_data): Likewise.
50183 (hypot_test_data): Likewise.
50184 (pow_test_data): Likewise.
50185 (sinh_test_data): Likewise.
50186 (tanh_test_data): Likewise.
50187 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50188 flags argument.
50189
50190 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50191 tests with quiet NaN input and output.
50192 (acosh_test_data): Likewise.
50193 (asin_test_data): Likewise.
50194 (asinh_test_data): Likewise.
50195 (atan_test_data): Likewise.
50196 (atanh_test_data): Likewise.
50197 (atan2_test_data): Likewise.
50198 (cbrt_test_data): Likewise.
50199 (cos_test_data): Likewise.
50200 (cosh_test_data): Likewise.
50201 (erf_test_data): Likewise.
50202 (erfc_test_data): Likewise.
50203 (exp_test_data): Likewise.
50204 (exp10_test_data): Likewise.
50205 (exp2_test_data): Likewise.
50206 (expm1_test_data): Likewise.
50207 (hypot_test_data): Likewise.
50208 (j0_test_data): Likewise.
50209 (j1_test_data): Likewise.
50210 (jn_test_data): Likewise.
50211 (lgamma_test_data): Likewise.
50212 (log_test_data): Likewise.
50213 (log10_test_data): Likewise.
50214 (log1p_test_data): Likewise.
50215 (log2_test_data): Likewise.
50216 (pow_test_data): Likewise.
50217 (scalb_test_data): Likewise.
50218 (sin_test_data): Likewise.
50219 (sincos_test_data): Likewise.
50220 (sinh_test_data): Likewise.
50221 (tan_test_data): Likewise.
50222 (tanh_test_data): Likewise.
50223 (tgamma_test_data): Likewise.
50224 (y0_test_data): Likewise.
50225 (y1_test_data): Likewise.
50226 (yn_test_data): Likewise.
50227
50228 [BZ #16167]
50229 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50230 argument being NaN and avoid computations with second argument in
50231 that case.
50232 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50233 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50234 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50235
50236 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
50237
50238 * locale/iso-639.def: Add Chitwani Tharu (the).
50239
50240 2013-11-14 Andreas Schwab <schwab@suse.de>
50241
50242 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50243 word instead of empty string.
50244
50245 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50246
50247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50248 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50250 (__fe_nomask_env): Likewise.
50251
50252 2013-11-13 Steve Ellcey <sellcey@mips.com>
50253
50254 * benchtests/bench-timing.h: Include time.h.
50255
50256 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
50257
50258 [BZ #15997]
50259 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50260 to 3.4.0 for x32.
50261 * sysdeps/unix/sysv/linux/configure: Regenerated.
50262
50263 2013-11-13 Joseph Myers <joseph@codesourcery.com>
50264
50265 [BZ #16151]
50266 * stdlib/strtod_l.c (round_and_return): Do not consider
50267 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50268 exponent one less than half the least subnormal exponent.
50269 * stdlib/test-strtod-round-data: Add more tests.
50270 * stdlib/tst-strtod-round.c (tests): Regenerated.
50271
50272 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50273
50274 [BZ #14143]
50275 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50276 (__fe_mask_env): Likewise.
50277 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50278 libm_hidden_proto and add function prototype.
50279 (__fe_mask_env): Add function prototype.
50280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50281 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50283 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50285 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50286
50287 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50288
50289 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50290 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50291
50292 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50293
50294 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50295 of htab_find_slot().
50296
50297 2013-11-11 David S. Miller <davem@davemloft.net>
50298
50299 [BZ #16150]
50300 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50301 symbol in the non-vis3 case in static builds.
50302 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50303 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50304 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50305 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50306
50307 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
50308
50309 [BZ #387]
50310 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50311 it is empty.
50312
50313 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50314
50315 * benchtests/Makefile: Add bench-strtod.
50316 * benchtests/bench-strtod.c: New file: strtod benchtest
50317
50318 2013-11-11 Andreas Schwab <schwab@suse.de>
50319
50320 [BZ #16153]
50321 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50322 terminating NUL in key length.
50323
50324 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50325
50326 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50327 Add artificial ODP entry for vDSO symbol for PPC64.
50328 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50329 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50330
50331 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50332
50333 [BZ #15374]
50334 * nss/getent.c (services_keys): Recognize services starting with digit.
50335
50336 2013-11-06 David S. Miller <davem@davemloft.net>
50337
50338 [BZ #15985]
50339 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50340 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50341
50342 2013-11-06 Will Newton <will.newton@linaro.org>
50343
50344 * manual/memory.texi (Malloc Examples): Remove register
50345 keyword from examples.
50346
50347 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
50348
50349 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50350
50351 2013-11-04 Joseph Myers <joseph@codesourcery.com>
50352
50353 [BZ #6981]
50354 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50355 depending on [__GCC_IEC_559 > 0].
50356 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50357 depending on [__GCC_IEC_559_COMPLEX > 0].
50358
50359 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
50360
50361 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50362 to iso-639.def.
50363
50364 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
50365
50366 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50367
50368 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
50369
50370 [BZ #16112]
50371 * malloc/malloc (malloc_info): Do not handle first bin as
50372 special case.
50373
50374 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
50375
50376 * locale/iso-639.def: Add Central Nahuatl (nhn).
50377
50378 2013-11-01 Bruno Haible <bruno@clisp.org>
50379
50380 [BZ #7003]
50381 * manual/math.texi (BSD Random): Specify range upper bound as
50382 in POSIX.
50383
50384 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
50385
50386 * locale/iso-639.def: Add Meadow Mari (mhr).
50387
50388 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
50389
50390 [BZ #14752], [BZ #15763]
50391 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50392 Validate name.
50393 * rt/tst_shm.c: Add test for escaping directory.
50394
50395 2013-10-31 Andreas Schwab <schwab@suse.de>
50396
50397 [BZ #15917]
50398 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50399 followed by 'x' as part of digit sequence.
50400 * stdio-common/tst-sscanf.c (double_tests2): New tests.
50401
50402 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50403
50404 [BZ #16037]
50405 * configure.ac: allow GNU Make 4.0 and greater.
50406 * configure: Regenerated.
50407
50408 2013-10-30 Will Newton <will.newton@linaro.org>
50409
50410 [BZ #16038]
50411 * malloc/hooks.c (memalign_check): Limit alignment to the
50412 maximum representable power of two.
50413 * malloc/malloc.c (__libc_memalign): Likewise.
50414 * malloc/tst-memalign.c (do_test): Add test for very
50415 large alignment values.
50416 * malloc/tst-posix_memalign.c (do_test): Likewise.
50417
50418 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50419
50420 [BZ #11087]
50421 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50422 (munmap_chunk): Likewise.
50423 (mremap_chunk): Likewise.
50424
50425 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50426
50427 [BZ #15799]
50428 * stdlib/div.c (div): Remove obsolete code.
50429 * stdlib/ldiv.c (ldiv): Likewise.
50430 * stdlib/lldiv.c (lldiv): Likewise.
50431
50432 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50433
50434 [BZ #16071]
50435 * nss/nss_files/files-XXX.c (get_contents_ret): New
50436 enumerator.
50437 (get_contents): New function.
50438 (internal_getent): Use it. Expand size of LINEBUFLEN.
50439
50440 2013-10-30 Mike Frysinger <vapier@gentoo.org>
50441
50442 * configure.in: Moved to ...
50443 * configure.ac: ... here. Change reference to configure.in
50444 to configure.ac.
50445 * sysdeps/arm/preconfigure.ac: ... here.
50446 configure.in to configure.ac.
50447 * sysdeps/gnu/configure.in: Moved to ...
50448 * sysdeps/gnu/configure.ac: ... here.
50449 * sysdeps/i386/configure.in: Moved to ...
50450 * sysdeps/i386/configure.ac: ... here.
50451 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
50452 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
50453 * sysdeps/mach/configure.in: Moved to ...
50454 * sysdeps/mach/configure.ac: ... here.
50455 * sysdeps/mach/hurd/configure.in: Moved to ...
50456 * sysdeps/mach/hurd/configure.ac: ... here.
50457 * sysdeps/powerpc/configure.in: Moved to ...
50458 * sysdeps/powerpc/configure.ac: ... here.
50459 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
50460 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
50461 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
50462 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
50463 * sysdeps/s390/s390-32/configure.in: Moved to ...
50464 * sysdeps/s390/s390-32/configure.ac: ... here.
50465 * sysdeps/s390/s390-64/configure.in: Moved to ...
50466 * sysdeps/s390/s390-64/configure.ac: ... here.
50467 * sysdeps/sh/configure.in: Moved to ...
50468 * sysdeps/sh/configure.ac: ... here.
50469 * sysdeps/sparc/configure.in: Moved to ...
50470 * sysdeps/sparc/configure.ac: ... here.
50471 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
50472 * sysdeps/unix/sysv/linux/configure.ac: ... here.
50473 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
50474 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
50475 * sysdeps/x86_64/configure.in: Moved to ...
50476 * sysdeps/x86_64/configure.ac: ... here.
50477 * sysdeps/x86_64/preconfigure.in: Moved to ...
50478 * sysdeps/x86_64/preconfigure.ac: ... here.
50479 * aclocal.m4: Change reference to configure.in to configure.ac.
50480 * config.h.in: Likewise.
50481 * manual/install.texi: Likewise.
50482 * manual/maint.texi: Likewise.
50483 * Makefile: Likewise.
50484 * malloc/Makefile: Likewise.
50485 * nscd/Makefile: Likewise.
50486 * Makeconfig: Change reference to configure.in and
50487 preconfigure.in to configure.ac and preconfigure.ac
50488 respectively.
50489 * INSTALL: Regenerated.
50490 * configure: Likewise.
50491 * sysdeps/gnu/configure: Likewise.
50492 * sysdeps/i386/configure: Likewise.
50493 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
50494 * sysdeps/mach/configure: Likewise.
50495 * sysdeps/mach/hurd/configure: Likewise.
50496 * sysdeps/powerpc/configure: Likewise.
50497 * sysdeps/powerpc/powerpc32/configure: Likewise.
50498 * sysdeps/powerpc/powerpc64/configure: Likewise.
50499 * sysdeps/s390/s390-32/configure: Likewise.
50500 * sysdeps/s390/s390-64/configure: Likewise.
50501 * sysdeps/sh/configure: Likewise.
50502 * sysdeps/sparc/configure: Likewise.
50503 * sysdeps/unix/sysv/linux/configure: Likewise.
50504 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
50505 * sysdeps/x86_64/configure: Likewise.
50506 * sysdeps/x86_64/preconfigure: Likewise.
50507
50508 2013-10-29 Andreas Schwab <schwab@suse.de>
50509
50510 * stdio-common/Makefile (tst-swscanf-ENV): Define.
50511
50512 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50513
50514 * benchtests/pow-inputs: Add new inputs.
50515
50516 * benchtests/exp-inputs: Add new inputs.
50517
50518 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
50519 conditional check for return value.
50520 (__cos32): Likewise.
50521
50522 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50523
50524 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
50525 to provide a boost for large inputs with word alignment.
50526 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
50527 implementation based on optimized PPC64 strcpy.
50528 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
50529 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
50530 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
50531 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
50532
50533 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50534
50535 [BZ #2801]
50536 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
50537
50538 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50539
50540 [BZ #14876]
50541 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
50542 * time/tst-strptime.c (day_tests): Add testcase.
50543
50544 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50545
50546 [BZ #14029]
50547 * manual/pattern.texi: Acknowledge that fnmatch can fail.
50548
50549 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
50550
50551 [BZ #16074]
50552 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
50553 MAP_FAILED on error.
50554
50555 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50556
50557 [BZ #16072]
50558 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
50559 heap for large requests.
50560
50561 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
50562
50563 [BZ #9954]
50564 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
50565 result if the result has no associated interface.
50566 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
50567 interface for all 127.X.Y.Z addresses.
50568
50569 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
50570
50571 * locale/iso-639.def: Add Ligurian (lij)
50572
50573 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
50574
50575 [BZ #15825]
50576 * sunrpc/rpc_main.c: Document rpcgen -5.
50577
50578 2013-10-19 Michael Stahl <mstahl@redhat.com>
50579
50580 * elf/rtld.c (do_preload): Print the reason why preloading failed.
50581
50582 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
50583
50584 [BZ #10278]
50585 * posix/glob.c: Match only directories when trailing slash is present.
50586 * posix/tst-gnuglob.c (my_opendir): Do not open files.
50587 (main): Add testcase.
50588
50589 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
50590
50591 [BZ #15670]
50592 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
50593
50594 2013-10-18 Carlos O'Donell <carlos@redhat.com>
50595
50596 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
50597 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
50598 AUTH_DES and cindex for FIPS 140-2.
50599 (DES Encryption): Add cindex FIPS 46-3.
50600
50601 * locale/locarchive.h (struct locarhandle): Add fname.
50602 * locale/programs/localedef.c (main): Pass ARGV[remaining]
50603 if an optional argument was specified to --list-archive,
50604 otherwise NULL.
50605 * locale/programs/locarchive.c (show_archive_content): Take new
50606 argument fname and pass it via ah.fname to open_archive.
50607 * locale/programs/localedef.h: Update decl.
50608 (open_archive): If AH->fname is non-null, open that file
50609 rather than the default file name, and don't ignore ENOENT.
50610 (create_archive): Set AH.fname to NULL.
50611 (delete_locales_from_archive): Likewise.
50612 (add_locales_to_archive): Likewise.
50613 * locale/programs/locfile.c (write_all_categories): Likewise.
50614
50615 2013-10-18 Joseph Myers <joseph@codesourcery.com>
50616 Aldy Hernandez <aldyh@redhat.com>
50617
50618 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
50619 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
50620 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
50621 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
50622 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
50623 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
50624 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
50625 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
50626 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
50627 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
50628 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
50629 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
50630 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
50631 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
50632 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
50633 Likewise.
50634 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
50635 Likewise.
50636 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
50637 Likewise.
50638 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
50639 Likewise.
50640 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
50641 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
50642 Likewise.
50643 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
50644 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
50645 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
50646 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
50647 Likewise.
50648 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
50649 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
50650 * sysdeps/powerpc/preconfigure: Likewise.
50651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
50652 Likewise.
50653 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
50654 Replace contents of file by #include of <fenv_libc.h>.
50655 * sysdeps/powerpc/soft-fp/sfp-machine.h
50656 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
50657 and <sys/prctl.h>.
50658 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
50659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
50660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
50661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
50662 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
50663 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
50664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
50665 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
50666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
50667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
50668 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
50669 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
50670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50671 Allow copysignl PLT reference to be missing.
50672
50673 2013-10-18 Richard Sandiford <richard@codesourcery.com>
50674 Joseph Myers <joseph@codesourcery.com
50675
50676 [BZ #15948]
50677 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
50678 single character.
50679 (add_to_tablewc): Assert sequence of wide characters is nonempty.
50680
50681 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
50682
50683 * elf/tst-tls-dlinfo.c: Don't include tls.h.
50684 * elf/tst-tls1.c: Likewise.
50685 * elf/tst-tls10.h: Likewise.
50686 * elf/tst-tls14.c: Likewise.
50687 * elf/tst-tls2.c: Likewise.
50688 * elf/tst-tls3.c: Likewise.
50689 * elf/tst-tls4.c: Likewise.
50690 * elf/tst-tls5.c: Likewise.
50691 * elf/tst-tls6.c: Likewise.
50692 * elf/tst-tls7.c: Likewise.
50693 * elf/tst-tls8.c: Likewise.
50694 * elf/tst-tls9.c: Likewise.
50695 * elf/tst-tlsmod1.c: Likewise.
50696 * elf/tst-tlsmod13.c: Likewise.
50697 * elf/tst-tlsmod13a.c: Likewise.
50698 * elf/tst-tlsmod14a.c: Likewise.
50699 * elf/tst-tlsmod16a.c: Likewise.
50700 * elf/tst-tlsmod16b.c: Likewise.
50701 * elf/tst-tlsmod2.c: Likewise.
50702 * elf/tst-tlsmod3.c: Likewise.
50703 * elf/tst-tlsmod4.c: Likewise.
50704 * elf/tst-tlsmod5.c: Likewise.
50705 * elf/tst-tlsmod6.c: Likewise.
50706
50707 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
50708
50709 [BZ #12486]
50710 * malloc/malloc.c: remove checks for statistics.
50711
50712 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
50713
50714 [BZ #15277]
50715 * inet/inet_net.c (inet_network): Detect additional invalid strings.
50716 * inet/tst-network.c: Add testcase.
50717
50718 2013-10-17 Andreas Schwab <schwab@suse.de>
50719
50720 [BZ #15218]
50721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
50722 to determine canonical name.
50723
50724 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
50725
50726 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
50727 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
50728 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50729 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50730 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50731 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50732 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50733 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50734 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50735 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50736 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50737 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50738 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50739 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50740 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50741 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50743 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50744 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50745 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50746 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50748 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50749 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
50750 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
50751 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50752 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50753 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
50754 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50755 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
50756 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50757 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50758 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50759 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50760 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50761 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50762 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50763 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50764 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50765 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50766 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50767 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50768 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50769 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50770 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50771 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50772 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50773 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50774 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50775 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50776 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50777 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50778 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50779 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50780 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50781 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50782 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50783 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50784
50785 2013-10-17 Joseph Myers <joseph@codesourcery.com>
50786
50787 [BZ #16041]
50788 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
50789 make result into a quiet NaN.
50790
50791 2013-10-16 Joseph Myers <joseph@codesourcery.com>
50792
50793 * soft-fp/adddf3.c: Fix horizontal whitespace.
50794 * soft-fp/addsf3.c: Likewise.
50795 * soft-fp/addtf3.c: Likewise.
50796 * soft-fp/divdf3.c: Likewise.
50797 * soft-fp/divsf3.c: Likewise.
50798 * soft-fp/divtf3.c: Likewise.
50799 * soft-fp/double.h: Likewise.
50800 * soft-fp/eqdf2.c: Likewise.
50801 * soft-fp/eqsf2.c: Likewise.
50802 * soft-fp/eqtf2.c: Likewise.
50803 * soft-fp/extenddftf2.c: Likewise.
50804 * soft-fp/extended.h: Likewise.
50805 * soft-fp/extendsfdf2.c: Likewise.
50806 * soft-fp/extendsftf2.c: Likewise.
50807 * soft-fp/extendxftf2.c: Likewise.
50808 * soft-fp/fixdfdi.c: Likewise.
50809 * soft-fp/fixdfsi.c: Likewise.
50810 * soft-fp/fixdfti.c: Likewise.
50811 * soft-fp/fixsfdi.c: Likewise.
50812 * soft-fp/fixsfsi.c: Likewise.
50813 * soft-fp/fixsfti.c: Likewise.
50814 * soft-fp/fixtfdi.c: Likewise.
50815 * soft-fp/fixtfsi.c: Likewise.
50816 * soft-fp/fixtfti.c: Likewise.
50817 * soft-fp/fixunsdfdi.c: Likewise.
50818 * soft-fp/fixunsdfsi.c: Likewise.
50819 * soft-fp/fixunsdfti.c: Likewise.
50820 * soft-fp/fixunssfdi.c: Likewise.
50821 * soft-fp/fixunssfsi.c: Likewise.
50822 * soft-fp/fixunssfti.c: Likewise.
50823 * soft-fp/fixunstfdi.c: Likewise.
50824 * soft-fp/fixunstfsi.c: Likewise.
50825 * soft-fp/fixunstfti.c: Likewise.
50826 * soft-fp/floatdidf.c: Likewise.
50827 * soft-fp/floatdisf.c: Likewise.
50828 * soft-fp/floatditf.c: Likewise.
50829 * soft-fp/floatsidf.c: Likewise.
50830 * soft-fp/floatsisf.c: Likewise.
50831 * soft-fp/floatsitf.c: Likewise.
50832 * soft-fp/floattidf.c: Likewise.
50833 * soft-fp/floattisf.c: Likewise.
50834 * soft-fp/floattitf.c: Likewise.
50835 * soft-fp/floatundidf.c: Likewise.
50836 * soft-fp/floatundisf.c: Likewise.
50837 * soft-fp/floatunditf.c: Likewise.
50838 * soft-fp/floatunsidf.c: Likewise.
50839 * soft-fp/floatunsisf.c: Likewise.
50840 * soft-fp/floatunsitf.c: Likewise.
50841 * soft-fp/floatuntidf.c: Likewise.
50842 * soft-fp/floatuntisf.c: Likewise.
50843 * soft-fp/floatuntitf.c: Likewise.
50844 * soft-fp/fmadf4.c: Likewise.
50845 * soft-fp/fmasf4.c: Likewise.
50846 * soft-fp/fmatf4.c: Likewise.
50847 * soft-fp/gedf2.c: Likewise.
50848 * soft-fp/gesf2.c: Likewise.
50849 * soft-fp/getf2.c: Likewise.
50850 * soft-fp/ledf2.c: Likewise.
50851 * soft-fp/lesf2.c: Likewise.
50852 * soft-fp/letf2.c: Likewise.
50853 * soft-fp/muldf3.c: Likewise.
50854 * soft-fp/mulsf3.c: Likewise.
50855 * soft-fp/multf3.c: Likewise.
50856 * soft-fp/negdf2.c: Likewise.
50857 * soft-fp/negsf2.c: Likewise.
50858 * soft-fp/negtf2.c: Likewise.
50859 * soft-fp/op-1.h: Likewise.
50860 * soft-fp/op-2.h: Likewise.
50861 * soft-fp/op-4.h: Likewise.
50862 * soft-fp/op-8.h: Likewise.
50863 * soft-fp/op-common.h: Likewise.
50864 * soft-fp/quad.h: Likewise.
50865 * soft-fp/single.h: Likewise.
50866 * soft-fp/soft-fp.h: Likewise.
50867 * soft-fp/sqrtdf2.c: Likewise.
50868 * soft-fp/sqrtsf2.c: Likewise.
50869 * soft-fp/sqrttf2.c: Likewise.
50870 * soft-fp/subdf3.c: Likewise.
50871 * soft-fp/subsf3.c: Likewise.
50872 * soft-fp/subtf3.c: Likewise.
50873 * soft-fp/truncdfsf2.c: Likewise.
50874 * soft-fp/trunctfdf2.c: Likewise.
50875 * soft-fp/trunctfsf2.c: Likewise.
50876 * soft-fp/trunctfxf2.c: Likewise.
50877 * soft-fp/unorddf2.c: Likewise.
50878 * soft-fp/unordsf2.c: Likewise.
50879 * soft-fp/unordtf2.c: Likewise.
50880
50881 2013-10-15 Joseph Myers <joseph@codesourcery.com>
50882
50883 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
50884 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
50885
50886 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
50887
50888 * elf/dl-libc.c: Clear initfini list after freeing.
50889
50890 2013-10-14 Joseph Myers <joseph@codesourcery.com>
50891
50892 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
50893 * soft-fp/addsf3.c: Likewise.
50894 * soft-fp/addtf3.c: Likewise.
50895 * soft-fp/divdf3.c: Likewise.
50896 * soft-fp/divsf3.c: Likewise.
50897 * soft-fp/divtf3.c: Likewise.
50898 * soft-fp/double.h: Likewise.
50899 * soft-fp/eqdf2.c: Likewise.
50900 * soft-fp/eqsf2.c: Likewise.
50901 * soft-fp/eqtf2.c: Likewise.
50902 * soft-fp/extenddftf2.c: Likewise.
50903 * soft-fp/extended.h: Likewise.
50904 * soft-fp/extendsfdf2.c: Likewise.
50905 * soft-fp/extendsftf2.c: Likewise.
50906 * soft-fp/extendxftf2.c: Likewise.
50907 * soft-fp/fixdfdi.c: Likewise.
50908 * soft-fp/fixdfsi.c: Likewise.
50909 * soft-fp/fixdfti.c: Likewise.
50910 * soft-fp/fixsfdi.c: Likewise.
50911 * soft-fp/fixsfsi.c: Likewise.
50912 * soft-fp/fixsfti.c: Likewise.
50913 * soft-fp/fixtfdi.c: Likewise.
50914 * soft-fp/fixtfsi.c: Likewise.
50915 * soft-fp/fixtfti.c: Likewise.
50916 * soft-fp/fixunsdfdi.c: Likewise.
50917 * soft-fp/fixunsdfsi.c: Likewise.
50918 * soft-fp/fixunsdfti.c: Likewise.
50919 * soft-fp/fixunssfdi.c: Likewise.
50920 * soft-fp/fixunssfsi.c: Likewise.
50921 * soft-fp/fixunssfti.c: Likewise.
50922 * soft-fp/fixunstfdi.c: Likewise.
50923 * soft-fp/fixunstfsi.c: Likewise.
50924 * soft-fp/fixunstfti.c: Likewise.
50925 * soft-fp/floatdidf.c: Likewise.
50926 * soft-fp/floatdisf.c: Likewise.
50927 * soft-fp/floatditf.c: Likewise.
50928 * soft-fp/floatsidf.c: Likewise.
50929 * soft-fp/floatsisf.c: Likewise.
50930 * soft-fp/floatsitf.c: Likewise.
50931 * soft-fp/floattidf.c: Likewise.
50932 * soft-fp/floattisf.c: Likewise.
50933 * soft-fp/floattitf.c: Likewise.
50934 * soft-fp/floatundidf.c: Likewise.
50935 * soft-fp/floatundisf.c: Likewise.
50936 * soft-fp/floatunsidf.c: Likewise.
50937 * soft-fp/floatunsisf.c: Likewise.
50938 * soft-fp/floatuntidf.c: Likewise.
50939 * soft-fp/floatuntisf.c: Likewise.
50940 * soft-fp/floatuntitf.c: Likewise.
50941 * soft-fp/fmadf4.c: Likewise.
50942 * soft-fp/fmasf4.c: Likewise.
50943 * soft-fp/fmatf4.c: Likewise.
50944 * soft-fp/gedf2.c: Likewise.
50945 * soft-fp/gesf2.c: Likewise.
50946 * soft-fp/getf2.c: Likewise.
50947 * soft-fp/ledf2.c: Likewise.
50948 * soft-fp/lesf2.c: Likewise.
50949 * soft-fp/letf2.c: Likewise.
50950 * soft-fp/muldf3.c: Likewise.
50951 * soft-fp/mulsf3.c: Likewise.
50952 * soft-fp/multf3.c: Likewise.
50953 * soft-fp/negdf2.c: Likewise.
50954 * soft-fp/negsf2.c: Likewise.
50955 * soft-fp/negtf2.c: Likewise.
50956 * soft-fp/op-1.h: Likewise.
50957 * soft-fp/op-2.h: Likewise.
50958 * soft-fp/op-4.h: Likewise.
50959 * soft-fp/op-8.h: Likewise.
50960 * soft-fp/op-common.h: Likewise.
50961 * soft-fp/quad.h: Likewise.
50962 * soft-fp/single.h: Likewise.
50963 * soft-fp/soft-fp.h: Likewise.
50964 * soft-fp/sqrtdf2.c: Likewise.
50965 * soft-fp/sqrtsf2.c: Likewise.
50966 * soft-fp/sqrttf2.c: Likewise.
50967 * soft-fp/subdf3.c: Likewise.
50968 * soft-fp/subsf3.c: Likewise.
50969 * soft-fp/subtf3.c: Likewise.
50970 * soft-fp/truncdfsf2.c: Likewise.
50971 * soft-fp/trunctfdf2.c: Likewise.
50972 * soft-fp/trunctfsf2.c: Likewise.
50973 * soft-fp/trunctfxf2.c: Likewise.
50974 * soft-fp/unorddf2.c: Likewise.
50975 * soft-fp/unordsf2.c: Likewise.
50976 * soft-fp/unordtf2.c: Likewise.
50977
50978 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
50979
50980 [BZ #15672]
50981 * misc/error.c (error_tail): Fix possible buffer overflow.
50982
50983 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
50984
50985 [BZ #13028]
50986 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
50987 address.
50988
50989 2013-10-14 P. J. McDermott <pj@pehjota.net>
50990
50991 [BZ #832]
50992 * elf/ldd.bash.in (try_trace): New function. Delete previous code
50993 testing pipefail option.
50994
50995 2013-10-12 Joseph Myers <joseph@codesourcery.com>
50996
50997 * soft-fp/double.h: Indent preprocessor directives inside #if.
50998 * soft-fp/extended.h: Likewise.
50999 * soft-fp/op-2.h: Likewise.
51000 * soft-fp/op-4.h: Likewise.
51001 * soft-fp/op-common.h: Likewise.
51002 * soft-fp/quad.h: Likewise.
51003 * soft-fp/single.h: Likewise.
51004 * soft-fp/soft-fp.h: Likewise.
51005
51006 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
51007
51008 * iconv/iconv_prog.c: Fix typos.
51009 * stdio-common/psiginfo-data.h: Likewise.
51010
51011 2013-10-12 Reuben Thomas <rrt@sc3d.org>
51012
51013 [BZ #15764]
51014 * locale/setlocale.c: Fix typo.
51015
51016 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51017
51018 [BZ #16036]
51019 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51020 signaling NaN arguments.
51021 * soft-fp/unordsf2.c (__unordsf2): Likewise.
51022 * soft-fp/unordtf2.c (__unordtf2): Likewise.
51023
51024 [BZ #14910]
51025 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51026 unordered operands.
51027 * soft-fp/gesf2.c (__gesf2): Likewise.
51028 * soft-fp/getf2.c (__getf2): Likewise.
51029 * soft-fp/ledf2.c (__ledf2): Likewise.
51030 * soft-fp/lesf2.c (__lesf2): Likewise.
51031 * soft-fp/letf2.c (__letf2): Likewise.
51032
51033 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51034 * soft-fp/eqsf2.c (__eqsf2): Likewise.
51035 * soft-fp/eqtf2.c (__eqtf2): Likewise.
51036 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51037 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51038 * soft-fp/fixdfti.c (__fixdfti): Likewise.
51039 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51040 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51041 * soft-fp/fixsfti.c (__fixsfti): Likewise.
51042 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51043 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51044 * soft-fp/fixtfti.c (__fixtfti): Likewise.
51045 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51046 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51047 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51048 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51049 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51050 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51051 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51052 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51053 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51054 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51055 * soft-fp/floatdisf.c (__floatdisf): Likewise.
51056 * soft-fp/floatsisf.c (__floatsisf): Likewise.
51057 * soft-fp/floattidf.c (__floattidf): Likewise.
51058 * soft-fp/floattisf.c (__floattisf): Likewise.
51059 * soft-fp/floattitf.c (__floattitf): Likewise.
51060 * soft-fp/floatundidf.c (__floatundidf): Likewise.
51061 * soft-fp/floatundisf.c (__floatundisf): Likewise.
51062 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51063 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51064 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51065 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51066 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51067 * soft-fp/gesf2.c (__gesf2): Likewise.
51068 * soft-fp/getf2.c (__getf2): Likewise.
51069 * soft-fp/ledf2.c (__ledf2): Likewise.
51070 * soft-fp/lesf2.c (__lesf2): Likewise.
51071 * soft-fp/letf2.c (__letf2): Likewise.
51072
51073 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51074 Undefine and redefine.
51075 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51076 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51077 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51078 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51079 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51080 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51081 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51082 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51083 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51084 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51085 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51086 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51087 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51088 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51089 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51090
51091 [BZ #16032]
51092 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51093 without decrementing exponent if mantissa >= that for the
51094 denominator, not >.
51095 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51096 denominator, not >. Decrement exponent in < case instead of
51097 incrementing in >= case.
51098 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51099 without decrementing exponent if mantissa >= that for the
51100 denominator, not >.
51101
51102 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51103 computing saturated result for unsigned overflow.
51104
51105 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51106 Jeff Law <law@redhat.com>
51107
51108 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51109 (atan2Mp): Add systemtap probe marker.
51110 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51111 (__ieee754_log): Add systemtap probe marker.
51112 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51113 (atanMp): Add systemtap probe marker.
51114 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51115 (tanMp): Add systemtap probe marker.
51116 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51117 (__slowexp): Add systemtap probe marker.
51118 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51119 (__slowpow): Add systemtap probe marker.
51120 * manual/probes.texi: Document probes.
51121
51122 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
51123
51124 [BZ #15362]
51125 * libio/fileops.c (_IO_new_file_write): Return count of bytes
51126 written.
51127 (_IO_new_file_xsputn): Don't return EOF if nothing has been
51128 written.
51129 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51130 written to buffer but not flushed.
51131 * libio/iofwrite_u.c: Likewise.
51132 * libio/iopadn.c: Return bytes returned even if EOF was
51133 encountered.
51134 * libio/iowpadn.c: Likewise.
51135 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51136 if _IO_padn does not write the whole buffer.
51137 [!COMPILE_WPRINTF] (PAD): Likewise.
51138
51139 2013-10-10 David S. Miller <davem@davemloft.net>
51140
51141 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51142 directory block.
51143
51144 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51145
51146 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
51147 instead of FSF address.
51148 * soft-fp/fixdfti.c: Likewise.
51149 * soft-fp/fixsfti.c: Likewise.
51150 * soft-fp/fixtfti.c: Likewise.
51151 * soft-fp/fixunsdfti.c: Likewise.
51152 * soft-fp/fixunssfti.c: Likewise.
51153 * soft-fp/fixunstfti.c: Likewise.
51154 * soft-fp/floattidf.c: Likewise.
51155 * soft-fp/floattisf.c: Likewise.
51156 * soft-fp/floattitf.c: Likewise.
51157 * soft-fp/floatuntidf.c: Likewise.
51158 * soft-fp/floatuntisf.c: Likewise.
51159 * soft-fp/floatuntitf.c: Likewise.
51160 * soft-fp/trunctfxf2.c: Likewise.
51161
51162 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
51163 * soft-fp/fixdfti.c: Likewise.
51164 * soft-fp/fixsfti.c: Likewise.
51165 * soft-fp/fixtfti.c: Likewise.
51166 * soft-fp/fixunsdfti.c: Likewise.
51167 * soft-fp/fixunssfti.c: Likewise.
51168 * soft-fp/fixunstfti.c: Likewise.
51169 * soft-fp/floattidf.c: Likewise.
51170 * soft-fp/floattisf.c: Likewise.
51171 * soft-fp/floattitf.c: Likewise.
51172 * soft-fp/floatuntidf.c: Likewise.
51173 * soft-fp/floatuntisf.c: Likewise.
51174 * soft-fp/floatuntitf.c: Likewise.
51175 * soft-fp/trunctfxf2.c: Likewise.
51176
51177 2013-10-10 David S. Miller <davem@davemloft.net>
51178
51179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51180
51181 2013-10-10 Joseph Myers <joseph@codsourcery.com>
51182
51183 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51184 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51185 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51186 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51187 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51188 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51189 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51190
51191 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51192 for NaNs before doing comparisons on argument.
51193 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51194 Likewise.
51195
51196 2013-10-10 Will Newton <will.newton@linaro.org>
51197
51198 * malloc/hooks.c (memalign_check): Ensure the value of bytes
51199 passed to _int_memalign does not overflow.
51200
51201 2013-10-10 Torvald Riegel <triegel@redhat.com>
51202
51203 * scripts/bench.pl: Add include-sources directive.
51204 * benchtests/README: Update documentation.
51205
51206 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51207
51208 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51209 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51210 instead of FP_INIT_ROUNDMODE.
51211 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51212 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51213
51214 [BZ #16034]
51215 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
51216 copy class of input value.
51217 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
51218 not handle exceptions.
51219 * soft-fp/negsf2.c (__negsf2): Likewise.
51220 * soft-fp/negtf2.c (__negtf2): Likewise.
51221 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51222
51223 2013-10-09 Joseph Myers <joseph@codesourcery.com>
51224
51225 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51226 semicolon. From Linux kernel.
51227
51228 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
51229
51230 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51231
51232 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
51233
51234 [BZ #156]
51235 * manual/socket.texi: Added statement about buffer
51236 for gethostbyname2_r.
51237
51238 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
51239
51240 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51241 Use .p2align directive instead, throughout.
51242 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51243 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51244 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51245 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51246 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51247 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51248 * sysdeps/x86_64/strchr.S: Likewise.
51249 * sysdeps/x86_64/strrchr.S: Likewise.
51250
51251 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
51252
51253 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51254
51255 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51256
51257 * sysdeps/generic/math_private.h (__mpsin1): Remove
51258 declaration.
51259 (__mpcos1): Likewise.
51260 (__mpsin): New argument __range_reduce.
51261 (__mpcos): Likewise.
51262 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51263 (slow): Use __mpsin and __mpcos.
51264 (slow1): Likewise.
51265 (slow2): Likewise.
51266 (sloww): Likewise.
51267 (sloww1): Likewise.
51268 (sloww2): Likewise.
51269 (bsloww): Likewise.
51270 (bsloww1): Likewise.
51271 (bsloww2): Likewise.
51272 (cslow2): Likewise.
51273 (csloww): Likewise.
51274 (csloww1): Likewise.
51275 (csloww2): Likewise.
51276 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51277 range_reduce. Merge in __mpsin1.
51278 (__mpcos): Likewise.
51279 (__mpsin1): Remove.
51280 (__mpcos1): Likewise.
51281
51282 2013-10-07 Joseph Myers <joseph@codesourcery.com>
51283
51284 * locale/loadlocale.c (_nl_intern_locale_data): Use
51285 LOCFILE_ALIGNED_P.
51286 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51287 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51288 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51289 obstack data is appropriately aligned.
51290 (obstack_int32_grow_fast): Likewise.
51291 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51292 * locale/programs/locfile.c (add_locale_uint32): Likewise.
51293 (add_locale_uint32_array): Likewise.
51294
51295 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
51296
51297 * benchtests/Makefile: Remove ARGLIST and RET variables.
51298 ($(objpfx)bench-%.c): Pass only function name to the script.
51299 * benchtests/README: Update documentation.
51300 * benchtests/acos-inputs: Add new directives.
51301 * benchtests/acosh-inputs: Likewise.
51302 * benchtests/asin-inputs: Likewise.
51303 * benchtests/asinh-inputs: Likewise.
51304 * benchtests/atan-inputs: Likewise.
51305 * benchtests/atanh-inputs: Likewise.
51306 * benchtests/cos-inputs: Likewise.
51307 * benchtests/cosh-inputs: Likewise.
51308 * benchtests/exp-inputs: Likewise.
51309 * benchtests/log-inputs: Likewise.
51310 * benchtests/pow-inputs: Likewise.
51311 * benchtests/rint-inputs: Likewise.
51312 * benchtests/sin-inputs: Likewise.
51313 * benchtests/sinh-inputs: Likewise.
51314 * benchtests/tan-inputs: Likewise.
51315 * benchtests/tanh-inputs: Likewise.
51316 * scripts/bench.pl: Add support for new directives.
51317
51318 2013-10-07 Alan Modra <amodra@gmail.com>
51319
51320 * README: Fix careless merge.
51321
51322 2013-10-05 Alan Modra <amodra@gmail.com>
51323
51324 * NEWS: Mention powerpc64le support and bugs fixed.
51325 * README: Both big-endian and little-endian powerpc64 supported.
51326
51327 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51328
51329 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51330 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51331 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51332 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51333
51334 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
51335
51336 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51337 match prototype.
51338
51339 2013-10-04 Joseph Myers <joseph@codesourcery.com>
51340
51341 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51342 Move -mhard-float appending from
51343 ports/sysdeps/powerpc/powerpc32/Makefile.
51344 [$(with-fp) = yes] (ASFLAGS): Likewise.
51345 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51346 * sysdeps/powerpc/nofpu: Move directory from
51347 ports/sysdeps/powerpc/nofpu.
51348 * sysdeps/powerpc/soft-fp: Move directory from
51349 ports/sysdeps/powerpc/soft-fp.
51350 * sysdeps/powerpc/powerpc32/405: Move directory from
51351 ports/sysdeps/powerpc/powerpc32/405.
51352 * sysdeps/powerpc/powerpc32/440: Move directory from
51353 ports/sysdeps/powerpc/powerpc32/440.
51354 * sysdeps/powerpc/powerpc32/464: Move directory from
51355 ports/sysdeps/powerpc/powerpc32/464.
51356 * sysdeps/powerpc/powerpc32/476: Move directory from
51357 ports/sysdeps/powerpc/powerpc32/476.
51358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51359 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51361 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51363 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51365 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51367 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51368 * README: Update for powerpc-*-linux-gnu software floating point
51369 support in libc.
51370
51371 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51372 case to powerpc/powerpc32*.
51373 * sysdeps/unix/sysv/linux/configure: Regenerated.
51374
51375 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51376 (_FPU_MASK_OM): Define as 0x04.
51377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51379 0x00c10080.
51380 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51381 0x0000003c.
51382 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51383
51384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51385 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51386 getcontext_e500.
51387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51388 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51389 setcontext_e500.
51390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51391 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51392 and setcontext_e500.
51393
51394 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
51395
51396 * locale/iso-3166.def: Update iso-1366.def and related occurrences
51397
51398 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
51399
51400 * manual/threads.texi (Default Thread Attributes): Fix typo.
51401
51402 2013-10-04 Will Newton <will.newton@linaro.org>
51403
51404 * malloc/Makefile: Add tst-memalign.
51405 * malloc/tst-memalign.c: New file.
51406
51407 * malloc/tst-posix_memalign.c: Add comments.
51408 (do_test): Add comments and call free on all potentially
51409 allocated pointers. Add space after cast.
51410
51411 * malloc/tst-pvalloc.c: Add comments.
51412 (do_test): Add comments and call free on all potentially
51413 allocated pointers. Remove duplicate check for NULL pointer.
51414 Add space after cast.
51415
51416 * malloc/tst-valloc.c: Add comments.
51417 (do_test): Add comments and call free on all potentially
51418 allocated pointers. Remove duplicate check for NULL pointer.
51419 Add space after cast.
51420
51421 2013-10-04 Alan Modra <amodra@gmail.com>
51422
51423 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51424 Use stdint types in rather than __attribute__((mode())).
51425 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51426
51427 2013-10-04 Alan Modra <amodra@gmail.com>
51428
51429 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51430 Correct handling of unaligned relocs for little-endian.
51431 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51432
51433 2013-10-04 Alan Modra <amodra@gmail.com>
51434
51435 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51436 * configure: Regenerate.
51437 * nptl/shlib-versions: Powerpc*le starts at 2.18.
51438 * shlib-versions: Likewise.
51439
51440 2013-10-04 Alan Modra <amodra@gmail.com>
51441
51442 * string/tester.c (test_memrchr): Increment reported test cycle.
51443
51444 2013-10-04 Alan Modra <amodra@gmail.com>
51445
51446 * string/test-memcpy.c (do_one_test): When reporting errors, print
51447 string address and don't overrun end of string.
51448
51449 2013-10-04 Alan Modra <amodra@gmail.com>
51450
51451 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
51452 insrdi. Make better use of reg selection to speed exit slightly.
51453 Schedule entry path a little better. Remove useless "are we done"
51454 checks on entry to main loop. Handle wrapping around zero address.
51455 Correct main loop count. Handle single left-over word from main
51456 loop inline rather than by using loop_small. Remove extra word
51457 case in loop_small caused by wrong loop count. Add little-endian
51458 support.
51459 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51460 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
51461 cache hint.
51462 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51463 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
51464 support. Avoid rlwimi.
51465 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
51466
51467 2013-10-04 Alan Modra <amodra@gmail.com>
51468
51469 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
51470 insrdi. Formatting.
51471 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
51472 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51473 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
51474 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51475 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51476 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51477
51478 2013-10-04 Alan Modra <amodra@gmail.com>
51479
51480 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
51481 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51482 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51483 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
51484 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51485 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51486 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51487 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51488 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
51489 use of regs. Use power7 mtocrf. Tidy function tails.
51490
51491 2013-10-04 Alan Modra <amodra@gmail.com>
51492
51493 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
51494 Formatting. Consistently use rXXX register defines or rN defines.
51495 Use early exit labels that avoid restoring unused non-volatile regs.
51496 Make cr field use more consistent with rWORDn compares. Rename
51497 regs used as shift registers for unaligned loop, using rN defines
51498 for short lifetime/multiple use regs.
51499 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51500 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
51501 addi 1,1,64 to pop stack frame. Simplify return value code.
51502 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51503
51504 2013-10-04 Alan Modra <amodra@gmail.com>
51505
51506 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
51507 support. Correct typos, formatting. Optimize tail. Use insrdi
51508 rather than rlwimi.
51509 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
51510 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
51511 little-endian support. Correct typos.
51512 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
51513 rather than rlwimi.
51514 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
51515 in loop and entry code to keep "and." results.
51516 (strchr): Add little-endian support. Comment. Move cntlzd
51517 earlier in tail.
51518 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
51519
51520 2013-10-04 Alan Modra <amodra@gmail.com>
51521
51522 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
51523 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
51524 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
51525 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
51526
51527 2013-10-04 Alan Modra <amodra@gmail.com>
51528
51529 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
51530 (rTMP): Define as r11.
51531 (strcmp): Add little-endian support. Optimise tail.
51532 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
51533 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51534 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51535 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51536 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51537 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51538 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51539
51540 2013-10-04 Alan Modra <amodra@gmail.com>
51541
51542 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
51543 little-endian support. Remove unnecessary "are we done" tests.
51544 Handle "s" wrapping around zero and extremely large "size".
51545 Correct main loop count. Handle single left-over word from main
51546 loop inline rather than by using small_loop. Correct comments.
51547 Delete "zero" tail, use "end_max" instead.
51548 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
51549
51550 2013-10-04 Alan Modra <amodra@gmail.com>
51551
51552 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
51553 support. Don't branch over align.
51554 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
51555 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
51556 support. Rearrange tmp reg use to suit. Comment.
51557 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
51558
51559 2013-10-04 Alan Modra <amodra@gmail.com>
51560
51561 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
51562
51563 2013-10-04 Alan Modra <amodra@gmail.com>
51564
51565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
51566 conditional form of branch and link when obtaining pc.
51567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
51568
51569 2013-10-04 Alan Modra <amodra@gmail.com>
51570
51571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
51572 HIWORD/LOWORD.
51573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
51574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
51575
51576 2013-10-04 Alan Modra <amodra@gmail.com>
51577
51578 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
51579 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
51580 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
51581 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
51582 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51583 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51584 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
51585 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51586 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
51587 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
51588
51589 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51590 Alistair Popple <alistair@ozlabs.au.ibm.com>
51591 Alan Modra <amodra@gmail.com>
51592
51593 [BZ #15723]
51594 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
51595 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
51596 _dl_hwcap access for little-endian.
51597 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
51598 destroy vmx regs when saving unaligned.
51599 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
51600 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
51601 destroy vmx regs when saving unaligned.
51602
51603 2013-10-04 Alan Modra <amodra@gmail.com>
51604
51605 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
51606 Don't use a union to pack hi/low value.
51607
51608 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51609
51610 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
51611 for little-endian.
51612 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51613 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
51614 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51615 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51616 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51617
51618 2013-10-04 Alan Modra <amodra@gmail.com>
51619
51620 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
51621 constants to usual value for .cst8 section, and remove redundant
51622 high address load.
51623 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
51624 constant for 0x1p52. Load little-endian words of double from
51625 correct stack offsets.
51626
51627 2013-10-04 Alan Modra <amodra@gmail.com>
51628
51629 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
51630 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
51631 words of double from correct stack offsets.
51632 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
51633 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
51634 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51636 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51637 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51638 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51639 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
51640 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
51641 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51642 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51643 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51644 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51645 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51646 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51647 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
51648 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
51649
51650 2013-10-04 Alan Modra <amodra@gmail.com>
51651
51652 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
51653 64-bit int/double union.
51654 (_FPU_SETCW): Likewise.
51655 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
51656 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
51657
51658 2013-10-04 Alan Modra <amodra@gmail.com>
51659
51660 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
51661 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
51662
51663 2013-10-04 Alan Modra <amodra@gmail.com>
51664
51665 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
51666 use vector int constants.
51667 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
51668
51669 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51670
51671 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
51672 array with long long.
51673 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
51674 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
51675 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
51676 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
51677 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
51678 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
51679 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
51680 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
51681 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
51682 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
51683 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
51684 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
51685 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
51686
51687 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51688
51689 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
51690 (__signbit): Likewise. Correct for little-endian.
51691 (__signbitl): Call __signbit.
51692 (lrint): Correct for little-endian.
51693 (lrintf): Call lrint.
51694
51695 2013-10-04 Alan Modra <amodra@gmail.com>
51696
51697 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
51698 union 32-bit int array member with 64-bit int array.
51699 (t515, tm256): Double rather than long double.
51700 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
51701
51702 2013-10-04 Alan Modra <amodra@gmail.com>
51703
51704 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
51705 Delete.
51706 (IEEE854_LONG_DOUBLE_BIAS): Delete.
51707 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
51708 version of math_ldbl.h.
51709
51710 2013-10-04 Alan Modra <amodra@gmail.com>
51711
51712 [BZ #15734], [BZ #15735]
51713 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
51714 all uses of ieee875 long double macros and unions. Simplify test
51715 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
51716 ldbl_extract_mantissa value for ix,iy exponents. Properly
51717 normalize after ldbl_extract_mantissa, and don't add hidden bit
51718 already handled. Don't treat low word of ieee854 mantissa like
51719 low word of IBM long double and mask off bit when testing for
51720 zero.
51721 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
51722 all uses of ieee875 long double macros and unions. Simplify tests
51723 for 0.0L and inf. Correct double adjustment of k. Delete dead code
51724 adjusting ha,hb. Simplify code setting kld. Delete two600 and
51725 two1022, instead use their values. Recognise that tests for large
51726 "a" and small "b" are mutually exclusive. Rename vars. Comment.
51727 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
51728 Rewrite all uses of ieee875 long double macros and unions. Simplify
51729 test for 0.0L and nan. Correct negation.
51730 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
51731 ieee875 long double macros and unions. Correct output for large
51732 magnitude x. Correct absolute value calculation.
51733 (__erfcl): Likewise.
51734 * math/libm-test.inc: Add tests for errors discovered in IBM long
51735 double versions of fmodl, remainderl, erfl and erfcl.
51736
51737 2013-10-04 Alan Modra <amodra@gmail.com>
51738
51739 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
51740 all uses of ieee854 long double macros and unions. Simplify tests
51741 for long doubles that are fully specified by the high double.
51742 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
51743 Likewise.
51744 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
51745 Remove dead code too.
51746 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
51747 (__ieee754_ynl): Likewise.
51748 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
51749 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
51750 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
51751 Remove dead code too.
51752 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
51753 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
51754 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
51755 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
51756 Simplify.
51757 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
51758 Simplify.
51759 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
51760 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
51761 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
51762 Comment on variable precision.
51763 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
51764 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51765 Likewise.
51766 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
51767 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51768 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51769 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
51770 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
51771
51772 2013-10-04 Alan Modra <amodra@gmail.com>
51773
51774 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
51775 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
51776 all uses of ieee854 long double macros and unions.
51777 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
51778 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51779 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
51780 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
51781 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
51782 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51783 Likewise.
51784 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
51785 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51786 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
51787 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51788 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
51789 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
51790 Simplify sign and nan test too.
51791 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
51792 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
51793 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
51794 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
51795 Likewise.
51796 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51797 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
51798 Likewise.
51799 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51800 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
51801 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
51802 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
51803 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
51804 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
51805
51806 2013-10-04 Alan Modra <amodra@gmail.com>
51807
51808 * stdio-common/printf_size.c (__printf_size): Don't use
51809 union ieee854_long_double in fpnum union.
51810 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
51811 signbit macro to retrieve sign from long double.
51812 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
51813 retrieve sign from long double.
51814 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
51815 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
51816 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
51817 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51818 * math/test-misc.c (main): Don't use union ieee854_long_double.
51819
51820 2013-10-04 Alan Modra <amodra@gmail.com>
51821
51822 [BZ #15680]
51823 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
51824 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
51825 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
51826 calculation. Remove unnecessary test for denormal exponent.
51827 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
51828 Correct handling of denormals. Avoid undefined shift behaviour.
51829 Correct normalisation of low mantissa when low double is denormal.
51830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
51831 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
51832 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
51833 Correct normalisation of low mantissa. Test for overflow of high
51834 mantissa and normalise.
51835 (ldbl_nearbyint): Use more readable constant for two52.
51836 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
51837 (__mpn_construct_long_double): Fix test for overflow of high
51838 mantissa and correct normalisation. Avoid undefined shift.
51839
51840 2013-10-04 Alan Modra <amodra@gmail.com>
51841
51842 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51843 (union ibm_extended_long_double): Define as an array of ieee754_double.
51844 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
51845 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
51846 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
51847 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51848 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51849 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
51850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51851 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51852 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51853 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
51854 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51855
51856 2013-10-03 Joseph Myers <joseph@codesourcery.com>
51857
51858 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
51859 page size instead of calling getpagesize.
51860
51861 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
51862 (LOCFILE_ALIGN_MASK): Likewise.
51863 (LOCFILE_ALIGN_UP): Likewise.
51864 (LOCFILE_ALIGNED_P): Likewise.
51865 * locale/programs/ld-collate.c (collate_output): Use the new
51866 macros instead of __alignof__ (int32_t).
51867 * locale/weight.h (findidx): Likewise.
51868
51869 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
51870
51871 [BZ #431]
51872 * manual/string.texi: Fix strncat and wcsncat.
51873
51874 2013-10-03 Brooks Moses <bmoses@google.com>
51875
51876 [BZ #15915]
51877 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
51878 * Makerules: ...here, and adjust associated comments.
51879
51880 2013-10-02 Will Newton <will.newton@linaro.org>
51881
51882 * malloc/Makefile: Add tst-pvalloc.
51883 * malloc/tst-pvalloc.c: New file.
51884
51885 2013-10-02 Will Newton <will.newton@linaro.org>
51886
51887 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
51888 improve test coverage.
51889
51890 2013-10-02 Will Newton <will.newton@linaro.org>
51891
51892 * malloc/Makefile: Add tst-posix_memalign.
51893 * malloc/tst-posix_memalign.c: New file.
51894
51895 2013-10-01 Eric Blake <eblake@redhat.com>
51896
51897 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
51898 Use __THROWNL rather than __THROW on static functions.
51899
51900 2013-09-30 Petr Machata <pmachata@redhat.com>
51901
51902 * elf/elf.h (R_AARCH64_ABS16): New macro.
51903 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
51904 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
51905 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51906 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
51907 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
51908 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51909 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
51910 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
51911 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
51912 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
51913 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
51914 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
51915 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
51916 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
51917 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
51918 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
51919 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
51920 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
51921 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
51922 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
51923 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51924 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
51925 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
51926 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
51927 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
51928 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
51929 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51930 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
51931 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
51932 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
51933 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
51934 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
51935 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
51936 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
51937 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
51938 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
51939 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51940 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
51941 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
51942 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
51943 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
51944 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
51945 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
51946 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
51947 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
51948 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
51949 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51950 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
51951 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
51952 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
51953 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
51954 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
51955 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
51956 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
51957 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
51958 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
51959 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
51960 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
51961 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
51962 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
51963 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
51964 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
51965 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
51966 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
51967 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
51968 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
51969 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
51970 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
51971 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
51972 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
51973 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
51974 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
51975 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
51976 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
51977 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
51978 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
51979 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
51980 (R_AARCH64_TLSDESC_LDR): Likewise.
51981 (R_AARCH64_TLSDESC_ADD): Likewise.
51982 (R_AARCH64_TLSDESC_CALL): Likewise.
51983
51984 2013-09-30 Andreas Schwab <schwab@suse.de>
51985
51986 [BZ #15048]
51987 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
51988 the nss database lookup.
51989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51991
51992 2013-09-28 Mike Frysinger <vapier@gentoo.org>
51993
51994 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
51995
51996 2013-09-28 P. J. McDermott <pj@pehjota.net>
51997
51998 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
51999 ${Bash-specific parameter/pattern/string} parameter expansion.
52000 * sysdeps/unix/make-syscalls.sh: Likewise.
52001
52002 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52003
52004 * sysdeps/sh/stackguard-macros.h: New file.
52005
52006 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
52007
52008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52009 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52010 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52011 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52012 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52013 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52014
52015 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52016
52017 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52018 Fix thread ID register.
52019
52020 2013-09-25 Joseph Myers <joseph@codesourcery.com>
52021
52022 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52023 [POSIX || UNIX98]: Require rather than permitting all symbols from
52024 <time.h>.
52025 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52026 element of struct sched_param.
52027 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52028 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52029 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52030 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52031 constant.
52032
52033 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
52034
52035 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52036 argument calculation.
52037
52038 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52039
52040 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52041 Expect macro.
52042 [POSIX] (pthread_attr_t): Do not require type.
52043 [POSIX] (pthread_cond_t): Likewise.
52044 [POSIX] (pthread_condattr_t): Likewise.
52045 [POSIX] (pthread_key_t): Likewise.
52046 [POSIX] (pthread_mutex_t): Likewise.
52047 [POSIX] (pthread_mutexattr_t): Likewise.
52048 [POSIX] (pthread_once_t): Likewise.
52049 [POSIX] (pthread_t): Likewise.
52050 [POSIX-based standards] (pthread_atfork): Expect function.
52051
52052 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52053 Richard Sandiford <richard@codesourcery.com>
52054
52055 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52056 (swap_endianness_p): New extern variable.
52057 (set_big_endian): New inline function.
52058 (maybe_swap_uint32): Likewise.
52059 (maybe_swap_uint32_array): Likewise.
52060 (maybe_swap_uint32_obstack): Likewise.
52061 * locale/programs/locfile.c: Include <stdbool.h>.
52062 (swap_endianness_p): New variable.
52063 (add_locale_uint32): Call maybe_swap_uint32.
52064 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52065 (write_locale_data): Call maybe_swap_uint32_array.
52066 * locale/programs/ld-collate.c (obstack_int32_grow): Call
52067 maybe_swap_uint32.
52068 (obstack_int32_grow_fast): Likewise.
52069 (output_weightwc): Call maybe_swap_uint32_obstack.
52070 (collate_output): Likewise.
52071 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52072 (OPT_LITTLE_ENDIAN): Likewise.
52073 (options): Add --little-endian and --big-endian options.
52074 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52075 * locale/programs/locarchive.c: Include "locfile.h".
52076 (GET): New macro.
52077 (SET): Likewise.
52078 (INC): Likewise.
52079 (create_archive): Use the new macros to access fields of
52080 structures directly mapped from or written to locale archives.
52081 (oldlocrecentcmp): Likewise.
52082 (enlarge_archive): Likewise.
52083 (insert_name): Likewise.
52084 (add_alias): Likewise.
52085 (add_locale): Likewise.
52086 (delete_locales_from_archive): Likewise.
52087 (show_archive_content): Likewise.
52088 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
52089 locale data.
52090
52091 2013-09-24 Roland McGrath <roland@hack.frob.com>
52092
52093 * manual/freemanuals.texi: Updated from (newly) canonical copy at
52094 http://www.gnu.org/doc/freemanuals.texi.
52095 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52096
52097 2013-09-24 Will Newton <will.newton@linaro.org>
52098
52099 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52100 macro.
52101
52102 2013-09-23 Joseph Myers <joseph@codesourcery.com>
52103
52104 * locale/hashval.h (compute_hashval): Interpret bytes of key as
52105 unsigned char.
52106
52107 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
52108
52109 * manual/threads.texi (POSIX Threads): Fix a typo.
52110
52111 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52112
52113 [BZ #14547]
52114 * string/tst-strcoll-overflow.c: New test case.
52115 * string/Makefile (xtests): Add tst-strcoll-overflow.
52116 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52117 cache if string sizes may cause integer overflow.
52118
52119 [BZ #14547]
52120 * string/strcoll_l.c (coll_seq): New members rule, idx,
52121 save_idx and back_us.
52122 (get_next_seq_nocache): New function.
52123 (do_compare_nocache): New function.
52124 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52125 when malloc fails.
52126
52127 2013-09-23 Carlos O'Donell <carlos@redhat.com>
52128
52129 [BZ #15754]
52130 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52131 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52132 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52133
52134 [BZ #15754]
52135 * elf/Makefile (tests): Add tst-ptrguard1.
52136 (tests-static): Add tst-ptrguard1-static.
52137 (tst-ptrguard1-ARGS): Define.
52138 (tst-ptrguard1-static-ARGS): Define.
52139 * elf/tst-ptrguard1.c: New file.
52140 * elf/tst-ptrguard1-static.c: New file.
52141 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52142 * sysdeps/i386/stackguard-macros.h: Likewise.
52143 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52144 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52145 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52146 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52147 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52148 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52149
52150 2013-09-23 Hector Marco <hecmargi@upv.es>
52151 Ismael Ripoll <iripoll@disca.upv.es>
52152 Carlos O'Donell <carlos@redhat.com>
52153
52154 [BZ #15754]
52155 * sysdeps/generic/stackguard-macros.h: Define
52156 __pointer_chk_guard_local and POINTER_CHK_GUARD.
52157 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52158 Define __pointer_chk_guard_local.
52159 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52160 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52161
52162 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
52163
52164 [BZ #15859]
52165 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52166
52167 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
52168
52169 * include/string.h (__ffs): Declare as hidden.
52170 * string/ffs.c (__ffs): Define as hidden.
52171 * sysdeps/i386/ffs.c (__ffs): Likewise.
52172 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52173 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52174 * sysdeps/s390/ffs.c (__ffs): Likewise.
52175 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52176
52177 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
52178
52179 * NEWS: Mention malloc probes.
52180
52181 * malloc/arena.c (new_heap): New memory_heap_new probe.
52182 (grow_heap): New memory_heap_more probe.
52183 (shrink_heap): New memory_heap_less probe.
52184 (heap_trim): New memory_heap_free probe.
52185 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52186 (systrim): New memory_sbrk_less probe.
52187 * manual/probes.texi: Document them.
52188
52189 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52190 * manual/probes.texi: Document it.
52191
52192 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52193 (__libc_realloc): Add memory_realloc_retry probe.
52194 (__libc_memalign): Add memory_memalign_retry probe.
52195 (__libc_valloc): Add memory_valloc_retry probe.
52196 (__libc_pvalloc): Add memory_pvalloc_retry probe.
52197 (__libc_calloc): Add memory_calloc_retry probe.
52198 * manual/probes.texi: Document them.
52199
52200 * malloc/arena.c (get_free_list): Add probe
52201 memory_arena_reuse_free_list.
52202 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52203 and memory_arena_reuse.
52204 (arena_get2) [!PER_THREAD]: Likewise.
52205 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52206 memory_arena_reuse_realloc.
52207 * manual/probes.texi: Document them.
52208
52209 * malloc/malloc.c (__libc_free): Add
52210 memory_mallopt_free_dyn_thresholds probe.
52211 (__libc_mallopt): Add multiple memory_mallopt probes.
52212 * manual/probes.texi: Document them.
52213
52214 * malloc/malloc.c: Include stap-probe.h.
52215 (__libc_mallopt): Add memory_mallopt probe.
52216 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52217 * manual/probes.texi: New.
52218 * manual/Makefile (chapters): Add probes.
52219 * manual/threads.texi: Set next node.
52220
52221 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
52222
52223 [BZ #15963, #13985]
52224 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52225 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52226 Add `Chinese' to `nan' entry name.
52227
52228 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52229
52230 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52231 (POLYNOMIAL): Likewise.
52232 (TAYLOR_SINCOS): Likewise.
52233 (TAYLOR_SLOW): Likewise.
52234 (__sin): Use TAYLOR_SINCOS.
52235 (__cos): Likewise.
52236 (slow): Use TAYLOR_SLOW.
52237 (sloww): Likewise.
52238 (bsloww): Likewise.
52239 (csloww): Likewise.
52240
52241 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52242
52243 * stdlib/strtod_l.c: Fix buffer overrun.
52244
52245 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52246
52247 * benchtests/Makefile (bench): Add sincos.
52248 * benchtests/bench-sincos.c: New file.
52249
52250 * math/libm-test.inc (cos_test_data): New test inputs.
52251 (sin_test_data): Likewise.
52252
52253 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52254 macro.
52255 (__sin): Use it.
52256 (__cos): Likewise.
52257 (slow1): Likewise.
52258 (slow2): Likewise.
52259 (sloww1): Likewise.
52260 (sloww2): Likewise.
52261 (bsloww1): Likewise.
52262 (bsloww2): Likewise.
52263 (cslow2): Likewise.
52264 (csloww1): Likewise.
52265 (csloww2): Likewise.
52266
52267 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52268 function.
52269 (__sin): Use it.
52270 (__cos): Likewise.
52271
52272 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52273 gotos.
52274 (__cos): Likewise.
52275
52276 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
52277
52278 * config.h.in (HAVE_MIPS_NAN2008): New macro.
52279 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52280 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52281 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52282 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52283 * elf/cache.c (print_entry): Handle the new cache flags.
52284
52285 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52286 Aldy Hernandez <aldyh@redhat.com>
52287
52288 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52289 Change condition to [_SOFT_FLOAT].
52290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52302 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52305 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52306 declaration.
52307
52308 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52309
52310 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52311 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52312 (__longjmp): Use LOAD_GP to load saved GPRs.
52313 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52314 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52315 (__sigsetjmp): Use SAVE_GP to save GPRs.
52316
52317 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52318 Do not append -msoft-float.
52319 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52320
52321 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52322
52323 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52324
52325 2013-09-17 Joseph Myers <joseph@codesourcery.com>
52326
52327 [BZ #15966]
52328 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52329 (_FPU_GETCW): Use initial "__" on variable and field names but not
52330 on macro parameter name.
52331 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
52332 parentheses around reference to macro parameter.
52333
52334 2013-09-13 Richard Sandiford <richard@codesourcery.com>
52335
52336 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52337 prototype.
52338 (ctype_startup): Use uint32_t in cast and sizeof for
52339 ctype->charnames.
52340
52341 2013-09-11 Jia Liu <proljc@gmail.com>
52342
52343 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52344 __daddr_t_defined.
52345 [__FreeBSD__]: Likewise.
52346
52347 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
52348
52349 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52350 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52351 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52352 (strchr): Remove __strchr_sse42 ifunc selection.
52353 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52354 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52355
52356 2013-09-11 Will Newton <will.newton@linaro.org>
52357
52358 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52359 parameter to RES. Remove hardcoded 1000 value.
52360 * benchtests/bench-skeleton.c (main): Pass RES parameter
52361 to TIMING_INIT and multiply result by 1000.
52362
52363 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52364
52365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52366
52367 2013-09-11 Andreas Schwab <schwab@suse.de>
52368
52369 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52370 if not defined.
52371 (O_TMPFILE) [__USE_GNU]: Define.
52372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52373 Define.
52374
52375 2013-09-11 Will Newton <will.newton@linaro.org>
52376
52377 [BZ #15857]
52378 * malloc/malloc.c (__libc_memalign): Check the value of bytes
52379 does not overflow.
52380
52381 2013-09-11 Will Newton <will.newton@linaro.org>
52382
52383 [BZ #15856]
52384 * malloc/malloc.c (__libc_valloc): Check the value of bytes
52385 does not overflow.
52386
52387 2013-09-11 Will Newton <will.newton@linaro.org>
52388
52389 [BZ #15855]
52390 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52391 does not overflow.
52392
52393 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
52394
52395 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52396 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52397 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52398 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52399 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52400
52401 2013-09-10 Allan McRae <allan@archlinux.org>
52402
52403 [BZ #15748]
52404 * manual/arith.texi (Parsing of Floats): Clarify
52405 cross-reference.
52406
52407 [BZ #15849]
52408 * manual/install.texi (Running make install): Mention
52409 --enable-pt-chown.
52410 * INSTALL: Regenerated.
52411
52412 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
52413
52414 * csu/init-first.c (_init): Remove the !SHARED condition around
52415 FPU control word initialization.
52416 * elf/dl-support.c (_dl_fpu_control): New variable.
52417 (_dl_aux_init) <AT_FPUCW>: Initialize it.
52418 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52419 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52420 * math/test-fpucw-static.c: New file.
52421 * math/test-fpucw-ieee.c: New file.
52422 * math/test-fpucw-ieee-static.c: New file.
52423 * math/Makefile (tests): Add `test-fpucw-ieee' and
52424 `$(tests-static)'.
52425 (tests-static): New variable.
52426 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52427 dependency to...
52428 [($(build-shared),yes)]
52429 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52430 ... this.
52431 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52432 New dependency.
52433
52434 2013-09-09 Allan McRae <allan@archlinux.org>
52435
52436 [BZ #15939]
52437 * manual/string.texi (Collation Functions): Fix typo in
52438 strcoll example.
52439 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52440
52441 [BZ #15893]
52442 * stdlib/isomac.c (get_null_defines): Fix memory leak.
52443
52444 [BZ #15892]
52445 * libio/memstream.c (open_memstream): Fix memory leak.
52446 * libio/wmemstream.c (open_wmemstream): Likewise.
52447
52448 [BZ #15895]
52449 * nscd/netgroupcache.c: Fix nesting of ifdefs.
52450
52451 2013-09-09 Will Newton <will.newton@linaro.org>
52452
52453 * malloc/Makefile: Add tst-realloc to tests.
52454 * malloc/tst-realloc.c: New file.
52455
52456 2013-09-09 Allan McRae <allan@archlinux.org>
52457
52458 [BZ #15844]
52459 * COPYING: Update from GNU website to fix FSF address.
52460 * COPYING.LIB: Likewise.
52461
52462 2013-09-06 David S. Miller <davem@davemloft.net>
52463
52464 * po/zh_TW.po: Update Chinese (traditional) translation from
52465 translation project.
52466
52467 2013-09-06 Richard Sandiford <richard@codesourcery.com>
52468 Joseph Myers <joseph@codesourcery.com>
52469
52470 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
52471 "localeinfo.h".
52472 (obstack_chunk_alloc): New macro.
52473 (obstack_chunk_free): Likewise.
52474 (record_offset): New function.
52475 (init_locale_data): Likewise.
52476 (align_locale_data): Likewise.
52477 (add_locale_empty): Likewise.
52478 (add_locale_raw_data): Likewise.
52479 (add_locale_raw_obstack): Likewise.
52480 (add_locale_string): Likewise.
52481 (add_locale_wstring): Likewise.
52482 (add_locale_uint32): Likewise.
52483 (add_locale_uint32_array): Likewise.
52484 (add_locale_char): Likewise.
52485 (start_locale_structure): Likewise.
52486 (end_locale_structure): Likewise.
52487 (start_locale_prelude): Likewise.
52488 (end_locale_prelude): Likewise.
52489 (write_locale_data): Take locale_file structure rather than an
52490 iovec.
52491 * locale/programs/locfile.h: Include "obstack.h".
52492 (struct locale_file): Change to store locale file contents instead
52493 of header.
52494 (init_locale_data): New prototype.
52495 (align_locale_data): Likewise.
52496 (add_locale_empty): Likewise.
52497 (add_locale_raw_data): Likewise.
52498 (add_locale_raw_obstack): Likewise.
52499 (add_locale_string): Likewise.
52500 (add_locale_wstring): Likewise.
52501 (add_locale_uint32): Likewise.
52502 (add_locale_uint32_array): Likewise.
52503 (add_locale_char): Likewise.
52504 (start_locale_structure): Likewise.
52505 (end_locale_structure): Likewise.
52506 (start_locale_prelude): Likewise.
52507 (end_locale_prelude): Likewise.
52508 (write_locale_data): Update prototype.
52509 * locale/programs/3level.h (struct TABLE): Remove result field.
52510 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
52511 Use new locale_file interface.
52512 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
52513 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
52514 * locale/programs/ld-address.c (address_output): Use new
52515 locale_file interface.
52516 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
52517 NO_ADD_LOCALE.
52518 (collate_finish): Don't call collseq_table_finalize.
52519 (collate_output): Use new locale_file interface.
52520 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
52521 in file.
52522 (NO_FINALIZE): Change to NO_ADD_LOCALE.
52523 (TABLE): Move defines earlier in file.
52524 (ELEMENT): Likewise.
52525 (DEFAULT): Likewise.
52526 (wctrans_table_add): Move macro and inline function earlier in
52527 file.
52528 (struct wctype_table): Move type earlier in file.
52529 (add_locale_wctype_table): New static prototype.
52530 (struct locale_ctype_t): Use logical types instead of struct iovec
52531 pointers for members.
52532 (ctype_output): Use new locale_file interface.
52533 (wctype_table_finalize): Change to add_locale_wctype_table. Use
52534 new locale_file interface.
52535 (allocate_arrays): Update for use of new locale_file interface.
52536 * locale/programs/ld-identification.c (identification_output): Use
52537 new locale_file interface.
52538 * locale/programs/ld-measurement.c (measurement_output): Likewise.
52539 * locale/programs/ld-messages.c (messages_output): Likewise.
52540 * locale/programs/ld-monetary.c (monetary_output): Likewise.
52541 * locale/programs/ld-name.c (name_output): Likewise.
52542 * locale/programs/ld-numeric.c (numeric_output): Likewise.
52543 * locale/programs/ld-paper.c (paper_output): Likewise.
52544 * locale/programs/ld-telephone.c (telephone_output): Likewise.
52545 * locale/programs/ld-time.c (time_output): Likewise.
52546
52547 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52548
52549 * benchtests/Makefile: Add memrchr benchmark.
52550 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
52551 benchmark as memrchr.
52552 * benchtests/bench-memrchr-ifunc.c: New file.
52553 * benchtests/bench-memrchr.c: New file.
52554
52555 2013-09-06 Will Newton <will.newton@linaro.org>
52556
52557 * benchtests/Makefile (string-bench): Add memcpy.
52558
52559 2013-09-05 Carlos O'Donell <carlos@redhat.com>
52560 Cong Wang <amwang@redhat.com>
52561
52562 [BZ #15850]
52563 * sysdeps/unix/sysv/linux/bits/in.h
52564 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
52565 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
52566 before __USE_KERNEL_IPV6_DEFS uses.
52567 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
52568 IPPROTO_BEETPH.
52569 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
52570 sockaddr_in6, or ipv6_mreq.
52571
52572 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52573
52574 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
52575 memory access for final bytes in some large inputs.
52576 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
52577
52578 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52579
52580 * string/test-memrchr.c: New file.
52581 * string/test-memrchr-ifunc.c: New file.
52582 * string/Makefile: Add new memrchr testcase.
52583
52584 2013-09-05 Mike Frysinger <vapier@gentoo.org>
52585
52586 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
52587 fanotify_init returns EPERM.
52588
52589 2013-09-04 Joseph Myers <joseph@codesourcery.com>
52590
52591 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
52592 errors.
52593 (top level): Treat second token from macro or constant entries for
52594 allowed headers as allowed.
52595 * include/complex.h: Condition internal declarations on
52596 [!_ISOMAC].
52597 * include/fenv.h: Condition include of <stdbool.h> and internal
52598 declarations on [!_ISOMAC].
52599
52600 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
52601
52602 [BZ #15923]
52603 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
52604
52605 2013-09-04 Joseph Myers <joseph@codesourcery.com>
52606
52607 * configure.in (--enable-versioning): Remove configure option.
52608 (libc_cv_asm_symver_directive): Remove configure test.
52609 (libc_cv_ld_version_script_option): Likewise.
52610 (VERSIONING): Remove variable and AC_SUBST.
52611 (DO_VERSIONING): Remove AC_DEFINE.
52612 * configure: Regenerated.
52613 * config.h.in (DO_VERSIONING): Remove macro.
52614 * Makerules [$(versioning) = yes]: Change conditionals to
52615 [$(build-shared) = yes].
52616 * config.make.in (versioning): Remove variable.
52617 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
52618 [$(build-shared) = yes].
52619 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
52620 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
52621 * elf/Makefile [$(versioning) = yes]: Change conditionals to
52622 [$(build-shared) = yes].
52623 * extra-lib.mk [$(versioning) = yes]: Likewise.
52624 * hurd/Makefile [$(versioning) = yes]: Likewise.
52625 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
52626 [SHARED].
52627 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
52628 [SHARED].
52629 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52630 [SHARED && !NO_HIDDEN].
52631 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
52632 [SHARED].
52633 [SHARED && DO_VERSIONING]: Likewise..
52634 * libio/Makefile [$(versioning) = yes]: Change conditionals to
52635 [$(build-shared) = yes].
52636 * manual/install.texi (--disable-versioning): Remove
52637 documentation.
52638 * INSTALL: Regenerated.
52639 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
52640 to [SHARED].
52641 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
52642 [$(build-shared) = yes].
52643 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
52644 * sysdeps/i386/i686/multiarch/strstr-c.c
52645 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52646 [SHARED && !NO_HIDDEN].
52647 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
52648 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
52649 * sysdeps/powerpc/powerpc32/dl-machine.c
52650 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
52651 * sysdeps/powerpc/powerpc32/sysdep.h
52652 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
52653 to [SHARED && PIC && !NO_HIDDEN].
52654 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
52655 conditional to [SHARED].
52656
52657 2013-09-04 Will Newton <will.newton@linaro.org>
52658
52659 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
52660 * benchtests/bench-string.h: Include bench-timing.h instead
52661 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
52662 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
52663 call to HP_TIMING_DIFF_INIT.
52664 * benchtests/bench-memccpy.c: Use bench-timing.h macros
52665 instead of hp-timing.h macros.
52666 * benchtests/bench-memchr.c: Likewise.
52667 * benchtests/bench-memcmp.c: Likewise.
52668 * benchtests/bench-memcpy.c: Likewise.
52669 * benchtests/bench-memmem.c: Likewise.
52670 * benchtests/bench-memmove.c: Likewise.
52671 * benchtests/bench-memset.c: Likewise.
52672 * benchtests/bench-rawmemchr.c: Likewise.
52673 * benchtests/bench-strcasecmp.c: Likewise.
52674 * benchtests/bench-strcasestr.c: Likewise.
52675 * benchtests/bench-strcat.c: Likewise.
52676 * benchtests/bench-strchr.c: Likewise.
52677 * benchtests/bench-strcmp.c: Likewise.
52678 * benchtests/bench-strcpy.c: Likewise.
52679 * benchtests/bench-strcpy_chk.c: Likewise.
52680 * benchtests/bench-strlen.c: Likewise.
52681 * benchtests/bench-strncasecmp.c: Likewise.
52682 * benchtests/bench-strncat.c: Likewise.
52683 * benchtests/bench-strncmp.c: Likewise.
52684 * benchtests/bench-strncpy.c: Likewise.
52685 * benchtests/bench-strnlen.c: Likewise.
52686 * benchtests/bench-strpbrk.c: Likewise.
52687 * benchtests/bench-strrchr.c: Likewise.
52688 * benchtests/bench-strspn.c: Likewise.
52689 * benchtests/bench-strstr.c: Likewise.
52690
52691 2013-09-04 Will Newton <will.newton@linaro.org>
52692
52693 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
52694
52695 2013-09-03 Joseph Myers <joseph@codesourcery.com>
52696
52697 [BZ #15427]
52698 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
52699 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
52700 * math/libm-test.inc (lgamma_test_data): Add more tests.
52701 * sysdeps/i386/fpu/libm-test-ulps: Update.
52702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52703
52704 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
52705
52706 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
52707 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52708 Add ifunc.
52709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52710 Add strcmp-sse2-unaligned
52711 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
52712
52713 2013-09-02 Mike Frysinger <vapier@gentoo.org>
52714
52715 * Versions.def (libc): Add GLIBC_2.19.
52716
52717 2013-09-02 Mike Frysinger <vapier@gentoo.org>
52718
52719 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
52720 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
52721
52722 2013-09-02 Joseph Myers <joseph@codesourcery.com>
52723
52724 [BZ #14155]
52725 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
52726 intermediate calculations in recurrence.
52727 (__ieee754_ynf): Likewise.
52728 * math/libm-test.inc (jn_test_data): Do not allow spurious
52729 underflow exception. Add more tests.
52730 (yn_test_data): Add more tests.
52731 * sysdeps/i386/fpu/libm-test-ulps: Update.
52732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52733
52734 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
52735
52736 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
52737
52738 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52739
52740 * csu/init-first.c: Fix then/than typos.
52741 * locale/programs/ld-collate.c: Likewise.
52742 * locale/programs/linereader.h: Likewise.
52743 * manual/charset.texi: Likewise.
52744 * manual/filesys.texi: Likewise.
52745 * manual/stdio.texi: Likewise.
52746 * manual/string.texi: Likewise.
52747 * stdlib/fmtmsg.c: Likewise.
52748 * sysdeps/i386/stpncpy.S: Likewise.
52749 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52750 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52751 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52752 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52753
52754 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52755
52756 * elf/dl-open.c: Fix typos.
52757 * iconvdata/gbbig5.c: Likewise.
52758 * iconvdata/iso-2022-jp.c: Likewise.
52759 * iconv/gconv_int.h: Likewise.
52760 * iconv/loop.c: Likewise.
52761 * nis/rpcsvc/nis.h: Likewise.
52762 * resolv/ns_name.c: Likewise.
52763 * stdio-common/vfscanf.c: Likewise.
52764 * streams/stropts.h: Likewise.
52765 * sunrpc/rpc_thread.c: Likewise.
52766 * sysdeps/i386/strpbrk.S: Likewise.
52767 * sysdeps/ieee754/k_standard.c: Likewise.
52768 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52769 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52770 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
52771 * sysdeps/mach/hurd/profil.c: Likewise.
52772 * sysdeps/s390/dl-procinfo.h: Likewise.
52773 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
52774 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
52775 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
52776 * sysdeps/x86_64/dl-trampoline.S: Likewise.
52777 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52778
52779 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52780
52781 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
52782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
52783
52784 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
52785
52786 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
52787 aix specific files.
52788 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
52789 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
52790 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
52791 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
52792 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
52793 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
52794 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
52795 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
52796
52797 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
52798 Roland McGrath <roland@hack.frob.com>
52799
52800 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
52801 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
52802
52803 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
52804
52805 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
52806 __executable_start symbol instead of _start.
52807
52808 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
52809
52810 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
52811 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
52812 Move macros to...
52813 * sysdeps/gnu/ldsodefs.h: ... this new file.
52814
52815 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
52816 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
52817 instead of ELFOSABI_LINUX.
52818
52819 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
52820 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
52821 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
52822 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
52823 Likewise.
52824 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
52825 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
52826 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
52827 Likewise.
52828 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52829 (ibm_extended_long_double): Add ieee_nan member.
52830 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
52831 (do_test): New function.
52832
52833 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
52834 TEST_TRUNC.
52835 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
52836 functions, renamed from truncdfsf_test, trunctfsf_test,
52837 trunctfdf_test.
52838 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
52839 functions.
52840 (do_test): Run all these.
52841
52842 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
52843
52844 * argp/argp-help.c: Fix typos.
52845 * argp/argp-parse.c: Likewise.
52846 * debug/backtracesyms.c: Likewise.
52847 * elf/elf.h: Likewise.
52848 * malloc/malloc.c: Likewise.
52849 * nis/nis_print.c: Likewise.
52850 * resolv/res_comp.c: Likewise.
52851 * stdlib/stdlib.h: Likewise.
52852 * sunrpc/clnt_tcp.c: Likewise.
52853 * sunrpc/clnt_udp.c: Likewise.
52854 * sunrpc/clnt_unix.c: Likewise.
52855 * sysdeps/unix/bsd/ptsname.c: Likewise.
52856 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
52857 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
52858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
52859 Likewise.
52860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
52861 Likewise.
52862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
52863 Likewise.
52864 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52865
52866 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52867
52868 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
52869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52870
52871 2013-08-27 Mike Frysinger <vapier@gentoo.org>
52872
52873 [BZ #15897]
52874 * dlfcn/Makefile (tests): Add bug-dl-leaf.
52875 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
52876 ($(objpfx)bug-dl-leaf): New rule.
52877 ($(objpfx)bug-dl-leaf.so): Likewise.
52878 ($(objpfx)bug-dl-leaf.out): Likewise.
52879 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
52880 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
52881 * dlfcn/bug-dl-leaf.c: New test.
52882 * dlfcn/bug-dl-leaf-lib.c: Likewise.
52883 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
52884 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
52885 (dlclose): Likewise.
52886 (dlmopen): Likewise.
52887
52888 2013-08-27 Roland McGrath <roland@hack.frob.com>
52889
52890 * include/netdb.h [!_ISOMAC]:
52891 Don't include <tls.h>.
52892 (h_errno, __libc_h_errno): Move declaration and macros out of
52893 [_LIBC_REENTRANT].
52894
52895 * include/resolv.h [_RESOLV_H_]:
52896 Don't include <tls.h>.
52897 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
52898 * resolv/res_libc.c: Don't include <tls.h>.
52899 (_res): Use __attribute__ ((nocommon)) in place of
52900 __attribute__ ((section (".bss"))).
52901
52902 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
52903 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
52904
52905 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
52906
52907 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
52908 only under [SIOCGIFCONF && SIOCGIFNETMASK].
52909
52910 * resolv/res_mkquery.c: Include <sys/time.h>.
52911
52912 * inet/ifreq.c: Moved to ...
52913 * sysdeps/unix/ifreq.c: ... here.
52914 * inet/ifreq.c: New file, true stub version.
52915
52916 * socket/sa_len.c: New file.
52917 * socket/Makefile (aux): Add it.
52918 * sysdeps/unix/sysv/linux/Makefile
52919 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
52920 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
52921 and #include <socket/sa_len.c>.
52922 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
52923 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
52924
52925 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
52926 * bits/socket.h: ... here.
52927
52928 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
52929 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
52930 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
52931
52932 2013-08-27 Andreas Schwab <schwab@suse.de>
52933
52934 [BZ #15736]
52935 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
52936 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
52937 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
52938 * string/test-strcasecmp.c (test_main): Run tests in several
52939 locales.
52940 * string/test-strncasecmp.c (test_main): Likewise.
52941
52942 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
52943 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
52944 to __strcasecmp_nonascii and __strncasecmp_nonascii.
52945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
52946 (__strncasecmp_ssse3) [PIC]: Likewise.
52947
52948 2013-08-26 Roland McGrath <roland@hack.frob.com>
52949
52950 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
52951
52952 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
52953 instead of explicitly declaring xdecrypt.
52954 * nis/nss_nis/nis-publickey.c: Likewise.
52955
52956 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52957
52958 [BZ #15890]
52959 * nscd/aicache.c: Include res_hconf.h.
52960 (addhstaiX): Initialize res_hconf.
52961
52962 2013-08-26 Andreas Schwab <schwab@suse.de>
52963
52964 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
52965 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
52966
52967 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52968
52969 * nscd/aicache.c (addhstaiX): Fix indentation.
52970
52971 2013-08-25 Mike Frysinger <vapier@gentoo.org>
52972
52973 * configure.ac: Quote $build_pt_chown test.
52974 * configure: Regenerated.
52975
52976 2013-08-23 Joseph Myers <joseph@codesourcery.com>
52977
52978 [BZ #15532]
52979 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
52980 * math/s_cexpf.c (__cexpf): Likewise.
52981 * math/s_cexpl.c (__cexpl): Likewise.
52982 * math/libm-test.inc (cexp_test_data): Correct expected return
52983 value for NaN + i0. Add another test.
52984
52985 2013-08-22 David S. Miller <davem@davemloft.net>
52986
52987 * po/ca.po: Update Catalan translation from translation project.
52988 * po/uk.po: Add Ukrainian translations from translation project.
52989
52990 2013-08-21 Joseph Myers <joseph@codesourcery.com>
52991
52992 [BZ #15797]
52993 * math/s_fdim.c (__fdim): Check for infinite arguments if result
52994 is infinite, not alongside NaN test.
52995 * math/s_fdimf.c (__fdimf): Likewise.
52996 * math/s_fdiml.c (__fdiml): Likewise.
52997 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
52998 errno is unchanged.
52999
53000 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
53001
53002 * argp/argp-help.c: Fix typos.
53003 * crypt/speeds.c: Likewise.
53004 * csu/check_fds.c: Likewise.
53005 * elf/dl-load.c: Likewise.
53006 * elf/dl-open.c: Likewise.
53007 * elf/reldep3.c: Likewise.
53008 * elf/reldep.c: Likewise.
53009 * elf/sprof.c: Likewise.
53010 * iconv/iconv_charmap.c: Likewise.
53011 * iconv/skeleton.c: Likewise.
53012 * iconv/strtab.c: Likewise.
53013 * io/lockf64.c: Likewise.
53014 * libio/libioP.h: Likewise.
53015 * resolv/gai_notify.c: Likewise.
53016 * resolv/ns_name.c: Likewise.
53017 * resolv/ns_samedomain.c: Likewise.
53018 * resolv/res_send.c: Likewise.
53019 * stdlib/random.c: Likewise.
53020 * sunrpc/rpc/xdr.h: Likewise.
53021 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53022 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53023 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53024 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53025 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53026 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53027 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53028 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53029 * sysdeps/mach/hurd/check_fds.c: Likewise.
53030 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53031 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53032 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53033 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53034 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53035 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53036 * sysdeps/pthread/aio_notify.c: Likewise.
53037 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53038 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53039 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53040 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53041 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53042
53043 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53044
53045 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53046 version if bit_Slow_SSE4_2 is set.
53047 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53048 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53049
53050 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53051
53052 [BZ #15867]
53053 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53054 trampoline stack frame information.
53055 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53056 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53057 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53058 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53059 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53060 * sysdeps/unix/sysv/linux/powerpc/init-first.c
53061 (_libc_vdso_platform_setup): Initialize the signal trampolines.
53062 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53063 sa_flags value.
53064 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53065 interrupting a syscall and set with option SA_SIGINFO.
53066
53067 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53068
53069 [BZ #15531]
53070 * math/s_cproj.c (__cproj): Only return an infinity if one part of
53071 argument is infinite.
53072 * math/s_cprojf.c (__cprojf): Likewise.
53073 * math/s_cprojl.c (__cprojl): Likewise.
53074 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53075 * math/libm-test.inc (cproj_test_data): Add more tests.
53076
53077 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53078
53079 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53080 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53081 size. Use __ffs to determine corresponding shift.
53082
53083 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53084 Roland McGrath <roland@hack.frob.com>
53085
53086 * Makefile (INSTALL): Remove trailing blank lines from output of
53087 makeinfo.
53088
53089 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53090
53091 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53092 Align 32 bit compat elf_greg to 8 bytes.
53093
53094 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
53095
53096 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53097
53098 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53099
53100 * string/strcoll_l.c (coll_seq): New structure.
53101 (get_next_seq_cached): New function.
53102 (get_next_seq): New function.
53103 (do_compare): New function.
53104 (STRCOLL): Use GNU style definition. Simplify implementation
53105 by using get_next_seq, get_next_seq_cached and do_compare.
53106
53107 2013-08-16 Florian Weimer <fweimer@redhat.com>
53108
53109 [BZ #14699]
53110 CVE-2013-4237
53111 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53112 member.
53113 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53114 member.
53115 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53116 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53117 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
53118 conditional.
53119 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53120 GETDENTS_64BIT_ALIGNED.
53121 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53122 * manual/filesys.texi (Reading/Closing Directory): Document
53123 ENAMETOOLONG return value of readdir_r. Recommend readdir more
53124 strongly.
53125 * manual/conf.texi (Limits for Files): Add portability note to
53126 NAME_MAX, PATH_MAX.
53127 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53128
53129 2013-08-13 Andreas Schwab <schwab@suse.de>
53130
53131 [BZ #15749]
53132 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53133 of fabs.
53134 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53135 LDBL_MAX_EXP >= 16384]: Add tests for it.
53136
53137 2013-08-12 David S. Miller <davem@davemloft.net>
53138
53139 * version.h (RELEASE): Set to "development".
53140 (VERSION): Set to "2.18.90".
53141 * NEWS: Add 2.19 section.
53142
53143 2013-08-03 David S. Miller <davem@davemloft.net>
53144
53145 * po/ko.po: Update Korean translation from translation project.
53146
53147 2013-08-01 David S. Miller <davem@davemloft.net>
53148
53149 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
53150 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53151 Bilka.
53152
53153 2013-07-30 David S. Miller <davem@davemloft.net>
53154
53155 * po/fr.po: Update French translation from translation project.
53156
53157 2013-07-28 David S. Miller <davem@davemloft.net>
53158
53159 * po/cs.po: Update Czech translation from translation project.
53160
53161 * po/sv.po: Update Swedish translation from translation project.
53162
53163 2013-07-27 David S. Miller <davem@davemloft.net>
53164
53165 * po/eo.po: Update Esperanto translation from translation project.
53166
53167 * po/vi.po: Update Vietnamese translation from translation project.
53168
53169 * po/de.po: Update German translation from translation project.
53170
53171 2013-07-26 David S. Miller <davem@davemloft.net>
53172
53173 * po/bg.po: Update Bulgarian translation from translation project.
53174
53175 * po/nl.po: Update Dutch translation from translation project.
53176 * po/pl.po: Update Polish translation from translation project.
53177 * po/ru.po: Update Russian translation from translation project.
53178
53179 2013-07-24 David S. Miller <davem@davemloft.net>
53180
53181 * po/libc.pot: Update.
53182
53183 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53184
53185 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53186 variable page size.
53187 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53188 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53189 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53190
53191 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53192
53193 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53194
53195 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53196 Andreas Schwab <schwab@suse.de>
53197 Roland McGrath <roland@hack.frob.com>
53198 Joseph Myers <joseph@codesourcery.com>
53199 Carlos O'Donell <carlos@redhat.com>
53200
53201 [BZ #15755]
53202 * config.h.in: Define HAVE_PT_CHOWN.
53203 * config.make.in (build-pt-chown): New variable.
53204 * configure.in (--enable-pt_chown): New configure option.
53205 * configure: Regenerate.
53206 * login/Makefile: Include Makeconfig. Build pt_chown only if
53207 build-pt-chown is enabled.
53208 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53209 pt_chown to fix pty ownership.
53210 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53211 CLOSE_ALL_FDS.
53212 * manual/install.texi (Configuring and compiling): Mention
53213 --enable-pt_chown. Add @findex for grantpt.
53214 * INSTALL: Regenerate.
53215
53216 2013-07-20 David S. Miller <davem@davemloft.net>
53217
53218 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53219 difference between 32-bit and 64-bit.
53220
53221 2013-07-15 Carlos O'Donell <carlos@redhat.com>
53222
53223 [BZ #15711]
53224 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53225 Avoid system header dependency with -ffreestanding.
53226 ($(objpfx)bits/syscall%d): Likewise.
53227
53228 2013-07-13 David S. Miller <davem@davemloft.net>
53229
53230 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53231 underflows from atanl/atan2l due to bug 15319.
53232 (casinh_test_data): Likewise.
53233
53234 2013-07-07 David S. Miller <davem@davemloft.net>
53235
53236 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53237
53238 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
53239
53240 * sysdeps/i386/fpu/libm-test-ulps: Update.
53241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53242
53243 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53244
53245 * configure.in (--enable-lock-elision): Fix message text.
53246 * INSTALL: Regenerate.
53247 * configure: Regenerate.
53248
53249 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53250
53251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53252
53253 2013-07-03 Andreas Jaeger <aj@suse.de>
53254
53255 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53256 define.
53257 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53258 (ptrace_peeksiginfo_args): Add.
53259 (__ptrace_peeksiginfo_flags): Add.
53260 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53261 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53262 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53263
53264 2013-07-03 Allan McRae <allan@archlinux.org>
53265
53266 * sysdeps/i386/fpu/libm-test-ulps: Update.
53267
53268 2013-07-02 David S. Miller <davem@davemloft.net>
53269
53270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53271
53272 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
53273
53274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53275
53276 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53277
53278 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53280
53281 2013-07-02 Andi Kleen <ak@linux.intel.com>
53282
53283 * config.h.in (ENABLE_LOCK_ELISION): Add.
53284 * configure.in (--enable-lock-elision): Add option.
53285 * manual/install.texi: Document --enable lock elision.
53286 * configure: Regenerate
53287 * INSTALL: Regenerate.
53288
53289 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
53290
53291 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53292 SSE4.2 strcasecmp for libc.a.
53293 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53294
53295 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53296
53297 [BZ #13304]
53298 * soft-fp/op-common.h (_FP_FMA): New macro.
53299 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53300 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
53301 (_FP_MUL_MEAT_1_imm): ... here.
53302 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
53303 (_FP_MUL_MEAT_1_wide): ... here.
53304 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
53305 (_FP_MUL_MEAT_1_hard): ... here.
53306 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53307 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
53308 (_FP_MUL_MEAT_2_wide): ... here.
53309 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
53310 (_FP_MUL_MEAT_2_wide_3mul): ... here.
53311 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
53312 (_FP_MUL_MEAT_2_gmp): ... here.
53313 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53314 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
53315 (_FP_MUL_MEAT_4_wide): ... here.
53316 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
53317 (_FP_MUL_MEAT_4_gmp): ... here.
53318 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53319 (_FP_WFRACBITS_DW_S): Likewise.
53320 (_FP_WFRACXBITS_DW_S): Likewise.
53321 (_FP_HIGHBIT_DW_S): Likewise.
53322 (FP_FMA_S): Likewise.
53323 (_FP_FRAC_HIGH_DW_S): Likewise.
53324 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53325 (_FP_WFRACBITS_DW_D): Likewise.
53326 (_FP_WFRACXBITS_DW_D): Likewise.
53327 (_FP_HIGHBIT_DW_D): Likewise.
53328 (FP_FMA_D): Likewise.
53329 (_FP_FRAC_HIGH_DW_D): Likewise.
53330 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53331 (_FP_WFRACBITS_DW_E): Likewise.
53332 (_FP_WFRACXBITS_DW_E): Likewise.
53333 (_FP_HIGHBIT_DW_E): Likewise.
53334 (FP_FMA_E): Likewise.
53335 (_FP_FRAC_HIGH_DW_E): Likewise.
53336 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53337 (_FP_WFRACBITS_DW_Q): Likewise.
53338 (_FP_WFRACXBITS_DW_Q): Likewise.
53339 (_FP_HIGHBIT_DW_Q): Likewise.
53340 (FP_FMA_Q): Likewise.
53341 (_FP_FRAC_HIGH_DW_Q): Likewise.
53342 * soft-fp/fmasf4.c: New file.
53343 * soft-fp/fmadf4.c: Likewise.
53344 * soft-fp/fmatf4.c: Likewise.
53345
53346 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53347
53348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53349 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53350 Silvermont.
53351 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53352 macro.
53353 (index_Slow_SSE4_2): Likewise.
53354 (index_Prefer_PMINUB_for_stringop): Likewise.
53355 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53356 bit_Slow_SSE4_2 is set.
53357 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53358 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53359
53360 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53361
53362 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53363 rtld_global._dl_hwcap2.
53364 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53365 POWER8.
53366 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53367 POWER8 feature descriptions defined in _dl_hwcap2.
53368 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53369 string handling for POWER8 feature bits.
53370 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53371 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53372 _dl_powerpc_cap_flags.
53373 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53374 * sysdeps/powerpc/rtld-global-offsets.sym
53375 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53376 _dl_hwcap2 in the rtld_global_ro structure.
53377
53378 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53379
53380 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53381 hardware capabilities in support of AT_HWCAP2.
53382 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53383 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53384 GLRO(dl_hwcap2).
53385 (_dl_show_auxv): Add support for calling _dl_procinfo to display
53386 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
53387 explicitly the unknown a_type display mechanism is used.
53388 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53389 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53390 struct member.
53391 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53392 to macro prototype for AT_HWCAP2 support.
53393 * sysdeps/i386/dl-procinfo.h: Likewise.
53394 * sysdeps/s390/dl-procinfo.h: Likewise.
53395 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53396 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
53397 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
53398 return -1 for unknown a_type display fallback.
53399 * sysdeps/sparc/dl-procinfo.h: Likewise.
53400 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53401 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53402
53403 2013-06-28 Joseph Myers <joseph@codesourcery.com>
53404
53405 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53406 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53407
53408 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
53409
53410 [BZ #12492]
53411 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53412 mprotect making __stack_prot writable.
53413
53414 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
53415 Joseph Myers <joseph@codesourcery.com>
53416
53417 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53418 as being properly aligned.
53419
53420 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
53421
53422 * dlfcn/modstatic5.c: New file.
53423 * dlfcn/tststatic5.c: New file.
53424 * dlfcn/Makefile (tests): Add tststatic5.
53425 (tests-static): Likewise.
53426 (modules-names): Add modstatic5.
53427 (tststatic5-ENV): New variable.
53428 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53429
53430 [BZ #15022]
53431 * elf/dl-support.c (_dl_main_map): New variable.
53432 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53433 (_dl_nns, _dl_load_adds): Set to 1.
53434 (_dl_initial_searchlist): Refer to _dl_main_map.
53435 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53436 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53437 call to _dl_get_origin.
53438 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53439 around call_map.
53440 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
53441 * dlfcn/modstatic3.c: New file.
53442 * dlfcn/tststatic3.c: New file.
53443 * dlfcn/tststatic4.c: New file.
53444 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
53445 (tests-static): Likewise.
53446 (modules-names): Add modstatic3.
53447 (tststatic3-ENV, tststatic4-ENV): New variables.
53448 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
53449 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
53450
53451 2013-06-26 Joseph Myers <joseph@codesourcery.com>
53452
53453 * configure.in (CC): Require GCC version 4.4 or later.
53454 * configure: Regenerated.
53455 * manual/install.texi (Tools for Compilation): Update GCC version
53456 requirement.
53457 * INSTALL: Regenerated.
53458
53459 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53460
53461 [BZ #15674]
53462 * string/test-memcmp.c (check2): New.
53463 (main): Call check2.
53464
53465 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
53466
53467 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
53468
53469 [BZ #15022]
53470 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
53471 over to...
53472 (dl_open_worker) [!SHARED]: ... here.
53473
53474 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53475
53476 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
53477
53478 2013-06-25 Richard Henderson <rth@redhat.com>
53479
53480 * locale/programs/locarchive.c: Include <libc-internal.h>
53481
53482 2013-06-25 Joseph Myers <joseph@codesourcery.com>
53483
53484 * manual/texinfo.tex: Update to version 2013-06-21.17, with
53485 trailing whitespace removed.
53486
53487 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53488
53489 [BZ #10283]
53490 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
53491 * locale/programs/locarchive.c: Include libc-mmap.h.
53492 (prepare_address_space): Take two new outputs (the mmap base and len).
53493 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
53494 values.
53495 (create_archive): Declare new mmap base and len values for
53496 prepare_address_space, and store the result in ah.
53497 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
53498 (enlarge_archive): If ah->mmap_base is not NULL, use that and
53499 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53500 Declare new mmap base and len values for
53501 prepare_address_space, and store the result in new_ah.
53502 (open_archive): Declare new mmap base and len values for
53503 prepare_address_space, and store the result in ah.
53504 (close_archive): If ah->mmap_base is not NULL, use that and
53505 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53506 * sysdeps/generic/libc-mmap.h: New file.
53507
53508 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53509
53510 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
53511 (ALIGN_UP): Likewise.
53512 (PTR_ALIGN_DOWN): Likewise.
53513 (PTR_ALIGN_UP): Likewise.
53514
53515 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53516
53517 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
53518 entry mapped to PPC_PLATFORM_POWER8.
53519 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
53520 POWER8.
53521 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
53522 (_dl_string_platform): Add case for exporting platform position for
53523 POWER8.
53524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
53525 search path to sysdeps/powerpc/powerpc32/power8 directory.
53526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
53527 search path to sysdeps/powerpc/powerpc64/power8 directory.
53528 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
53529 power7 directories.
53530 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
53531 power7 directories.
53532
53533 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53534
53535 * INSTALL: Regenerate.
53536
53537 * nscd/connections.c (nscd_init): Fix comment.
53538
53539 2013-06-22 Joseph Myers <joseph@codesourcery.com>
53540
53541 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
53542
53543 [BZ #15667]
53544 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
53545 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
53546
53547 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53548
53549 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
53550 DL_DST_REQ_STATIC.
53551 (DL_DST_REQ_STATIC): Remove macro.
53552
53553 2013-06-21 Joseph Myers <joseph@codesourcery.com>
53554
53555 [BZ #7006]
53556 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
53557 with a shift of 0 bits.
53558
53559 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53560
53561 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
53562 $(tststatic-ENV).
53563
53564 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53565
53566 [BZ #15655]
53567 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
53568
53569 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53570
53571 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
53572 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
53573 accepts -fno-tree-loop-distribute-patterns.
53574 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
53575 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
53576 recursive call.
53577 * string/memset.c (memset): Likewise.
53578 * string/test-memmove.c (simple_memmove): Disable loop transformation
53579 to library calls.
53580 * string/test-memset.c (simple_memset): Likewise.
53581 * benchtests/bench-memmove.c (simple_memmove): Likewise.
53582 * benchtests/bench-memset.c (simple_memset): Likewise.
53583 * configure: Regenerated.
53584
53585 2013-06-20 Joseph Myers <joseph@codesourcery.com>
53586
53587 * math/test-misc.c (main): Ignore fesetround failure when failures
53588 of subsequent rounding tests would be ignored.
53589
53590 [BZ #15654]
53591 * math/fedisblxcpt.c (fedisableexcept): Return 0.
53592 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
53593 * math/fegetenv.c (__fegetenv): Return 0.
53594 * math/fegetexcept.c (fegetexcept): Return 0.
53595 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
53596 FE_TONEAREST.
53597 * math/feholdexcpt.c (feholdexcept): Return 0.
53598 * math/fesetenv.c (__fesetenv): Return 0.
53599 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
53600 argument FE_TONEAREST.
53601 * math/feupdateenv.c (__feupdateenv): Return 0.
53602 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
53603
53604 2013-06-18 Roland McGrath <roland@hack.frob.com>
53605
53606 * elf/rtld-Rules (rtld-compile-command.S): New variable.
53607 (rtld-compile-command.s, rtld-compile-command.c): New variables.
53608 ($(objpfx)rtld-%.os rules): Use them.
53609
53610 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53611
53612 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
53613 fields.
53614
53615 2013-06-17 Roland McGrath <roland@hack.frob.com>
53616
53617 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
53618 length of target pattern, then descending length of dependency pattern.
53619 * configure.in (AWK): Require gawk 3.1.2 or newer.
53620 * manual/install.texi (Tools for Compilation): Say that we do.
53621 * configure: Regenerated.
53622
53623 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
53624 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
53625 * scripts/sysd-rules.awk: ... this new script.
53626 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
53627 than a glob-style pattern.
53628
53629 2013-06-17 Joseph Myers <joseph@codesourcery.com>
53630
53631 * math/test-misc.c (main): Do not treat incorrectly rounded
53632 conversions as failure unless ROUNDING_TESTS passes.
53633
53634 2013-06-15 Joseph Myers <joseph@codesourcery.com>
53635
53636 [BZ #15631]
53637 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
53638 restore exception state around main square root computation, then
53639 check for inexactness explicitly.
53640
53641 * math/libm-test.inc (fma_test_data): Add another test.
53642
53643 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53644
53645 * manual/threads.texi (Non-POSIX Extensions): New document
53646 node. Document pthread_getattr_default_np and
53647 pthread_setattr_default_np.
53648
53649 * Versions.def (libpthread): Add GLIBC_2.18.
53650 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
53651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53652 Likewise.
53653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53654 Likewise.
53655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53656 Likewise.
53657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53658 Likewise.
53659 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
53660 Likewise.
53661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53662 Likewise.
53663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53664 Likewise.
53665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53666 Likewise.
53667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53668 Likewise.
53669
53670 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53671
53672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53673 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
53674
53675 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
53676 H.J. Lu <hjl.tools@gmail.com>
53677
53678 [BZ #15627]
53679 * sysdeps/x86_64/rtld-memset.c: Remove file.
53680 * sysdeps/x86_64/rtld-memset.S: New file.
53681
53682 2013-06-14 Joseph Myers <joseph@codesourcery.com>
53683
53684 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
53685 (test_in_one_mode): Take arguments for whether the rounding mode
53686 is supported for each floating-point type.
53687 (do_test): Pass new arguments to test_in_one_mode using
53688 ROUNDING_TESTS.
53689
53690 2013-06-13 Roland McGrath <roland@hack.frob.com>
53691
53692 * posix/tst-waitid.c (do_test): Distinguish different instances of
53693 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
53694 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
53695 before entering the kernel for waitpid.
53696
53697 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53698
53699 * NEWS: Fix note on clock function precision. Text by Roland
53700 McGrath.
53701
53702 2013-06-13 Roland McGrath <roland@hack.frob.com>
53703
53704 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
53705 it into place only when and if the sanity check passes.
53706
53707 2013-06-13 Joseph Myers <joseph@codesourcery.com>
53708
53709 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
53710 output for whether conversion result is exact. Take argument
53711 indicating whether type is IBM long double.
53712 (round_for_all): Change need_exact field to ibm_ld.
53713 * stdlib/tst-strtod-round.c (struct exactness): New type.
53714 (struct test): Change bool ld_ok field to struct exactness exact.
53715 (TEST): Update all definitions for change to field.
53716 (tests): Regenerate array contents.
53717 (test_in_one_mode): Take pointer to new field instead of old ld_ok
53718 field value. Check for IBM long double here.
53719 (do_test): Update calls to test_in_one_mode.
53720
53721 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53722
53723 [BZ #12515]
53724 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
53725 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
53726
53727 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53728
53729 [BZ #15605]
53730 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
53731 generated by the compiler on loop optimizations.
53732 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
53733 general definitions.
53734
53735 2013-06-12 Joseph Myers <joseph@codesourcery.com>
53736
53737 * math/bug-nextafter.c: Include <math-tests.h>.
53738 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53739 the relevant type.
53740 * math/bug-nexttoward.c: Include <math-tests.h>.
53741 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53742 the relevant type.
53743 * math/test-misc.c: Include <math-tests.h>.
53744 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53745 the relevant type.
53746
53747 2013-06-12 Andreas Jaeger <aj@suse.de>
53748
53749 * po/ia.po: Update Interlingua translation from translation
53750 project.
53751
53752 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
53753
53754 * include/fenv.h: Include stdbool.h.
53755 (struct rm_ctx): New structure.
53756 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
53757 Define macro.
53758 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
53759 (SET_RESTORE_ROUNDF): Likewise.
53760 (SET_RESTORE_ROUNDL): Likewise.
53761 (SET_RESTORE_ROUND_NOEX): Likewise.
53762 (SET_RESTORE_ROUND_NOEXF): Likewise.
53763 (SET_RESTORE_ROUND_NOEXL): Likewise.
53764 (SET_RESTORE_ROUND_53BIT): Likewise.
53765 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
53766 (libc_feresetround_noexf_ctx): Likewise.
53767 (libc_feresetround_noexl_ctx): Likewise.
53768 (libc_feholdsetround_53bit_ctx): Likewise.
53769 (libc_feresetround_53bit_ctx): Likewise.
53770 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
53771 (libc_feholdexcept_setround_sse_ctx): New function.
53772 (libc_fesetenv_sse_ctx): Likewise.
53773 (libc_feupdateenv_sse_ctx): Likewise.
53774 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
53775 (libc_feholdexcept_setround_387_ctx): Likewise.
53776 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
53777 (libc_feholdsetround_387_prec_ctx): Likewise.
53778 (libc_feholdsetround_387_ctx): Likewise.
53779 (libc_feholdsetround_387_53bit_ctx): Likewise.
53780 (libc_feholdsetround_sse_ctx): Likewise.
53781 (libc_feresetround_sse_ctx): Likewise.
53782 (libc_feresetround_387_ctx): Likewise.
53783 (libc_feupdateenv_387_ctx): Likewise.
53784 (libc_feholdexcept_setroundf_ctx): Define macro.
53785 (libc_fesetenvf_ctx): Likewise.
53786 (libc_feupdateenvf_ctx): Likewise.
53787 (libc_feholdsetroundf_ctx): Likewise.
53788 (libc_feresetroundf_ctx): Likewise.
53789 (libc_feholdexcept_setround_ctx): Likewise.
53790 (libc_fesetenv_ctx): Likewise.
53791 (libc_feupdateenv_ctx): Likewise.
53792 (libc_feholdsetround_ctx): Likewise.
53793 (libc_feresetround_ctx): Likewise.
53794 (libc_feholdexcept_setroundl_ctx): Likewise.
53795 (libc_feupdateenvl_ctx): Likewise.
53796 (libc_feholdsetroundl_ctx): Likewise.
53797 (libc_feresetroundl_ctx): Likewise.
53798 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
53799 (libc_feresetround_53bit_ctx): Likewise.
53800
53801 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53802
53803 * locale/iso-639.def: Convert to UTF-8.
53804
53805 2013-06-11 Joseph Myers <joseph@codesourcery.com>
53806
53807 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
53808 (EXCEPTION_TESTS_double): Likewise.
53809 (EXCEPTION_TESTS_long_double): Likewise.
53810 (EXCEPTION_TESTS): Likewise.
53811 * math/libm-test.inc (test_exceptions): Only test exceptions if
53812 EXCEPTION_TESTS (FLOAT).
53813
53814 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53815
53816 * benchtests/Makefile (string-bench): Add strcpy_chk and
53817 stpcpy_chk.
53818 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
53819 * benchtests/bench-stpcpy_chk.c: New file.
53820 * benchtests/bench-strcpy_chk-ifunc.c: New file.
53821 * benchtests/bench-strcpy_chk.c: New file.
53822 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
53823 code.
53824 (do_test): Likewise.
53825
53826 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53827
53828 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
53829 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
53830 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
53831 with tabs where appropriate.
53832 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
53833 dl-procinfo.h.
53834 [PPC_PLATFORM_PPC440]: Likewise.
53835 [PPC_PLATFORM_PPC464]: Likewise.
53836 [PPC_PLATFORM_PPC476]: Likewise.
53837 (_dl_string_platform): Add support for detecting ppc405, ppc440,
53838 ppc464, and ppc476 platform strings merging from ports/
53839 dl-procinfo.h.
53840
53841 2013-06-11 Andreas Schwab <schwab@suse.de>
53842
53843 [BZ #14991]
53844 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
53845 (from_ucs4_idx): Regenerate.
53846 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
53847 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
53848 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
53849 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
53850 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
53851 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
53852 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53853 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
53854 from FROM_LOOP and TO_LOOP specific macros.
53855 (BODY): Handle combining characters.
53856 * iconvdata/BIG5HKSCS.irreversible: Update.
53857 * iconvdata/BIG5HKSCS.precomposed: New file.
53858 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
53859 characters.
53860 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
53861
53862 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53863
53864 * include/sys/time.h: Fix indentation and add copyright header.
53865
53866 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
53867 (do_test): Likewise.
53868 * string/test-memchr.c (do_one_test): Likewise.
53869 (do_test): Likewise.
53870 * string/test-memcmp.c (do_one_test): Likewise.
53871 (do_test): Likewise.
53872 * string/test-memcpy.c (do_one_test): Likewise.
53873 (do_test): Likewise.
53874 * string/test-memmem.c (do_one_test): Likewise.
53875 (do_test): Likewise.
53876 (do_random_tests): Likewise.
53877 * string/test-memmove.c (do_one_test): Likewise.
53878 (do_test): Likewise.
53879 * string/test-memset.c (do_one_test): Likewise.
53880 (do_test): Likewise.
53881 * string/test-rawmemchr.c (do_one_test): Likewise.
53882 (do_test): Likewise.
53883 * string/test-strcasecmp.c (do_one_test): Likewise.
53884 (do_test): Likewise.
53885 * string/test-strcasestr.c (do_one_test): Likewise.
53886 (do_test): Likewise.
53887 * string/test-strcat.c (do_one_test): Likewise.
53888 (do_test): Likewise.
53889 * string/test-strchr.c (do_one_test): Likewise.
53890 (do_test): Likewise.
53891 * string/test-strcmp.c (do_one_test): Likewise.
53892 (do_test): Likewise.
53893 * string/test-strcpy.c (do_one_test): Likewise.
53894 (do_test): Likewise.
53895 * string/test-string.h: Likewise.
53896 (test_init): Likewise.
53897 * string/test-strlen.c (do_one_test): Likewise.
53898 (do_test): Likewise.
53899 * string/test-strncasecmp.c (do_one_test): Likewise.
53900 (do_test): Likewise.
53901 * string/test-strncat.c (do_one_test): Likewise.
53902 (do_test): Likewise.
53903 * string/test-strncmp.c (do_one_test): Likewise.
53904 (do_test_limit): Likewise.
53905 (do_test): Likewise.
53906 * string/test-strncpy.c (do_one_test): Likewise.
53907 (do_test): Likewise.
53908 * string/test-strnlen.c (do_one_test): Likewise.
53909 (do_test): Likewise.
53910 * string/test-strpbrk.c (do_one_test): Likewise.
53911 (do_test): Likewise.
53912 * string/test-strrchr.c (do_one_test): Likewise.
53913 (do_test): Likewise.
53914 * string/test-strspn.c (do_one_test): Likewise.
53915 (do_test): Likewise.
53916 * string/test-strstr.c (do_one_test): Likewise.
53917 (do_test): Likewise.
53918
53919 * benchtests/Makefile (string-bench): Add string benchmarks.
53920 * benchtests/bench-bcopy-ifunc.c: New file.
53921 * benchtests/bench-bcopy.c: New file.
53922 * benchtests/bench-bzero-ifunc.c: New file.
53923 * benchtests/bench-bzero.c: New file.
53924 * benchtests/bench-memccpy-ifunc.c: New file.
53925 * benchtests/bench-memccpy.c: New file.
53926 * benchtests/bench-memchr-ifunc.c: New file.
53927 * benchtests/bench-memchr.c: New file.
53928 * benchtests/bench-memcmp-ifunc.c: New file.
53929 * benchtests/bench-memcmp.c: New file.
53930 * benchtests/bench-memmem-ifunc.c: New file.
53931 * benchtests/bench-memmem.c: New file.
53932 * benchtests/bench-memmove-ifunc.c: New file.
53933 * benchtests/bench-memmove.c: New file.
53934 * benchtests/bench-mempcpy-ifunc.c: New file.
53935 * benchtests/bench-mempcpy.c: New file.
53936 * benchtests/bench-memset-ifunc.c: New file.
53937 * benchtests/bench-memset.c: New file.
53938 * benchtests/bench-rawmemchr-ifunc.c: New file.
53939 * benchtests/bench-rawmemchr.c: New file.
53940 * benchtests/bench-stpcpy-ifunc.c: New file.
53941 * benchtests/bench-stpcpy.c: New file.
53942 * benchtests/bench-stpncpy-ifunc.c: New file.
53943 * benchtests/bench-stpncpy.c: New file.
53944 * benchtests/bench-strcasecmp-ifunc.c: New file.
53945 * benchtests/bench-strcasecmp.c: New file.
53946 * benchtests/bench-strcasestr-ifunc.c: New file.
53947 * benchtests/bench-strcasestr.c: New file.
53948 * benchtests/bench-strcat-ifunc.c: New file.
53949 * benchtests/bench-strcat.c: New file.
53950 * benchtests/bench-strchr-ifunc.c: New file.
53951 * benchtests/bench-strchr.c: New file.
53952 * benchtests/bench-strchrnul-ifunc.c: New file.
53953 * benchtests/bench-strchrnul.c: New file.
53954 * benchtests/bench-strcmp-ifunc.c: New file.
53955 * benchtests/bench-strcmp.c: New file.
53956 * benchtests/bench-strcpy-ifunc.c: New file.
53957 * benchtests/bench-strcpy.c: New file.
53958 * benchtests/bench-strcspn-ifunc.c: New file.
53959 * benchtests/bench-strcspn.c: New file.
53960 * benchtests/bench-strlen-ifunc.c: New file.
53961 * benchtests/bench-strlen.c: New file.
53962 * benchtests/bench-strncasecmp-ifunc.c: New file.
53963 * benchtests/bench-strncasecmp.c: New file.
53964 * benchtests/bench-strncat-ifunc.c: New file.
53965 * benchtests/bench-strncat.c: New file.
53966 * benchtests/bench-strncmp-ifunc.c: New file.
53967 * benchtests/bench-strncmp.c: New file.
53968 * benchtests/bench-strncpy-ifunc.c: New file.
53969 * benchtests/bench-strncpy.c: New file.
53970 * benchtests/bench-strnlen-ifunc.c: New file.
53971 * benchtests/bench-strnlen.c: New file.
53972 * benchtests/bench-strpbrk-ifunc.c: New file.
53973 * benchtests/bench-strpbrk.c: New file.
53974 * benchtests/bench-strrchr-ifunc.c: New file.
53975 * benchtests/bench-strrchr.c: New file.
53976 * benchtests/bench-strspn-ifunc.c: New file.
53977 * benchtests/bench-strspn.c: New file.
53978 * benchtests/bench-strstr-ifunc.c: New file.
53979 * benchtests/bench-strstr.c: New file.
53980
53981 * benchtests/Makefile: Disable parallel execution of targets.
53982 (string-bench): Add memcpy.
53983 (benchset): New variable to store a list of benchmark sets.
53984 (bench-func): Renamed from bench.
53985 (bench-set): New target.
53986 (bench): Depend on bench-func and bench-set.
53987 * benchtests/README: Add section on benchmark sets.
53988 * benchtests/bench-memcpy-ifunc.c: New file.
53989 * benchtests/bench-memcpy.c: New file.
53990 * benchtests/bench-string.h: New file.
53991
53992 2013-06-11 Andreas Schwab <schwab@suse.de>
53993
53994 [BZ #15577]
53995 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
53996 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
53997 values in the triple.
53998 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
53999 terminator in the group key.
54000
54001 2013-06-11 Andreas Jaeger <aj@suse.de>
54002
54003 * po/zh_TW.po: Update Chinese (traditional) translation from
54004 translation project.
54005
54006 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54007
54008 * include/time.h (__clock_gettime): Add libc_hidden_proto.
54009 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54010 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
54011 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54012 (clock_getcpuclockid): Likewise.
54013 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54014 Add weak_alias and libc_hidden_def.
54015 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54016 * rt/clock_gettime.c (clock_gettime): Rename to
54017 __clock_gettime. Add weak_alias and libc_hidden_def.
54018 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54019 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54020 __clock_nanosleep. Add weak_alias and libc_hidden_def.
54021 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54022 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54023 Likewise.
54024 * rt/clock_settime.c (clock_settime): Rename to
54025 __clock_settime. Add weak_alias and libc_hidden_def.
54026 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54027
54028 2013-06-10 Joseph Myers <joseph@codesourcery.com>
54029
54030 * mach/err_boot.sub: Remove trailing whitespace.
54031 * mach/err_ipc.sub: Likewise.
54032 * mach/err_mach.sub: Likewise.
54033
54034 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54035 (ROUNDING_TESTS_double): Likewise.
54036 (ROUNDING_TESTS_long_double): Likewise.
54037 (ROUNDING_TESTS): Likewise.
54038 * math/libm-test.inc: Include <math-tests.h>.
54039 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54040 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54041 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54042 (IF_ROUND_INIT_FE_UPWARD): Likewise.
54043
54044 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54045
54046 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54047 of assigning.
54048
54049 2013-06-08 Joseph Myers <joseph@codesourcery.com>
54050
54051 * sysdeps/gnu/errlist.awk: Do not generate space at end of
54052 otherwise empty TRANS lines.
54053 * sysdeps/gnu/errlist.c: Regenerated.
54054
54055 * catgets/gencat.c (error_print): Use (void) in function
54056 definition.
54057 * crypt/crypt_util.c (__init_des): Likewise.
54058 * crypt/speeds.c (Stop): Likewise.
54059 (main): Likewise.
54060 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54061 * inet/ruserpass.c (token): Likewise.
54062 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54063 * intl/localealias.c (extend_alias_table): Likewise.
54064 * intl/plural-exp.c (init_germanic_plural): Likewise.
54065 * libio/fcloseall.c (__fcloseall): Likewise.
54066 * libio/genops.c (_IO_flush_all): Likewise.
54067 (_IO_flush_all_linebuffered): Likewise.
54068 (_IO_cleanup): Likewise.
54069 (_IO_iter_begin): Likewise.
54070 (_IO_iter_end): Likewise.
54071 (_IO_list_lock): Likewise.
54072 (_IO_list_unlock): Likewise.
54073 (_IO_list_resetlock): Likewise.
54074 * libio/getchar.c (getchar): Likewise.
54075 * libio/getchar_u.c (getchar_unlocked): Likewise.
54076 * libio/getwchar.c (getwchar): Likewise.
54077 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54078 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54079 * login/getpt.c (__getpt): Likewise.
54080 * login/tst-utmp.c (main): Likewise.
54081 * malloc/hooks.c (__malloc_check_init): Likewise.
54082 * malloc/malloc.c (__malloc_stats): Likewise.
54083 * malloc/mtrace.c (tr_break): Likewise.
54084 (mtrace): Likewise.
54085 (muntrace): Likewise.
54086 * misc/fstab.c (endfsent): Likewise.
54087 * misc/getclktck.c (__getclktck): Likewise.
54088 * misc/getdtsz.c (__getdtablesize): Likewise.
54089 * misc/gethostid.c (gethostid): Likewise.
54090 * misc/getpagesize.c (__getpagesize): Likewise.
54091 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54092 (__get_nprocs): Likewise.
54093 (__get_phys_pages): Likewise.
54094 (__get_avphys_pages): Likewise.
54095 * misc/getttyent.c (getttyent): Likewise.
54096 (setttyent): Likewise.
54097 (endttyent): Likewise.
54098 * misc/getusershell.c (getusershell): Likewise.
54099 (endusershell): Likewise.
54100 (setusershell): Likewise.
54101 (initshells): Likewise.
54102 * misc/hsearch.c (__hdestroy): Likewise.
54103 * misc/sync.c (sync): Likewise.
54104 * misc/syslog.c (closelog_internal): Likewise.
54105 (closelog): Likewise.
54106 * misc/ttyslot.c (ttyslot): Likewise.
54107 * misc/vhangup.c (vhangup): Likewise.
54108 * posix/fork.c (__fork): Likewise.
54109 * posix/getegid.c (__getegid): Likewise.
54110 * posix/geteuid.c (__geteuid): Likewise.
54111 * posix/getgid.c (__getgid): Likewise.
54112 * posix/getpid.c (__getpid): Likewise.
54113 * posix/getppid.c (__getppid): Likewise.
54114 * posix/getuid.c (__getuid): Likewise.
54115 * posix/pause.c (pause): Likewise.
54116 * posix/setpgrp.c (setpgrp): Likewise.
54117 * posix/setsid.c (__setsid): Likewise.
54118 * posix/test-vfork.c (noop): Likewise.
54119 * resolv/gethnamaddr.c (_endhtent): Likewise.
54120 (_gethtent): Likewise.
54121 (ht_endhostent): Likewise.
54122 (gethostent): Likewise.
54123 (dns_service): Likewise.
54124 * stdlib/drand48.c (drand48): Likewise.
54125 * stdlib/lrand48.c (lrand48): Likewise.
54126 * stdlib/mrand48.c (mrand48): Likewise.
54127 * stdlib/rand.c (rand): Likewise.
54128 * stdlib/random.c (__random): Likewise.
54129 * stdlib/setenv.c (clearenv): Likewise.
54130 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54131 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54132 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54133 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54134 (__get_nprocs): Likewise.
54135 (__get_phys_pages): Likewise.
54136 (__get_avphys_pages): Likewise.
54137 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54138 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54139 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54140 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54141 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54142 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54143 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54144 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54145 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54146 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54147 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54148 * sysdeps/mach/hurd/sync.c (sync): Likewise.
54149 * sysdeps/posix/clock.c (clock): Likewise.
54150 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54151 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54152 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54153 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54154 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54156 (__get_nprocs_conf): Likewise.
54157 (__get_phys_pages): Likewise.
54158 (__get_avphys_pages): Likewise.
54159 * time/clock.c (clock): Likewise.
54160 * time/tzset.c (__tzname_max): Likewise.
54161
54162 2013-06-07 Joseph Myers <joseph@codesourcery.com>
54163
54164 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54165 (__bswap_32): Do not use "register".
54166 * crypt/crypt.c (_ufc_doit_r): Likewise.
54167 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54168 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54169 * gmon/gmon.c (__monstartup): Likewise.
54170 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54171 * hurd/hurdmalloc.c (more_memory): Likewise.
54172 (malloc): Likewise.
54173 (free): Likewise.
54174 (realloc): Likewise.
54175 (malloc_fork_prepare): Likewise.
54176 (malloc_fork_parent): Likewise.
54177 (malloc_fork_child): Likewise.
54178 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54179 (_svcauth_des): Likewise.
54180 * inet/inet_lnaof.c (inet_lnaof): Likewise.
54181 * inet/inet_net.c (inet_network): Likewise.
54182 * inet/inet_netof.c (inet_netof): Likewise.
54183 * inet/rcmd.c (__validuser2_sa): Likewise.
54184 * io/fts.c (fts_open): Likewise.
54185 (fts_load): Likewise.
54186 (fts_close): Likewise.
54187 (fts_read): Likewise.
54188 (fts_children): Likewise.
54189 (fts_build): Likewise.
54190 (fts_stat): Likewise.
54191 (fts_sort): Likewise.
54192 (fts_alloc): Likewise.
54193 (fts_lfree): Likewise.
54194 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54195 (_IO_file_xsgetn): Likewise.
54196 (_IO_file_xsgetn_mmap): Likewise.
54197 * libio/iofopncook.c (_IO_cookie_read): Likewise.
54198 (_IO_cookie_write): Likewise.
54199 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54200 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54201 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54202 * malloc/obstack.c (_obstack_begin): Likewise.
54203 (_obstack_begin_1): Likewise.
54204 (_obstack_newchunk): Likewise.
54205 (_obstack_allocated_p): Likewise.
54206 (obstack_free): Likewise.
54207 (_obstack_memory_used): Likewise.
54208 * misc/getttyent.c (getttynam): Likewise.
54209 (getttyent): Likewise.
54210 (skip): Likewise.
54211 (value): Likewise.
54212 * misc/getusershell.c (initshells): Likewise.
54213 * misc/syslog.c (__vsyslog_chk): Likewise.
54214 * misc/ttyslot.c (ttyslot): Likewise.
54215 * nis/nis_hash.c (__nis_hash): Likewise.
54216 * posix/fnmatch_loop.c (FCT): Likewise.
54217 * posix/getconf.c (print_all): Likewise.
54218 (main): Likewise.
54219 * posix/getopt.c (exchange): Likewise.
54220 * posix/glob.c (globfree): Likewise.
54221 (prefix_array): Likewise.
54222 (__glob_pattern_type): Likewise.
54223 * resolv/arpa/nameser.h (NS_GET16): Likewise.
54224 (NS_GET32): Likewise.
54225 (NS_PUT16): Likewise.
54226 (NS_PUT32): Likewise.
54227 * resolv/gethnamaddr.c (getanswer): Likewise.
54228 (gethostbyname2): Likewise.
54229 (gethostbyaddr): Likewise.
54230 (_gethtent): Likewise.
54231 (_gethtbyname2): Likewise.
54232 (_gethtbyaddr): Likewise.
54233 * resolv/ns_print.c (dst_s_get_int16): Likewise.
54234 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54235 * resolv/res_init.c (__res_vinit): Likewise.
54236 (net_mask): Likewise.
54237 * resolv/res_mkquery.c (outchar): Likewise.
54238 (PRINT): Likewise.
54239 * stdio-common/printf_fp.c (outchar): Likewise.
54240 (PRINT): Likewise.
54241 * stdio-common/printf_fphex.c (outchar): Likewise.
54242 (PRINT): Likewise.
54243 * stdio-common/printf_size.c (outchar): Likewise.
54244 (PRINT): Likewise.
54245 * stdio-common/test_rdwr.c (main): Likewise.
54246 * stdio-common/tfformat.c (matches): Likewise.
54247 * stdio-common/vfprintf.c (outchar): Likewise.
54248 (printf_unknown): Likewise.
54249 (buffered_vfprintf): Likewise.
54250 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54251 * stdio-common/xbug.c (AppendToBuffer): Likewise.
54252 (ReadFile): Likewise.
54253 * stdlib/qsort.c (SWAP): Likewise.
54254 (_quicksort): Likewise.
54255 * stdlib/setenv.c (__add_to_environ): Likewise.
54256 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54257 * stdlib/strtol_l.c (__strtol_l): Likewise.
54258 * stdlib/tst-strtod.c (main): Likewise.
54259 * stdlib/tst-strtol.c (main): Likewise.
54260 * stdlib/tst-strtoll.c (main): Likewise.
54261 * string/bits/string2.h (__strcmp_cc): Likewise.
54262 (__strcmp_cg): Likewise.
54263 (__strcspn_c1): Likewise.
54264 (__strcspn_c2): Likewise.
54265 (__strcspn_c3): Likewise.
54266 (__strspn_c1): Likewise.
54267 (__strspn_c2): Likewise.
54268 (__strspn_c3): Likewise.
54269 (__strsep_1c): Likewise.
54270 (__strsep_2c): Likewise.
54271 (__strsep_3c): Likewise.
54272 * string/memccpy.c (__memccpy): Likewise.
54273 * string/stpcpy.c (__stpcpy): Likewise.
54274 * string/strcmp.c (strcmp): Likewise.
54275 * string/strrchr.c (strrchr): Likewise.
54276 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54277 Likewise.
54278 * sysdeps/mach/hurd/getcwd.c
54279 (_hurd_canonicalize_directory_name_internal): Likewise.
54280 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54281 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54282 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54283 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54284 Likewise, in both definitions.
54285 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54286 definitions.
54287 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54288 64] (__bswap_64): Likewise.
54289 * time/test_time.c (main): Likewise.
54290 * time/tzfile.c (__tzfile_read): Likewise.
54291 (__tzfile_compute): Likewise.
54292 * time/tzset.c (__tzset_parse_tz): Likewise.
54293 (tzset_internal): Likewise.
54294 (compute_change): Likewise.
54295 * wcsmbs/wcscat.c (__wcscat): Likewise.
54296 * wcsmbs/wcschr.c (wcschr): Likewise.
54297 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54298 * wcsmbs/wcscspn.c (wcscspn): Likewise.
54299 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54300 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54301 * wcsmbs/wcsspn.c (wcsspn): Likewise.
54302 * wcsmbs/wcsstr.c (wcsstr): Likewise.
54303 * wcsmbs/wmemchr.c (wmemchr): Likewise.
54304 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54305 * wcsmbs/wmemset.c (wmemset): Likewise.
54306
54307 2013-06-06 Joseph Myers <joseph@codesourcery.com>
54308
54309 * scripts/config.guess: Update to version 2013-05-16.
54310 * scripts/config.sub: Update to version 2013-04-24.
54311 * scripts/install-sh: Update to version 2011-11-20.07.
54312 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54313 * scripts/move-if-change: Update to version 2012-01-06 07:23.
54314
54315 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
54316
54317 * debug/fgetws_u_chk.c: Fix leading whitespaces.
54318 * elf/sln.c: Likewise.
54319 * hurd/hurd/ioctl.h: Likewise.
54320 * hurd/hurdmalloc.c: Likewise.
54321 * hurd/xattr.c: Likewise.
54322 * include/shlib-compat.h: Likewise.
54323 * inet/ruserpass.c: Likewise.
54324 * libio/iofgets_u.c: Likewise.
54325 * libio/iofgetws_u.c: Likewise.
54326 * locale/programs/ld-identification.c: Likewise.
54327 * locale/programs/ld-time.c: Likewise.
54328 * mach/msg-destroy.c: Likewise.
54329 * nss/nss_files/files-netgrp.c: Likewise.
54330 * resolv/res_data.c: Likewise.
54331 * soft-fp/op-1.h: Likewise.
54332 * soft-fp/op-2.h: Likewise.
54333 * soft-fp/op-4.h: Likewise.
54334 * soft-fp/op-common.h: Likewise.
54335 * stdio-common/printf_fphex.c: Likewise.
54336 * stdlib/strtod_l.c: Likewise.
54337 * sunrpc/rpc/clnt.h: Likewise.
54338 * sysdeps/generic/framestate.c: Likewise.
54339 * sysdeps/i386/bsd-_setjmp.S: Likewise.
54340 * sysdeps/i386/bsd-setjmp.S: Likewise.
54341 * sysdeps/i386/__longjmp.S: Likewise.
54342 * sysdeps/i386/setjmp.S: Likewise.
54343 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54344 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54345 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54346 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54347 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54348 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54349 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54350 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54351 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54352 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54353 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54354 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54355 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54356 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54357 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54358 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54359 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54360 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54361 * sysdeps/ieee754/support.c: Likewise.
54362 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54363 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54364 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54365 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54366 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54367 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54368 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54369 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54370 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54371 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54372 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54373 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54374 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54375 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54376 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54377 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54378 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54380
54381 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
54382
54383 * posix/transbug.c: Remove executable mode.
54384
54385 2013-06-05 Joseph Myers <joseph@codesourcery.com>
54386
54387 * crypt/speeds.c: Remove trailing whitespace.
54388 * dlfcn/default.c: Likewise.
54389 * elf/ifuncdep2.c: Likewise.
54390 * elf/ifuncmain1.c: Likewise.
54391 * elf/ifuncmain1vis.c: Likewise.
54392 * elf/testobj.h: Likewise.
54393 * elf/tst-stackguard1.c: Likewise.
54394 * gmon/sys/gmon.h: Likewise.
54395 * hurd/hurdmsg.c: Likewise.
54396 * hurd/new-fd.c: Likewise.
54397 * hurd/ports-get.c: Likewise.
54398 * iconvdata/ibm1008_420.c: Likewise.
54399 * inet/tst-getni1.c: Likewise.
54400 * inet/tst-getni2.c: Likewise.
54401 * libio/ioungetc.c: Likewise.
54402 * libio/wfiledoalloc.c: Likewise.
54403 * manual/libm-err-tab.pl: Likewise.
54404 * math/w_dremf.c: Likewise.
54405 * misc/ftruncate.c: Likewise.
54406 * posix/bug-glob2.c: Likewise.
54407 * posix/tst-pcre.c: Likewise.
54408 * posix/wait4.c: Likewise.
54409 * resolv/README: Likewise.
54410 * resolv/res_debug.h: Likewise.
54411 * resolv/tst-inet_ntop.c: Likewise.
54412 * setjmp/bug269-setjmp.c: Likewise.
54413 * soft-fp/extended.h: Likewise.
54414 * soft-fp/op-1.h: Likewise.
54415 * soft-fp/op-2.h: Likewise.
54416 * soft-fp/op-4.h: Likewise.
54417 * soft-fp/op-8.h: Likewise.
54418 * soft-fp/testit.c: Likewise.
54419 * stdio-common/bug16.c: Likewise.
54420 * stdlib/random.c: Likewise.
54421 * sunrpc/rpcsvc/rquota.x: Likewise.
54422 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54423 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54424 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54425 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54426 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54427 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54428 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54429 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54430 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54431 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54432 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54433 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54434 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54435 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54436 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54437 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54438 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54439 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54440 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54441 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54442 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54443 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54444 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
54445 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54446 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54447 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54448 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54449 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54450 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54451 * sysdeps/ieee754/s_lib_version.c: Likewise.
54452 * sysdeps/mach/hurd/check_fds.c: Likewise.
54453 * sysdeps/mach/hurd/getsockname.c: Likewise.
54454 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
54455 * sysdeps/mach/hurd/recvfrom.c: Likewise.
54456 * sysdeps/powerpc/bits/link.h: Likewise.
54457 * sysdeps/powerpc/dl-procinfo.c: Likewise.
54458 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
54459 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
54460 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
54461 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54462 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54463 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
54464 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54465 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
54466 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54467 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
54468 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54469 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
54470 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54471 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54472 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54473 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54474 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54475 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54476 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54477 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54478 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
54479 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54480 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54481 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
54482 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54483 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54484 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54485 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54486 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54487 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54488 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54489 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54490 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54491 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
54492 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54493 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
54494 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54495 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
54496 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
54497 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
54498 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
54499 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
54500 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
54501 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54502 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
54503 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
54504 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54505 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
54506 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
54507 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54508 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54509 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54510 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54511 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
54512 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
54513 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
54514 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54515 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
54516 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
54517 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
54518 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
54519 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
54520 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54521 * sysdeps/powerpc/sysdep.h: Likewise.
54522 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54523 * sysdeps/s390/s390-64/sub_n.S: Likewise.
54524 * sysdeps/sh/dl-trampoline.S: Likewise.
54525 * sysdeps/sh/memset.S: Likewise.
54526 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
54527 * sysdeps/sh/strlen.S: Likewise.
54528 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
54529 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
54530 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
54531 * sysdeps/sparc/sparc32/rem.S: Likewise.
54532 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
54533 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
54534 * sysdeps/sparc/sparc32/strchr.S: Likewise.
54535 * sysdeps/sparc/sparc32/udiv.S: Likewise.
54536 * sysdeps/sparc/sparc32/urem.S: Likewise.
54537 * sysdeps/sparc/sparc64/add_n.S: Likewise.
54538 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54539 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
54540 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
54541 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
54542 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
54543 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
54544 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
54545 * sysdeps/unix/bsd/times.c: Likewise.
54546 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
54547 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
54548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
54549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
54550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
54551 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
54552 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54553 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
54554 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
54555 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
54556 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
54557 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54558 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
54559 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54560 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54561 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
54562 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54563 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
54564 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
54565 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
54566 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
54567 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
54568 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54569 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
54570 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
54571 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
54572 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
54573 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54574 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
54575 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
54576 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
54577 * sysdeps/x86_64/strcspn.S: Likewise.
54578
54579 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54580
54581 * locale/C-translit.h: Revert #include <stdint.h> because this is a
54582 generated file. Regenerate properly from gen-translit.pl.
54583 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
54584 locale/C-translit.h.
54585
54586 2013-06-05 Andreas Schwab <schwab@suse.de>
54587
54588 [BZ #15100]
54589 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
54590 week as 6 instead of -1.
54591 * time/tst-strptime.c (day_tests): Add test case.
54592
54593 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
54594
54595 * sysdeps/generic/math_private.h
54596 (libc_feholdexcept_setround_53bit): Replace with
54597 libc_feholdsetround_53bit.
54598 (libc_feupdateenv_53bit): Replace with
54599 libc_feresetround_53bit.
54600 (SET_RESTORE_ROUND_53BIT): Adjust.
54601
54602 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
54603
54604 * string/test-strchrnul.c: Add copyright header.
54605
54606 * posix/tst-getaddrinfo4.c: Increase test timeout.
54607
54608 2013-06-03 Carlos O'Donell <carlos@redhat.com>
54609
54610 [BZ #15536]
54611 * math/libm-test.inc (MAX_EXP): Remove
54612 (MIN_EXP): Define.
54613 (ulp): Use MIN_EXP - MANT_DIG.
54614 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
54615
54616 2013-05-31 Carlos O'Donell <carlos@redhat.com>
54617
54618 * po/be.po: Revert last change.
54619 * po/zh_CN.po: Likewise.
54620 * po/header.pot: Likewise.
54621
54622 2013-05-31 Joseph Myers <joseph@codesourcery.com>
54623
54624 * Makefile ($(common-objpfx)linkobj/libc.so): Define
54625 link-libc-deps to empty as target-specific variable.
54626 * Makerules (link-libc-args): New variable.
54627 (libc-for-link): Likewise.
54628 (link-libc-deps): Likewise.
54629 (lib%.so): Depend on $(link-libc-deps). Link with
54630 $(link-libc-args).
54631 (build-module): Link with $(link-libc-args).
54632 (build-module-asneeded): Likewise.
54633 (build-module-helper-objlist): Filter out $(link-libc-deps) from
54634 list of objects.
54635 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
54636 target-specific variable.
54637 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
54638 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
54639 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
54640 libc.
54641 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
54642 libc and ld.so.
54643 ($(objpfx)libpcprofile.so): Likewise.
54644 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
54645 libc_nonshared.a.
54646 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
54647 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
54648 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
54649 $(link-libc-deps).
54650 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
54651 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
54652 * login/Makefile ($(objpfx)libutil.so): Likewise.
54653 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
54654 * math/Makefile ($(objpfx)libm.so): Likewise.
54655 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
54656 $(objpfx)libnsl.so): Define libc-for-link as target-specific
54657 variable instead of depending directly on libc.
54658 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
54659 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
54660 $(link-libc-deps).
54661 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
54662 libc.
54663 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
54664 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
54665 ($(objpfx)libanl.so): Likewise.
54666 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
54667 ld.so.
54668 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
54669 $(link-libc-deps).
54670 * sysdeps/i386/fpu/Makefile: Remove file.
54671 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
54672 ($(objpfx)libm.so): Remove dependency on ld.so.
54673
54674 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
54675
54676 [BZ # 15553]
54677 * nis/yp_xdr.c (XDRMAXNAME): Define.
54678 (XDRMAXRECORD): Define.
54679 (xdr_domainname): Use XDRMAXNAME.
54680 (xdr_mapname): Likewise.
54681 (xdr_peername): Likewise.
54682 (xdr_keydat): Use XDRMAXRECORD.
54683 (xdr_valdat): Likewise.
54684
54685 2013-05-30 Jeff Law <law@redhat.com>
54686
54687 [BZ #14256]
54688 * manual/errno.texi (ESTALE): Update to account for more than
54689 just NFS file systems.
54690 * sysdeps/gnu/errlist.c: Regenerated.
54691
54692 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54693
54694 [BZ #15465]
54695 * elf/Makefile (tests): Add tst-null-argv.
54696 (modules-names): Add tst-null-argv-lib.
54697 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
54698 (tst-null-argv-ENV): Set environment for tst-null-argv.
54699 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
54700 (RTLD_PROGNAME): New macro.
54701 * elf/tst-null-argv.c: New test case.
54702 * elf/tst-null-argv-lib.c: Library for test case.
54703 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
54704 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
54705 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
54706 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
54707 * elf/dl-init.c (call_init): Likewise.
54708 (_dl_init): Likewise.
54709 * elf/dl-load.c (print_search_path): Likewise.
54710 (_dl_map_object): Likewise.
54711 * elf/dl-lookup.c (do_lookup_x): Likewise.
54712 (add_dependency): Likewise.
54713 (_dl_lookup_symbol_x): Likewise.
54714 (_dl_debug_bindings): Likewise.
54715 * elf/dl-open.c (_dl_show_scope): Likewise.
54716 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54717 * elf/dl-version.c (match_symbol): Likewise.
54718 (_dl_check_map_versions): Likewise.
54719 * elf/rtld.c (dl_main): Likewise.
54720 (print_unresolved): Use RTLD_PROGNAME.
54721 (print_missing_version): Likewise.
54722 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
54723 (elf_machine_rela): Likewise.
54724 * sysdeps/powerpc/powerpc32/dl-machine.c
54725 (__process_machine_rela): Likewise.
54726 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54727 Likewise.
54728 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54729 Likewise.
54730 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
54731 Likewise.
54732 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54733 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
54734 Likewise.
54735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
54736 Likewise.
54737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54738
54739 2013-05-28 Carlos O'Donell <carlos@redhat.com>
54740
54741 * po/be.po: Add descriptive title.
54742 * po/zh_CN.po: Likewise.
54743 * po/header.pot: Likewise.
54744
54745 2013-05-28 Mike Frysinger <vapier@gentoo.org>
54746
54747 * locale/programs/locarchive.c (create_archive): Inlucde fname in
54748 error message.
54749 (enlarge_archive): Likewise.
54750
54751 2013-05-28 Ben North <ben@redfrontdoor.org>
54752
54753 * manual/arith.texi (frexp): It is the magnitude of the return
54754 value which lies in [0.5, 1), not the return value itself.
54755
54756 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54757
54758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54759
54760 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
54761
54762 * stdio-common/bug26.c (main): Correct fscanf template.
54763
54764 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
54765 declare _dl_skip_args.
54766
54767 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
54768 Don't declare.
54769
54770 * manual/platform.texi: Add missing @end deftypefun.
54771
54772 2013-05-24 Joseph Myers <joseph@codesourcery.com>
54773
54774 [BZ #15529]
54775 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
54776 bit of mantissa of 2^16382.
54777 * math/libm-test.inc (hypot_test_data): Add more tests.
54778
54779 * math/libm-test.inc: Add drem and pow10 to list of tested
54780 functions.
54781 (pow10_test): New function.
54782 (drem_test): Likewise.
54783 (drem_test_tonearest): Likewise.
54784 (drem_test_towardzero): Likewise.
54785 (drem_test_downward): Likewise.
54786 (drem_test_upward): Likewise.
54787 (main): Call the new functions.
54788
54789 * math/libm-test.inc (finite_test_data): Remove.
54790 (finite_test): Run tests from isfinite_test_data.
54791 (gamma_test_data): Remove.
54792 (gamma_test): Run tests from lgamma_test_data.
54793 * sysdeps/i386/fpu/libm-test-ulps: Update.
54794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54795
54796 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54797
54798 * manual/platform.texi: Add PowerPC PPR function set documentation.
54799 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
54800 implementation.
54801
54802 2013-05-24 Carlos O'Donell <carlos@redhat.com>
54803
54804 * math/libm-test.inc (MAX_EXP): Define.
54805 (ULPDIFF): Define.
54806 (ulp): New function.
54807 (check_float_internal): Use ULPDIFF.
54808 (cpow_test): Disable failing test.
54809 (check_ulp): Test ulp() implementation.
54810 (main): Call check_ulp before starting tests.
54811
54812 2013-05-24 Joseph Myers <joseph@codesourcery.com>
54813
54814 * math/gen-libm-test.pl (generate_testfile): Do not handle
54815 START_DATA and END_DATA.
54816 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
54817 END_DATA.
54818 (acos_tonearest_test_data): Likewise.
54819 (acos_towardzero_test_data): Likewise.
54820 (acos_downward_test_data): Likewise.
54821 (acos_upward_test_data): Likewise.
54822 (acosh_test_data): Likewise.
54823 (asin_test_data): Likewise.
54824 (asin_tonearest_test_data): Likewise.
54825 (asin_towardzero_test_data): Likewise.
54826 (asin_downward_test_data): Likewise.
54827 (asin_upward_test_data): Likewise.
54828 (asinh_test_data): Likewise.
54829 (atan_test_data): Likewise.
54830 (atanh_test_data): Likewise.
54831 (atan2_test_data): Likewise.
54832 (cabs_test_data): Likewise.
54833 (cacos_test_data): Likewise.
54834 (cacosh_test_data): Likewise.
54835 (carg_test_data): Likewise.
54836 (casin_test_data): Likewise.
54837 (casinh_test_data): Likewise.
54838 (catan_test_data): Likewise.
54839 (catanh_test_data): Likewise.
54840 (cbrt_test_data): Likewise.
54841 (ccos_test_data): Likewise.
54842 (ccosh_test_data): Likewise.
54843 (ceil_test_data): Likewise.
54844 (cexp_test_data): Likewise.
54845 (cimag_test_data): Likewise.
54846 (clog_test_data): Likewise.
54847 (clog10_test_data): Likewise.
54848 (conj_test_data): Likewise.
54849 (copysign_test_data): Likewise.
54850 (cos_test_data): Likewise.
54851 (cos_tonearest_test_data): Likewise.
54852 (cos_towardzero_test_data): Likewise.
54853 (cos_downward_test_data): Likewise.
54854 (cos_upward_test_data): Likewise.
54855 (cosh_test_data): Likewise.
54856 (cosh_tonearest_test_data): Likewise.
54857 (cosh_towardzero_test_data): Likewise.
54858 (cosh_downward_test_data): Likewise.
54859 (cosh_upward_test_data): Likewise.
54860 (cpow_test_data): Likewise.
54861 (cproj_test_data): Likewise.
54862 (creal_test_data): Likewise.
54863 (csin_test_data): Likewise.
54864 (csinh_test_data): Likewise.
54865 (csqrt_test_data): Likewise.
54866 (ctan_test_data): Likewise.
54867 (ctan_tonearest_test_data): Likewise.
54868 (ctan_towardzero_test_data): Likewise.
54869 (ctan_downward_test_data): Likewise.
54870 (ctan_upward_test_data): Likewise.
54871 (ctanh_test_data): Likewise.
54872 (ctanh_tonearest_test_data): Likewise.
54873 (ctanh_towardzero_test_data): Likewise.
54874 (ctanh_downward_test_data): Likewise.
54875 (ctanh_upward_test_data): Likewise.
54876 (erf_test_data): Likewise.
54877 (erfc_test_data): Likewise.
54878 (exp_test_data): Likewise.
54879 (exp_tonearest_test_data): Likewise.
54880 (exp_towardzero_test_data): Likewise.
54881 (exp_downward_test_data): Likewise.
54882 (exp_upward_test_data): Likewise.
54883 (exp10_test_data): Likewise.
54884 (exp2_test_data): Likewise.
54885 (expm1_test_data): Likewise.
54886 (fabs_test_data): Likewise.
54887 (fdim_test_data): Likewise.
54888 (finite_test_data): Likewise.
54889 (floor_test_data): Likewise.
54890 (fma_test_data): Likewise.
54891 (fma_towardzero_test_data): Likewise.
54892 (fma_downward_test_data): Likewise.
54893 (fma_upward_test_data): Likewise.
54894 (fmax_test_data): Likewise.
54895 (fmin_test_data): Likewise.
54896 (fmod_test_data): Likewise.
54897 (fpclassify_test_data): Likewise.
54898 (frexp_test_data): Likewise.
54899 (gamma_test_data): Likewise.
54900 (hypot_test_data): Likewise.
54901 (ilogb_test_data): Likewise.
54902 (isfinite_test_data): Likewise.
54903 (isgreater_test_data): Likewise.
54904 (isgreaterequal_test_data): Likewise.
54905 (isinf_test_data): Likewise.
54906 (isless_test_data): Likewise.
54907 (islessequal_test_data): Likewise.
54908 (islessgreater_test_data): Likewise.
54909 (isnan_test_data): Likewise.
54910 (isnormal_test_data): Likewise.
54911 (issignaling_test_data): Likewise.
54912 (isunordered_test_data): Likewise.
54913 (j0_test_data): Likewise.
54914 (j1_test_data): Likewise.
54915 (jn_test_data): Likewise.
54916 (ldexp_test_data): Likewise.
54917 (lgamma_test_data): Likewise.
54918 (lrint_test_data): Likewise.
54919 (lrint_tonearest_test_data): Likewise.
54920 (lrint_towardzero_test_data): Likewise.
54921 (lrint_downward_test_data): Likewise.
54922 (lrint_upward_test_data): Likewise.
54923 (llrint_test_data): Likewise.
54924 (llrint_tonearest_test_data): Likewise.
54925 (llrint_towardzero_test_data): Likewise.
54926 (llrint_downward_test_data): Likewise.
54927 (llrint_upward_test_data): Likewise.
54928 (log_test_data): Likewise.
54929 (log10_test_data): Likewise.
54930 (log1p_test_data): Likewise.
54931 (log2_test_data): Likewise.
54932 (logb_test_data): Likewise.
54933 (logb_downward_test_data): Likewise.
54934 (lround_test_data): Likewise.
54935 (llround_test_data): Likewise.
54936 (modf_test_data): Likewise.
54937 (nearbyint_test_data): Likewise.
54938 (nextafter_test_data): Likewise.
54939 (nexttoward_test_data): Likewise.
54940 (pow_test_data): Likewise.
54941 (pow_tonearest_test_data): Likewise.
54942 (pow_towardzero_test_data): Likewise.
54943 (pow_downward_test_data): Likewise.
54944 (pow_upward_test_data): Likewise.
54945 (remainder_test_data): Likewise.
54946 (remainder_tonearest_test_data): Likewise.
54947 (remainder_towardzero_test_data): Likewise.
54948 (remainder_downward_test_data): Likewise.
54949 (remainder_upward_test_data): Likewise.
54950 (remquo_test_data): Likewise.
54951 (rint_test_data): Likewise.
54952 (rint_tonearest_test_data): Likewise.
54953 (rint_towardzero_test_data): Likewise.
54954 (rint_downward_test_data): Likewise.
54955 (rint_upward_test_data): Likewise.
54956 (round_test_data): Likewise.
54957 (scalb_test_data): Likewise.
54958 (scalbn_test_data): Likewise.
54959 (scalbln_test_data): Likewise.
54960 (signbit_test_data): Likewise.
54961 (sin_test_data): Likewise.
54962 (sin_tonearest_test_data): Likewise.
54963 (sin_towardzero_test_data): Likewise.
54964 (sin_downward_test_data): Likewise.
54965 (sin_upward_test_data): Likewise.
54966 (sincos_test_data): Likewise.
54967 (sinh_test_data): Likewise.
54968 (sinh_tonearest_test_data): Likewise.
54969 (sinh_towardzero_test_data): Likewise.
54970 (sinh_downward_test_data): Likewise.
54971 (sinh_upward_test_data): Likewise.
54972 (sqrt_test_data): Likewise.
54973 (tan_test_data): Likewise.
54974 (tan_tonearest_test_data): Likewise.
54975 (tan_towardzero_test_data): Likewise.
54976 (tan_downward_test_data): Likewise.
54977 (tan_upward_test_data): Likewise.
54978 (tanh_test_data): Likewise.
54979 (tgamma_test_data): Likewise.
54980 (trunc_test_data): Likewise.
54981 (y0_test_data): Likewise.
54982 (y1_test_data): Likewise.
54983 (yn_test_data): Likewise.
54984 (significand_test_data): Likewise.
54985
54986 * math/gen-libm-test.pl (@functions): Remove variable.
54987 (generate_testfile): Don't handle START and END lines.
54988 * math/libm-test.inc (START): New macro.
54989 (END): Likewise.
54990 (END_COMPLEX): Likewise.
54991 (acos_test): Use END macro without arguments.
54992 (acos_test_tonearest): Likewise.
54993 (acos_test_towardzero): Likewise.
54994 (acos_test_downward): Likewise.
54995 (acos_test_upward): Likewise.
54996 (acosh_test): Likewise.
54997 (asin_test): Likewise.
54998 (asin_test_tonearest): Likewise.
54999 (asin_test_towardzero): Likewise.
55000 (asin_test_downward): Likewise.
55001 (asin_test_upward): Likewise.
55002 (asinh_test): Likewise.
55003 (atan_test): Likewise.
55004 (atanh_test): Likewise.
55005 (atan2_test): Likewise.
55006 (cabs_test): Likewise.
55007 (cacos_test): Use END_COMPLEX macro without arguments.
55008 (cacosh_test): Likewise.
55009 (carg_test): Use END macro without arguments.
55010 (casin_test): Use END_COMPLEX macro without arguments.
55011 (casinh_test): Likewise.
55012 (catan_test): Likewise.
55013 (catanh_test): Likewise.
55014 (cbrt_test): Use END macro without arguments.
55015 (ccos_test): Use END_COMPLEX macro without arguments.
55016 (ccosh_test): Likewise.
55017 (ceil_test): Use END macro without arguments.
55018 (cexp_test): Use END_COMPLEX macro without arguments.
55019 (cimag_test): Use END macro without arguments.
55020 (clog_test): Use END_COMPLEX macro without arguments.
55021 (clog10_test): Likewise.
55022 (conj_test): Likewise.
55023 (copysign_test): Use END macro without arguments.
55024 (cos_test): Likewise.
55025 (cos_test_tonearest): Likewise.
55026 (cos_test_towardzero): Likewise.
55027 (cos_test_downward): Likewise.
55028 (cos_test_upward): Likewise.
55029 (cosh_test): Likewise.
55030 (cosh_test_tonearest): Likewise.
55031 (cosh_test_towardzero): Likewise.
55032 (cosh_test_downward): Likewise.
55033 (cosh_test_upward): Likewise.
55034 (cpow_test): Use END_COMPLEX macro without arguments.
55035 (cproj_test): Likewise.
55036 (creal_test): Use END macro without arguments.
55037 (csin_test): Use END_COMPLEX macro without arguments.
55038 (csinh_test): Likewise.
55039 (csqrt_test): Likewise.
55040 (ctan_test): Likewise.
55041 (ctan_test_tonearest): Likewise.
55042 (ctan_test_towardzero): Likewise.
55043 (ctan_test_downward): Likewise.
55044 (ctan_test_upward): Likewise.
55045 (ctanh_test): Likewise.
55046 (ctanh_test_tonearest): Likewise.
55047 (ctanh_test_towardzero): Likewise.
55048 (ctanh_test_downward): Likewise.
55049 (ctanh_test_upward): Likewise.
55050 (erf_test): Use END macro without arguments.
55051 (erfc_test): Likewise.
55052 (exp_test): Likewise.
55053 (exp_test_tonearest): Likewise.
55054 (exp_test_towardzero): Likewise.
55055 (exp_test_downward): Likewise.
55056 (exp_test_upward): Likewise.
55057 (exp10_test): Likewise.
55058 (exp2_test): Likewise.
55059 (expm1_test): Likewise.
55060 (fabs_test): Likewise.
55061 (fdim_test): Likewise.
55062 (finite_test): Likewise.
55063 (floor_test): Likewise.
55064 (fma_test): Likewise.
55065 (fma_test_towardzero): Likewise.
55066 (fma_test_downward): Likewise.
55067 (fma_test_upward): Likewise.
55068 (fmax_test): Likewise.
55069 (fmin_test): Likewise.
55070 (fmod_test): Likewise.
55071 (fpclassify_test): Likewise.
55072 (frexp_test): Likewise.
55073 (gamma_test): Likewise.
55074 (hypot_test): Likewise.
55075 (ilogb_test): Likewise.
55076 (isfinite_test): Likewise.
55077 (isgreater_test): Likewise.
55078 (isgreaterequal_test): Likewise.
55079 (isinf_test): Likewise.
55080 (isless_test): Likewise.
55081 (islessequal_test): Likewise.
55082 (islessgreater_test): Likewise.
55083 (isnan_test): Likewise.
55084 (isnormal_test): Likewise.
55085 (issignaling_test): Likewise.
55086 (isunordered_test): Likewise.
55087 (j0_test): Likewise.
55088 (j1_test): Likewise.
55089 (jn_test): Likewise.
55090 (ldexp_test): Likewise.
55091 (lgamma_test): Likewise.
55092 (lrint_test): Likewise.
55093 (lrint_test_tonearest): Likewise.
55094 (lrint_test_towardzero): Likewise.
55095 (lrint_test_downward): Likewise.
55096 (lrint_test_upward): Likewise.
55097 (llrint_test): Likewise.
55098 (llrint_test_tonearest): Likewise.
55099 (llrint_test_towardzero): Likewise.
55100 (llrint_test_downward): Likewise.
55101 (llrint_test_upward): Likewise.
55102 (log_test): Likewise.
55103 (log10_test): Likewise.
55104 (log1p_test): Likewise.
55105 (log2_test): Likewise.
55106 (logb_test): Likewise.
55107 (logb_test_downward): Likewise.
55108 (lround_test): Likewise.
55109 (llround_test): Likewise.
55110 (modf_test): Likewise.
55111 (nearbyint_test): Likewise.
55112 (nextafter_test): Likewise.
55113 (nexttoward_test): Likewise.
55114 (pow_test): Likewise.
55115 (pow_test_tonearest): Likewise.
55116 (pow_test_towardzero): Likewise.
55117 (pow_test_downward): Likewise.
55118 (pow_test_upward): Likewise.
55119 (remainder_test): Likewise.
55120 (remainder_test_tonearest): Likewise.
55121 (remainder_test_towardzero): Likewise.
55122 (remainder_test_downward): Likewise.
55123 (remainder_test_upward): Likewise.
55124 (remquo_test): Likewise.
55125 (rint_test): Likewise.
55126 (rint_test_tonearest): Likewise.
55127 (rint_test_towardzero): Likewise.
55128 (rint_test_downward): Likewise.
55129 (rint_test_upward): Likewise.
55130 (round_test): Likewise.
55131 (scalb_test): Likewise.
55132 (scalbn_test): Likewise.
55133 (scalbln_test): Likewise.
55134 (signbit_test): Likewise.
55135 (sin_test): Likewise.
55136 (sin_test_tonearest): Likewise.
55137 (sin_test_towardzero): Likewise.
55138 (sin_test_downward): Likewise.
55139 (sin_test_upward): Likewise.
55140 (sincos_test): Likewise.
55141 (sinh_test): Likewise.
55142 (sinh_test_tonearest): Likewise.
55143 (sinh_test_towardzero): Likewise.
55144 (sinh_test_downward): Likewise.
55145 (sinh_test_upward): Likewise.
55146 (sqrt_test): Likewise.
55147 (tan_test): Likewise.
55148 (tan_test_tonearest): Likewise.
55149 (tan_test_towardzero): Likewise.
55150 (tan_test_downward): Likewise.
55151 (tan_test_upward): Likewise.
55152 (tanh_test): Likewise.
55153 (tgamma_test): Likewise.
55154 (trunc_test): Likewise.
55155 (y0_test): Likewise.
55156 (y1_test): Likewise.
55157 (yn_test): Likewise.
55158 (significand_test): Likewise.
55159
55160 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
55161
55162 [BZ #15381]
55163 * libio/genops.c (_IO_no_init): Initialize wide struct info.
55164
55165 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
55166
55167 [BZ #14894]
55168 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55169 __ppc_mdoio and __ppc_mdoom.
55170 * manual/platform.texi: Document new functions __ppc_yield,
55171 __ppc_mdoio and __ppc_mdoom.
55172
55173 2013-05-22 Carlos O'Donell <carlos@redhat.com>
55174
55175 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55176 (main): Mention "tls" pseudo-hwcap is legacy.
55177 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55178
55179 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55180
55181 * math/gen-libm-test.pl (parse_args): Output only string of
55182 arguments as text for test name, not full call or descriptions of
55183 tests for extra outputs.
55184 (generate_testfile): Do not pass function name to parse_args.
55185 Generate this_func variable from START.
55186 * math/libm-test.inc (struct test_f_f_data): Rename test_name
55187 field to arg_str.
55188 (struct test_ff_f_data): Likewise.
55189 (test_ff_f_data_nexttoward): Likewise.
55190 (struct test_fi_f_data): Likewise.
55191 (struct test_fl_f_data): Likewise.
55192 (struct test_if_f_data): Likewise.
55193 (struct test_fff_f_data): Likewise.
55194 (struct test_c_f_data): Likewise.
55195 (struct test_f_f1_data): Likewise. Remove field extra_name.
55196 (struct test_fF_f1_data): Likewise.
55197 (struct test_ffI_f1_data): Likewise.
55198 (struct test_c_c_data): Rename test_name field to arg_str.
55199 (struct test_cc_c_data): Likewise.
55200 (struct test_f_i_data): Likewise.
55201 (struct test_ff_i_data): Likewise.
55202 (struct test_f_l_data): Likewise.
55203 (struct test_f_L_data): Likewise.
55204 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
55205 and extra2_name.
55206 (COMMON_TEST_SETUP): New macro.
55207 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55208 (COMMON_TEST_CLEANUP): Likewise.
55209 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55210 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
55211 macros.
55212 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55213 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
55214 macros.
55215 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55216 (RUN_TEST_fff_f): Take argument string. Call new setup and
55217 cleanup macros.
55218 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55219 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
55220 macros.
55221 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55222 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
55223 macros.
55224 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55225 (RUN_TEST_fF_f1): Take argument string. Call new setup and
55226 cleanup macros.
55227 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55228 (RUN_TEST_fI_f1): Take argument string. Call new setup and
55229 cleanup macros.
55230 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55231 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
55232 cleanup macros.
55233 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55234 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
55235 macros.
55236 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55237 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
55238 macros.
55239 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55240 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
55241 macros.
55242 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55243 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
55244 cleanup macros.
55245 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55246 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
55247 cleanup macros.
55248 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55249 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
55250 macros.
55251 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55252 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
55253 cleanup macros.
55254 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55255 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
55256 macros.
55257 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55258 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
55259 macros.
55260 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55261 (RUN_TEST_fFF_11): Take argument string. Call new setup and
55262 cleanup macros.
55263 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55264
55265 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
55266
55267 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55268 to _sifields.sigfault.
55269 (si_addr_lsb): Define new macro.
55270 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55271 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55272 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55273
55274 2013-05-03 Carlos O'Donell <carlos at redhat.com>
55275
55276 [BZ #15441]
55277 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55278 returns -1.
55279 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55280 null return -1.
55281 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55282 loading the domain.
55283
55284 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55285
55286 * math/gen-libm-test.pl (parse_args): Do not include expected
55287 result in test name.
55288 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55289 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55290 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55291 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55292 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55294
55295 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55296
55297 * benchtests/Makefile: Sort function entries.
55298
55299 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55300 tanh, asinh, acosh, atanh.
55301 * benchtests/acos-inputs: New file.
55302 * benchtests/acosh-inputs: New file.
55303 * benchtests/asin-inputs: New file.
55304 * benchtests/asinh-inputs: New file.
55305 * benchtests/atanh-inputs: New file.
55306 * benchtests/cosh-inputs: New file.
55307 * benchtests/log-inputs: New file.
55308 * benchtests/sinh-inputs: New file.
55309 * benchtests/tanh-inputs: New file.
55310
55311 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
55312
55313 [BZ #15339]
55314 * posix/tst-getaddrinfo4.c: New test.
55315 * posix/Makefile (tests): Add it.
55316
55317 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55318
55319 [BZ #15339]
55320 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55321 when no services were used.
55322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55323 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55324
55325 2013-05-21 Andreas Schwab <schwab@suse.de>
55326
55327 [BZ #15014]
55328 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55329 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55330 successful.
55331 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55332 redundant variable declarations and reallocation of buffer when
55333 parsing as IPv6 address. Always set NSS status when called from
55334 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
55335 buffer too small. Correct computation of needed size.
55336 * nss/Makefile (tests): Add test-digits-dots.
55337 * nss/test-digits-dots.c: New test.
55338
55339 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55340
55341 * benchtests/Makefile: Remove instructions for adding
55342 benchmark tests.
55343 * benchtests/README: New file to explain how to execute and
55344 enhance the benchmark tests.
55345
55346 2013-05-21 Andreas Schwab <schwab@suse.de>
55347
55348 [BZ #15493]
55349 * setjmp/Makefile (tests): Add tst-sigsetjmp.
55350 * setjmp/tst-sigsetjmp.c: New test.
55351
55352 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55353
55354 * sysdeps/x86_64/memset.S (memset): New implementation.
55355 (__bzero): Likewise.
55356 (__memset_tail): New function.
55357
55358 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55359
55360 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55361 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55362 __memcpy_sse2_unaligned ifunc selection.
55363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55364 Add memcpy-sse2-unaligned.S.
55365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55366 Add: __memcpy_sse2_unaligned.
55367
55368 2013-05-19 Joseph Myers <joseph@codesourcery.com>
55369
55370 [BZ #15490]
55371 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55372 math_force_eval before restoring floating-point envrionment.
55373 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55374 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55375 Likewise.
55376 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55377 <math_private.h>.
55378 (__nearbyintl): Use math_force_eval before restoring
55379 floating-point environment.
55380 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55381
55382 * math/gen-libm-test.pl (special_functions): Remove.
55383 (parse_args): Don't handle TEST_extra. Handle functions with no
55384 return value.
55385 * math/libm-test.inc (struct test_sincos_data): Replace with
55386 struct test_fFF_11_data.
55387 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55388 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55389 (sincos_test_data): Change element type to struct
55390 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
55391 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55392 RUN_TEST_LOOP_sincos.
55393 * math/README.libm-test: Don't mention special handling of
55394 individual functions.
55395 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55396 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55397 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55398 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55399 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55401
55402 * math/gen-libm-test.pl (get_variable): Remove function.
55403 (parse_args): Don't show pointer parameters to call in test
55404 names. Use "extra output N" in test names for extra outputs
55405 rather than naming variables.
55406
55407 2013-05-18 Joseph Myers <joseph@codesourcery.com>
55408
55409 [BZ #15488]
55410 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55411 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55412 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55413 double tests.
55414 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55415 disable.
55416 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55417 check_long_double.
55418
55419 * math/gen-libm-test.pl (@tests): Remove variable.
55420 ($count): Likewise.
55421 (new_test): Remove function.
55422 (show_exceptions): New function.
55423 (special_functions): Use show_exceptions instead of new_test.
55424 (parse_args): Likewise.
55425 (generate_testfile): Pass only function name in generated call to
55426 print_max_error or print_complex_max_error.
55427 (get_ulps): Do not handle complex tests specially.
55428 (output_test): Rename to ...
55429 (get_all_ulps_for_test): ... this. Return a string rather than
55430 printing to a file. Require ulps to be present.
55431 (output_ulps): Generate arrays rather than #defines.
55432 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55433 (struct ulp_data): New type.
55434 (BUILD_COMPLEX_ULP): Remove macro.
55435 (compare_ulp_data): New function.
55436 (find_ulps): Likewise.
55437 (find_test_ulps): Likewise.
55438 (find_function_ulps): Likewise.
55439 (find_complex_function_ulps): Likewise.
55440 (print_max_error): Determine allowed ulps using
55441 find_function_ulps.
55442 (print_complex_max_error): Determine allowed ulps using
55443 find_complex_function_ulps.
55444 (check_float_internal): Determine max ulps using find_test_ulps.
55445 (check_float): Do not take max_ulp parameter. Update call to
55446 check_float_internal.
55447 (check_complex): Likewise.
55448 (check_int): Do not take max_ulp parameter.
55449 (check_long): Likewise.
55450 (check_bool): Likewise.
55451 (check_longlong): Likewise.
55452 (struct test_f_f_data): Remove max_ulp field.
55453 (struct test_ff_f_data): Likewise.
55454 (struct test_ff_f_data_nexttoward): Likewise.
55455 (struct test_fi_f_data): Likewise.
55456 (struct test_fl_f_data): Likewise.
55457 (struct test_if_f_data): Likewise.
55458 (struct test_fff_f_data): Likewise.
55459 (struct test_c_f_data): Likewise.
55460 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
55461 (struct test_fF_f1_data): Likewise.
55462 (struct test_ffI_f1_data): Likewise.
55463 (struct test_c_c_data): Remove max_ulp field.
55464 (struct test_cc_c_data): Likewise.
55465 (struct test_f_i_data): Likewise.
55466 (struct test_ff_i_data): Likewise.
55467 (struct test_f_l_data): Likewise.
55468 (struct test_f_L_data): Likewise.
55469 (struct test_sincos_data): Likewise.
55470 (RUN_TEST_f_f): Do not handle ulps.
55471 (RUN_TEST_LOOP_f_f): Likewise.
55472 (RUN_TEST_2_f): Likewise.
55473 (RUN_TEST_LOOP_2_f): Likewise.
55474 (RUN_TEST_fff_f): Likewise.
55475 (RUN_TEST_LOOP_fff_f): Likewise.
55476 (RUN_TEST_c_f): Likewise.
55477 (RUN_TEST_LOOP_c_f): Likewise.
55478 (RUN_TEST_f_f1): Likewise.
55479 (RUN_TEST_LOOP_f_f1): Likewise.
55480 (RUN_TEST_fF_f1): Likewise.
55481 (RUN_TEST_LOOP_fF_f1): Likewise.
55482 (RUN_TEST_fI_f1): Likewise.
55483 (RUN_TEST_LOOP_fI_f1): Likewise.
55484 (RUN_TEST_ffI_f1): Likewise.
55485 (RUN_TEST_LOOP_ffI_f1): Likewise.
55486 (RUN_TEST_c_c): Likewise.
55487 (RUN_TEST_LOOP_c_c): Likewise.
55488 (RUN_TEST_cc_c): Likewise.
55489 (RUN_TEST_LOOP_cc_c): Likewise.
55490 (RUN_TEST_f_i): Likewise.
55491 (RUN_TEST_LOOP_f_i): Likewise.
55492 (RUN_TEST_f_i_tg): Likewise.
55493 (RUN_TEST_LOOP_f_i_tg): Likewise.
55494 (RUN_TEST_ff_i_tg): Likewise.
55495 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55496 (RUN_TEST_f_b): Likewise.
55497 (RUN_TEST_LOOP_f_b): Likewise.
55498 (RUN_TEST_f_b_tg): Likewise.
55499 (RUN_TEST_LOOP_f_b_tg): Likewise.
55500 (RUN_TEST_f_l): Likewise.
55501 (RUN_TEST_LOOP_f_l): Likewise.
55502 (RUN_TEST_f_L): Likewise.
55503 (RUN_TEST_LOOP_f_L): Likewise.
55504 (RUN_TEST_sincos): Likewise.
55505 (RUN_TEST_LOOP_sincos): Likewise.
55506
55507 2013-05-17 Joseph Myers <joseph@codesourcery.com>
55508
55509 [BZ #15480]
55510 [BZ #15485]
55511 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
55512 main case of finite arguments, set rounding mode to FE_TONEAREST
55513 and discard exceptions.
55514 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
55515 exceptions.
55516 (remainder_tonearest_test_data): New variable.
55517 (remainder_test_tonearest): New function.
55518 (remainder_towardzero_test_data): New variable.
55519 (remainder_test_towardzero): New function.
55520 (remainder_downward_test_data): New variable.
55521 (remainder_test_downward): New function.
55522 (remainder_upward_test_data): New variable.
55523 (remainder_test_upward): New function.
55524 (main): Call the new test functions.
55525
55526 * math/libm-test.inc (struct test_f_f1_data): Remove field
55527 extra_init.
55528 (struct test_fF_f1_data): Likewise.
55529 (struct test_ffI_f1_data): Likewise.
55530 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
55531 based on value of EXTRA_EXPECTED.
55532 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55533 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
55534 EXTRA_VAR based on value of EXTRA_EXPECTED.
55535 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55536 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
55537 EXTRA_VAR based on value of EXTRA_EXPECTED.
55538 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55539 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
55540 EXTRA_VAR based on value of EXTRA_EXPECTED.
55541 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55542 * math/gen-libm-test.pl (parse_args): Don't output initializers
55543 for extra output values.
55544
55545 * math/libm-test.inc (check_int): Expect result to be exactly
55546 equal to expected value and do not handle ulps.
55547 (check_long): Likewise.
55548 (check_longlong): Likewise.
55549
55550 * math/libm-test.inc (ceil_test_data): Test for "inexact"
55551 exceptions.
55552 (cimag_test_data): Likewise.
55553 (conj_test_data): Likewise.
55554 (copysign_test_data): Likewise.
55555 (cproj_test_data): Likewise.
55556 (creal_test_data): Likewise.
55557 (fabs_test_data): Likewise.
55558 (fdim_test_data): Likewise.
55559 (finite_test_data): Likewise.
55560 (floor_test_data): Likewise.
55561 (fmax_test_data): Likewise.
55562 (fmin_test_data): Likewise.
55563 (fmod_test_data): Likewise.
55564 (fpclassify_test_data): Likewise.
55565 (frexp_test_data): Likewise.
55566 (ilogb_test_data): Likewise.
55567 (isfinite_test_data): Likewise.
55568 (isgreater_test_data): Likewise.
55569 (isgreaterequal_test_data): Likewise.
55570 (isinf_test_data): Likewise.
55571 (isless_test_data): Likewise.
55572 (islessequal_test_data): Likewise.
55573 (islessgreater_test_data): Likewise.
55574 (isnan_test_data): Likewise.
55575 (isnormal_test_data): Likewise.
55576 (issignaling_test_data): Likewise.
55577 (isunordered_test_data): Likewise.
55578 (ldexp_test_data): Likewise.
55579 (lrint_test_data): Likewise.
55580 (lrint_test_data) [TEST_FLOAT]: Disable one test.
55581 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
55582 (lrint_tonearest_test_data): Test for "inexact" exceptions.
55583 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55584 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
55585 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55586 test input.
55587 (lrint_towardzero_test_data): Test for "inexact" exceptions.
55588 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55589 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
55590 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
55591 that test input.
55592 (lrint_downward_test_data): Test for "inexact" exceptions.
55593 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55594 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
55595 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55596 test input.
55597 (lrint_upward_test_data): Test for "inexact" exceptions.
55598 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
55599 test input.
55600 (llrint_test_data): Test for "inexact" exceptions.
55601 (llrint_test_data) [TEST_FLOAT]: Disable one test.
55602 (llrint_tonearest_test_data): Test for "inexact" exceptions.
55603 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55604 (llrint_towardzero_test_data): Test for "inexact" exceptions.
55605 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55606 (llrint_downward_test_data): Test for "inexact" exceptions.
55607 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55608 (llrint_upward_test_data): Test for "inexact" exceptions.
55609 (logb_test_data): Likewise.
55610 (logb_downward_test_data): Likewise.
55611 (nextafter_test_data): Likewise.
55612 (nexttoward_test_data): Likewise.
55613 (remainder_test_data): Likewise.
55614 (remquo_test_data): Likewise.
55615 (scalbn_test_data): Likewise.
55616 (scalbln_test_data): Likewise.
55617 (signbit_test_data): Likewise.
55618 (sqrt_test_data): Likewise.
55619 (significand_test_data): Likewise.
55620
55621 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
55622
55623 [BZ #15424]
55624 * benchtests/bench-modf.c (struct args): Mark arg0 as
55625 volatile.
55626 * scripts/bench.pl: Mark members of struct args as volatile.
55627
55628 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55629
55630 [BZ # 15497]
55631 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
55632 negative infinity on POWER6 or lower.
55633 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
55634
55635 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
55636
55637 [BZ #15442]
55638 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
55639 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
55640 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
55641 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
55642 (_FP_SETQNAN): New macro.
55643 (_FP_SETQNAN_SEMIRAW): Likewise.
55644 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
55645 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
55646 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
55647 (FP_EXTEND): Use _FP_FRAC_SNANP.
55648 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
55649 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
55650 into account.
55651 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55652 New macro.
55653 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55654 Likewise.
55655
55656 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55657
55658 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
55659 with DIVIDE_BY_ZERO_EXCEPTION.
55660 (gamma_test_data): Likewise.
55661 (lgamma_test_data): Likewise.
55662 (log_test_data): Likewise.
55663 (log10_test_data): Likewise.
55664 (log2_test_data): Likewise.
55665 (tgamma_test_data): Likewise.
55666
55667 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
55668 (acos_test_tonearest): Likewise.
55669 (acos_test_towardzero): Likewise.
55670 (acos_test_downward): Likewise.
55671 (acos_test_upward): Likewise.
55672 (acosh_test): Likewise.
55673 (asin_test): Likewise.
55674 (asin_test_tonearest): Likewise.
55675 (asin_test_towardzero): Likewise.
55676 (asin_test_downward): Likewise.
55677 (asin_test_upward): Likewise.
55678 (asinh_test): Likewise.
55679 (atan_test): Likewise.
55680 (atanh_test): Likewise.
55681 (atan2_test): Likewise.
55682 (cabs_test): Likewise.
55683 (cacos_test): Likewise.
55684 (cacosh_test): Likewise.
55685 (casin_test): Likewise.
55686 (casinh_test): Likewise.
55687 (catan_test): Likewise.
55688 (catanh_test): Likewise.
55689 (cbrt_test): Likewise.
55690 (ccos_test): Likewise.
55691 (ccosh_test): Likewise.
55692 (cexp_test): Likewise.
55693 (clog_test): Likewise.
55694 (clog10_test): Likewise.
55695 (cos_test): Likewise.
55696 (cos_test_tonearest): Likewise.
55697 (cos_test_towardzero): Likewise.
55698 (cos_test_downward): Likewise.
55699 (cos_test_upward): Likewise.
55700 (cosh_test): Likewise.
55701 (cosh_test_tonearest): Likewise.
55702 (cosh_test_towardzero): Likewise.
55703 (cosh_test_downward): Likewise.
55704 (cosh_test_upward): Likewise.
55705 (cpow_test): Likewise.
55706 (csin_test): Likewise.
55707 (csinh_test): Likewise.
55708 (csqrt_test): Likewise.
55709 (ctan_test): Likewise.
55710 (ctan_test_tonearest): Likewise.
55711 (ctan_test_towardzero): Likewise.
55712 (ctan_test_downward): Likewise.
55713 (ctan_test_upward): Likewise.
55714 (ctanh_test): Likewise.
55715 (ctanh_test_tonearest): Likewise.
55716 (ctanh_test_towardzero): Likewise.
55717 (ctanh_test_downward): Likewise.
55718 (ctanh_test_upward): Likewise.
55719 (erf_test): Likewise.
55720 (erfc_test): Likewise.
55721 (exp_test): Likewise.
55722 (exp_test_tonearest): Likewise.
55723 (exp_test_towardzero): Likewise.
55724 (exp_test_downward): Likewise.
55725 (exp_test_upward): Likewise.
55726 (exp10_test): Likewise.
55727 (exp2_test): Likewise.
55728 (expm1_test): Likewise.
55729 (fmod_test): Likewise.
55730 (gamma_test): Likewise.
55731 (hypot_test): Likewise.
55732 (j0_test): Likewise.
55733 (j1_test): Likewise.
55734 (jn_test): Likewise.
55735 (lgamma_test): Likewise.
55736 (log_test): Likewise.
55737 (log10_test): Likewise.
55738 (log1p_test): Likewise.
55739 (log2_test): Likewise.
55740 (logb_test_downward): Likewise.
55741 (pow_test): Likewise.
55742 (pow_test_tonearest): Likewise.
55743 (pow_test_towardzero): Likewise.
55744 (pow_test_downward): Likewise.
55745 (pow_test_upward): Likewise.
55746 (remainder_test): Likewise.
55747 (remquo_test): Likewise.
55748 (sin_test): Likewise.
55749 (sin_test_tonearest): Likewise.
55750 (sin_test_towardzero): Likewise.
55751 (sin_test_downward): Likewise.
55752 (sin_test_upward): Likewise.
55753 (sincos_test): Likewise.
55754 (sinh_test): Likewise.
55755 (sinh_test_tonearest): Likewise.
55756 (sinh_test_towardzero): Likewise.
55757 (sinh_test_downward): Likewise.
55758 (sinh_test_upward): Likewise.
55759 (sqrt_test): Likewise.
55760 (tan_test): Likewise.
55761 (tan_test_tonearest): Likewise.
55762 (tan_test_towardzero): Likewise.
55763 (tan_test_downward): Likewise.
55764 (tan_test_upward): Likewise.
55765 (tanh_test): Likewise.
55766 (tgamma_test): Likewise.
55767 (y0_test): Likewise.
55768 (y1_test): Likewise.
55769 (yn_test): Likewise.
55770
55771 * math/gen-libm-test.pl (adjust_arg): Remove function.
55772 (special_function): Remove argument $in_func. Only handle
55773 generating output for tables of tests, not inside functions.
55774 (parse_args): Likewise.
55775 (generate_testfile): Remove variable $in_func. Update call to
55776 parse_args.
55777 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
55778 (MINUS_ZERO_INIT): Rename macro to minus_zero.
55779 (PLUS_INFTY_INIT): Rename macro to plus_infty.
55780 (MINUS_INFTY_INIT): Rename macro to minus_infty.
55781 (QNAN_VALUE_INIT): Rename macro to qnan_value.
55782 (MAX_VALUE_INIT): Rename macro to max_value.
55783 (MIN_VALUE_INIT): Rename macro to min_value.
55784 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
55785 (plus_zero): Remove variable.
55786 (minus_zero): Likewise.
55787 (plus_infty): Likewise.
55788 (minus_infty): Likewise.
55789 (qnan_value): Likewise.
55790 (max_value): Likewise.
55791 (min_value): Likewise.
55792 (min_subnorm_value): Likewise.
55793
55794 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55795
55796 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
55797 uint64_t or uint32_t usage.
55798 * crypt/sha256-block.c: Likewise.
55799 * crypt/sha256-crypt.c: Likewise.
55800 * crypt/sha256.c: Likewise.
55801 * crypt/sha512-block.c: Likewise.
55802 * crypt/sha512-crypt.c: Likewise.
55803 * crypt/sha512.c: Likewise.
55804 * debug/backtrace-tst.c: Likewise.
55805 * debug/pcprofiledump.c: Likewise.
55806 * elf/cache.c: Likewise.
55807 * elf/dl-cache.c: Likewise.
55808 * elf/dl-misc.c: Likewise.
55809 * elf/dl-profile.c: Likewise.
55810 * elf/dl-support.c: Likewise.
55811 * elf/ldconfig.c: Likewise.
55812 * elf/sprof.c: Likewise.
55813 * iconv/dummy-repertoire.c: Likewise.
55814 * iconv/iconv_charmap.c: Likewise.
55815 * iconv/skeleton.c: Likewise.
55816 * iconvdata/8bit-generic.c: Likewise.
55817 * iconvdata/cp737.h: Likewise.
55818 * iconvdata/cp775.h: Likewise.
55819 * iconvdata/ibm1008.h: Likewise.
55820 * iconvdata/ibm1025.h: Likewise.
55821 * iconvdata/ibm1046.h: Likewise.
55822 * iconvdata/ibm1097.h: Likewise.
55823 * iconvdata/ibm1112.h: Likewise.
55824 * iconvdata/ibm1122.h: Likewise.
55825 * iconvdata/ibm1123.h: Likewise.
55826 * iconvdata/ibm1124.h: Likewise.
55827 * iconvdata/ibm1129.h: Likewise.
55828 * iconvdata/ibm1130.h: Likewise.
55829 * iconvdata/ibm1132.h: Likewise.
55830 * iconvdata/ibm1133.h: Likewise.
55831 * iconvdata/ibm1137.h: Likewise.
55832 * iconvdata/ibm1140.h: Likewise.
55833 * iconvdata/ibm1141.h: Likewise.
55834 * iconvdata/ibm1142.h: Likewise.
55835 * iconvdata/ibm1143.h: Likewise.
55836 * iconvdata/ibm1144.h: Likewise.
55837 * iconvdata/ibm1145.h: Likewise.
55838 * iconvdata/ibm1146.h: Likewise.
55839 * iconvdata/ibm1147.h: Likewise.
55840 * iconvdata/ibm1148.h: Likewise.
55841 * iconvdata/ibm1149.h: Likewise.
55842 * iconvdata/ibm1153.h: Likewise.
55843 * iconvdata/ibm1154.h: Likewise.
55844 * iconvdata/ibm1155.h: Likewise.
55845 * iconvdata/ibm1156.h: Likewise.
55846 * iconvdata/ibm1157.h: Likewise.
55847 * iconvdata/ibm1158.h: Likewise.
55848 * iconvdata/ibm1160.h: Likewise.
55849 * iconvdata/ibm1161.h: Likewise.
55850 * iconvdata/ibm1162.h: Likewise.
55851 * iconvdata/ibm1163.h: Likewise.
55852 * iconvdata/ibm1164.h: Likewise.
55853 * iconvdata/ibm1166.h: Likewise.
55854 * iconvdata/ibm1167.h: Likewise.
55855 * iconvdata/ibm12712.h: Likewise.
55856 * iconvdata/ibm1390.h: Likewise.
55857 * iconvdata/ibm1399.h: Likewise.
55858 * iconvdata/ibm16804.h: Likewise.
55859 * iconvdata/ibm4517.h: Likewise.
55860 * iconvdata/ibm4899.h: Likewise.
55861 * iconvdata/ibm4909.h: Likewise.
55862 * iconvdata/ibm4971.h: Likewise.
55863 * iconvdata/ibm5347.h: Likewise.
55864 * iconvdata/ibm803.h: Likewise.
55865 * iconvdata/ibm856.h: Likewise.
55866 * iconvdata/ibm901.h: Likewise.
55867 * iconvdata/ibm902.h: Likewise.
55868 * iconvdata/ibm9030.h: Likewise.
55869 * iconvdata/ibm9066.h: Likewise.
55870 * iconvdata/ibm921.h: Likewise.
55871 * iconvdata/ibm922.h: Likewise.
55872 * iconvdata/ibm9448.h: Likewise.
55873 * iconvdata/isiri-3342.h: Likewise.
55874 * iconvdata/jis0201.h: Likewise.
55875 * include/link.h: Likewise.
55876 * include/netdb.h: Likewise.
55877 * inet/check_native.c: Likewise.
55878 * inet/check_pf.c: Likewise.
55879 * inet/getipv4sourcefilter.c: Likewise.
55880 * inet/getnameinfo.c: Likewise.
55881 * inet/getsourcefilter.c: Likewise.
55882 * inet/htonl.c: Likewise.
55883 * inet/setipv4sourcefilter.c: Likewise.
55884 * inet/setsourcefilter.c: Likewise.
55885 * inet/test-inet6_opt.c: Likewise.
55886 * inet/tst-network.c: Likewise.
55887 * locale/C-collate.c: Likewise.
55888 * locale/C-ctype.c: Likewise.
55889 * locale/C-time.c: Likewise.
55890 * locale/C-translit.h: Likewise.
55891 * locale/loadarchive.c: Likewise.
55892 * locale/programs/3level.h: Likewise.
55893 * locale/programs/charmap.c: Likewise.
55894 * locale/programs/charmap.h: Likewise.
55895 * locale/programs/ld-address.c: Likewise.
55896 * locale/programs/ld-collate.c: Likewise.
55897 * locale/programs/ld-ctype.c: Likewise.
55898 * locale/programs/ld-identification.c: Likewise.
55899 * locale/programs/ld-measurement.c: Likewise.
55900 * locale/programs/ld-messages.c: Likewise.
55901 * locale/programs/ld-monetary.c: Likewise.
55902 * locale/programs/ld-name.c: Likewise.
55903 * locale/programs/ld-numeric.c: Likewise.
55904 * locale/programs/ld-paper.c: Likewise.
55905 * locale/programs/ld-telephone.c: Likewise.
55906 * locale/programs/ld-time.c: Likewise.
55907 * locale/programs/linereader.c: Likewise.
55908 * locale/programs/locale.c: Likewise.
55909 * locale/programs/locarchive.c: Likewise.
55910 * locale/programs/locfile.h: Likewise.
55911 * locale/programs/repertoire.c: Likewise.
55912 * locale/programs/simple-hash.c: Likewise.
55913 * locale/programs/simple-hash.h: Likewise.
55914 * malloc/memusage.c: Likewise.
55915 * malloc/memusagestat.c: Likewise.
55916 * nis/nis_defaults.c: Likewise.
55917 * nis/nis_hash.c: Likewise.
55918 * nis/nis_print.c: Likewise.
55919 * nis/nis_xdr.c: Likewise.
55920 * nscd/connections.c: Likewise.
55921 * nscd/hstcache.c: Likewise.
55922 * nscd/nscd_gethst_r.c: Likewise.
55923 * nscd/nscd_getserv_r.c: Likewise.
55924 * nscd/nscd_helper.c: Likewise.
55925 * nscd/servicescache.c: Likewise.
55926 * nss/makedb.c: Likewise.
55927 * nss/nss_db/db-XXX.c: Likewise.
55928 * nss/nss_db/db-initgroups.c: Likewise.
55929 * nss/nss_db/db-netgrp.c: Likewise.
55930 * nss/nss_files/files-network.c: Likewise.
55931 * nss/nss_files/files-parse.c: Likewise.
55932 * posix/bug-regex5.c: Likewise.
55933 * posix/fnmatch_loop.c: Likewise.
55934 * posix/regcomp.c: Likewise.
55935 * posix/regexec.c: Likewise.
55936 * posix/tst-rfc3484-2.c: Likewise.
55937 * posix/tst-rfc3484-3.c: Likewise.
55938 * posix/tst-rfc3484.c: Likewise.
55939 * resolv/nss_dns/dns-canon.c: Likewise.
55940 * resolv/nss_dns/dns-network.c: Likewise.
55941 * resolv/res_init.c: Likewise.
55942 * resolv/res_mkquery.c: Likewise.
55943 * resolv/tst-aton.c: Likewise.
55944 * stdlib/cxa_atexit.c: Likewise.
55945 * stdlib/cxa_finalize.c: Likewise.
55946 * stdlib/gen-fpioconst.c: Likewise.
55947 * stdlib/strtol_l.c: Likewise.
55948 * string/tst-endian.c: Likewise.
55949 * sunrpc/auth_des.c: Likewise.
55950 * sunrpc/clnt_udp.c: Likewise.
55951 * sunrpc/rtime.c: Likewise.
55952 * sunrpc/svcauth_des.c: Likewise.
55953 * sunrpc/xdr.c: Likewise.
55954 * sunrpc/xdr_intXX_t.c: Likewise.
55955 * sunrpc/xdr_rec.c: Likewise.
55956 * sysdeps/generic/ldconfig.h: Likewise.
55957 * sysdeps/generic/ldsodefs.h: Likewise.
55958 * sysdeps/generic/memusage.h: Likewise.
55959 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55960 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
55961 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
55962 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55963 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55964 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55965 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55966 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55967 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55968 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55969 * sysdeps/posix/getaddrinfo.c: Likewise.
55970 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55971 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55972 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55973 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55974 * sysdeps/powerpc/test-gettimebase.c: Likewise.
55975 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
55976 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
55977 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
55978 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
55979 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
55980 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55981 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55982 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
55983 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
55984 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
55985 * sysdeps/x86_64/dl-tls.h: Likewise.
55986 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
55987 * time/alt_digit.c: Likewise.
55988 * time/era.c: Likewise.
55989 * wcsmbs/tst-c16c32-1.c: Likewise.
55990
55991 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55992
55993 * math/libm-test.inc (struct test_sincos_data): New type.
55994 (RUN_TEST_LOOP_sincos): New macro.
55995 (sincos_test_data): New variable.
55996 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
55997
55998 2013-05-16 Richard Henderson <rth@redhat.com>
55999
56000 * math/atest-exp2.c (LIMB64): New macro.
56001 (CONSTSZ): New macro.
56002 (mp_exp1, mp_exp_m1, mp_log2): New variables.
56003 (hexdig): Move ...
56004 (print_mpn_fp): ... to function scope.
56005 (read_mpn_hex): Remove.
56006 (get_log2): Remove.
56007 (exp2_mpn): Use mp_log2.
56008 (main): Use mp_exp1.
56009
56010 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56011
56012 * math/libm-test.inc: Remove comment about not testing "inexact"
56013 exceptions.
56014 (INEXACT_EXCEPTION): New macro.
56015 (NO_INEXACT_EXCEPTION): Likewise.
56016 (INVALID_EXCEPTION_OK): Update value.
56017 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56018 (OVERFLOW_EXCEPTION_OK): Likewise.
56019 (UNDERFLOW_EXCEPTION_OK): Likewise.
56020 (IGNORE_ZERO_INF_SIGN): Likewise.
56021 (ERRNO_UNCHANGED): Likewise.
56022 (ERRNO_EDOM): Likewise.
56023 (ERRNO_ERANGE): Likewise.
56024 (test_exceptions): Handle testing "inexact" exceptions.
56025 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56026 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56027 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56028 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56029 INEXACT_EXCEPTION.
56030 (rint_towardzero_test_data): Likewise.
56031 (rint_downward_test_data): Likewise.
56032 (rint_upward_test_data): Likewise.
56033
56034 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56035 with OVERFLOW_EXCEPTION.
56036 (exp10_test_data): Likewise.
56037 (exp2_test_data): Likewise.
56038 (expm1_test_data): Likewise.
56039 (lgamma_test_data): Likewise.
56040 (pow_test_data): Likewise.
56041 (tgamma_test_data): Likewise.
56042 (yn_test_data): Remove duplicate test of overflow.
56043
56044 * math/libm-test.inc (struct test_cc_c_data): New type.
56045 (RUN_TEST_LOOP_cc_c): New macro.
56046 (cpow_test_data): New variable.
56047 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56048
56049 * math/libm-test.inc (struct test_f_L_data): New type.
56050 (RUN_TEST_LOOP_f_L): New macro.
56051 (llrint_test_data): New variable.
56052 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56053 (llrint_tonearest_test_data): New variable.
56054 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56055 (llrint_towardzero_test_data): New variable.
56056 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56057 (llrint_downward_test_data): New variable.
56058 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56059 (llrint_upward_test_data): New variable.
56060 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56061 (llround_test_data): New variable.
56062 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56063
56064 2013-05-13 Peter Collingbourne <pcc@google.com>
56065
56066 * math/atest-exp2.c (get_log2): Remove const attribute.
56067
56068 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56069
56070 * math/libm-test.inc (struct test_f_l_data): New type.
56071 (RUN_TEST_LOOP_f_l): New macro.
56072 (lrint_test_data): New variable.
56073 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56074 (lrint_tonearest_test_data): New variable.
56075 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56076 (lrint_towardzero_test_data): New variable.
56077 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56078 (lrint_downward_test_data): New variable.
56079 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56080 (lrint_upward_test_data): New variable.
56081 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56082 (lround_test_data): New variable.
56083 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56084
56085 2013-05-15 Peter Collingbourne <pcc@google.com>
56086
56087 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56088 (EXTRACT_WORDS64) Use where appropriate.
56089 (INSERT_WORDS64) Likewise.
56090
56091 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56092 constraints with x constraints.
56093 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56094
56095 * malloc/obstack.c (_obstack_compat): Add initializer.
56096
56097 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
56098
56099 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56100 si_trapno and add si_addr_lsb to _sifields.sigfault.
56101 (si_trapno): Remove macro.
56102 (si_addr_lsb): Define new macro.
56103 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56104
56105 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56106
56107 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56108 instead of TEST_f_l.
56109 (llrint_test_tonearest): Likewise.
56110 (llrint_test_towardzero): Likewise.
56111 (llrint_test_downward): Likewise.
56112 (llrint_test_upward): Likewise.
56113 (llround_test): Likewise.
56114
56115 * math/libm-test.inc (struct test_f_i_data): Add comment.
56116 (RUN_TEST_LOOP_f_b): New macro.
56117 (RUN_TEST_LOOP_f_b_tg): Likewise.
56118 (finite_test_data): New variable.
56119 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56120 (isfinite_test_data): New variable.
56121 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56122 (isinf_test_data): New variable.
56123 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56124 (isnan_test_data): New variable.
56125 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56126 (isnormal_test_data): New variable.
56127 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56128 (issignaling_test_data): New variable.
56129 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56130 (signbit_test_data): New variable.
56131 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56132
56133 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56134 with INVALID_EXCEPTION.
56135 (acosh_test_data): Likewise.
56136 (asin_test_data): Likewise.
56137 (atanh_test_data): Likewise.
56138 (fmod_test_data): Likewise.
56139 (log_test_data): Likewise.
56140 (log10_test_data): Likewise.
56141 (log2_test_data): Likewise.
56142 (pow_test_data): Likewise.
56143 (sqrt_test_data): Likewise.
56144 (y0_test_data): Likewise.
56145 (y1_test_data): Likewise.
56146 (yn_test_data): Likewise.
56147
56148 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56149 function contents.
56150
56151 * math/libm-test.inc (struct test_ff_i_data): New type.
56152 (RUN_TEST_LOOP_ff_i_tg): New macro.
56153 (isgreater_test_data): New variable.
56154 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56155 (isgreaterequal_test_data): New variable.
56156 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56157 (isless_test_data): New variable.
56158 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56159 (islessequal_test_data): New variable.
56160 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56161 (islessgreater_test_data): New variable.
56162 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56163 (isunordered_test_data): New variable.
56164 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56165
56166 2013-05-14 David S. Miller <davem@davemloft.net>
56167
56168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56169
56170 2013-05-14 Joseph Myers <joseph@codesourcery.com>
56171
56172 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56173
56174 * math/libm-test.inc (struct test_fF_f1_data): Change type of
56175 extra_test to int.
56176 (struct test_f_i_data): Change type of max_ulp to int.
56177
56178 * math/libm-test.inc (test_ffI_f1_data): New type.
56179 (RUN_TEST_LOOP_ffI_f1): New macro.
56180 (remquo_test_data): New variable.
56181 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56182
56183 * setjmp/tst-setjmp-fp.c: New file.
56184 * setjmp/Makefile (tests): Add tst-setjmp-fp.
56185 (link-libm): New variable.
56186 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56187
56188 * math/libm-test.inc (struct test_f_i_data): New type.
56189 (RUN_TEST_LOOP_f_i): New macro.
56190 (RUN_TEST_LOOP_f_i_tg): Likewise.
56191 (fpclassify_test_data): New variable.
56192 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56193 (ilogb_test_data): New variable.
56194 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56195
56196 * math/libm-test.inc (scalbln_test): Correct function name in END
56197 call.
56198
56199 * math/libm-test.inc (struct test_f_f1_data): Add comment.
56200 (RUN_TEST_LOOP_fI_f1): New macro.
56201 (frexp_test_data): New variable.
56202 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56203
56204 * math/libm-test.inc (struct test_fF_f1_data): New type.
56205 (RUN_TEST_LOOP_fF_f1): New macro.
56206 (modf_test_data): New variable.
56207 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56208
56209 * math/libm-test.inc (struct test_f_f1_data): New type.
56210 (RUN_TEST_LOOP_f_f1): New macro.
56211 (gamma_test_data): New variable.
56212 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56213 (lgamma_test_data): New variable.
56214 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56215
56216 2013-05-13 Carlos O'Donell <carlos@redhat.com>
56217
56218 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56219 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56220 (main): Comment "tls" pseudo-hwcap.
56221
56222 2013-05-13 Joseph Myers <joseph@codesourcery.com>
56223
56224 * math/libm-test.inc (struct test_fl_f_data): New type.
56225 (RUN_TEST_LOOP_fl_f): New variable.
56226 (scalbln_test_data): New variable.
56227 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56228
56229 * math/libm-test.inc (struct test_fi_f_data): New type.
56230 (RUN_TEST_LOOP_fi_f): New macro.
56231 (ldexp_test_data): New variable.
56232 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56233 (scalbn_test_data): New variable.
56234 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56235
56236 * math/libm-test.inc (struct test_c_f_data): New type.
56237 (RUN_TEST_LOOP_c_f): New macro.
56238 (cabs_test_data): New variable.
56239 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56240 (carg_test_data): New variable.
56241 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56242 (cimag_test_data): New variable.
56243 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56244 (creal_test_data): New variable.
56245 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56246
56247 * math/libm-test.inc (struct test_if_f_data): New type.
56248 (RUN_TEST_LOOP_if_f): New macro.
56249 (jn_test_data): New variable.
56250 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56251 (yn_test_data): New variable.
56252 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56253
56254 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56255
56256 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56257
56258 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56259 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56260
56261 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
56262
56263 * benchtests/Makefile (CPPFLAGS-nonlib): Add
56264 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56265 (bench-deps): Add bench-timing.h.
56266 * benchtests-bench-skeleton.c: Include bench-timing.h.
56267 (main): Use TIMING_* macros instead of clock_gettime.
56268 * benchtests/bench-timing.h: New file.
56269
56270 [BZ #14582]
56271 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56272 Renamed from _LIB_VERSION.
56273 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56274
56275 2013-05-12 Joseph Myers <joseph@codesourcery.com>
56276
56277 * math/libm-test.inc (struct test_fff_f_data): New type.
56278 (RUN_TEST_LOOP_fff_f): New macro.
56279 (fma_test_data): New variable.
56280 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56281 (fma_towardzero_test_data): New variable.
56282 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56283 (fma_downward_test_data): New variable.
56284 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56285 (fma_upward_test_data): New variable.
56286 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56287
56288 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56289 (struct test_c_c_data): New type.
56290 (RUN_TEST_LOOP_c_c): New macro.
56291 (cacos_test_data): New variable.
56292 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56293 (cacosh_test_data): New variable.
56294 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56295 (casin_test_data): New variable.
56296 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56297 (casinh_test_data): New variable.
56298 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56299 (catan_test_data): New variable.
56300 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56301 (catanh_test_data): New variable.
56302 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56303 (ccos_test_data): New variable.
56304 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56305 (ccosh_test_data): New variable.
56306 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56307 (cexp_test_data): New variable.
56308 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56309 (clog_test_data): New variable.
56310 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56311 (clog10_test_data): New variable.
56312 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56313 (conj_test_data): New variable.
56314 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56315 (cproj_test_data): New variable.
56316 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56317 (csin_test_data): New variable.
56318 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56319 (csinh_test_data): New variable.
56320 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56321 (csqrt_test_data): New variable.
56322 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56323 (ctan_test_data): New variable.
56324 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56325 (ctan_tonearest_test_data): New variable.
56326 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56327 (ctan_towardzero_test_data): New variable.
56328 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56329 (ctan_downward_test_data): New variable.
56330 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56331 (ctan_upward_test_data): New variable.
56332 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56333 (ctanh_test_data): New variable.
56334 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56335 (ctanh_tonearest_test_data): New variable.
56336 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56337 (ctanh_towardzero_test_data): New variable.
56338 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56339 (ctanh_downward_test_data): New variable.
56340 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56341 (ctanh_upward_test_data): New variable.
56342 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56343 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56344 of BUILD_COMPLEX.
56345
56346 * math/libm-test.inc (struct test_ff_f_data): New type.
56347 (struct test_ff_f_data_nexttoward): Likewise.
56348 (RUN_TEST_LOOP_2_f): New macro.
56349 (RUN_TEST_LOOP_ff_f): Likewise.
56350 (atan2_test_data): New variable.
56351 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56352 (copysign_test_data): New variable.
56353 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56354 (fdim_test_data): New variable.
56355 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56356 (fmax_test_data): New variable.
56357 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56358 (fmin_test_data): New variable.
56359 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56360 (fmod_test_data): New variable.
56361 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56362 (hypot_test_data): New variable.
56363 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56364 (nextafter_test_data): New variable.
56365 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56366 (nexttoward_test_data): New variable.
56367 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56368 (pow_test_data): New variable.
56369 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56370 (pow_tonearest_test_data): New variable.
56371 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56372 (pow_towardzero_test_data): New variable.
56373 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56374 (pow_downward_test_data): New variable.
56375 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56376 (pow_upward_test_data): New variable.
56377 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56378 (remainder_test_data): New variable.
56379 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56380 (scalb_test_data): New variable.
56381 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56382 * sysdeps/i386/fpu/libm-test-ulps: Update.
56383
56384 2013-05-11 Joseph Myers <joseph@codesourcery.com>
56385
56386 * math/libm-test.inc (fma_test): Use max_value instead of local
56387 variable fltmax.
56388 (nextafter_test): Likewise.
56389
56390 * math/libm-test.inc (acos_towardzero_test_data): New variable.
56391 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56392 (acos_downward_test_data): New variable.
56393 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56394 (acos_upward_test_data): New variable.
56395 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56396 (acosh_test_data): New variable.
56397 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56398 (asin_test_data): New variable.
56399 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56400 (asin_tonearest_test_data): New variable.
56401 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56402 (asin_towardzero_test_data): New variable.
56403 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56404 (asin_downward_test_data): New variable.
56405 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56406 (asin_upward_test_data): New variable.
56407 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56408 (asinh_test_data): New variable.
56409 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56410 (atan_test_data): New variable.
56411 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56412 (atanh_test_data): New variable.
56413 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56414 (cbrt_test_data): New variable.
56415 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56416 (ceil_test_data): New variable.
56417 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56418 (cos_test_data): New variable.
56419 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56420 (cos_tonearest_test_data): New variable.
56421 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56422 (cos_towardzero_test_data): New variable.
56423 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56424 (cos_downward_test_data): New variable.
56425 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56426 (cos_upward_test_data): New variable.
56427 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56428 (cosh_test_data): New variable.
56429 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56430 (cosh_tonearest_test_data): New variable.
56431 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56432 (cosh_towardzero_test_data): New variable.
56433 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56434 (cosh_downward_test_data): New variable.
56435 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56436 (cosh_upward_test_data): New variable.
56437 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56438 (erf_test_data): New variable.
56439 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56440 (erfc_test_data): New variable.
56441 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
56442 (exp_test_data): New variable.
56443 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
56444 (exp_tonearest_test_data): New variable.
56445 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56446 (exp_towardzero_test_data): New variable.
56447 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56448 (exp_downward_test_data): New variable.
56449 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56450 (exp_upward_test_data): New variable.
56451 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56452 (exp10_test_data): New variable.
56453 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
56454 (exp2_test_data): New variable.
56455 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
56456 (expm1_test_data): New variable.
56457 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
56458 (fabs_test_data): New variable.
56459 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
56460 (floor_test_data): New variable.
56461 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
56462 (j0_test_data): New variable.
56463 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
56464 (j1_test_data): New variable.
56465 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
56466 (log_test_data): New variable.
56467 (log_test): Run tests with RUN_TEST_LOOP_f_f.
56468 (log10_test_data): New variable.
56469 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
56470 (log1p_test_data): New variable.
56471 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
56472 (log2_test_data): New variable.
56473 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
56474 (logb_test_data): New variable.
56475 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
56476 (logb_downward_test_data): New variable.
56477 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56478 (nearbyint_test_data): New variable.
56479 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
56480 (rint_test_data): New variable.
56481 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
56482 (rint_tonearest_test_data): New variable.
56483 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56484 (rint_towardzero_test_data): New variable.
56485 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56486 (rint_downward_test_data): New variable.
56487 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56488 (rint_upward_test_data): New variable.
56489 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56490 (round_test_data): New variable.
56491 (round_test): Run tests with RUN_TEST_LOOP_f_f.
56492 (sin_test_data): New variable.
56493 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
56494 (sin_tonearest_test_data): New variable.
56495 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56496 (sin_towardzero_test_data): New variable.
56497 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56498 (sin_downward_test_data): New variable.
56499 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56500 (sin_upward_test_data): New variable.
56501 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56502 (sinh_test_data): New variable.
56503 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
56504 (sinh_tonearest_test_data): New variable.
56505 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56506 (sinh_towardzero_test_data): New variable.
56507 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56508 (sinh_downward_test_data): New variable.
56509 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56510 (sinh_upward_test_data): New variable.
56511 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56512 (sqrt_test_data): New variable.
56513 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
56514 (tan_test_data): New variable.
56515 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
56516 (tan_tonearest_test_data): New variable.
56517 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56518 (tan_towardzero_test_data): New variable.
56519 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56520 (tan_downward_test_data): New variable.
56521 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56522 (tan_upward_test_data): New variable.
56523 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56524 (tanh_test_data): New variable.
56525 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
56526 (tgamma_test_data): New variable.
56527 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
56528 (trunc_test_data): New variable.
56529 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
56530 (y0_test_data): New variable.
56531 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
56532 (y1_test_data): New variable.
56533 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
56534 (significand_test_data): New variable.
56535 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
56536
56537 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
56538
56539 [BZ #12387]
56540 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
56541
56542 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
56543
56544 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
56545
56546 2013-05-10 Andreas Jaeger <aj@suse.de>
56547
56548 [BZ #15448]
56549 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
56550 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
56551
56552 2013-05-10 Joseph Myers <joseph@codesourcery.com>
56553
56554 * math/gen-libm-test.pl (adjust_arg): New function.
56555 (special_functions): Handle generating output in both functions
56556 and arrays.
56557 (parse_args): Likewise.
56558 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
56559 $in_func argument to parse_args.
56560 * math/libm-test.inc (struct test_f_f_data): New type.
56561 (IF_ROUND_INIT_): New macro.
56562 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
56563 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56564 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56565 (IF_ROUND_INIT_FE_UPWARD): Likewise.
56566 (ROUND_RESTORE_): Likewise.
56567 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
56568 (ROUND_RESTORE_FE_TONEAREST): Likewise.
56569 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
56570 (ROUND_RESTORE_FE_UPWARD): Likewise.
56571 (RUN_TEST_LOOP_f_f): New macro.
56572 (acos_test_data): New variable.
56573 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
56574 (acos_tonearest_test_data): New variable.
56575 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56576
56577 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
56578
56579 * benchtests/bench-skeleton.c (startup): Fix coding style.
56580
56581 2013-05-10 Joseph Myers <joseph@codesourcery.com>
56582
56583 [BZ #6809]
56584 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
56585 negative infinity argument.
56586 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
56587 negative infinity argument.
56588 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
56589 negative infinity argument.
56590 * math/libm-test.inc (tgamma_test): Expect errno to be set for
56591 domain errors.
56592
56593 2013-05-10 Florian Weimer <fweimer@redhat.com>
56594
56595 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
56596 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
56597 * iconv/iconv_prog.c (main): Likewise.
56598 * locale/programs/charmap-dir.c (charmap_readdir)
56599 (fopen_uncompressed): Likewise.
56600 * locale/programs/locfile.c (siblings_uncached)
56601 (write_locale_data): Use lstat64 instead of lstat.
56602 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
56603 stat.
56604
56605 2013-05-10 Andreas Jaeger <aj@suse.de>
56606
56607 [BZ #15395]
56608 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
56609 localization.
56610 Include <locale.h>.
56611
56612 2013-05-09 Carlos O'Donell <carlos@redhat.com>
56613
56614 * elf/dl-close.c (_dl_close_worker): Add comments.
56615
56616 2013-05-09 Joseph Myers <joseph@codesourcery.com>
56617
56618 [BZ #15359]
56619 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
56620 high part of pi/2.
56621 (__ieee754_rem_pio2l): Update comments.
56622
56623 [BZ #15429]
56624 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
56625 high part of pi/2.
56626 (__ieee754_rem_pio2l): Update comments.
56627
56628 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
56629 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
56630
56631 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
56632 M_PI_4l.
56633
56634 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
56635 (M_PI_34_LOG10El): Likewise.
56636 (M_PI2_LOG10El): Likewise.
56637 (M_PI4_LOG10El): Likewise.
56638 (M_PI_LOG10El): Likewise.
56639
56640 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56641
56642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56643
56644 2013-05-08 Joseph Myers <joseph@codesourcery.com>
56645
56646 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
56647 (MINUS_ZERO_INIT): Likewise.
56648 (PLUS_INFTY_INIT): Likewise.
56649 (MINUS_INFTY_INIT): Likewise.
56650 (QNAN_VALUE_INIT): Likewise.
56651 (MAX_VALUE_INIT): Likewise.
56652 (MIN_VALUE_INIT): Likewise.
56653 (MIN_SUBNORM_VALUE_INIT): Likewise.
56654 (plus_zero): Initialize with PLUS_ZERO_INIT.
56655 (minus_zero): Initialize with MINUS_ZERO_INIT.
56656 (plus_infty): Initialize with PLUS_INFTY_INIT.
56657 (minus_infty): Initialize with MINUS_INFTY_INIT.
56658 (qnan_value): Initialize with QNAN_VALUE_INIT.
56659 (max_value): Initialize with MAX_VALUE_INIT.
56660 (min_value): Initialize with MIN_VALUE_INIT.
56661 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
56662
56663 * math/libm-test.inc (RUN_TEST_if_f): New macro.
56664 (jn_test): Use TEST_if_f instead of TEST_ff_f.
56665 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
56666 (yn_test): Use TEST_if_f instead of TEST_ff_f.
56667
56668 * math/libm-test.inc (RUN_TEST_f_f): New macro.
56669 (RUN_TEST_2_f): Likewise.
56670 (RUN_TEST_ff_f): Likewise.
56671 (RUN_TEST_fi_f): Likewise.
56672 (RUN_TEST_fl_f): Likewise.
56673 (RUN_TEST_fff_f): Likewise.
56674 (RUN_TEST_c_f): Likewise.
56675 (RUN_TEST_f_f1): Likewise.
56676 (RUN_TEST_fF_f1): Likewise.
56677 (RUN_TEST_fI_f1): Likewise.
56678 (RUN_TEST_ffI_f1): Likewise.
56679 (RUN_TEST_c_c): Likewise.
56680 (RUN_TEST_cc_c): Likewise.
56681 (RUN_TEST_f_i): Likewise.
56682 (RUN_TEST_f_i_tg): Likewise.
56683 (RUN_TEST_ff_i_tg): Likewise.
56684 (RUN_TEST_f_b): Likewise.
56685 (RUN_TEST_f_b_tg): Likewise.
56686 (RUN_TEST_f_l): Likewise.
56687 (RUN_TEST_f_L): Likewise.
56688 (RUN_TEST_sincos): Likewise.
56689 * math/gen-libm-test.pl (new_test): Take new argument to indicate
56690 whether to show exceptions. Do not include ");\n" in return
56691 value.
56692 (special_functions): Output call to RUN_TEST_sincos instead of
56693 check_float calls. Update calls to new_test.
56694 (parse_args): Output call to single RUN_TEST_* macro instead of
56695 check_* calls and other assignments. Update calls to new_test.
56696
56697 [BZ #2546]
56698 [BZ #2560]
56699 [BZ #5159]
56700 [BZ #15426]
56701 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
56702 input to result for tgamma overflow.
56703 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
56704 (gamma_coeff): New variable.
56705 (NCOEFF): New macro.
56706 (gamma_positive): New function.
56707 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
56708 underflow here. Use gamma_positive instead of exp (lgamma) for
56709 other arguments.
56710 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
56711 (gamma_coeff): New variable.
56712 (NCOEFF): New macro.
56713 (gammaf_positive): New function.
56714 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
56715 underflow here. Use gamma_positive instead of exp (lgamma) for
56716 other arguments.
56717 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
56718 (gamma_coeff): New variable.
56719 (NCOEFF): New macro.
56720 (gammal_positive): New function.
56721 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
56722 underflow here. Use gamma_positive instead of exp (lgamma) for
56723 other arguments.
56724 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
56725 (gamma_coeff): New variable.
56726 (NCOEFF): New macro.
56727 (gammal_positive): New function.
56728 (__ieee754_gammal_r): Handle positive infinity, overflow and
56729 underflow here. Handle NaN the same as positive infinity. Remove
56730 check x < 0xffffffff for negative integers. Use gamma_positive
56731 instead of exp (lgamma) for other arguments.
56732 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
56733 (gamma_coeff): New variable.
56734 (NCOEFF): New macro.
56735 (gammal_positive): New function.
56736 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
56737 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
56738 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
56739 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
56740 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
56741 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
56742 * sysdeps/generic/math_private.h (__gamma_productf): New
56743 prototype.
56744 (__gamma_product): Likewise.
56745 (__gamma_productl): Likewise.
56746 * math/Makefile (libm-calls): Add gamma_product.
56747 * math/libm-test.inc (tgamma_test): Add more tests.
56748 * sysdeps/i386/fpu/libm-test-ulps: Update.
56749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56750
56751 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
56752
56753 * benchtests/bench-skeleton.c (main): Preheat CPU.
56754
56755 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
56756
56757 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
56758
56759 2013-05-07 Roland McGrath <roland@hack.frob.com>
56760
56761 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
56762 and _dl_skip_args_internal.
56763
56764 2013-05-07 Carlos O'Donell <carlos@redhat.com>
56765
56766 * manual/message.texi (Message Translation): Talk about users.
56767 Message to key mapping impacts design.
56768
56769 2013-05-06 Roland McGrath <roland@hack.frob.com>
56770
56771 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
56772
56773 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
56774
56775 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
56776 * sysdeps/wordsize-64/glob64.c: ... here.
56777
56778 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
56779 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
56780 New macros.
56781
56782 * debug/getlogin_r_chk.c: Moved to ...
56783 * login/getlogin_r_chk.c: ... here.
56784 * debug/Makefile (routines): Move getlogin_r_chk to ...
56785 * login/Makefile (routines): ... here.
56786 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
56787 * login/Versions (libc: GLIBC_2.4): ... here.
56788
56789 * io/poll.c (__poll): Renamed from poll.
56790 Add libc_hidden_def.
56791 (poll): Define as weak alias.
56792
56793 * debug/ptsname_r_chk.c: Moved to ...
56794 * login/ptsname_r_chk.c: ... here.
56795 * debug/Makefile (routines): Move ptsname_r_chk to ...
56796 * login/Makefile (routines): ... here.
56797 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
56798 * login/Versions (libc: GLIBC_2.4): ... here.
56799
56800 * posix/getlogin.c: Moved to ...
56801 * login/getlogin.c: ... here.
56802 * posix/getlogin_r.c: Moved to ...
56803 * login/getlogin_r.c: ... here.
56804 * posix/getlogin_r.c: Moved to ...
56805 * login/getlogin_r.c: ... here.
56806 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
56807 * login/Makefile (routines): ... here.
56808 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
56809 * login/Versions (libc: GLIBC_2.0): ... here.
56810
56811 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
56812 (setrlimit): Define as weak alias.
56813
56814 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
56815 Call __ names for open, ftruncate, and close.
56816 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
56817 (truncate): Define as weak alias.
56818
56819 2013-05-06 Joseph Myers <joseph@codesourcery.com>
56820
56821 * math/gen-libm-test.pl (parse_args): Initialize x before each
56822 test of frexp, modf and remquo.
56823
56824 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
56825 test signgam value.
56826
56827 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56828
56829 [BZ #15418]
56830 [BZ #15419]
56831 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
56832 internal tests.
56833 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56834
56835 2013-05-06 Roland McGrath <roland@hack.frob.com>
56836
56837 * elf/dl-writev.h: New file.
56838 * elf/dl-misc.c: Include it.
56839 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
56840 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
56841
56842 2013-05-04 Joseph Myers <joseph@codesourcery.com>
56843
56844 * math/libm-test.inc (noXFails): Remove variable.
56845 (noXPasses): Likewise.
56846 (BUILD_COMPLEX_INT): Remove macro.
56847 (print_screen): Remove xfail argument.
56848 (print_screen_max_error): Likewise.
56849 (update_stats): Likewise.
56850 (print_max_error): Likewise. Update calls to other affected
56851 functions.
56852 (print_complex_max_error): Likewise.
56853 (test_single_exception): Update calls to print_screen.
56854 (test_single_errno): Likewise.
56855 (check_float_internal): Remove xfail argument. Update calls to
56856 other affected functions.
56857 (check_float): Likewise.
56858 (check_complex): Likewise.
56859 (check_int): Likewise.
56860 (check_long): Likewise.
56861 (check_bool): Likewise.
56862 (check_longlong): Likewise.
56863 (main): Don't print noXFails and noXPasses.
56864 * math/gen-libm-test.pl (top level): Don't mention expected
56865 failure handling in comment.
56866 (new_test): Don't handle expected failures.
56867 (parse_args): Don't mention expected failure handling in comment.
56868 (generate_testfile): Don't handle expected failures.
56869 (parse_ulps): Likewise.
56870 (print_ulps_file): Likewise.
56871 (get_failure): Remove function.
56872 (output_test): Don't handle expected failures.
56873 * make/README.libm-test: Don't mention expected failure handling.
56874
56875 * math/libm-test.inc (plus_zero): Make const. Add initializer.
56876 (minus_zero): Likewise.
56877 (plus_infty): Likewise.
56878 (minus_infty): Likewise.
56879 (qnan_value): Likewise.
56880 (max_value): Likewise.
56881 (min_value): Likewise.
56882 (min_subnorm_value): Likewise.
56883 (initialize): Do not initialize those variables dynamically.
56884
56885 2013-05-03 Roland McGrath <roland@hack.frob.com>
56886
56887 * io/open.c (__open_2): Moved to ...
56888 * io/open_2.c: ... this new file.
56889 * io/open64.c (__open64_2): Moved to ...
56890 * io/open64_2.c: ... this new file.
56891 * io/openat.c (__openat_2): Moved to ...
56892 * io/openat_2.c: ... this new file.
56893 * io/openat64.c (__openat64_2): Moved to ...
56894 * io/openat64_2.c: ... this new file.
56895 * io/Makefile (routines): Add them.
56896 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56897 * sysdeps/unix/sysv/linux/open_2.c: File removed.
56898 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
56899 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
56900 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
56901 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
56902 (__openat64): Add hidden_ver.
56903 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
56904 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
56905
56906 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
56907 Separately conditionalize setting of GLRO(dl_sysinfo) so
56908 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
56909 as well, but the actual setting is only under [NEED_DL_SYSINFO].
56910
56911 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56912
56913 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
56914 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
56915 definition.
56916 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
56917 * sysdeps/unix/sysv/linux/powerpc/init-first.c
56918 (_libc_vdso_platform_setup): Add __vdso_time initialization.
56919 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
56920 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
56921
56922 2013-05-03 Joseph Myers <joseph@codesourcery.com>
56923
56924 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
56925 test signgam value.
56926
56927 * math/libm-test.inc (hypot_test): Do not use
56928 IGNORE_ZERO_INF_SIGN.
56929
56930 2013-05-03 Andreas Jaeger <aj@suse.de>
56931
56932 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
56933 Linux 3.9.
56934 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
56935 (PF_MAX): Adjust for VSOCK change.
56936
56937 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56938
56939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56940
56941 2013-05-02 Carlos O'Donell <carlos@redhat.com>
56942
56943 [BZ #15264]
56944 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
56945 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
56946 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
56947
56948 2013-05-02 David S. Miller <davem@davemloft.net>
56949
56950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56951
56952 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
56953
56954 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
56955
56956 2013-05-01 Roland McGrath <roland@hack.frob.com>
56957
56958 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
56959
56960 2013-05-01 Richard Smith <richard@metafoo.co.uk>
56961
56962 [BZ #14952]
56963 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
56964 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56965 Use __attribute__ ((__gnu_inline__)).
56966 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56967 Don't use __attribute__ ((__gnu_inline__)).
56968
56969 2013-05-01 Joseph Myers <joseph@codesourcery.com>
56970
56971 [BZ #15423]
56972 * math/s_catan.c (__catan): Handle small real or imaginary part of
56973 input specially to avoid spurious underflow.
56974 * math/s_catanf.c (__catanf): Likewise.
56975 * math/s_catanh.c (__catanh): Likewise.
56976 * math/s_catanhf.c (__catanhf): Likewise.
56977 * math/s_catanhl.c (__catanhl): Likewise.
56978 * math/s_catanl.c (__catanl): Likewise.
56979 * math/libm-test.inc (catan_test): Add more tests.
56980 (catanh_test): Likewise.
56981 * sysdeps/i386/fpu/libm-test-ulps: Update.
56982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56983
56984 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56985
56986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56987
56988 2013-04-30 Joseph Myers <joseph@codesourcery.com>
56989
56990 [BZ #15416]
56991 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56992 accurately for denominator in atan2.
56993 * math/s_catanf.c (__catanf): Likewise.
56994 * math/s_catanh.c (__catanh): Likewise.
56995 * math/s_catanhf.c (__catanhf): Likewise.
56996 * math/s_catanhl.c (__catanhl): Likewise.
56997 * math/s_catanl.c (__catanl): Likewise.
56998 * math/libm-test.inc (catan_test): Add more tests.
56999 (catanh_test): Likewise.
57000 * sysdeps/i386/fpu/libm-test-ulps: Update.
57001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57002
57003 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
57004
57005 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57006
57007 * benchtests/Makefile (bench): Remove slow benchmarks.
57008 * benchtests/atan-inputs: Add slow benchmark inputs.
57009 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57010 (BENCH_FUNC): Accept variant offset.
57011 (VARIANT): Define.
57012 * benchtests/bench-skeleton.c (main): Run benchmark for each
57013 variant.
57014 * benchtests/cos-inputs: Add slow benchmark inputs.
57015 * benchtests/exp-inputs: Likewise.
57016 * benchtests/pow-inputs: Likewise.
57017 * benchtests/sin-inputs: Likewise.
57018 * benchtests/slowatan-inputs: Remove.
57019 * benchtests/slowatan.c: Remove.
57020 * benchtests/slowcos-inputs: Remove.
57021 * benchtests/slowcos.c: Remove.
57022 * benchtests/slowexp-inputs: Remove.
57023 * benchtests/slowexp.c: Remove.
57024 * benchtests/slowpow-inputs: Remove.
57025 * benchtests/slowpow.c: Remove.
57026 * benchtests/slowsin-inputs: Remove.
57027 * benchtests/slowsin.c: Remove.
57028 * benchtests/slowtan-inputs: Remove.
57029 * benchtests/slowtan.c: Remove.
57030 * benchtests/tan-inputs: Add slow benchmark inputs.
57031 * scripts/bench.pl: Parse comments and directives.
57032
57033 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
57034 in CPPFLAGS.
57035 ($(objpfx)bench-%.c): Remove *-ITER.
57036 * benchtests/bench-modf.c: Remove definition of ITER.
57037 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57038 (main): Loop for DURATION seconds instead of fixed number of
57039 iterations.
57040 * scripts/bench.pl: Don't expect iterations in parameters.
57041
57042 2013-04-29 Roland McGrath <roland@hack.frob.com>
57043
57044 * io/fchdir.c (__fchdir): Renamed from fchdir.
57045 (fchdir): Define as weak alias.
57046
57047 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57048
57049 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57050 (ERRNO_EDOM): Likewise.
57051 (ERRNO_ERANGE): Likewise.
57052 (noErrnoTests): New variable.
57053 (init_max_error): Set errno to 0.
57054 (test_single_errno): New function.
57055 (test_errno): Likewise.
57056 (check_float_internal): Call test_errno. Set errno to 0.
57057 (check_complex): Refer to errno tests in comment.
57058 (check_int): Call test_errno. Set errno to 0.
57059 (check_long): Likewise.
57060 (check_bool): Likewise.
57061 (check_longlong): Likewise.
57062 (cos_test): Use ERRNO_* flags for errno tests instead of
57063 check_int.
57064 (expm1_test): Likewise.
57065 (fmod_test): Likewise.
57066 (ilogb_test): Likewise.
57067 (lgamma_test): Likewise.
57068 (pow_test): Likewise.
57069 (remainder_test): Likewise.
57070 (sin_test): Likewise.
57071 (tan_test): Likewise.
57072 (yn_test): Likewise.
57073 (initialize): Set errno to 0.
57074 (main): Print number of errno tests.
57075 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57076
57077 2013-04-29 Andreas Jaeger <aj@suse.de>
57078
57079 [BZ #15084]
57080 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57081 and RES_USEVC.
57082
57083 [BZ #15085]
57084 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57085 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57086 unimplemented.
57087
57088 [BZ #15380]
57089 * stdlib/random.c (__initstate): Return NULL if
57090 __initstate fails.
57091
57092 [BZ #15086]
57093 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57094 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57095 RES_SNGLKUPREOP.
57096
57097 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57098
57099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57100
57101 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57102
57103 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57104 of individual tests.
57105 (casin_test): Likewise.
57106 (casinh_test): Likewise.
57107
57108 2013-04-27 Joseph Myers <joseph@codesourcery.com>
57109
57110 [BZ #15409]
57111 * math/s_catan.c (__catan): Handle arguments with large real or
57112 imaginary part separately without squaring.
57113 * math/s_catanf.c (__catanf): Likewise.
57114 * math/s_catanh.c (__catanh): Likewise.
57115 * math/s_catanhf.c (__catanhf): Likewise.
57116 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57117 and redefine.
57118 (__catanhl): Handle arguments with large real or imaginary part
57119 separately without squaring.
57120 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57121 and redefine.
57122 (__catanl): Handle arguments with large real or imaginary part
57123 separately without squaring.
57124 * math/libm-test.inc (catan_test): Add more tests.
57125 (catanh_test): Likewise.
57126 * sysdeps/i386/fpu/libm-test-ulps: Update.
57127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57128
57129 2013-04-27 Andreas Jaeger <aj@suse.de>
57130
57131 [BZ #15007]
57132 * stdlib/stdlib.h: Update guards for qecvt.
57133 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57134 <stdlib.h>.
57135
57136 2013-04-27 Allan McRae <allan@archlinux.org>
57137
57138 * sysdeps/i386/fpu/libm-test-ulps: Update.
57139
57140 2013-04-26 Joseph Myers <joseph@codesourcery.com>
57141
57142 [BZ #15406]
57143 * math/s_catan.c: Include <float.h>.
57144 (__catan): Ensure underflow exception occurs for underflowed
57145 result.
57146 * math/s_catanf.c: Include <float.h>.
57147 (__catanf): Ensure underflow exception occurs for underflowed
57148 result.
57149 * math/s_catanh.c: Include <float.h>.
57150 (__catanh): Ensure underflow exception occurs for underflowed
57151 result.
57152 * math/s_catanhf.c: Include <float.h>.
57153 (__catanhf): Ensure underflow exception occurs for underflowed
57154 result.
57155 * math/s_catanhl.c: Include <float.h>.
57156 (__catanhl): Ensure underflow exception occurs for underflowed
57157 result.
57158 * math/s_catanl.c: Include <float.h>.
57159 (__catanl): Ensure underflow exception occurs for underflowed
57160 result.
57161 * math/libm-test.inc (catan_test): Add more tests.
57162 (catanh_test): Likewise.
57163
57164 [BZ #15405]
57165 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57166 underflowed result.
57167 * math/s_ccoshf.c (__ccoshf): Likewise.
57168 * math/s_ccoshl.c (__ccoshl): Likewise.
57169 * math/s_csin.c (__csin): Likewise.
57170 * math/s_csinf.c (__csinf): Likewise.
57171 * math/s_csinh.c (__csinh): Likewise.
57172 * math/s_csinhf.c (__csinhf): Likewise.
57173 * math/s_csinhl.c (__csinhl): Likewise.
57174 * math/s_csinl.c (__csinl): Likewise.
57175 * math/libm-test.inc (ccos_test): Add more tests.
57176 (ccosh_test): Likewise.
57177 (csin_test): Likewise.
57178 (csinh_test): Likewise.
57179
57180 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57181
57182 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57183 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57184 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57185 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57186 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57187 powerpc/power5+/fpu folders.
57188 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57189
57190
57191 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
57192
57193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57194
57195 2013-04-25 Joseph Myers <joseph@codesourcery.com>
57196
57197 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57198 additions to variable.
57199 [$(config-machine) = x86_64] (modules-names): Likewise.
57200 ($(objpfx)tst-audit3): Remove dependency.
57201 ($(objpfx)tst-audit3.out): Likewise.
57202 ($(objpfx)tst-audit4): Likewise.
57203 ($(objpfx)tst-audit4.out): Likewise.
57204 ($(objpfx)tst-audit5): Likewise.
57205 ($(objpfx)tst-audit5.out): Likewise.
57206 ($(objpfx)tst-audit6): Likewise.
57207 ($(objpfx)tst-audit6.out): Likewise.
57208 ($(objpfx)tst-audit7): Likewise.
57209 ($(objpfx)tst-audit7.out): Likewise.
57210 (tst-audit3-ENV): Remove variable.
57211 (tst-audit4-ENV): Likewise.
57212 (tst-audit5-ENV): Likewise.
57213 (tst-audit6-ENV): Likewise.
57214 (tst-audit7-ENV): Likewise.
57215 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57216 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57217 addition to variable.
57218 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57219 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57220 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57221 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57222 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57223 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57224 tst-audit3, tst-audit4 and tst-audit5.
57225 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57226 tst-audit6 and tst-audit7.
57227 [$(subdir) = elf] (modules-names): Add audit modules for those
57228 tests.
57229 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57230 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57231 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57232 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57233 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57234 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57235 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57236 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57237 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57238 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57239 [$(subdir) = elf] (tst-audit3-ENV): New variable.
57240 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57241 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57242 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57243 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57244 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57245 Likewise.
57246 [$(subdir) = elf && $(config-cflags-avx) = yes]
57247 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57248 [$(subdir) = elf && $(config-cflags-avx) = yes]
57249 (CFLAGS-tst-auditmod4a.c): Likewise.
57250 [$(subdir) = elf && $(config-cflags-avx) = yes]
57251 (CFLAGS-tst-auditmod4b.c): Likewise.
57252 [$(subdir) = elf && $(config-cflags-avx) = yes]
57253 (CFLAGS-tst-auditmod6b.c): Likewise.
57254 [$(subdir) = elf && $(config-cflags-avx) = yes]
57255 (CFLAGS-tst-auditmod6c.c): Likewise.
57256 [$(subdir) = elf && $(config-cflags-avx) = yes]
57257 (CFLAGS-tst-auditmod7b.c): Likewise.
57258 * elf/tst-audit3.c: Move to ...
57259 * sysdeps/x86_64/tst-audit3.c: ... here.
57260 * elf/tst-audit4.c: Move to ...
57261 * sysdeps/x86_64/tst-audit4.c: ... here.
57262 * elf/tst-audit5.c: Move to ...
57263 * sysdeps/x86_64/tst-audit5.c: ... here.
57264 * elf/tst-audit6.c: Move to ...
57265 * sysdeps/x86_64/tst-audit6.c: ... here.
57266 * elf/tst-audit7.c: Move to ...
57267 * sysdeps/x86_64/tst-audit7.c: ... here.
57268 * elf/tst-auditmod3a.c: Move to ...
57269 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57270 * elf/tst-auditmod3b.c: Move to ...
57271 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57272 * elf/tst-auditmod4a.c: Move to ...
57273 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57274 * elf/tst-auditmod4b.c: Move to ...
57275 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57276 * elf/tst-auditmod5a.c: Move to ...
57277 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57278 * elf/tst-auditmod5b.c: Move to ...
57279 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57280 * elf/tst-auditmod6a.c: Move to ...
57281 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57282 * elf/tst-auditmod6b.c: Move to ...
57283 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57284 * elf/tst-auditmod6c.c: Move to ...
57285 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57286 * elf/tst-auditmod7a.c: Move to ...
57287 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57288 * elf/tst-auditmod7b.c: Move to ...
57289 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57290
57291 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
57292
57293 [BZ #15366]
57294 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57295 define unconditionally.
57296 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57297 define unconditionally.
57298 (INT8_C, INT16_C, etc.): Likewise.
57299
57300 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
57301
57302 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57303 __ehdr_start with hidden visibility.
57304
57305 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57306
57307 2013-04-24 Carlos O'Donell <carlos@redhat.com>
57308
57309 * math/libm-test.inc (cos_test): Use accurate hex constants.
57310 (sincost_test): Likewise.
57311
57312 2013-04-24 Joseph Myers <joseph@codesourcery.com>
57313
57314 * math/libm-test.inc (catan_test): Add more tests.
57315 (catanh_test): Likewise.
57316
57317 * math/s_catanf.c (__catanf): Use suffixed floating-point
57318 constants.
57319 * math/s_catanhf.c (__catanhf): Likewise.
57320 * math/s_catanhl.c (__catanhl): Likewise.
57321 * math/s_catanl.c (__catanl): Likewise.
57322
57323 [BZ #15394]
57324 * math/s_catan.c (__catan): Calculate imaginary part of result
57325 with log1p not log unless computing log of number close to 0.
57326 * math/s_catanf.c (__catanf): Likewise.
57327 * math/s_catanl.c (__catanl): Likewise.
57328 * math/s_catanh.c (__catanh): Calculate real part of result with
57329 log1p not log unless computing log of number close to 0.
57330 * math/s_catanhf.c (__catanhf): Likewise.
57331 * math/s_catanhl.c (__catanhl): Likewise.
57332 * math/libm-test.inc (catan_test): Add more tests.
57333 (catanh_test): Likewise.
57334 * sysdeps/i386/fpu/libm-test-ulps: Update.
57335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57336
57337 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57338
57339 * benchtests/Makefile: Mention files in which fast and slow
57340 paths of math functions are implemented.
57341
57342 2013-04-23 Roland McGrath <roland@hack.frob.com>
57343
57344 * sysdeps/posix/timespec_get.c: New file.
57345
57346 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57347
57348 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57349 POWER.
57350 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57351 for POWER.
57352 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57353 powerpc/power5/fpu folders.
57354 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57355 * benchtests/Makefile: Add modf testcase.
57356 * benchtests/bench-modf.c: New file: Benchmark test for mo
57357
57358 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
57359
57360 [BZ #14888]
57361 * time/Makefile (tests): Add tst-strptime-whitespace.
57362 * time/strptime_l.c (get_number): Use ISSPACE.
57363 (__strptime_internal): Likewise.
57364 * time/tst-strptime-whitespace.c: New test case.
57365
57366 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
57367
57368 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57369 member.
57370 (_nss_files_init): Set it here.
57371
57372 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
57373
57374 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57375 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57376 unsigned.
57377
57378 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
57379
57380 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57381
57382 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
57383
57384 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57385 size just once.
57386
57387 2013-04-21 David S. Miller <davem@davemloft.net>
57388
57389 * po/ru.po: Update Russion translation from translation project.
57390
57391 2013-04-17 Adam Conrad <adconrad@0c3.net>
57392
57393 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57394 and setfsgid.
57395
57396 2013-04-17 Carlos O'Donell <carlos@redhat.com>
57397
57398 * configure.in: Remove i386 configure warning. Remove i386 case.
57399 * configure: Regenerate.
57400 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57401 Add example to error message.
57402 * sysdeps/i386/configure: Regenerate.
57403
57404 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
57405
57406 * benchtests/Makefile (bench): Add cos, tan, slowcos and
57407 slowtan.
57408 * benchtests/cos-inputs: New file.
57409 * benchtests/slowcos-inputs: New file.
57410 * benchtests/slowcos.c: New file.
57411 * benchtests/slowtan-inputs: New file.
57412 * benchtests/slowtan.c: New file.
57413 * benchtests/tan-inputs: New file.
57414
57415 2013-04-16 Roland McGrath <roland@hack.frob.com>
57416
57417 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57418 considered kosher.
57419
57420 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57421
57422 * benchtests/Makefile: Include cppflags-iterator.mk to add
57423 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57424
57425 * Makefile.in (bench-clean): New target.
57426 * benchtests/Makefile (bench-clean): Likewise.
57427
57428 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
57429
57430 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57431
57432 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
57433
57434 * stdio-common/tstdiomisc.c: Fix coding-style violation.
57435
57436 2013-04-15 Andreas Schwab <schwab@suse.de>
57437
57438 * nscd/grpcache.c (cache_addgr): Properly check for short write.
57439 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57440 * nscd/pwdcache.c (cache_addpw): Likewise.
57441 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
57442 more than recsize.
57443
57444 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57445
57446 * benchtests/Makefile (bench): Write all output to
57447 bench-out.tmp together.
57448
57449 2013-04-15 Andreas Schwab <schwab@suse.de>
57450
57451 * nscd/nscd.c (main): Don't fork again after closing files.
57452
57453 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57454
57455 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
57456
57457 * benchtests/Rules (bench-deps): Collect dependencies into a
57458 single variable. Add Makefile to dependencies.
57459 ($(objpfx)bench-%.c): Depend on bench-deps.
57460
57461 2013-04-12 Roland McGrath <roland@hack.frob.com>
57462 Xavier Roche <roche+kml2@exalead.com>
57463
57464 [BZ #15361]
57465 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
57466 just that it's a file descriptor.
57467 * manual/llio.texi (Synchronizing AIO Operations): Update description
57468 for EBADF error from aio_fsync.
57469
57470 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
57471
57472 * Rules (bench): Move target definition...
57473 * benchtests/Makefile: ... here.
57474
57475 2013-04-11 Carlos O'Donell <carlos@redhat.com>
57476
57477 * math/libm-test.inc (cos_test): Fix PI/2 test.
57478 (sincos_test): Likewise.
57479 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
57480 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
57481
57482 2013-04-11 Andreas Schwab <schwab@suse.de>
57483
57484 [BZ #13988]
57485 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
57486 accept exponent character only when digits were seen.
57487 * stdio-common/Makefile (tests): Add bug26.
57488 * stdio-common/bug26.c: New file.
57489
57490 [BZ #14293]
57491 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
57492 non-freeable.
57493
57494 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57495
57496 * Makeconfig (rtld-prefix): Define built linker prefix.
57497 * Rules (run-bench): Use it.
57498 * math/Makefile (run-regen-ulps): Likewise.
57499
57500 * Rules (bench): Remove eval.
57501
57502 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57503 Roland McGrath <roland@hack.frob.com>
57504 Ondrej Bilka <neleai@seznam.cz>
57505
57506 [BZ #15346]
57507 * time/getdate.c: Include ctype.h and alloca.h.
57508 (__getdate_r): Trim leading and trailing spaces of input.
57509 * time/tst-getdate.c (tests): Add tests with leading and
57510 trailing spaces.
57511
57512 2013-04-08 Roland McGrath <roland@hack.frob.com>
57513
57514 [BZ #14280]
57515 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
57516 when computing value.
57517
57518 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57519
57520 * math/README.libm-test (How can I generate "libm-test-ulps"?):
57521 Use testrun.sh to run libm tests.
57522
57523 [BZ #15309]
57524 * elf/dl-open.c (dl_open_worker): memset all of seen array.
57525
57526 2013-04-06 Marko Myllynen <myllynen@redhat.com>
57527
57528 [BZ #15264]
57529 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
57530
57531 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57532
57533 * Makefile.in (regen-ulps): New target.
57534 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
57535 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
57536 [ifneq (no,$(PERL)] (regen-ulps): New target.
57537 [ifeq (no,$(PERL)] (regen-ulps): New target.
57538 * math/libm-test.inc (ulps_file_name): Define.
57539 (output_dir): New variable.
57540 (options): Add "output-dir" option.
57541 (parse_opt): Handle 'o' case.
57542 (main): If output_dir is non-NULL use it as a prefix
57543 otherwise use "".
57544 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
57545
57546 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57547
57548 [BZ #10060, #10062]
57549 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
57550 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
57551 fail configure if __sync_val_compare_and_swap is not inlined.
57552 * sysdeps/i386/configure: Regenerate.
57553 * configure.in: Build for i686 when configured for i386.
57554 * configure: Regenerate.
57555 * README: Remove i386 reference.
57556
57557 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57558
57559 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
57560 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57561
57562 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
57563
57564 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
57565 (lmsnanval): New variables.
57566 (F): Add conversion tests.
57567 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
57568 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
57569
57570 * stdio-common/tstdiomisc.c (F): Properly collect individual
57571 tests' results.
57572
57573 [BZ #14686, #15336]
57574 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
57575 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
57576 Instead, use input NaN values or generate a qNaN by arithmetic
57577 operation. Also fix bugs to comply with the standard.
57578 * math/libm-test.inc (remainder_test): Add more tests.
57579
57580 [BZ #15335, #15342]
57581 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
57582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
57583 input NaN values or generate a qNaN by arithmetic operation.
57584
57585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
57586 unreachable code.
57587
57588 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
57589 definitions.
57590
57591 2013-04-03 Joseph Myers <joseph@codesourcery.com>
57592
57593 [BZ #14478]
57594 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
57595 underflowed result.
57596 * math/s_cexpf.c (__cexpf): Likewise.
57597 * math/s_cexpl.c (__cexpl): Likewise.
57598 * math/libm-test.inc (cexp_test): Add more tests.
57599
57600 2013-04-03 Andreas Schwab <schwab@suse.de>
57601
57602 [BZ #15330]
57603 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
57604 order arrays from heap if bigger than alloca cutoff.
57605
57606 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
57607
57608 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
57609 (SNAN_TESTS_double): Refer to GCC PR56831.
57610 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
57611 GCC PR56828.
57612
57613 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
57614
57615 * Rules (bench): Move bench.out after the run is complete.
57616
57617 * Rules (bench): Echo currently running benchmark.
57618
57619 * benchtests/Makefile (bench): Add atan and slowatan.
57620 * benchtests/atan-inputs: New file.
57621 * benchtests/slowatan-inputs: New file.
57622 * benchtests/slowatan.c: New file.
57623
57624 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
57625 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
57626 its value.
57627
57628 [BZ #15305]
57629 * sysdeps/unix/sysv/linux/kernel-features.h
57630 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
57631 __ASSUME_XFS_RESTRICTED_CHOWN.
57632 * sysdeps/unix/sysv/linux/pathconf.c
57633 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
57634 Save and restore errno.
57635
57636 2013-04-02 Joseph Myers <joseph@codesourcery.com>
57637
57638 [BZ #15327]
57639 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
57640 arguments using __kernel_casinh.
57641 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
57642 arguments using __kernel_casinhf.
57643 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
57644 arguments using __kernel_casinhl.
57645 * math/libm-test.inc (cacosh_test): Add more tests.
57646 * sysdeps/i386/fpu/libm-test-ulps: Update.
57647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57648
57649 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
57650
57651 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
57652 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
57653
57654 * bench/Makefile (bench): Add sin and slowsin.
57655 * benchtests/sin-inputs: New file.
57656 * benchtests/slowsin-inputs: New file.
57657 * benchtests/slowsin.c: New file.
57658
57659 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
57660 (bench): Add slowexp and slowpow.
57661 (exp-ITER): Increase iterations.
57662 (pow-ITER): Likewise.
57663 * benchtests/exp-inputs: Change input.
57664 * benchtests/pow-inputs: Likewise.
57665 * benchtests/slowexp-inputs: New file.
57666 * benchtests/slowexp.c: New file.
57667 * benchtests/slowpow-inputs: New file.
57668 * benchtests/slowpow.c: New file.
57669
57670 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57671
57672 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
57673 instructions.
57674 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57675 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
57676 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57677 * benchtests/Makefile: Add rint benchtest.
57678 * benchtests/rint-inputs: Input for rint benchtest.
57679
57680 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
57681
57682 * Versions.def (libm): Add GLIBC_2.18.
57683 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
57684 hidden libm prototypes.
57685 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
57686 * math/Makefile (libm-calls): Add s_issignaling.
57687 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
57688 __issignalingf, __issignalingl. Adjust all libm.abilist files.
57689 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
57690 declaration.
57691 * math/math.h [__USE_GNU] (issignaling): New macro.
57692 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
57693 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
57694 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
57695 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
57696 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
57697 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
57698 * manual/arith.texi (issignaling): New section.
57699 * manual/libm-err-tab.pl (@all_functions): Update comment.
57700 * math/gen-libm-test.pl (parse_args): Apply special handling for
57701 issignaling.
57702 * math/libm-test.inc (print_float, issignaling_test): New
57703 functions.
57704 (check_float_internal): Add issignaling checks.
57705 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
57706 default definition.
57707 * sysdeps/powerpc/math-tests.h: New file.
57708 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
57709 tests.
57710 * math/test-snan.c (TEST_FUNC): Likewise.
57711
57712 2013-03-30 David S. Miller <davem@davemloft.net>
57713
57714 * po/de.po: Update from translation team.
57715
57716 2013-03-30 Joseph Myers <joseph@codesourcery.com>
57717
57718 [BZ #10357]
57719 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57720 imaginary part less than 1.0 and real part less than 0.5
57721 specially.
57722 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57723 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57724 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
57725 (cacos_test): Add more tests.
57726 (casin_test): Likewise.
57727 (casinh_test): Likewise.
57728 * sysdeps/i386/fpu/libm-test-ulps: Update.
57729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57730
57731 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
57732
57733 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
57734 ONE with its value.
57735
57736 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
57737 (__pow_mp): Replace ONE and MONE with their values.
57738 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57739 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
57740 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57741 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
57742 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57743 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57744
57745 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
57746
57747 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
57748 (__pow_mp): Replace ZERO and MZERO with their values.
57749 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57750 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57751 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57753 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57754 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
57755 (__sqr): Likewise.
57756
57757 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
57758
57759 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
57760
57761 2013-03-28 Roland McGrath <roland@hack.frob.com>
57762
57763 * include/stdlib.h [!SHARED] (__call_tls_dtors):
57764 Declare with __attribute__ ((weak)).
57765 * stdlib/exit.c (__libc_atexit) [!SHARED]:
57766 Call __call_tls_dtors only if it's not NULL.
57767
57768 2013-03-28 Roland McGrath <roland@hack.frob.com>
57769
57770 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
57771 didn't do it already, then set _dl_phdr and _dl_phnum based on the
57772 magic __ehdr_start linker symbol if it's defined.
57773 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
57774 them up here if it was already done.
57775
57776 * elf/dl-support.c (_dl_phdr): Make pointer to const.
57777 (_dl_aux_init): Use const in cast when setting it.
57778 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
57779 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
57780 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
57781
57782 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
57783 Declare them here.
57784 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
57785 * csu/libc-tls.c: Nor here.
57786 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
57787
57788 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
57789 (__libc_message): Never call vsyslog.
57790
57791 2013-03-28 Alan Modra <amodra@gmail.com>
57792
57793 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
57794 Define as empty.
57795 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
57796 Likewise.
57797
57798 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57799
57800 [BZ #15214]
57801 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
57802 underflow.
57803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57804
57805 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57806
57807 [BZ #15304]
57808 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57809 Don't add gid passed as argument.
57810
57811 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
57812
57813 2013-03-27 Joseph Myers <joseph@codesourcery.com>
57814
57815 [BZ #15307]
57816 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57817 imaginary part between 1.0 and 1.5 and real part less than 0.5
57818 specially.
57819 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57820 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57821 * math/libm-test.inc (cacos_test): Add more tests.
57822 (casin_test): Likewise.
57823 (casinh_test): Likewise.
57824 * sysdeps/i386/fpu/libm-test-ulps: Update.
57825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57826
57827 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
57828
57829 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
57830 constants.
57831 (norm): Likewise.
57832 (denorm): Likewise.
57833 (__dbl_mp): Likewise.
57834 (add_magnitudes): Likewise.
57835 (sub_magnitudes): Likewise.
57836 (__add): Likewise.
57837 (__sub): Likewise.
57838 (__mul): Likewise.
57839 (__sqr): Likewise.
57840 (__inv): Likewise.
57841 (__dvd): Likewise.
57842
57843 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
57844 commented code.
57845 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
57846 (__dubcos): Likewise.
57847 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
57848 (__ieee754_acos): Likewise.
57849 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57850 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
57851 (__exp1): Likewise.
57852 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57853 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57854 (log1): Likewise.
57855 (my_log2): Likewise.
57856 (checkint): Likewise.
57857 * sysdeps/ieee754/dbl-64/e_remainder.c
57858 (__ieee754_remainder): Likewise.
57859 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57860 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
57861 (bsloww): Likewise.
57862 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57863
57864 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57865 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
57866 MANTISSA_STORE_T to store computations on mantissa. Use
57867 macros for rounding and division.
57868 (denorm): Likewise.
57869 (__dbl_mp): Likewise.
57870 (add_magnitudes): Likewise.
57871 (sub_magnitudes): Likewise.
57872 (__mul): Likewise.
57873 (__sqr): Likewise.
57874 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
57875 powers of two in terms of TWOPOW macro.
57876 (mp_no): Make type of mantissa as MANTISSA_T.
57877 [!RADIXI]: Define RADIXI.
57878 [!TWO52]: Define TWO52.
57879 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57880
57881 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57882
57883 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
57884 llroundl symbol when building for PPC32.
57885
57886 2013-03-24 Mark H Weaver <mhw@netris.org>
57887
57888 * manual/arith.texi (Normalization Functions): Fix prototypes for
57889 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
57890
57891 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57892
57893 [BZ #13889]
57894 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
57895 high value to check if expl overflow.
57896 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57897 to check for underflow and overflow.
57898 * math/libm-test.inc: Add exp test.
57899
57900 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
57901
57902 [BZ #11120]
57903 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
57904 with NOT_IN_libc.
57905
57906 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57907
57908 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
57909 symbol.
57910
57911 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
57912
57913 * math/gen-libm-test.pl (parse_args, special_functions): Properly
57914 wrap blocks consisting of several statements.
57915
57916 * sysdeps/generic/math-tests.h: New file.
57917 * sysdeps/i386/fpu/math-tests.h: Likewise.
57918 * math/test-snan.c: Include it.
57919 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
57920
57921 2013-03-21 Joseph Myers <joseph@codesourcery.com>
57922
57923 [BZ #15285]
57924 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
57925 (__ieee754_j0l): Do not improve calculations using cos of twice
57926 input for inputs above LDBL_MAX / 2.0L.
57927 (__ieee754_y0l): Likewise.
57928 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
57929 (__ieee754_j1l): Do not improve calculations using cos of twice
57930 input for inputs above LDBL_MAX / 2.0L.
57931 (__ieee754_y1l): Likewise.
57932 * math/libm-test.inc (j0_test): Add another test.
57933 (j1_test): Likewise.
57934 (y0_test): Likewise.
57935 (y1_test): Likewise.
57936 * sysdeps/i386/fpu/libm-test-ulps: Update.
57937
57938 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57939
57940 * Rules ($(objpfx)bench-%.c): Include code from a C source
57941 file.
57942
57943 2013-03-21 Joseph Myers <joseph@codesourcery.com>
57944
57945 [BZ #15287]
57946 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57947 imaginary part 1.0 and real part less than 0.5 specially.
57948 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57949 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57950 * math/libm-test.inc (cacos_test): Add more tests.
57951 (casin_test): Likewise.
57952 (casinh_test): Likewise.
57953 * sysdeps/i386/fpu/libm-test-ulps: Update.
57954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57955
57956 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57957
57958 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
57959 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
57960
57961 2013-03-20 Joseph Myers <joseph@codesourcery.com>
57962
57963 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
57964 * config.make.in (config-cflags-sse4): Remove variable.
57965 (config-cflags-avx): Likewise.
57966 (config-cflags-sse2avx): Likewise.
57967 (config-cflags-novzeroupper): Likewise.
57968 (config-asflags-i686): Likewise.
57969 (have-mfma4): Likewise.
57970 (have-as-vis3): Likewise.
57971 (MIG): Likewise.
57972 * configure.in (MIG): Do not AC_SUBST.
57973 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
57974 (libc_cv_cc_sse4): Do not AC_SUBST.
57975 (libc_cv_cc_avx): Likewise.
57976 (libc_cv_cc_sse2avx): Likewise.
57977 (libc_cv_cc_novzeroupper): Likewise.
57978 (libc_cv_cc_fma4): Likewise.
57979 (libc_cv_as_i686): Likewise.
57980 (libc_cv_sparc_as_vis3): Likewise.
57981 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
57982 LIBC_CONFIG_VAR.
57983 (config-asflags-i686): Likewise.
57984 (config-cflags-avx): Likewise.
57985 (config-cflags-sse2avx): Likewise.
57986 (have-mfma4): Likewise.
57987 (config-cflags-novzeroupper): Likewise.
57988 * sysdeps/mach/configure.in (MIG): Likewise.
57989 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
57990 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
57991 LIBC_CONFIG_VAR.
57992 (config-cflags-avx): Likewise.
57993 (config-cflags-sse2avx): Likewise.
57994 (have-mfma4): Likewise.
57995 (config-cflags-novzeroupper): Likewise.
57996 * configure: Regenerated.
57997 * sysdeps/i386/configure: Likewise.
57998 * sysdeps/mach/configure: Likewise.
57999 * sysdeps/sparc/configure: Likewise.
58000 * sysdeps/x86_64/configure: Likewise.
58001
58002 2013-03-20 Roland McGrath <roland@hack.frob.com>
58003
58004 [BZ #14812]
58005 * locale/programs/localedef.c (options): Put N_ translation marker
58006 on argument names, not just descriptions.
58007
58008 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58009
58010 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58011
58012 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
58013
58014 [BZ #14176]
58015 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58016
58017 2013-03-19 Roland McGrath <roland@hack.frob.com>
58018
58019 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58020 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58021 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58022 [!BEFORE_ABORT] (before_abort): New function.
58023 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58024 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58025 (writev_for_fatal): New function.
58026 (WRITEV_FOR_FATAL): New macro; call that.
58027 (backtrace_and_maps): New function.
58028 (BEFORE_ABORT): New macro; call that.
58029 (struct str_list): Type removed.
58030 (__libc_message, __libc_fatal): Functions removed.
58031 Include <sysdeps/posix/libc_fatal.c> instead.
58032
58033 2013-03-19 Joseph Myers <joseph@codesourcery.com>
58034
58035 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58036 constants.
58037 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58038 double constants.
58039
58040 2013-03-19 Andreas Schwab <schwab@suse.de>
58041
58042 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58043 * sysdeps/gnu/configure: Regenerate.
58044
58045 * configure.in: Substitute libc_cv_rtlddir.
58046 * configure: Regenerate.
58047 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58048 * Makeconfig (rtlddir, inst_rtlddir): New variables.
58049 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58050 * elf/Makefile (install-others, CFLAGS-interp.c)
58051 (ldso_install, common-ldd-rewrite): Likewise.
58052 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58053 $(inst_slibdir)/$(rtld-installed-name).
58054 * scripts/rellns-sh: Add -p option.
58055 * Makerules (make-shlib-link): Use rellns-sh to get relative name
58056 for source.
58057
58058 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
58059
58060 * manual/nptl.texi: Renamed to ...
58061 * manual/threads.texi: ... this.
58062 * manual/Makefile (chapters): Update.
58063
58064 2013-03-18 Roland McGrath <roland@hack.frob.com>
58065
58066 [BZ #14812]
58067 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58068 on argument names, not just descriptions.
58069 * malloc/memusagestat.c (options): Likewise.
58070 * nss/getent.c (options): Likewise.
58071
58072 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
58073
58074 [BZ #14812]
58075 * iconv/iconv_prog.c (options): Put N_ translation marker
58076 on argument names, not just descriptions.
58077 * iconv/iconvconfig.c (options): Likewise.
58078
58079 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
58080
58081 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58082 implementation which is faster on all x86_64 architectures.
58083 Tested on AMD, Intel Nehalem, SNB, IVB.
58084 * sysdeps/x86_64/strnlen.S: Likewise.
58085
58086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58087 Remove all multiarch strlen and strnlen versions.
58088 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58089 Remove strlen and strnlen related parts.
58090
58091 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58092 Inline strlen part.
58093 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58094
58095 * sysdeps/x86_64/multiarch/strlen.S: Remove.
58096 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58097 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58098 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58099 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58100 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58101
58102 2013-03-17 Carlos O'Donell <carlos@redhat.com>
58103
58104 * manual/memory.texi (Malloc Tunable Parameters):
58105 Sort parameters alphabetically. Add comments for missing entries.
58106
58107 2013-03-17 David S. Miller <davem@davemloft.net>
58108
58109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58110
58111 2013-03-16 Joseph Myers <joseph@codesourcery.com>
58112
58113 [BZ #15283]
58114 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58115 for arguments at most half maximum finite value.
58116 * math/libm-test.inc (j0_test): Add more tests.
58117 (j1_test): Likewise.
58118 (y0_test): Likewise.
58119 (y1_test): Likewise.
58120 * sysdeps/i386/fpu/libm-test-ulps: Update.
58121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58122
58123 [BZ #14155]
58124 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58125 1 / x and functions P and Q for arguments above 0x1p256L.
58126 (__ieee754_y0l): Likewise.
58127 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58128 (__ieee754_y1l): Likewise.
58129 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58130 (j1_test): Likewise.
58131 (y0_test): Likewise.
58132 (y1_test): Likewise.
58133
58134 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
58135
58136 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58137 variable.
58138
58139 2013-03-15 Roland McGrath <roland@hack.frob.com>
58140
58141 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58142 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58143 zero since it's initialized to EXEC_PAGESIZE.
58144
58145 * sysdeps/unix/sysv/linux/ldsodefs.h
58146 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58147 * sysdeps/generic/ldsodefs.h: ... here.
58148
58149 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
58150
58151 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58152
58153 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58154 math/test-snan.c.
58155 * math/test-snan.c: Renamed from
58156 sysdeps/powerpc/fpu/test-powerpc-snan.c.
58157 * math/Makefile (tests): Add test-snan.
58158 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58159 test-powerpc-snan.
58160
58161 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58162 SUFFIX. Initialize qNaN_var with __builtin_nan family of
58163 functions.
58164 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
58165 __builtin_nan family of functions.
58166 * math/libm-test.inc (initialize): Initialize qnan_value with
58167 __builtin_nan family of functions.
58168 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58169 Remove variables.
58170 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58171 Remove functions.
58172 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
58173 storage class. Initialize qNaN_var and sNaN_var with
58174 __builtin_nan and __builtin_nans families of functions,
58175 respectively.
58176
58177 * math/libm-test.inc (acosh_test): Also test with qNaN input.
58178 (sqrt_test): Remove duplicate test with qNaN input.
58179 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58180 (round_test, signbit_test, significand_test): Note missing +/-Inf
58181 as well as qNaN tests.
58182
58183 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58184 qNaN_var. Fix a few strings, too.
58185 * math/libm-test.inc (nan_value): Rename to qnan_value.
58186 * math/gen-libm-test.pl (%beautify): Adjust to that.
58187 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58188 * math/test-misc.c (main): Likewise.
58189 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58190 to __qnan_bytes, and __qnan_union, respectively.
58191 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58192 Likewise.
58193 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58194 and lqnanval, respectively.
58195 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58196 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58197 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58198 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58199
58200 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58201 * math/test-misc.c (main) [__x86_64__]: Enable test for long
58202 doubles.
58203
58204 * math/test-misc.c (main): Fix copy'n'pastos.
58205 * misc/tst-efgcvt.c (special): Likewise.
58206
58207 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58208 Remove declarations.
58209
58210 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58211
58212 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58213 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58214 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58215 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58216
58217 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58218
58219 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58220 macro to return vdso values correctly in IFUNC implementations.
58221 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58222 Optimization by using IFUNC.
58223
58224 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58225 Richard Henderson <rth@redhat.com>
58226 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58227
58228 * Makefile.in (bench): New target.
58229 * NEWS: Mention the benchmark framework.
58230 * Rules (bench): Likewise.
58231 (binaries-bench): Generate binaries for functions to
58232 benchmark.
58233 * benchtests/Makefile: New makefile for benchmark tests.
58234 * benchtests/bench-skeleton.c: New skeleton file for benchmark
58235 programs.
58236 * benchtests/exp-inputs: New input file for EXP function.
58237 * benchtests/pow-inputs: New input file for POW function.
58238 * scripts/bench.pl: New script to generate source files for
58239 benchmark programs.
58240
58241 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58242
58243 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58244 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58245 computations on mantissa. Use macros for rounding and
58246 division.
58247 (denorm): Likewise.
58248 (__dbl_mp): Likewise.
58249 (add_magnitudes): Likewise.
58250 (sub_magnitudes): Likewise.
58251 (__mul): Likewise.
58252 (__sqr): Likewise.
58253 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58254 powers of two in terms of TWOPOW macro.
58255 (mp_no): Make type of mantissa as MANTISSA_T.
58256 [!RADIXI]: Define RADIXI.
58257 [!TWO52]: Define TWO52.
58258 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58259
58260 * manual/nptl.texi (cindex): Modify threads to pthreads.
58261
58262 2013-03-15 Joseph Myers <joseph@codesourcery.com>
58263
58264 * sysdeps/x86_64/preconfigure: Regenerated.
58265
58266 2013-03-14 Joseph Myers <joseph@codesourcery.com>
58267
58268 [BZ #14155]
58269 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58270 0x1p28 and above.
58271 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58272 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58273 0x1p28 and above.
58274 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58275 * math/libm-test.inc (j0_test): Do not allow one spurious
58276 underflow exception.
58277 (y1_test): Likewise.
58278
58279 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
58280
58281 * manual/Makefile (chapters): Add nptl.
58282 * manual/debug.texi (Debugging Support): Add link to Threads
58283 chapter.
58284 * manual/nptl.texi: New file.
58285
58286 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58287
58288 2013-03-14 Petr Baudis <pasky@ucw.cz>
58289
58290 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58291 for non-NULL pointer before the memory validity test. Pointed
58292 out by Holger Brunck <holger.brunck@keymile.com>.
58293
58294 2013-03-13 Andreas Schwab <schwab@suse.de>
58295
58296 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58297 instead of .os.
58298
58299 2013-03-13 Joseph Myers <joseph@codesourcery.com>
58300
58301 * timezone/zic.c: Update from tzcode 2013b.
58302
58303 2013-03-12 Carlos O'Donell <carlos@redhat.com>
58304
58305 * manual/install.texi (Configuring and compiling):
58306 Mention i686 and i586.
58307 * INSTALL: Regenerate.
58308
58309 2013-03-12 Roland McGrath <roland@hack.frob.com>
58310
58311 * sysdeps/init_array/elf-init.c: New file.
58312 * csu/elf-init.c
58313 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58314 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58315
58316 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58317 __gmon_start__ as global, but as static with a .preinit_array pointer.
58318 * sysdeps/init_array/gmon-start.c: New file. Use that.
58319 * sysdeps/init_array/crti.S: New file, empty except for comments.
58320 * sysdeps/init_array/crtn.S: Likewise.
58321
58322 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
58323
58324 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58325 definining bcopy.
58326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58327 Remove Prefer_SSE_for_memop.
58328 * sysdeps/x86_64/multiarch/init-arch.h: Remove
58329 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58330 HAS_PREFER_SSE_FOR_MEMOP.
58331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58332 memset-x86-64.
58333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58334 Remove bzero, memset ifunc support.
58335 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58336 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58337 * sysdeps/x86_64/multiarch/memset.S: Likewise.
58338 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58339
58340 2013-03-11 Andreas Schwab <schwab@suse.de>
58341
58342 [BZ #15234]
58343 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58344 by SHLIB_COMPAT.
58345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58346 (GLIBC_2.16): Remove pthread_atfork.
58347
58348 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
58349
58350 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58351 (ptestcases.h): Likewise.
58352
58353 2013-03-08 Roland McGrath <roland@hack.frob.com>
58354
58355 * Makeconfig ($(common-objpfx)config.status): Depend on
58356 sysdeps/*/preconfigure{,.in} too.
58357
58358 2013-03-08 Joseph Myers <joseph@codesourcery.com>
58359
58360 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58361 (__free_hook): Use void * instead of __malloc_ptr_t.
58362 (__malloc_hook): Likewise.
58363 (__realloc_hook): Likewise.
58364 (__memalign_hook): Likewise.
58365 (__after_morecore_hook): Likewise.
58366 * malloc/arena.c (save_malloc_hook): Likewise.
58367 (save_free_hook): Likewise.
58368 * malloc/hooks.c (malloc_hook_ini): Likewise.
58369 (realloc_hook_ini): Likewise.
58370 (memalign_hook_ini): Likewise.
58371 * malloc/malloc.c (malloc_hook_ini): Likewise.
58372 (realloc_hook_ini): Likewise.
58373 (memalign_hook_ini): Likewise.
58374 (__free_hook): Likewise.
58375 (__malloc_hook): Likewise.
58376 (__realloc_hook): Likewise.
58377 (__memalign_hook): Likewise.
58378 (__libc_malloc): Likewise.
58379 (__libc_free): Likewise.
58380 (__libc_realloc): Likewise.
58381 (__libc_memalign): Likewise.
58382 (__libc_valloc): Likewise.
58383 (__libc_pvalloc): Likewise.
58384 (__libc_calloc): Likewise.
58385 (__posix_memalign): Likewise.
58386 * malloc/morecore.c (__sbrk): Likewise.
58387 (__default_morecore): Likewise.
58388
58389 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58390
58391 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58392 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58393 __malloc_ptrdiff_t.
58394
58395 * malloc/malloc.h (__malloc_size_t): Remove macro.
58396 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58397 __malloc_size_t.
58398 (old_memalign_hook): Likewise.
58399 (old_realloc_hook): Likewise.
58400 (struct hdr): Likewise.
58401 (flood): Likewise.
58402 (mallochook): Likewise.
58403 (memalignhook): Likewise.
58404 (reallochook): Likewise.
58405 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58406 (tr_old_realloc_hook): Likewise.
58407 (tr_old_memalign_hook): Likewise.
58408 (tr_mallochook): Likewise.
58409 (tr_reallochook): Likewise.
58410 (tr_memalignhook): Likewise.
58411
58412 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58413
58414 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58415 default_ldbl_pack and using as default implementation.
58416 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58417 implementation.
58418 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58419 redundant definition.
58420 (ldbl_insert_mantissa): Likewise.
58421 (ldbl_canonicalize): Likewise.
58422 (ldbl_nearbyint): Likewise.
58423 (ldbl_pack): Rename to ldbl_pack_ppc.
58424 (ldbl_unpack): Rename to ldbl_unpack_ppc.
58425 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58426 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58427
58428 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
58429
58430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58431 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58432 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58433 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58435 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58436 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58437 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58438
58439 2013-03-07 Andreas Jaeger <aj@suse.de>
58440
58441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58442 bits/mman-linux.h.
58443
58444 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
58445
58446 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
58447 Include mpa.h and declare __MPEXP.
58448 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
58449 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58450 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58451 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
58452 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58453 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58454 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
58455
58456 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
58457 (__slowpow): Use long double EXPL and LOGL functions to
58458 compute POW.
58459 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58460 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58461 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
58462 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58463 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58464 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
58465
58466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
58467 intermediate variable to calculate exponent.
58468 (__sqr): Likewise.
58469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58470 Likewise.
58471 (__sqr): Likewise.
58472
58473 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
58474 [!NO__SQR]: Define __sqr.
58475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
58476 and NO__SQR. Remove all code except __mul and __sqr. Include
58477 sysdeps/ieee754/dbl-64/mpa.c.
58478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58479
58480 [BZ #12723]
58481 * posix/Makefile (tests): Add tst-pathconf.
58482 * posix/tst-pathconf.c: New test case.
58483 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
58484 _PC_PIPE_BUF.
58485 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
58486
58487 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
58488
58489 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
58490
58491 2013-03-06 Andreas Jaeger <aj@suse.de>
58492
58493 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
58494 definition via __MAP_ANONYMOUS.
58495
58496 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
58497 it's not part of Linux headers.
58498
58499 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
58500 (MAP_HUGE_MASK): Define.
58501
58502 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58503 Define.
58504 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58505 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58506 Define.
58507 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58508 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58509 Define.
58510 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
58512 Define.
58513 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58514
58515 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
58516 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
58517 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
58518 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
58519 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
58520 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
58521
58522 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58523 Handle f2fs.
58524
58525 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58526 Handle f2fs and efivarfs.
58527
58528 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
58529 f2fs.
58530
58531 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
58532 (EFIVARFS_MAGIC): Add.
58533 (F2FS_LINK_MAX): Add.
58534
58535 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58536
58537 * stdio-common/vfprintf.c: Replace __builtin_expect with
58538 __glibc_unlikely.
58539
58540 2013-03-06 Joseph Myers <joseph@codesourcery.com>
58541
58542 [BZ #13550]
58543 * sysdeps/generic/bp-sym.h: Remove file.
58544 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
58545 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
58546 <bp-sym.h> and <bp-asm.h>.
58547 (__longjmp): Don't use BP_SYM.
58548 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
58549 and <bp-asm.h>.
58550 (memcpy): Don't use BP_SYM.
58551 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
58552 <bp-sym.h> and <bp-asm.h>.
58553 (memcpy): Don't use BP_SYM.
58554 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
58555 <bp-asm.h>.
58556 (memcpy): Don't use BP_SYM.
58557 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
58558 <bp-asm.h>.
58559 (memset): Don't use BP_SYM.
58560 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58561 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58562 (__bzero): Don't use BP_SYM.
58563 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58564 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58565 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
58566 <bp-sym.h> and <bp-asm.h>.
58567 (memcmp): Don't use BP_SYM. Remove comment about bounded
58568 pointers.
58569 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
58570 <bp-sym.h> and <bp-asm.h>.
58571 (memcpy): Don't use BP_SYM.
58572 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
58573 <bp-sym.h> and <bp-asm.h>.
58574 (memset): Don't use BP_SYM.
58575 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58576 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58577 (__bzero): Don't use BP_SYM.
58578 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58579 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58580 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
58581 <bp-sym.h> and <bp-asm.h>.
58582 (strncmp): Don't use BP_SYM. Remove comment about bounded
58583 pointers.
58584 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
58585 <bp-sym.h> and <bp-asm.h>.
58586 (memcpy): Don't use BP_SYM.
58587 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
58588 <bp-sym.h> and <bp-asm.h>.
58589 (memset): Don't use BP_SYM.
58590 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58591 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58592 (__bzero): Don't use BP_SYM.
58593 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58594 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58595 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
58596 <bp-sym.h> and <bp-asm.h>.
58597 (__memchr): Don't use BP_SYM.
58598 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
58599 <bp-sym.h> and <bp-asm.h>.
58600 (memcmp): Don't use BP_SYM. Remove comment about bounded
58601 pointers.
58602 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
58603 <bp-sym.h> and <bp-asm.h>.
58604 (memcpy): Don't use BP_SYM.
58605 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
58606 <bp-sym.h> and <bp-asm.h>.
58607 (__mempcpy): Don't use BP_SYM.
58608 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
58609 <bp-sym.h> and <bp-asm.h>.
58610 (__memrchr): Don't use BP_SYM.
58611 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
58612 <bp-sym.h> and <bp-asm.h>.
58613 (memset): Don't use BP_SYM.
58614 (__bzero): Likewise.
58615 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
58616 <bp-sym.h> and <bp-asm.h>.
58617 (__rawmemchr): Don't use BP_SYM.
58618 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
58619 <bp-sym.h> and <bp-asm.h>.
58620 (__STRCMP): Don't use BP_SYM.
58621 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
58622 <bp-sym.h> and <bp-asm.h>.
58623 (strchr): Don't use BP_SYM.
58624 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
58625 <bp-sym.h> and <bp-asm.h>.
58626 (__strchrnul): Don't use BP_SYM.
58627 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
58628 <bp-sym.h> and <bp-asm.h>.
58629 (strlen): Don't use BP_SYM.
58630 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
58631 <bp-sym.h> and <bp-asm.h>.
58632 (strncmp): Don't use BP_SYM. Remove comment about bounded
58633 pointers.
58634 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
58635 <bp-sym.h> and <bp-asm.h>.
58636 (__strnlen): Don't use BP_SYM.
58637 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
58638 <bp-sym.h> and <bp-asm.h>.
58639 (__GI__setjmp): Don't use BP_SYM.
58640 (_setjmp): Likewise.
58641 (__sigsetjmp): Likewise.
58642 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
58643 (L(start_addresses)): Don't use BP_SYM.
58644 (_start): Likewise.
58645 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
58646 <bp-asm.h>.
58647 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
58648 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
58649 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58650 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58651 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
58652 <bp-asm.h>.
58653 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
58654 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
58655 about bounded pointers.
58656 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58657 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58658 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
58659 <bp-asm.h>.
58660 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
58661 about bounded pointers. Remove GKM FIXME comments.
58662 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58663 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
58664 <bp-asm.h>.
58665 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
58666 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
58667 Remove GKM FIXME comments.
58668 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58669 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58670 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
58671 <bp-asm.h>.
58672 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
58673 about bounded pointers. Remove GKM FIXME comment.
58674 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
58675 and <bp-asm.h>.
58676 (strncmp): Don't use BP_SYM. Remove comment about bounded
58677 pointers.
58678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
58679 <bp-sym.h> and <bp-asm.h>.
58680 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
58682 <bp-sym.h> and <bp-asm.h>.
58683 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
58684 comment.
58685
58686 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58687
58688 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
58689 call free(NULL).
58690
58691 2013-03-05 David S. Miller <davem@davemloft.net>
58692
58693 * po/es.po: Update from translation team.
58694
58695 2013-03-05 Andreas Jaeger <aj@suse.de>
58696
58697 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
58698 <bits/mman-linux.h>.
58699 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58700 is fine.
58701 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
58702 <bits/mman-linux.h> to end of file.
58703 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58704 is fine.
58705 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
58706 <bits/mman-linux.h> to end of file.
58707 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58708 is fine.
58709 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
58710 <bits/mman-linux.h> to end of file.
58711
58712 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
58713 (MCL_CURRENT, MCL_FUTURE): Define here.
58714
58715 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58716
58717 [BZ #15232]
58718 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
58719 attribute_hidden.
58720 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58721
58722 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58723
58724 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
58725 fourth parameter needed for rt_sigprocmask syscall.
58726 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
58727 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58728 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
58729 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58730 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58731 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
58732
58733 2013-03-04 Joseph Myers <joseph@codesourcery.com>
58734
58735 [BZ #13550]
58736 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
58737 comment about bounded pointers.
58738 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
58739 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
58740
58741 2013-03-04 Andreas Jaeger <aj@suse.de>
58742
58743 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
58744 common definitions.
58745
58746 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
58747 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
58748 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
58749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58750 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58751 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58752
58753 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58754
58755 [BZ #15055]
58756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
58757 __ieee754_sqrl instead of __sqrl.
58758
58759 2013-03-01 Joseph Myers <joseph@codesourcery.com>
58760
58761 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
58762 * sysdeps/powerpc/fpu_control.h: ... here.
58763 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
58764 * sysdeps/powerpc/bits/fenvinline.h: ... here.
58765 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
58766 * sysdeps/powerpc/bits/mathinline.h: ... here.
58767
58768 2013-03-01 Roland McGrath <roland@hack.frob.com>
58769
58770 * elf/dl-hwcaps.c (_dl_important_hwcaps):
58771 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
58772 to just [NEED_DL_SYSINFO_DSO].
58773 * elf/dl-support.c: Likewise.
58774 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
58775 * elf/rtld.c (dl_main): Likewise.
58776 * elf/setup-vdso.h (setup_vdso): Likewise.
58777 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
58778 * sysdeps/unix/sysv/linux/dl-sysdep.c
58779 (_dl_discover_osversion): Likewise.
58780
58781 2013-03-01 Carlos O'Donell <carlos@redhat.com>
58782
58783 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
58784 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58785
58786 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
58787
58788 * NEWS: Mention libm performance improvements and non-x86 PI
58789 futex support.
58790
58791 * csu/libc-start.c (__pthread_initialize_minimal): Change
58792 function arguments.
58793 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58794
58795 2013-02-28 Joseph Myers <joseph@codesourcery.com>
58796
58797 [BZ #13550]
58798 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
58799 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
58800 <bp-sym.h> and <bp-asm.h>.
58801 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58802 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
58803 and <bp-asm.h>.
58804 (memcpy): Don't use BP_SYM.
58805 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
58806 <bp-asm.h>.
58807 (__mpn_add_n): Don't use BP_SYM.
58808 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
58809 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
58810 and <bp-asm.h>.
58811 (__mpn_addmul_1): Don't use BP_SYM.
58812 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58813 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
58814 <bp-sym.h>.
58815 (_setjmp): Don't use BP_SYM.
58816 (__novmx_setjmp): Likewise.
58817 (__GI__setjmp): Likewise.
58818 (__vmx_setjmp): Likewise.
58819 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
58820 <bp-sym.h>.
58821 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
58822 (__bzero): Don't use BP_SYM.
58823 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58824 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58825 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
58826 <bp-sym.h> and <bp-asm.h>.
58827 (memcpy): Don't use BP_SYM.
58828 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
58829 <bp-sym.h> and <bp-asm.h>.
58830 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58831 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
58832 <bp-sym.h> and <bp-asm.h>.
58833 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58834 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
58835 <bp-asm.h>.
58836 (__mpn_lshift): Don't use BP_SYM.
58837 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58838 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
58839 <bp-asm.h>.
58840 (memset): Don't use BP_SYM.
58841 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58842 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58843 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
58844 <bp-asm.h>.
58845 (__mpn_mul_1): Don't use BP_SYM.
58846 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58847 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
58848 <bp-sym.h> and <bp-asm.h>.
58849 (memcmp): Don't use BP_SYM.
58850 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
58851 <bp-sym.h> and <bp-asm.h>.
58852 (memcpy): Don't use BP_SYM.
58853 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
58854 <bp-sym.h> and <bp-asm.h>.
58855 (memset): Don't use BP_SYM.
58856 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
58857 <bp-sym.h> and <bp-asm.h>.
58858 (strncmp): Don't use BP_SYM.
58859 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
58860 <bp-sym.h> and <bp-asm.h>.
58861 (memcpy): Don't use BP_SYM.
58862 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
58863 <bp-sym.h> and <bp-asm.h>.
58864 (memset): Don't use BP_SYM.
58865 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
58866 <bp-sym.h> and <bp-asm.h>.
58867 (__memchr): Don't use BP_SYM.
58868 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
58869 <bp-sym.h> and <bp-asm.h>.
58870 (memcmp): Don't use BP_SYM.
58871 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
58872 <bp-sym.h> and <bp-asm.h>.
58873 (memcpy): Don't use BP_SYM.
58874 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
58875 <bp-sym.h> and <bp-asm.h>.
58876 (__mempcpy): Don't use BP_SYM.
58877 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
58878 <bp-sym.h> and <bp-asm.h>.
58879 (__memrchr): Don't use BP_SYM.
58880 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
58881 <bp-sym.h> and <bp-asm.h>.
58882 (memset): Don't use BP_SYM.
58883 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
58884 <bp-sym.h> and <bp-asm.h>.
58885 (__rawmemchr): Don't use BP_SYM.
58886 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
58887 <bp-sym.h> and <bp-asm.h>.
58888 (__STRCMP): Don't use BP_SYM.
58889 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
58890 <bp-sym.h> and <bp-asm.h>.
58891 (strchr): Don't use BP_SYM.
58892 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
58893 <bp-sym.h> and <bp-asm.h>.
58894 (__strchrnul): Don't use BP_SYM.
58895 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
58896 <bp-sym.h> and <bp-asm.h>.
58897 (strlen): Don't use BP_SYM.
58898 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
58899 <bp-sym.h> and <bp-asm.h>.
58900 (strncmp): Don't use BP_SYM.
58901 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
58902 <bp-sym.h> and <bp-asm.h>.
58903 (__strnlen): Don't use BP_SYM.
58904 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
58905 <bp-asm.h>.
58906 (__mpn_rshift): Don't use BP_SYM.
58907 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58908 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
58909 <bp-sym.h> and <bp-asm.h>.
58910 (__sigsetjmp): Don't use BP_SYM.
58911 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
58912 (L(start_addresses)): Don't use BP_SYM.
58913 (_start): Likewise.
58914 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
58915 <bp-asm.h>.
58916 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
58917 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58918 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58919 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
58920 <bp-asm.h>.
58921 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
58922 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58923 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58924 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
58925 <bp-asm.h>.
58926 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
58927 comments.
58928 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58929 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
58930 <bp-asm.h>.
58931 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
58932 FIXME comments.
58933 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58934 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58935 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
58936 <bp-asm.h>.
58937 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
58938 comment.
58939 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
58940 and <bp-asm.h>.
58941 (strncmp): Don't use BP_SYM,
58942 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
58943 <bp-asm.h>.
58944 (__mpn_sub_n): Don't use BP_SYM.
58945 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58946 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
58947 and <bp-asm.h>.
58948 (__mpn_submul_1): Don't use BP_SYM.
58949 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
58951 <bp-sym.h> and <bp-asm.h>.
58952 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
58954 <bp-sym.h> and <bp-asm.h>.
58955 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
58956 comment.
58957
58958 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58959
58960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
58961 Use ZK to minimize writes to Z.
58962 (sub_magnitudes): Simplify code a bit.
58963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
58964 Use ZK to minimize writes to Z.
58965 (sub_magnitudes): Simplify code a bit.
58966
58967 2013-02-27 Roland McGrath <roland@hack.frob.com>
58968
58969 * csu/gmon-start.c: Add special exception to license text.
58970
58971 2013-02-27 Richard Henderson <rth@redhat.com>
58972
58973 * scripts/config.guess: Update from config.git.
58974 * scripts/config.sub: Likewise.
58975
58976 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
58977
58978 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
58979
58980 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
58981
58982 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
58983
58984 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
58985
58986 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
58987
58988 2013-02-26 Roland McGrath <roland@hack.frob.com>
58989
58990 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
58991 [$(build-shared = yes].
58992
58993 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58994
58995 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
58996 (__mul): Reduce iterations for calculating mantissa.
58997
58998 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
58999 MPTWO.
59000 (__mpranred): Likewise.
59001
59002 [BZ #15160]
59003 * malloc/memusagestat.c (main): Draw graphs for heap and stack
59004 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59005
59006 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
59007
59008 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59009 Define __attribute__.
59010
59011 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59012
59013 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59014 unused.
59015 * posix/regex_internal.h (__attribute): Remove.
59016 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59017 (re_string_context_at): Likewise.
59018 (bitset_not): Use __attribute__ and mark function as possibly
59019 unused.
59020 (bitset_merge): Likewise.
59021 (bitset_mask): Likewise.
59022 (re_string_char_size_at): Likewise.
59023 (re_string_wchar_at): Likewise.
59024 (re_string_elem_size_at): Likewise.
59025
59026 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59027
59028 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59029 code.
59030 (cc32): Likewise.
59031
59032 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59033 (__acr): Likewise.
59034 (__cpy): Likewise.
59035 (norm): Likewise.
59036 (denorm): Likewise.
59037 (__dbl_mp): Likewise.
59038 (add_magnitudes): Likewise.
59039 (sub_magnitudes): Likewise.
59040 (__mul): Likewise.
59041 (__inv): Likewise.
59042
59043 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59044 style.
59045
59046 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59047 style.
59048
59049 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59050 code.
59051
59052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59053 up changes with default code.
59054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59055 Likewise.
59056
59057 2013-02-24 Allan McRae <allan@archlinux.org>
59058
59059 * manual/socket.texi (The Internet Namespace): Order menu items
59060 to match that in the file.
59061
59062 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59063 node listing of the info page menu.
59064
59065 2013-02-21 Joseph Myers <joseph@codesourcery.com>
59066
59067 [BZ #13550]
59068 * sysdeps/i386/bp-asm.h: Remove file.
59069 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59070 (PARMS): Do not use macros from bp-asm.h.
59071 (S1): Likewise.
59072 (S2): Likewise.
59073 (SIZE): Likewise.
59074 (__mpn_add_n): Do not use BP_SYM
59075 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59076 "bp-asm.h".
59077 (PARMS): Do not use macros from bp-asm.h.
59078 (S1): Likewise.
59079 (SIZE): Likewise.
59080 (__mpn_addmul_1): Do not use BP_SYM
59081 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59082 "bp-asm.h".
59083 (PARMS): Do not use macros from bp-asm.h.
59084 (SIGMSK): Likewise.
59085 (_setjmp): Likewise. Do not use BP_SYM.
59086 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59087 "bp-asm.h".
59088 (PARMS): Do not use macros from bp-asm.h.
59089 (SIGMSK): Likewise.
59090 (setjmp): Likewise. Do not use BP_SYM.
59091 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59092 "bp-asm.h".
59093 (PARMS): Do not use macros from bp-asm.h.
59094 (__frexp): Do not use BP_SYM.
59095 (frexp): Likewise.
59096 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59097 "bp-asm.h".
59098 (PARMS): Do not use macros from bp-asm.h.
59099 (__frexpf): Do not use BP_SYM.
59100 (frexpf): Likewise.
59101 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59102 "bp-asm.h".
59103 (PARMS): Do not use macros from bp-asm.h.
59104 (__frexpl): Do not use BP_SYM.
59105 (frexpl): Likewise.
59106 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59107 "bp-asm.h".
59108 (PARMS): Do not use macros from bp-asm.h.
59109 (__remquo): Do not use BP_SYM.
59110 (remquo): Likewise.
59111 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59112 "bp-asm.h".
59113 (PARMS): Do not use macros from bp-asm.h.
59114 (__remquof): Do not use BP_SYM.
59115 (remquof): Likewise.
59116 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59117 "bp-asm.h".
59118 (PARMS): Do not use macros from bp-asm.h.
59119 (__remquol): Do not use BP_SYM.
59120 (remquol): Likewise.
59121 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59122 "bp-asm.h".
59123 (PARMS): Do not use macros from bp-asm.h.
59124 (DEST): Likewise.
59125 (SRC): Likewise.
59126 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
59127 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59128 "bp-asm.h".
59129 (PARMS): Do not use macros from bp-asm.h.
59130 (strlen): Do not use BP_SYM.
59131 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59132 "bp-asm.h".
59133 (PARMS): Do not use macros from bp-asm.h.
59134 (S1): Likewise.
59135 (S2): Likewise.
59136 (SIZE): Likewise.
59137 (__mpn_add_n): Do not use BP_SYM.
59138 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59139 "bp-asm.h".
59140 (PARMS): Do not use macros from bp-asm.h.
59141 (S1): Likewise.
59142 (SIZE): Likewise.
59143 (__mpn_addmul_1): Do not use BP_SYM.
59144 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59145 weak_alias.
59146 (bzero): Likewise.
59147 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59148 "bp-asm.h".
59149 (PARMS): Do not use macros from bp-asm.h.
59150 (S): Likewise.
59151 (SIZE): Likewise.
59152 (__mpn_lshift): Do not use BP_SYM.
59153 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59154 "bp-asm.h".
59155 (PARMS): Do not use macros from bp-asm.h.
59156 (DEST): Likewise.
59157 (SRC): Likewise.
59158 (LEN): Likewise.
59159 (memcpy): Likewise. Do not use BP_SYM.
59160 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59161 libc_hidden_def and weak_alias.
59162 (mempcpy): Do not use BP_SYM in weak_alias.
59163 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59164 "bp-asm.h".
59165 (PARMS): Do not use macros from bp-asm.h.
59166 (DEST): Likewise.
59167 (LEN): Likewise.
59168 [!BZERO_P] (CHR): Likewise.
59169 (memset): Likewise. Do not use BP_SYM.
59170 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59171 "bp-asm.h".
59172 (PARMS): Do not use macros from bp-asm.h.
59173 (S1): Likewise.
59174 (SIZE): Likewise.
59175 (__mpn_mul_1): Do not use BP_SYM.
59176 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59177 "bp-asm.h".
59178 (PARMS): Do not use macros from bp-asm.h.
59179 (S): Likewise.
59180 (SIZE): Likewise.
59181 (__mpn_rshift): Do not use BP_SYM.
59182 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59183 "bp-asm.h".
59184 (PARMS): Do not use macros from bp-asm.h.
59185 (STR): Likewise.
59186 (CHR): Likewise.
59187 (strchr): Likewise. Do not use BP_SYM.
59188 (index): Do not use BP_SYM in weak_alias.
59189 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59190 "bp-asm.h".
59191 (PARMS): Do not use macros from bp-asm.h.
59192 (DEST): Likewise.
59193 (SRC): Likewise.
59194 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
59195 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59196 "bp-asm.h".
59197 (PARMS): Do not use macros from bp-asm.h.
59198 (strlen): Do not use BP_SYM.
59199 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59200 "bp-asm.h".
59201 (PARMS): Do not use macros from bp-asm.h.
59202 (S1): Likewise.
59203 (S2): Likewise.
59204 (SIZE): Likewise.
59205 (__mpn_sub_n): Do not use BP_SYM.
59206 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59207 "bp-asm.h".
59208 (PARMS): Do not use macros from bp-asm.h.
59209 (S1): Likewise.
59210 (SIZE): Likewise.
59211 (__mpn_submul_1): Do not use BP_SYM.
59212 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59213 "bp-asm.h".
59214 (PARMS): Do not use macros from bp-asm.h.
59215 (S1): Likewise.
59216 (S2): Likewise.
59217 (SIZE): Likewise.
59218 (__mpn_add_n): Do not use BP_SYM.
59219 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59220 weak_alias.
59221 (bzero): Likewise.
59222 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59223 "bp-asm.h".
59224 (PARMS): Do not use macros from bp-asm.h.
59225 (BLK2): Likewise.
59226 (LEN): Likewise.
59227 (memcmp): Do not use BP_SYM.
59228 (bcmp): Do not use BP_SYM in weak_alias.
59229 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59230 "bp-asm.h".
59231 (PARMS): Do not use macros from bp-asm.h.
59232 (DEST): Likewise.
59233 (SRC): Likewise.
59234 (LEN): Likewise.
59235 (memcpy): Likewise. Do not use BP_SYM.
59236 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59237 "bp-asm.h".
59238 (PARMS): Do not use macros from bp-asm.h.
59239 (DEST): Likewise.
59240 (SRC): Likewise.
59241 (LEN): Likewise.
59242 (memmove): Likewise. Do not use BP_SYM.
59243 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59244 "bp-asm.h".
59245 (PARMS): Do not use macros from bp-asm.h.
59246 (DEST): Likewise.
59247 (SRC): Likewise.
59248 (LEN): Likewise.
59249 (__mempcpy): Likewise. Do not use BP_SYM.
59250 (mempcpy): Do not use BP_SYM in weak_alias.
59251 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59252 "bp-asm.h".
59253 (PARMS): Do not use macros from bp-asm.h.
59254 (DEST): Likewise.
59255 (LEN): Likewise.
59256 [!BZERO_P] (CHR): Likewise.
59257 (memset): Likewise. Do not use BP_SYM.
59258 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59259 "bp-asm.h".
59260 (PARMS): Do not use macros from bp-asm.h.
59261 (STR2): Likewise.
59262 (strcmp): Do not use BP_SYM.
59263 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59264 "bp-asm.h".
59265 (PARMS): Do not use macros from bp-asm.h.
59266 (STR): Likewise.
59267 (DELIM): Likewise.
59268 [USE_AS_STRTOK_R] (SAVE): Likewise.
59269 (FUNCTION): Likewise. Do not use BP_SYM.
59270 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59271 aliases.
59272 (strtok_r): Likewise.
59273 (__GI___strtok_r): Likewise.
59274 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59275 (PARMS): Do not use macros from bp-asm.h.
59276 (S): Likewise.
59277 (SIZE): Likewise.
59278 (__mpn_lshift): Do not use BP_SYM.
59279 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59280 (PARMS): Do not use macros from bp-asm.h.
59281 (STR): Likewise.
59282 (CHR): Likewise.
59283 (__memchr): Do not use BP_SYM.
59284 (memchr): Do not use BP_SYM in weak_alias.
59285 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59286 (PARMS): Do not use macros from bp-asm.h.
59287 (BLK2): Likewise.
59288 (LEN): Likewise.
59289 (memcmp): Do not use BP_SYM.
59290 (bcmp): Do not use BP_SYM in weak_alias.
59291 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59292 (PARMS): Do not use macros from bp-asm.h.
59293 (S1): Likewise.
59294 (SIZE): Likewise.
59295 (__mpn_mul_1): Do not use BP_SYM.
59296 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59297 "bp-asm.h".
59298 (PARMS): Do not use macros from bp-asm.h.
59299 (STR): Likewise.
59300 (CHR): Likewise.
59301 (__rawmemchr): Do not use BP_SYM.
59302 (rawmemchr): Do not use BP_SYM in weak_alias.
59303 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59304 (PARMS): Do not use macros from bp-asm.h.
59305 (S): Likewise.
59306 (SIZE): Likewise.
59307 (__mpn_rshift): Do not use BP_SYM.
59308 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59309 (PARMS): Do not use macros from bp-asm.h.
59310 (SIGMSK): Likewise.
59311 (__sigsetjmp): Likewise. Do not use BP_SYM.
59312 * sysdeps/i386/start.S: Do not include "bp-sym.h".
59313 (_start): Do not use BP_SYM.
59314 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59315 (PARMS): Do not use macros from bp-asm.h.
59316 (DEST): Likewise.
59317 (SRC): Likewise.
59318 (__stpcpy): Likewise. Do not use BP_SYM.
59319 (stpcpy): Do not use BP_SYM in weak_alias.
59320 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59321 "bp-asm.h".
59322 (PARMS): Do not use macros from bp-asm.h.
59323 (DEST): Likewise.
59324 (SRC): Likewise.
59325 (LEN): Likewise.
59326 (__stpncpy): Likewise. Do not use BP_SYM.
59327 (stpncpy): Do not use BP_SYM in weak_alias.
59328 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59329 (PARMS): Do not use macros from bp-asm.h.
59330 (STR): Likewise.
59331 (CHR): Likewise.
59332 (strchr): Likewise. Do not use BP_SYM.
59333 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59334 "bp-asm.h".
59335 (PARMS): Do not use macros from bp-asm.h.
59336 (STR): Likewise.
59337 (CHR): Likewise.
59338 (__strchrnul): Likewise. Do not use BP_SYM.
59339 (strchrnul): Do not use BP_SYM in weak_alias.
59340 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59341 "bp-asm.h".
59342 (PARMS): Do not use macros from bp-asm.h.
59343 (STOP): Likewise.
59344 (strcspn): Do not use BP_SYM.
59345 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59346 "bp-asm.h".
59347 (PARMS): Do not use macros from bp-asm.h.
59348 (STR): Likewise.
59349 (STOP): Likewise.
59350 (strpbrk): Likewise. Do not use BP_SYM.
59351 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59352 "bp-asm.h".
59353 (PARMS): Do not use macros from bp-asm.h.
59354 (STR): Likewise.
59355 (CHR): Likewise.
59356 (strrchr): Likewise. Do not use BP_SYM.
59357 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59358 (PARMS): Do not use macros from bp-asm.h.
59359 (SKIP): Likewise.
59360 (strspn): Do not use BP_SYM.
59361 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59362 (PARMS): Do not use macros from bp-asm.h.
59363 (STR): Likewise.
59364 (DELIM): Likewise.
59365 (SAVE): Likewise.
59366 (FUNCTION): Likewise. Do not use BP_SYM.
59367 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59368 aliases.
59369 (strtok_r): Likewise.
59370 (__GI___strtok_r): Likewise.
59371 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59372 (PARMS): Do not use macros from bp-asm.h.
59373 (S1): Likewise.
59374 (S2): Likewise.
59375 (SIZE): Likewise.
59376 (__mpn_sub_n): Do not use BP_SYM.
59377 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59378 "bp-asm.h".
59379 (PARMS): Do not use macros from bp-asm.h.
59380 (S1): Likewise.
59381 (SIZE): Likewise.
59382 (__mpn_submul_1): Do not use BP_SYM.
59383 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59384 <bp-sym.h>.
59385 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59386 and <bp-asm.h>.
59387 (PARMS): Do not use macros from bp-asm.h.
59388 (FLAGS): Likewise.
59389 (PTID): Likewise.
59390 (TLS): Likewise.
59391 (CTID): Likewise.
59392 (__clone): Do not use BP_SYM.
59393 (clone): Do not use BP_SYM in weak_alias.
59394 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59395 and <bp-asm.h>.
59396 (PARMS): Do not use macros from bp-asm.h.
59397 (LEN): Likewise.
59398 (__mmap64): Do not use BP_SYM.
59399 (mmap64): Do not use BP_SYM in weak_alias.
59400 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59401 <bp-sym.h> and <bp-asm.h>.
59402 (PARMS): Do not use macros from bp-asm.h.
59403 (__posix_fadvise64_l64): Do not use BP_SYM.
59404 * sysdeps/unix/sysv/linux/i386/semtimedop.S
59405 (PARMS): Do not use macros from bp-asm.h.
59406 (NSOPS): Likewise.
59407 (semtimedop): Do not use BP_SYM.
59408 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59409 and <bp-asm.h>.
59410
59411 2013-02-21 Allan McRae <allan@archlinux.org>
59412
59413 * manual/message.texi (Charset conversion in gettext):
59414 Move @end statement to beginning of line.
59415
59416 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59417
59418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59419 static.
59420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59421 Likewise.
59422
59423 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59424 (denorm): Likewise.
59425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59427
59428 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59429
59430 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59431 tail-call to the resolved function if pltexit isn't needed.
59432
59433 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59434
59435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59436 or Y being zero as being unlikely.
59437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59438 Likewise.
59439
59440 2013-02-20 Carlos O'Donell <carlos@redhat.com>
59441
59442 * manual/nss.texi (System Databases and Name Service Switch):
59443 Remove frobnicate @pxref.
59444
59445 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59446
59447 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59448 __attribute__ ((unused)) to __attribute__ ((__unused__)).
59449
59450 2013-02-20 Petr Machata <pmachata@redhat.com>
59451
59452 * elf/elf.h (R_ARM_TARGET1): New macro.
59453 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
59454 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
59455 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
59456 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
59457 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
59458 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
59459 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
59460 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
59461 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
59462 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
59463 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
59464 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
59465 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
59466 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
59467 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
59468 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59469 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
59470 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
59471 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
59472 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
59473 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
59474 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
59475 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
59476 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
59477 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
59478 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59479 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
59480 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
59481 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
59482 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
59483 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
59484 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
59485 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
59486 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
59487 (R_ARM_THM_GOT_BREL12): Likewise.
59488 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
59489 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
59490 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
59491 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
59492 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
59493 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
59494 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
59495 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
59496 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
59497
59498 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59499
59500 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59501 __attribute_used__ to __attribute__ ((unused)).
59502
59503 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
59504
59505 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
59506 powerpc mpa.c.
59507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59508 comment formatting.
59509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
59510
59511 2013-02-19 Joseph Myers <joseph@codesourcery.com>
59512
59513 [BZ #13550]
59514 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
59515 Remove macro.
59516 (ENTER): Remove both macro definitions.
59517 (LEAVE): Likewise.
59518 (CHECK_BOUNDS_LOW): Likewise.
59519 (CHECK_BOUNDS_HIGH): Likewise.
59520 (CHECK_BOUNDS_BOTH): Likewise.
59521 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
59522 (RETURN_BOUNDED_POINTER): Likewise.
59523 (RETURN_NULL_BOUNDED_POINTER): Likewise.
59524 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
59525 (POP_ERRNO_LOCATION_RETURN): Likewise.
59526 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
59527 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59528 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
59529 macros.
59530 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59531 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
59532 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
59533 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
59534 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
59535 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
59536 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
59537 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
59538 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
59539 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
59540 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
59541 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
59542 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59543 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
59544 removed macros.
59545 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59546 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
59547 macros.
59548 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59549 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
59550 * sysdeps/i386/i586/memset.S (memset): Likewise.
59551 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
59552 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59553 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
59554 macros.
59555 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59556 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
59557 Change uses of L(2) to L(out).
59558 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
59559 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
59560 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
59561 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59562 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
59563 removed macros.
59564 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59565 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
59566 macros.
59567 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59568 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
59569 (RETURN): Do not use macro LEAVE.
59570 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
59571 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
59572 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
59573 * sysdeps/i386/i686/memset.S (memset): Likewise.
59574 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
59575 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
59576 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59577 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
59578 Likewise.
59579 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59580 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
59581 L(1_2) and L(1_3) into L(1).
59582 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59583 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
59584 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59585 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
59586 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59587 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
59588 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
59589 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59590 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
59591 macros.
59592 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
59593 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59594 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
59595 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
59596 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
59597 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59598 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
59599 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
59600 * sysdeps/i386/strcspn.S (strcspn): Likewise.
59601 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
59602 * sysdeps/i386/strrchr.S (strrchr): Likewise.
59603 * sysdeps/i386/strspn.S (strspn): Likewise.
59604 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
59605 conditional code.
59606 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59607 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
59608 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59609 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
59610 L(1_3) into L(1_1).
59611 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
59612 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59613 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
59614 macros.
59615 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59616
59617 2013-02-19 Jakub Jelinek <jakub@redhat.com>
59618
59619 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
59620 macro.
59621
59622 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
59623
59624 * math/atest-exp.c (exp_mpn): Remove ROUND.
59625 * math/atest-exp2.c (exp_mpn): Likewise.
59626 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
59627
59628 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
59629 * stdlib/tst-tls-atexit-lib.c: Likewise.
59630 * stdlib/tst-tls-atexit.c: Likewise.
59631
59632 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59633
59634 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
59635 and __attribute_alloc_size__.
59636
59637 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59638
59639 * include/programs/xmalloc.h: Change __attribute_alloc_size to
59640 __attribute_alloc_size__.
59641 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
59642 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
59643
59644 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59645
59646 * include/programs/xmalloc.h: New file.
59647 * catgets/gencat.c: Include it.
59648 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
59649 * elf/pldd.c: Likewise.
59650 * iconv/iconv_charmap.c: Likewise.
59651 * iconv/iconvconfig.c: Likewise.
59652 * iconv/strtab.c: Likewise.
59653 * locale/programs/locale.c: Likewise.
59654 * locale/programs/localedef.h: Likewise.
59655 * locale/programs/simple-hash.c: Likewise.
59656 * nscd/nscd.h: Likewise.
59657 * nss/makedb.c: Likewise.
59658 * sysdeps/generic/ldconfig.h: Likewise.
59659
59660 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
59661
59662 * Versions.def: Add GLIBC_2.18.
59663 * include/link.h (struct link_map): New member l_tls_dtor_count.
59664 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
59665 (__call_tls_dtors): Likewise.
59666 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
59667 __cxa_thread_atexit_impl.
59668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59669 Likewise.
59670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59671 Likewise.
59672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
59673 Likewise.
59674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
59675 Likewise.
59676 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
59678 Likewise.
59679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
59680 Likewise.
59681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59683 Likewise.
59684 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
59685 (tests): Add test case tst-tls-atexit.
59686 (modules-names): Add shared library for tst-tls-atexit.
59687 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
59688 (GLIBC_PRIVATE): Add __call_tls_dtors.
59689 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
59690 for libstdc++.
59691 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
59692 * stdlib/tst-tls-atexit.c: New test case.
59693 * stdlib/tst-tls-atexit-lib.c: New test case.
59694
59695 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
59696
59697 * elf/Versions (ld): Add _dl_find_dso_for_object.
59698 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
59699 * elf/dl-open.c (_dl_find_dso_for_object): New function.
59700 (dl_open_worker): Use _dl_find_dso_for_object.
59701 * elf/dl-sym.c (do_sym): Likewise.
59702 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
59703
59704 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59705
59706 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
59707 Syntactic changes only.
59708 (_dl_runtime_profile): Do a tail-call to the resolved function.
59709
59710 2013-02-17 Joseph Myers <joseph@codesourcery.com>
59711
59712 [BZ #13550]
59713 * sysdeps/x86_64/bp-asm.h: Remove file.
59714 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
59715 <bp-sym.h> and <bp-asm.h>.
59716 (__clone): Do not use BP_SYM.
59717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
59718 <bp-sym.h> and <bp-asm.h>.
59719 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59720 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
59721 "bp-asm.h".
59722 (_setjmp): Do not use BP_SYM.
59723 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
59724 "bp-asm.h".
59725 (setjmp): Do not use BP_SYM.
59726 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
59727 libc_hidden_def.
59728 (mempcpy): Do not use BP_SYM in weak_alias.
59729 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
59730 "bp-asm.h".
59731 (strchr): Do not use BP_SYM.
59732 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
59733 "bp-asm.h".
59734 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
59735 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
59736 (_start): Do not use BP_SYM.
59737 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
59738 "bp-asm.h".
59739 (strcat): Do not use BP_SYM.
59740 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
59741 "bp-asm.h".
59742 (STRCMP): Do not use BP_SYM.
59743 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
59744 "bp-asm.h".
59745 (STRCPY): Do not use BP_SYM.
59746 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
59747 "bp-asm.h".
59748 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
59749 "bp-asm.h".
59750 (FUNCTION): Do not use BP_SYM.
59751 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
59752 weak_alias.
59753 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
59754
59755 2013-02-17 Andreas Jaeger <aj@suse.de>
59756
59757 * time/Versions: Sort entries.
59758 * string/Versions: Likewise.
59759 * resolv/Versions: Likewise.
59760 * posix/Versions: Likewise.
59761 * iconv/Versions: Likewise.
59762 * elf/Versions: Likewise.
59763 * wcsmbs/Versions: Likewise.
59764
59765 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59766
59767 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
59768 loop termination condition.
59769
59770 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
59771 variable to calculate EZ.
59772 (__sqr): Likewise.
59773
59774 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
59775 the lower precision input.
59776
59777 2013-02-15 Joseph Myers <joseph@codesourcery.com>
59778
59779 [BZ #13550]
59780 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
59781 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
59782 (run-via-rtld-prefix): Do not handle %-bp tests.
59783 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
59784 (all-object-suffixes): Remove .ob.
59785 (bppfx): Remove variable.
59786 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
59787 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
59788 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
59789 [$(build-bounded) = yes] (libtype.ob): Likewise.
59790 * Makerules (elide-routines.ob): Remove variable.
59791 (do-tests-clean): Do not handle *-bp.out.
59792 (common-mostlyclean): Do not handle *-bp and *-bp.out.
59793 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
59794 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
59795 (tests): Do not include $(tests-bp.out).
59796 (xtests): Do not include $(xtests-bp.out).
59797 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
59798 [$(build-bounded) = yes] ($(addprefix
59799 $(objpfx),$(binaries-bounded))): Remove rule.
59800 ($(objpfx)%-bp.out): Remove rule.
59801 * config.make.in (build-bounded): Remove variable.
59802 * crypt/Makefile [$(build-bounded) = yes]
59803 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
59804 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
59805 append to variable.
59806 [$(build-bounded) = yes] (install-lib): Likewise.
59807 [$(build-bounded) = yes] (generated): Likewise.
59808 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
59809 Remove rule.
59810 * intl/Makefile [$(build-bounded) = yes]
59811 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
59812 * math/Makefile [$(build-bounded) = yes]
59813 ($(tests:%=$(objpfx)%-bp): Likewise.
59814 * misc/Makefile [$(build-bounded) = yes]
59815 ($(objpfx)tst-tsearch-bp): Likewise.
59816 * nptl/Makeconfig (bounded-thread-library): Remove variable.
59817 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
59818 Remove dependency.
59819 * string/Makefile (o-objects.ob): Remove variable.
59820 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
59821 (CFLAGS-.ob): Remove variable.
59822 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
59823 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
59824 both definitions of variable.
59825 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
59826 (ASFLAGS-.ob): Remove variable.
59827
59828 2013-02-14 Joseph Myers <joseph@codesourcery.com>
59829
59830 [BZ #13550]
59831 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
59832 Remove __BOUNDED_POINTERS__ from condition.
59833 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
59834 * string/bits/string2.h [!__NO_STRING_INLINES &&
59835 !__BOUNDED_POINTERS__]: Likewise.
59836 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
59837 Likewise.
59838 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
59839 Remove conditional code.
59840 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
59841 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
59842 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
59843 condition.
59844
59845 [BZ #13550]
59846 * csu/libc-start.c: Do not include <bp-sym.h>.
59847 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
59848 * elf/dl-open.c: Do not include <bp-sym.h>.
59849 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
59850 * math/fegetenv.c: Do not include <bp-sym.h>.
59851 (fegetenv): Do not use BP_SYM in versioned symbols.
59852 * nptl/sysdeps/pthread/bits/libc-lockP.h
59853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
59854 <bp-sym.h>.
59855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59856 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
59857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59858 (__pthread_mutex_destroy): Likewise.
59859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59860 (__pthread_mutex_lock): Likewise.
59861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59862 (__pthread_mutex_trylock): Likewise.
59863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59864 (__pthread_mutex_unlock): Likewise.
59865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59866 (__pthread_mutexattr_init): Likewise.
59867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59868 (__pthread_mutexattr_destroy): Likewise.
59869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59870 (__pthread_mutexattr_settype): Likewise.
59871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59872 (__pthread_rwlock_init): Likewise.
59873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59874 (__pthread_rwlock_destroy): Likewise.
59875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59876 (__pthread_rwlock_rdlock): Likewise.
59877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59878 (__pthread_rwlock_tryrdlock): Likewise.
59879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59880 (__pthread_rwlock_wrlock): Likewise.
59881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59882 (__pthread_rwlock_trywrlock): Likewise.
59883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59884 (__pthread_rwlock_unlock): Likewise.
59885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59886 (__pthread_key_create): Likewise.
59887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59888 (__pthread_setspecific): Likewise.
59889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59890 (__pthread_getspecific): Likewise.
59891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
59892 Likewise.
59893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59894 (_pthread_cleanup_push_defer): Likewise.
59895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59896 (_pthread_cleanup_pop_restore): Likewise.
59897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59898 (pthread_setcancelstate): Likewise.
59899 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
59900 <bp-sym.h>.
59901 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
59902 (memchr): Do not use BP_SYM in weak_alias.
59903 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
59904 (fegetenv): Do not use BP_SYM in versioned symbols.
59905 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
59906 (fesetenv): Do not use BP_SYM in versioned symbols.
59907 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59908 (feupdateenv): Do not use BP_SYM in versioned symbols.
59909 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59910 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59911 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
59912 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
59913 (open64): Do not use BP_SYM in weak_alias.
59914 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
59915 (fegetenv): Do not use BP_SYM in versioned symbols.
59916 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
59917 (fesetenv): Do not use BP_SYM in versioned symbols.
59918 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59919 (feupdateenv): Do not use BP_SYM in versioned symbols.
59920 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
59921 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
59922 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
59923 (feraiseexcept): Do not use BP_SYM in versioned symbols.
59924 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59925 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59926 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
59927 <bp-sym.h>.
59928 (__libc_start_main): Do not use BP_SYM.
59929
59930 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
59931
59932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
59933 redundant return line.
59934 (norm): Likewise.
59935 (denorm): Likewise.
59936 (dbl_mp): Likewise.
59937 (sub_magnitudes): Likewise.
59938 (__add): Likewise.
59939 (__sub): Likewise.
59940 (__mul): Likewise.
59941 (__inv): Likewise.
59942 (__dvd): Likewise.
59943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
59944 (norm): Likewise.
59945 (denorm): Likewise.
59946 (dbl_mp): Likewise.
59947 (sub_magnitudes): Likewise.
59948 (__add): Likewise.
59949 (__sub): Likewise.
59950 (__mul): Likewise.
59951 (__inv): Likewise.
59952 (__dvd): Likewise.
59953
59954 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
59955 instead of __mul.
59956 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59957 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
59958 (cc32): Likewise.
59959
59960 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
59961 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
59962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
59963 of __mul for squares.
59964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
59965 function
59966 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
59967 Likewise.
59968 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
59969 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59970
59971 2013-02-13 Joseph Myers <joseph@codesourcery.com>
59972
59973 [BZ #13550]
59974 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
59975 code.
59976 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
59977 prototype or function definition. Rename ubp_* variables and
59978 parameters. Remove argv definitions conditional on
59979 [__BOUNDED_POINTERS__].
59980 * debug/backtrace.c (__backtrace): Do not use __unbounded.
59981 * elf/dl-runtime.c (_dl_fixup): Likewise.
59982 * include/set-hooks.h (RUN_HOOK): Likewise.
59983 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
59984 definition.
59985 * string/strcpy.c (strcpy): Do not use __unbounded.
59986 * sysdeps/generic/frame.h (struct layout): Likewise.
59987 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
59988 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
59989 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
59990 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
59991 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
59992 (__backtrace): Likewise.
59993 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
59994 use __ptrvalue.
59995 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
59996 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
59997 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
59998 Likewise.
59999 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60000 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60001 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60002 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60003 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60004 Do not use __unbounded.
60005 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60006 Rename __unboundedrlimits parameter to rlimits in prototype.
60007 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60008 Do not use __unbounded.
60009 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60010 not use __ptrvalue.
60011 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60012 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60013 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60014 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60015 __ptrvalue or __unbounded.
60016 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60017 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60018 use __unbounded.
60019 (__new_msgctl): Do not use __ptrvalue.
60020 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60021 __unbounded.
60022 (__libc_msgrcv): Do not use __ptrvalue.
60023 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60024 startup_info): Do not use __unbounded.
60025 (__libc_start_main): Likewise. Rename ubp_* variables and
60026 parameters. Remove argv definitions conditional on
60027 [__BOUNDED_POINTERS__].
60028 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60029 __ptrvalue.
60030 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60031 use __unbounded.
60032 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60033 or __ptrvalue.
60034 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60035 use __unbounded.
60036 (__new_shmctl): Do not use __ptrvalue.
60037 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60038 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60039 Likewise.
60040 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60041 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60042 (__libc_sigaction): Likewise.
60043 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60044 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60045 Likewise.
60046 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60047
60048 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
60049
60050 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60051
60052 * string/mempcpy.c: Implement by calling memcpy.
60053
60054 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
60055
60056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60057
60058 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60059 evaluation.
60060
60061 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60062 values in the mantissa.
60063
60064 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60065 minimize writes to Z.
60066 (sub_magnitudes): Simplify code a bit.
60067
60068 2013-02-12 Roland McGrath <roland@hack.frob.com>
60069
60070 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60071 from the message. The linker prefixes all warnings with that already.
60072
60073 2013-02-12 Andreas Schwab <schwab@suse.de>
60074
60075 [BZ #15078]
60076 * posix/regexec.c (extend_buffers): Add parameter min_len.
60077 (check_matching): Pass minimum needed length.
60078 (clean_state_log_if_needed): Likewise.
60079 (get_subexp): Likewise.
60080 * posix/Makefile (tests): Add bug-regex34.
60081 (bug-regex34-ENV): Define.
60082 * posix/bug-regex34.c: New file.
60083
60084 [BZ #11561]
60085 * posix/regcomp.c (parse_bracket_exp): When looking up collating
60086 elements compare against the byte sequence of it, not its name.
60087 * posix/Makefile (tests): Add bug-regex35.
60088 (bug-regex35-ENV): Define.
60089 * posix/bug-regex35.c: New file.
60090
60091 2013-02-11 Tom de Vries <tom@codesourcery.com>
60092
60093 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
60094 comment.
60095 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60096 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60097 (CHECK_EOL): Add undef.
60098
60099 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
60100
60101 * bits/stdlib-bsearch.h: New file.
60102 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60103 * stdlib/stdlib.h: Likewise.
60104
60105 2013-02-11 Roland McGrath <roland@hack.frob.com>
60106
60107 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60108 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60109 declaration.
60110 * manual/search.texi (Array Search Function): Add missing const in
60111 lfind prototype.
60112 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60113 declaration to use rlim_t.
60114 (Basic Scheduling Functions): Remove erroneous const from
60115 sched_getparam prototype. Remove erroneous * from
60116 sched_get_priority_max and sched_get_priority_min prototypes.
60117 (Resource Usage): Fix summary @comment on vtimes to refer to
60118 sys/vtimes.h rather than vtimes.h.
60119 Add missing *s in vtimes prototype.
60120 (Limits on Resources): Fix ulimit prototype to return long int.
60121 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60122 prototypes to use long int rather than double.
60123 (BSD Random): Fix initstate and setstate to use char *, not void *.
60124 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60125 prototype to make second argument 'struct aiocb64 *const[]'.
60126 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60127 (Status of AIO Operations): Remove erroneous const in aio_return and
60128 aio_return64 prototypes.
60129 (Synchronizing I/O): Fix sync prototype to return void.
60130 * manual/startup.texi (Suboptions): Remove an erroneous const in
60131 getsubopt prototype.
60132 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60133 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60134 use size_t rather than int.
60135 (Scanning All Users): Likewise for getpwent_r.
60136 (Setting Groups): Add missing const to setgroups prototype.
60137 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60138 * manual/socket.texi (Host Names): Fix gethostbyaddr and
60139 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60140 'const void *' rather than 'const char *'.
60141 (Host Address Functions): Likewise for inet_ntop.
60142 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60143 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60144 ssize_t for return value.
60145 (Sending Data): Likewise for send, sendto, sendmsg.
60146 (Socket Option Functions): Add a missing const in setsockopt prototype.
60147 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60148 use wchar_t for the argument.
60149 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60150 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60151 take no arguments.
60152 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60153 double/float/long double for second argument.
60154 Fix return types of significand, significandf, significandl.
60155 * manual/filesys.texi (Setting Permissions): Use mode_t for second
60156 argument in fchmod prototype.
60157 (File Owner): Use uid_t and gid_t in fchown prototype.
60158 (File Times): Add const to utimes, futimes, and lutimes prototypes.
60159 (Making Special Files): Use mode_t and dev_t in mknod prototype.
60160 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60161 use 'const struct dirent **' as argument types to CMP function pointer
60162 argument.
60163 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60164 (File Times): Fix summary magic @comment for struct utimbuf and utime
60165 to refer to utime.h, not time.h.
60166 * manual/string.texi (Argz Functions): Add missing const in
60167 argz_extract and argz_next prototypes.
60168 (Finding Tokens in a String): Likewise for basename.
60169 (String/Array Comparison): Fix typo in wcscasecmp prototype.
60170 (Copying and Concatenation): Fix typo in wmemmove prototype.
60171 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60172 (Signal Stack): Remove erroneous const in sigstack prototype.
60173 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60174 prototype.
60175 (Simple Calendar Time): Likewise for stime.
60176 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60177 prototype.
60178 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60179 say sys/sysctl.h instead.
60180 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60181 and vsyslog prototypes.
60182
60183 2013-02-11 Tom de Vries <tom@codesourcery.com>
60184
60185 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60186 Remove.
60187
60188 2013-02-11 Roland McGrath <roland@hack.frob.com>
60189
60190 * misc/sys/mman.h: Fix typo in mremap comment.
60191
60192 2013-02-08 Roland McGrath <roland@hack.frob.com>
60193
60194 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60195 the '\0' terminator.
60196
60197 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60198
60199 [BZ #13550]
60200 * debug/segfault.c: Don't include <bp-checks.h>.
60201 * sysdeps/generic/bp-checks.h: Remove file.
60202 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60203 (__GETDENTS): Don't use CHECK_N.
60204 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60205 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60206 (__getgroups): Don't use CHECK_N.
60207 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60208 (setgroups): Don't use CHECK_N.
60209 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60210 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60211 (__libc_msgrcv): Don't use CHECK_N.
60212 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60213 (__libc_msgsnd): Don't use CHECK_N.
60214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60215 <bp-checks.h>.
60216 (__libc_pread): Don't use CHECK_N.
60217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60218 include <bp-checks.h>.
60219 (__libc_pread64): Don't use CHECK_N.
60220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60221 include <bp-checks.h>.
60222 (__libc_pwrite): Don't use CHECK_N.
60223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60224 include <bp-checks.h>.
60225 (__libc_pwrite64): Don't use CHECK_N.
60226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60227 <bp-checks.h>.
60228 (__libc_pread): Don't use CHECK_N.
60229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60230 include <bp-checks.h>.
60231 (__libc_pread64): Don't use CHECK_N.
60232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60233 include <bp-checks.h>.
60234 (__libc_pwrite): Don't use CHECK_N.
60235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60236 include <bp-checks.h>.
60237 (__libc_pwrite64): Don't use CHECK_N.
60238 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60239 (do_pread): Don't use CHECK_N.
60240 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60241 (do_pread64): Don't use CHECK_N.
60242 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60243 (do_pwrite): Don't use CHECK_N.
60244 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60245 (do_pwrite64): Don't use CHECK_N.
60246 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60247 (__libc_readv): Don't use CHECK_N.
60248 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60249 (semop): Don't use CHECK_N.
60250 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60251 <bp-checks.h>.
60252 (semtimedop): Don't use CHECK_N.
60253 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60254 (__libc_pread): Don't use CHECK_N.
60255 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60256 <bp-checks.h>.
60257 (__libc_pread64): Don't use CHECK_N.
60258 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60259 <bp-checks.h>.
60260 (__libc_pwrite): Don't use CHECK_N.
60261 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60262 <bp-checks.h>.
60263 (__libc_pwrite64): Don't use CHECK_N.
60264 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60265 <bp-checks.h>.
60266 (__libc_msgrcv): Don't use CHECK_N.
60267 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60268 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
60269 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60270 (__libc_writev): Don't use CHECK_N.
60271
60272 2013-02-08 Roland McGrath <roland@hack.frob.com>
60273
60274 * string/strcpy.c: Removed unused variable.
60275
60276 * Makeconfig (+sysdep-includes): Define with := rather than =.
60277 Use an existing include/ subdir of each sysdeps dir before it.
60278
60279 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60280
60281 * nscd/connection.c (register_traced_file): Comment function.
60282 [HAVE_INOTIFY] (union __inev): Define.
60283 [HAVE_INOTIFY] (inotify_check_files): New function.
60284 [HAVE_INOTIFY] (clear_db_cache): Likewise.
60285 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60286 clear_db_cache.
60287 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60288
60289 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60290
60291 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60292 loaded if not already and that a failure is permanent.
60293
60294 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60295
60296 [BZ #15006]
60297 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60298 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60299
60300 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60301
60302 [BZ #13550]
60303 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60304 (CHECK_1_NULL_OK): Likewise.
60305 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60306 (__fxstat): Do not use CHECK_1.
60307 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60308 <bp-checks.h>.
60309 (___fxstat64): Do not use CHECK_1.
60310 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60311 <bp-checks.h>.
60312 (__fxstatat): Do not use CHECK_1.
60313 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60314 <bp-checks.h>.
60315 (__fxstatat64): Do not use CHECK_1.
60316 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60317 <bp-checks.h>.
60318 (__fxstat): Do not use CHECK_1.
60319 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60320 <bp-checks.h>.
60321 (__fxstatat): Do not use CHECK_1.
60322 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60323 <bp-checks.h>.
60324 (__getresgid): Do not use CHECK_1.
60325 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60326 <bp-checks.h>.
60327 (__getresuid): Do not use CHECK_1.
60328 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60329 <bp-checks.h>.
60330 (__lxstat): Do not use CHECK_1.
60331 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60332 <bp-checks.h>.
60333 (__old_msgctl): Do not use CHECK_1.
60334 (__new_msgctl): Likewise.
60335 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60336 <bp-checks.h>.
60337 (__new_setrlimit): Do not use CHECK_1.
60338 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60339 <bp-checks.h>.
60340 (__old_shmctl): Do not use CHECK_1.
60341 (__new_shmctl): Likewise.
60342 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60343 <bp-checks.h>.
60344 (__xstat): Do not use CHECK_1.
60345 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60346 (__lxstat): Do not use CHECK_1.
60347 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60348 <bp-checks.h>.
60349 (___lxstat64): Do not use CHECK_1.
60350 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60351 (__old_msgctl): Do not use CHECK_1.
60352 (__new_msgctl): Likewise.
60353 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60354 <bp-checks.h>.
60355 (__gettimeofday): Do not use CHECK_1.
60356 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60357 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60358 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60359 <bp-checks.h>.
60360 (__gettimeofday): Do not use CHECK_1.
60361 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60362 (__old_shmctl): Do not use CHECK_1_NULL_OK.
60363 (__new_shmctl): Do not use CHECK_1.
60364 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60365 <bp-checks.h>.
60366 (do_sigtimedwait): Do not use CHECK_1.
60367 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60368 <bp-checks.h>.
60369 (do_sigwaitinfo): Do not use CHECK_1.
60370 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60371 <bp-checks.h>.
60372 (msgctl): Do not use CHECK_1.
60373 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60374 <bp-checks.h>.
60375 (shmctl): Do not use CHECK_1.
60376 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60377 (ustat): Do not use CHECK_1.
60378 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60379 <bp-checks.h>.
60380 (__fxstat): Do not use CHECK_1.
60381 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60382 <bp-checks.h>.
60383 (__fxstatat): Do not use CHECK_1.
60384 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60385 <bp-checks.h>.
60386 (__lxstat): Do not use CHECK_1.
60387 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60388 <bp-checks.h>.
60389 (__xstat): Do not use CHECK_1.
60390 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60391 (__xstat): Do not use CHECK_1.
60392 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60393 (___xstat64): Do not use CHECK_1.
60394
60395 [BZ #13550]
60396 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60397 definitions.
60398 (CHECK_BOUNDS_HIGH): Likewise.
60399 * string/strcpy.c: Do not include <bp-checks.h>.
60400 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60401
60402 2013-02-07 Roland McGrath <roland@hack.frob.com>
60403
60404 * nscd/nscd-client.h (__nscd_drop_map_ref):
60405 Add __attribute__ ((unused)).
60406 * nis/nss-nisplus.h (niserr2nss): Likewise.
60407
60408 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60409 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60410
60411 * csu/libc-tls.c (init_static_tls, init_slotinfo):
60412 Remove inline keyword.
60413 * include/rounding-mode.h (round_away): Likewise.
60414 * libio/wfileops.c (adjust_wide_data): Likewise.
60415 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60416 (__m128i_strloadu_tolower): Likewise.
60417 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60418 (__m128i_strloadu_tolower): Likewise.
60419 * time/mktime.c (ydhms_diff): Likewise.
60420 * locale/elem-hash.h (elem_hash): Likewise.
60421 * locale/setlocale.c (setdata): Likewise.
60422 * posix/regex_internal.h (re_string_char_size_at): Likewise.
60423 (re_string_wchar_at): Likewise.
60424 (bitset_not, bitset_merge, bitset_mask): Likewise.
60425 [!(__GNUC__ > 3)] (inline): Remove macro.
60426 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60427 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60428 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60429 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60430 * string/memcmp.c (memcmp_bytes): Likewise.
60431 * locale/programs/locarchive.c (compute_hashval): Likewise.
60432 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60433 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60434 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60435 * nss/getent.c (print_rpc, print_protocols): Likewise.
60436 (print_passwd, print_group, print_aliases): Likewise.
60437 * nis/nss-nisplus.h (niserr2nss): Likewise.
60438 * nscd/connections.c (restart_p): Likewise.
60439 Change return type to bool.
60440
60441 2013-02-05 Roland McGrath <roland@hack.frob.com>
60442
60443 * Makeconfig (all-Depend-files): Add existing
60444 $(sorted-subdirs:=/Depend) files.
60445 (all-subdirs): Remove nss.
60446 * sysdeps/unix/inet/Subdirs: Add it here instead.
60447 * hesiod/Depend: New file.
60448
60449 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
60450 instead of calling alloca.
60451
60452 * io/lseek.c (__lseek): Rename to __libc_lseek.
60453 Define __lseek as an alias.
60454
60455 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
60456
60457 2013-02-04 Carlos O'Donell <carlos@redhat.com>
60458
60459 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
60460 else clause and remove check for non-standard endianness.
60461
60462 2013-02-04 David S. Miller <davem@davemloft.net>
60463
60464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60465
60466 2013-02-04 Joseph Myers <joseph@codesourcery.com>
60467
60468 [BZ #13550]
60469 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
60470 (__ubp_memchr): Remove prototype.
60471 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
60472 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60473 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
60474 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60475 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
60476 Remove alias.
60477 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
60478 (__ubp_memchr): Likewise.
60479 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
60480 (__ubp_memchr): Likewise.
60481 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
60482 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
60483 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
60484 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
60485 CHECK_STRING.
60486 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
60487 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
60488 (__getcwd): Do not use CHECK_STRING.
60489 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60490 <bp-checks.h>.
60491 (__real_chown): Do not use CHECK_STRING.
60492 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
60493 <bp-checks.h>.
60494 (fchownat): Do not use CHECK_STRING.
60495 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
60496 CHECK_STRING.
60497 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60498 <bp-checks.h>.
60499 (__lchown): Do not use CHECK_STRING.
60500 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60501 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60502 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60503 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
60504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60505 include <bp-checks.h>.
60506 (truncate64): Do not use CHECK_STRING.
60507 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60508 <bp-checks.h>.
60509 (__real_chown): Do not use CHECK_STRING.
60510 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60511 <bp-checks.h>.
60512 (__lchown): Do not use CHECK_STRING.
60513 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60514 <bp-checks.h>.
60515 (__chown): Do not use CHECK_STRING.
60516 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
60517 <bp-checks.h>.
60518 (truncate64): Do not use CHECK_STRING.
60519 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
60520 Likewise.
60521 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
60522 (__xmknod): Do not use CHECK_STRING.
60523 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
60524 <bp-checks.h>.
60525 (__xmknodat): Do not use CHECK_STRING.
60526 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60527 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
60528
60529 2013-02-04 Andreas Schwab <schwab@suse.de>
60530
60531 [BZ #14142]
60532 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
60533 * include/netdb.h: Likewise for h_errno.
60534 * elf/tst-stackguard1.c: Include <tls.h>.
60535
60536 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
60537
60538 * elf/link.h (struct link_map): Extend the l_addr comment.
60539 * include/link.h (struct link_map): Likewise.
60540
60541 2013-02-01 Joseph Myers <joseph@codesourcery.com>
60542
60543 [BZ #13550]
60544 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
60545 (BOUNDED_1): Remove macro.
60546 * debug/backtrace.c: Don't include <bp-checks.h>.
60547 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
60548 (__backtrace): Likewise.
60549 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
60550 <bp-checks.h>.
60551 (__backtrace): Don't use BOUNDED_1.
60552 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
60553 <bp-checks.h>.
60554 (__backtrace): Don't use BOUNDED_1.
60555 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
60556 (__backtrace): Don't use BOUNDED_1.
60557 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
60558 (shmat): Don't use BOUNDED_N.
60559
60560 2013-01-31 Joseph Myers <joseph@codesourcery.com>
60561
60562 [BZ #13550]
60563 * sysdeps/generic/bp-start.h: Remove file.
60564 * csu/libc-start.c: Don't include <bp-start.h>.
60565 (LIBC_START_MAIN): Set up __environ directly instead of using
60566 INIT_ARGV_and_ENVIRON.
60567 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
60568 <bp-start.h>.
60569
60570 [BZ #13550]
60571 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
60572 definitions.
60573 (CHECK_FCNTL): Likewise.
60574 (CHECK_N_PAGES): Likewise.
60575
60576 [BZ #13550]
60577 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
60578 definitions.
60579 (CHECK_SIGSET_NULL_OK): Likewise.
60580 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
60581 <bp-checks.h>.
60582 (sigpending): Don't use CHECK_SIGSET.
60583 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
60584 <bp-checks.h>.
60585 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60586 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
60587 <bp-checks.h>.
60588 (do_sigsuspend): Don't use CHECK_SIGSET.
60589 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
60590 use CHECK_SIGSET.
60591 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
60592 (do_sigwait): Don't use CHECK_SIGSET.
60593 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
60594 use CHECK_SIGSET.
60595 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
60596 include <bp-checks.h>.
60597 (sigpending): Don't use CHECK_SIGSET.
60598 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
60599 include <bp-checks.h>.
60600 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60601 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
60602 <bp-checks.h>.
60603 (sigpending): Don't use CHECK_SIGSET.
60604 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
60605 <bp-checks.h>.
60606 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60607
60608 [BZ #13550]
60609 * sysdeps/generic/bp-semctl.h: Remove file.
60610 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
60611 <bp-checks.h> and <bp-semctl.h>.
60612 (__old_semctl): Don't use CHECK_SEMCTL.
60613 (__new_semctl): Likewise.
60614 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
60615 and <bp-semctl.h>.
60616 (__old_semctl): Don't use CHECK_SEMCTL.
60617 (__new_semctl): Likewise.
60618 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
60619 <bp-checks.h> and <bp-semctl.h>.
60620 (__old_semctl): Don't use CHECK_SEMCTL.
60621 (__new_semctl): Likewise.
60622 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
60623 <bp-checks.h> and <bp-semctl.h>.
60624 (semctl): Don't use CHECK_SEMCTL.
60625
60626 [BZ #13550]
60627 * Makerules (elide-bp-thunks): Remove variable.
60628 (elide-routines.oS): Don't use $(elide-bp-thunks).
60629 (elide-routines.os): Likewise.
60630 (elide-routines.o): Likewise.
60631 (elide-routines.op): Likewise.
60632 (elide-routines.og): Likewise.
60633 (objects): Don't use $(bp-thunks).
60634 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
60635 include.
60636 (common-generated): Do not add s-proto-bp.d.
60637 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
60638 (int): Likewise.
60639 (typ): Likewise.
60640 Do not generate makefile rules for bounded-pointer thunks.
60641 * sysdeps/generic/bp-thunks.h: Remove file.
60642 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
60643 * sysdeps/unix/s-proto-bp.S: Likewise.
60644
60645 [BZ #15062]
60646 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
60647 parts of result separately when argument is not close to line from
60648 -i to i and one part of argument is small.
60649 * math/k_casinhf.c (__kernel_casinhf): Likewise.
60650 * math/k_casinhl.c (__kernel_casinhl): Likewise.
60651 * math/libm-test.inc (cacos_test): Add more tests.
60652 (casin_test): Likewise.
60653 (casinh_test): Likewise.
60654 * sysdeps/i386/fpu/libm-test-ulps: Update.
60655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60656
60657 2013-01-31 David S. Miller <davem@davemloft.net>
60658
60659 * po/de.po: Update from translation team.
60660
60661 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
60662
60663 * time/tzfile.c: Include stdint.h for SIZE_MAX.
60664
60665 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
60666
60667 * configure.in (_AC_PROG_CC_C89): New definition.
60668 * configure: Regenerate.
60669
60670 * configure.in (AC_PROG_CPP): New definition.
60671 * configure: Regenerate.
60672
60673 2013-01-23 Joseph Myers <joseph@codesourcery.com>
60674
60675 * debug/tst-backtrace.h: New file.
60676 * debug/tst-backtrace2.c: Include tst-backtrace.h.
60677 (ret): Remove variable.
60678 (x): Likewise.
60679 (FAIL): Remove macro.
60680 (NO_INLINE): Likewise.
60681 (fn1): Use match function instead of strstr.
60682 * debug/tst-backtrace3.c: Include tst-backtrace.h.
60683 (ret): Remove variable.
60684 (x): Likewise.
60685 (FAIL): Remove macro.
60686 (NO_INLINE): Likewise.
60687 (fn): Use match function instead of strstr.
60688 * debug/tst-backtrace4.c: Include tst-backtrace.h.
60689 (ret): Remove variable.
60690 (x): Likewise.
60691 (FAIL): Remove macro.
60692 (NO_INLINE): Likewise.
60693 (handle_signal): Use match function instead of strstr.
60694 * debug/tst-backtrace5.c: Include tst-backtrace.h.
60695 (ret): Remove variable.
60696 (x): Likewise.
60697 (FAIL): Remove macro.
60698 (NO_INLINE): Likewise.
60699 (handle_signal): Use match function instead of strstr.
60700
60701 2013-01-23 Roland McGrath <roland@hack.frob.com>
60702
60703 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
60704
60705 2013-01-23 David S. Miller <davem@davemloft.net>
60706
60707 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
60708 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
60709 argument of CAS if possible.
60710 * sysdeps/sparc/sparc64/bits/atomic.h
60711 (__arch_compare_and_exchange_val_32_acq): Likewise.
60712 (__arch_compare_and_exchange_val_64_acq): Likewise.
60713
60714 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
60715
60716 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
60717 * sysdeps/posix/ulimit.c: ... this.
60718 Include <limits.h>.
60719 * sysdeps/unix/bsd/ulimit.c: Remove file.
60720
60721 2013-01-23 Adam Conrad <adconrad@0c3.net>
60722
60723 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
60724 (LDFLAGS-tst-array5): Likewise.
60725
60726 2013-01-23 Joseph Myers <joseph@codesourcery.com>
60727
60728 [BZ #15036]
60729 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
60730 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
60731 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
60732 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
60733
60734 2013-01-21 David S. Miller <davem@davemloft.net>
60735
60736 * sysdeps/sparc/backtrace.c: New file.
60737 * sysdeps/sparc/sparc32/backtrace.h: New file.
60738 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
60739 * sysdeps/sparc/sparc64/backtrace.h: New file.
60740 * sysdeps/sparc/sparc64/backtrace.c: Delete.
60741 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
60742 -funwind-tables.
60743
60744 2013-01-21 Andreas Schwab <schwab@suse.de>
60745
60746 [BZ #15020]
60747 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
60748 closed its stdout.
60749
60750 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
60751
60752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
60753 "mpa2.h".
60754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60755
60756 2013-01-18 Joseph Myers <joseph@codesourcery.com>
60757 Mark Mitchell <mark@codesourcery.com>
60758 Tom de Vries <tom@codesourcery.com>
60759 Paul Pluzhnikov <ppluzhnikov@google.com>
60760
60761 * debug/tst-backtrace2.c: New file.
60762 * debug/tst-backtrace3.c: Likewise.
60763 * debug/tst-backtrace4.c: Likewise.
60764 * debug/tst-backtrace5.c: Likewise.
60765 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
60766 (CFLAGS-tst-backtrace3.c): Likewise.
60767 (CFLAGS-tst-backtrace4.c): Likewise.
60768 (CFLAGS-tst-backtrace5.c): Likewise.
60769 (LDFLAGS-tst-backtrace2): Likewise.
60770 (LDFLAGS-tst-backtrace3): Likewise.
60771 (LDFLAGS-tst-backtrace4): Likewise.
60772 (LDFLAGS-tst-backtrace5): Likewise.
60773 (tests): Add new tests tst-backtrace2, tst-backtrace3,
60774 tst-backtrace4 and tst-backtrace5.
60775
60776 2013-01-18 Anton Blanchard <anton@samba.org>
60777 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
60778
60779 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
60780 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
60781 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
60782 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
60783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60784 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
60785 "+r" and remove output regs list as redundant. Add explicit inline
60786 asm to specify register of return val to work around compiler codegen
60787 bug. Remove (int) cast on return value. Add return type parameter to
60788 use in macro so that this macro does not truncate return value for
60789 64-bit values.
60790 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
60791 pass to INTERNAL_VSYSCALL_NCS.
60792 (INLINE_VSYSCALL): Add 'long int' as return type to
60793 INTERNAL_VSYSCALL_NCS macro invocation.
60794 (INTERNAL_VSYSCALL): Add 'long int' as return type to
60795 INTERNAL_VSYSCALL_NCS macro invocation.
60796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60797
60798 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60799
60800 [BZ #14496]
60801 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
60802 Fix application of SIMD FP exception mask.
60803
60804 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
60805 mp_no from a power of two.
60806 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
60807 __mpexp_twomm1. Use __pow_mp.
60808
60809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
60810 multiplication.
60811
60812 2013-01-17 David S. Miller <davem@davemloft.net>
60813
60814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60815
60816 2013-01-17 Joseph Myers <joseph@codesourcery.com>
60817
60818 [BZ #15023]
60819 * include/complex.h: Condition contents on [!_COMPLEX_H].
60820 (__kernel_casinhf): New prototype.
60821 (__kernel_casinh): Likewise.
60822 (__kernel_casinhl): Likewise.
60823 * math/Makefile (libm_calls): Add k_casinh.
60824 * math/k_casinh.c: New file.
60825 * math/k_casinhf.c: Likewise.
60826 * math/k_casinhl.c: Likewise.
60827 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
60828 finite nonzero arguments.
60829 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
60830 finite nonzero arguments.
60831 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
60832 finite nonzero arguments.
60833 * math/s_casinh.c: Do not include <float.h>.
60834 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
60835 * math/s_casinhf.c: Do not include <float.h>.
60836 (__casinhf): Move code for finite nonzero arguments to
60837 k_casinhf.c.
60838 * math/s_casinhl.c: Do not include <float.h>.
60839 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
60840 redefine.
60841 (__casinhl): Move code for finite nonzero arguments to
60842 k_casinhl.c.
60843 * math/libm-test.inc (cacos_test): Add more tests.
60844 * sysdeps/i386/fpu/libm-test-ulps: Update.
60845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60846
60847 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
60848
60849 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
60850 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
60851 [!HAVE_MREMAP]: Remove [defined linux] case.
60852 * malloc/arena.c: Do not include <malloc-sysdep.h>.
60853
60854 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
60855
60856 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60857
60858 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
60859
60860 * elf/elf.h (R_386_SIZE32): New relocation.
60861 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
60862 R_386_SIZE32.
60863 (elf_machine_rela): Likewise.
60864 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60865 R_X86_64_SIZE64 and R_X86_64_SIZE32.
60866
60867 2013-01-17 Joseph Myers <joseph@codesourcery.com>
60868
60869 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
60870 (FP_FAST_FMA): Do not define.
60871 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
60872 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
60873 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
60874 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
60875 !_SOFT_FLOAT]: Likewise.
60876 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
60877 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
60878 value.
60879 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
60880 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
60881 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
60882 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
60883 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
60884 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
60885 file.
60886
60887 2013-01-16 Andreas Schwab <schwab@suse.de>
60888
60889 [BZ #14327]
60890 * include/stdlib.h (__mktemp): Add declaration.
60891 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
60892 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
60893
60894 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
60895
60896 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
60897 definitions.
60898 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60899 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
60900 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
60901 definitions here.
60902 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
60903 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
60904 definitions.
60905 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
60906 and ONE.
60907 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
60908 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
60909 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
60910 definitions.
60911 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
60912 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60913 definitions.
60914 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60915
60916 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
60917
60918 2013-01-15 David S. Miller <davem@davemloft.net>
60919
60920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60921 trunc{,f} to libm-sysdep_routes.
60922 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
60924 file.
60925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
60926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
60927 file.
60928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
60929 file.
60930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
60931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
60932 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
60933 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
60934 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
60935 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
60936 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
60937 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
60938
60939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60940 nearbyint{,f} to libm-sysdep_routes.
60941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
60943 New file.
60944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
60945 file.
60946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
60947 New file.
60948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
60949 file.
60950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
60951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
60952 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
60953 file.
60954 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
60955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
60956 file.
60957 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
60958 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
60959 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
60960
60961 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60962 libc_feholdexcept and libc_fesetenv.
60963
60964 2013-01-15 Mike Frysinger <vapier@gentoo.org>
60965
60966 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
60967
60968 2013-01-14 David S. Miller <davem@davemloft.net>
60969
60970 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
60971 (SPARC_ASM_VIS2_IFUNC): Likewise.
60972 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
60974 use of 'siam' instruction.
60975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
60976 Likewise.
60977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
60978 Likewise.
60979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
60980 Likewise.
60981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
60982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
60983 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
60984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
60985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
60986 file.
60987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
60988 file.
60989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
60990 file.
60991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
60992 file.
60993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
60994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
60995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
60996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
60997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
60998 new VIS2 routines.
60999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61002 Likewise.
61003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61008 routines to libm-sysdep_routines.
61009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61010
61011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61012 fdim/fdimf to libm-sysdep_routines.
61013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61014 file.
61015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61017 file.
61018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61021 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61022 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61023 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61024 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61025
61026 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
61027
61028 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61029 to optimize copies.
61030
61031 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61034
61035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61036 local variable MPTWO.
61037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61038 Likewise.
61039
61040 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61041
61042 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61043 GLOB_NOESCAPE.
61044
61045 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61046
61047 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61048
61049 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61050
61051 * manual/pattern.texi (glob_t): Document gl_flags.
61052 (glob64_t): Likewise.
61053
61054 2013-01-11 David S. Miller <davem@davemloft.net>
61055
61056 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61057 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61058 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
61059 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61060 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61061 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61062 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61063 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61064 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61065 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61066 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61067 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61068 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61069
61070 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61071 sparc V9 rather than using V8 code.
61072 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61073 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61074
61075 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61076 Move to...
61077 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61078 Here.
61079
61080 2013-01-11 Roland McGrath <roland@hack.frob.com>
61081
61082 [BZ #14941]
61083 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61084 not in the main loop.
61085 * configure: Regenerated.
61086
61087 2013-01-11 Joseph Myers <joseph@codesourcery.com>
61088
61089 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61090 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61091 to just #else.
61092 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
61093 [!__GLIBC_HAVE_LONG_LONG] case.
61094 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61095 condition to just #else.
61096 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61097 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61098 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61099 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61100 unconditional.
61101 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61102 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61103 #elif condition to just #else.
61104 * sysdeps/unix/sysv/linux/sys/sysmacros.h
61105 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61106 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61107 #elif condition to just #else.
61108
61109 2013-01-11 Steve Ellcey <sellcey@mips.com>
61110
61111 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61112 (EF_MIPS_ARCH_64): Fix value.
61113 (EF_MIPS_ARCH_32R2): New.
61114 (EF_MIPS_ARCH_64R2): New.
61115
61116 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
61117
61118 * Makeconfig (+link-pie-before-libc): New.
61119 (+link-pie-after-libc): Likewise.
61120 (+link-pie-tests): Likewise.
61121 (+link-pie): Rewritten.
61122 (link-before-libc): Remove $(config-LDFLAGS).
61123 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61124 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61125 (config-LDFLAGS): Renamed to ...
61126 (rtld-LDFLAGS): This.
61127 (rtld-tests-LDFLAGS): New macro.
61128 (link-libc-rpath-link): Likewise.
61129 (link-libc-tests-rpath-link): Likewise.
61130 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61131 (link-libc): Prepand $(link-libc-rpath-link).
61132 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61133 (test-program-prefix): New macro.
61134 (test-via-rtld-prefix): Likewise.
61135 (test-program-cmd): Likewise.
61136 (host-test-program-cmd): Likewise.
61137 * Makefile ($(common-objpfx)testrun.sh): Replace
61138 $(run-program-prefix) with $(test-program-prefix).
61139 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61140 $(rtld-LDFLAGS).
61141 ($(common-objpfx)shlib.lds): Likewise.
61142 (build-module-helper): Likewise.
61143 ($(common-objpfx)format.lds): Likewise.
61144 * Rules (binaries-pie-tests): New.
61145 (binaries-pie-notests): Likewise.
61146 (binaries-pie): Rewritten.
61147 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61148 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61149 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61150 (make-test-out): Replace $(host-built-program-cmd) with
61151 $(host-test-program-cmd).
61152 * config.make.in (build-hardcoded-path-in-tests): New variable.
61153 * configure.in (--enable-hardcoded-path-in-tests): New configure
61154 option.
61155 (hardcoded_path_in_tests): New AC_SUBST.
61156 * configure: Regenerated.
61157 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61158 $(built-program-cmd) with $(test-program-cmd).
61159 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61160 (test_program_cmd): This.
61161 * elf/Makefile ($(objpfx)order.out): Run test with
61162 $(test-program-prefix).
61163 ($(objpfx)order2.out): Likewise.
61164 ($(objpfx)tst-initorder.out): Likewise.
61165 ($(objpfx)tst-initorder2.out): Likewise.
61166 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61167 $(test-program-cmd).
61168 ($(objpfx)tst-array1-static.out): Likewise.
61169 ($(objpfx)tst-array2.out): Likewise.
61170 ($(objpfx)tst-array3.out): Likewise.
61171 ($(objpfx)tst-array4.out): Likewise.
61172 ($(objpfx)tst-array5.out): Likewise.
61173 ($(objpfx)tst-array5-static.out): Likewise.
61174 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61175 $(test-program-cmd).
61176 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61177 $(run-program-prefix) with $(test-program-prefix).
61178 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61179 (test_program_prefix): This.
61180 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61181 $(run-program-prefix) with $(test-program-prefix).
61182 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61183 (test_program_prefix): This.
61184 * iconvdata/tst-tables.sh: Likewise.
61185 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61186 $(run-program-prefix) with $(test-program-prefix).
61187 ($(objpfx)tst-translit.out): Likewise.
61188 ($(objpfx)tst-gettext2.out): Likewise.
61189 ($(objpfx)tst-gettext4.out): Likewise.
61190 ($(objpfx)tst-gettext6.out): Likewise.
61191 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61192 (test_program_prefix): This.
61193 * intl/tst-gettext2.sh: Likewise.
61194 * intl/tst-gettext4.sh Likewise.
61195 * intl/tst-gettext6.sh: Likewise.
61196 * intl/tst-translit.sh: Likewise.
61197 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61198 with $(test-program-cmd).
61199 * libio/Makefile ($(objpfx)test-freopen.out): Replace
61200 $(run-program-prefix) with $(test-program-prefix).
61201 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61202 (test_program_prefix): This.
61203 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61204 $(run-program-prefix) with $(test-program-prefix).
61205 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61206 (test_program_prefix): This.
61207 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61208 * posix/Makefile ($(objpfx)globtest.out): Replace
61209 $(run-via-rtld-prefix) and $(test-wrapper) with
61210 $(test-program-prefix) and $(test-via-rtld-prefix).
61211 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61212 $(test-program-prefix).
61213 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61214 $(host-test-program-cmd).
61215 (tst-spawn-ARGS): Likewise.
61216 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61217 $(test-program-prefix).
61218 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61219 (test_via_rtld_prefix): This.
61220 (test_wrapper): Renamed to ...
61221 (test_program_prefix): This.
61222 (run_program_prefix): Replaced by test_program_prefix.
61223 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61224 (test_program_prefix): This.
61225 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61226 with $(host-test-program-cmd).
61227 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61228 $(run-program-prefix) with $(test-program-prefix).
61229 ($(objpfx)tst-printf.out): Likewise.
61230 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61231 $(test-program-cmd).
61232 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61233 (test_program_prefix): This.
61234 * stdio-common/tst-unbputc.sh: Likewise.
61235 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61236 $(run-program-prefix) with $(test-program-prefix).
61237 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61238 (test_program_prefix): This.
61239 * string/Makefile ($(objpfx)tst-svc.out): Replace
61240 $(built-program-cmd) with $(test-program-cmd).
61241
61242 2013-01-11 Andreas Jaeger <aj@suse.de>
61243
61244 [BZ #15003]
61245 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61246 value. Sync with Linux 3.7.
61247
61248 2013-01-10 David S. Miller <davem@davemloft.net>
61249
61250 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61251 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61252 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61253
61254 2013-01-10 Roland McGrath <roland@hack.frob.com>
61255
61256 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61257 never set.
61258 * configure: Regenerated.
61259
61260 2013-01-10 David S. Miller <davem@davemloft.net>
61261
61262 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61263 sparc V9 rather than using V8 code.
61264 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61265 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61266
61267 2013-01-10 Roland McGrath <roland@hack.frob.com>
61268
61269 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61270 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61271 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61272 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61273 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61274 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61275 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61276 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61277 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61278 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61279 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61280 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61281 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61282 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61283 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61284 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61285 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61286 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61287 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61288 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61289 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61290 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61291 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61292 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61293 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61294 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61295 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61296
61297 2013-01-10 David S. Miller <davem@davemloft.net>
61298
61299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61300
61301 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61302
61303 * posix/Makefile (tests-static): New variable.
61304 (tests): Add $(tests-static).
61305 (tst-exec-static-ARGS): New variable.
61306 (tst-spawn-static-ARGS): Likewise.
61307 * posix/tst-exec-static.c: New file.
61308 * posix/tst-spawn-static.c: Likewise.
61309 * posix/tst-exec.c: Support run directly.
61310 * posix/tst-spawn.c: Likewise.
61311
61312 2013-01-10 Joseph Myers <joseph@codesourcery.com>
61313
61314 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61315 long.
61316 * math/bits/mathcalls.h (llrint): Likewise.
61317 (llround): Likewise.
61318 * stdlib/stdlib.h (struct drand48_data): Likewise.
61319 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61320 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61321 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61322 Likewise.
61323 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61324 Likewise.
61325 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61326 (elf_greg_t): Likewise.
61327 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61328 (__jmp_buf): Likewise.
61329 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61330 definitions.
61331 (llrint): Likewise, for all definitions.
61332 (llrintl): Likewise.
61333
61334 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61335 Remove [__GNUC__] condition.
61336 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61337 condition to just [__USE_ISOC99].
61338 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61339
61340 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61341
61342 [BZ #14200]
61343 * sysdeps/unix/sysv/linux/x86/bits/environments.h
61344 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61345 defined.
61346 (_POSIX_V6_ILP32_OFF32): Likewise.
61347 (_XBS5_ILP32_OFF32): Likewise.
61348 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61349 (__ILP32_OFFBIG_LDFLAGS): Likewise.
61350
61351 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61352
61353 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61354
61355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61356 doubles __mpexp_twomm1. Adjust usage.
61357 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61358 Remove.
61359
61360 2013-01-10 Andreas Schwab <schwab@suse.de>
61361
61362 [BZ #14964]
61363 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61364 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61365
61366 2013-01-09 David S. Miller <davem@davemloft.net>
61367
61368 [BZ #15003]
61369 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61370 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61371 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61372 (TCP_FASTOPEN): Define.
61373 (tcp_repair_opt): New structure.
61374 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61375 enum values.
61376 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61377 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61378 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61379 (tcp_cookie_transactions): New structure.
61380
61381 2013-01-09 Anton Blanchard <anton@samba.org>
61382
61383 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61384 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61385 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61386 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61387
61388 2013-01-09 Joseph Myers <joseph@codesourcery.com>
61389
61390 * include/features.h (__USE_ANSI): Remove.
61391
61392 2013-01-09 Roland McGrath <roland@hack.frob.com>
61393
61394 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61395
61396 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61397
61398 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
61399
61400 * sysdeps/s390/fpu/libm-test-ulps: Update.
61401
61402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61403
61404 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61405 (__acr): Likewise.
61406 (__cpy): Likewise.
61407 (norm): Likewise.
61408 (denorm): Likewise.
61409 (__mp_dbl): Likewise.
61410 (__dbl_mp): Likewise.
61411 (add_magnitudes): Likewise.
61412 (sub_magnitudes): Likewise.
61413 (__add): Likewise.
61414 (__sub): Likewise.
61415 (__mul): Likewise.
61416 (__inv): Likewise.
61417 (__dvd): Likewise.
61418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61419 (__acr): Likewise.
61420 (__cpy): Likewise.
61421 (norm): Likewise.
61422 (denorm): Likewise.
61423 (__mp_dbl): Likewise.
61424 (__dbl_mp): Likewise.
61425 (add_magnitudes): Likewise.
61426 (sub_magnitudes): Likewise.
61427 (__add): Likewise.
61428 (__sub): Likewise.
61429 (__mul): Likewise.
61430 (__inv): Likewise.
61431 (__dvd): Likewise.
61432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61433 (__acr): Likewise.
61434 (__cpy): Likewise.
61435 (norm): Likewise.
61436 (denorm): Likewise.
61437 (__mp_dbl): Likewise.
61438 (__dbl_mp): Likewise.
61439 (add_magnitudes): Likewise.
61440 (sub_magnitudes): Likewise.
61441 (__add): Likewise.
61442 (__sub): Likewise.
61443 (__mul): Likewise.
61444 (__inv): Likewise.
61445 (__dvd): Likewise.
61446
61447 2013-01-08 Joseph Myers <joseph@codesourcery.com>
61448
61449 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
61450 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
61451 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
61452 2 && __USE_EXTERN_INLINES]: Likewise.
61453
61454 2013-01-08 Andreas Jaeger <aj@suse.de>
61455
61456 [BZ# 14985]
61457 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
61458 Remove.
61459 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61460 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61461
61462 2013-01-07 Anton Blanchard <anton@samba.org>
61463
61464 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
61465 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61466 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
61467 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61468 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61469 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61470 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
61471 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61473 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61475 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61478 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61479 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61480 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61481 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61482 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61483 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61484 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61485 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
61486 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61487 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61488 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
61489 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61490 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61491 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61492 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
61493 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61494 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61496 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61497 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61498 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61499 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61500 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61501 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61502 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
61503 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
61504 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
61505 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61506 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61507
61508 2013-01-07 Joseph Myers <joseph@codesourcery.com>
61509
61510 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
61511 (__MALLOC_PMT): Likewise.
61512 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
61513 [__GNUC__], only on [_LIBC].
61514 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61515 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
61516 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61517 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
61518 forward declaration.
61519 (realloc_hook_ini): Likewise.
61520 (memalign_hook_ini): Likewise.
61521 (__libc_memalign): Do not use __MALLOC_PMT in variable
61522 declaration.
61523 (__libc_valloc): Likewise.
61524 (__libc_pvalloc): Likewise.
61525 (__libc_calloc): Likewise.
61526 (__posix_memalign): Likewise.
61527
61528 [BZ #14996]
61529 * math/s_casinh.c: Include <float.h>.
61530 (__casinh): Do not do computation with squaring and square root
61531 for large arguments.
61532 * math/s_casinhf.c: Include <float.h>.
61533 (__casinhf): Do not do computation with squaring and square root
61534 for large arguments.
61535 * math/s_casinhl.c: Include <float.h>.
61536 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
61537 (__casinhl): Do not do computation with squaring and square root
61538 for large arguments.
61539 * math/libm-test.inc (casin_test): Add more tests.
61540 (casinh_test): Likewise.
61541 * sysdeps/i386/fpu/libm-test-ulps: Update.
61542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61543
61544 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
61545
61546 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
61547 (__x86_64_raw_data_cache_size): Likewise.
61548 (__x86_64_data_cache_size_half): Likewise.
61549 (__x86_64_raw_data_cache_size_half): Likewise.
61550 (__x86_64_shared_cache_size): Likewise.
61551 (__x86_64_raw_shared_cache_size): Likewise.
61552 (__x86_64_shared_cache_size_half): Likewise.
61553 (__x86_64_raw_shared_cache_size_half): Likewise.
61554 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
61555 to ...
61556 (__x86_data_cache_size): This.
61557 (__x86_64_raw_data_cache_size): Renamed to ...
61558 (__x86_raw_data_cache_size): This.
61559 (__x86_64_data_cache_size_half): Renamed to ...
61560 (__x86_data_cache_size_half): This.
61561 (__x86_64_raw_data_cache_size_half): Renamed to ...
61562 (__x86_raw_data_cache_size_half): This.
61563 (__x86_64_shared_cache_size): Renamed to ...
61564 (__x86_shared_cache_size): This.
61565 (__x86_64_raw_shared_cache_size): Renamed to ...
61566 (__x86_raw_shared_cache_size): This.
61567 (__x86_64_shared_cache_size_half): Renamed to ...
61568 (__x86_shared_cache_size_half): This.
61569 (__x86_64_raw_shared_cache_size_half): Renamed to ...
61570 (__x86_raw_shared_cache_size_half): This.
61571 * sysdeps/x86_64/memcpy.S: Updated.
61572 * sysdeps/x86_64/memset.S: Likewise.
61573 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61575 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61576
61577 2013-01-04 David S. Miller <davem@davemloft.net>
61578
61579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61580
61581 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
61582
61583 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
61584 1 to avoid redefinition warning.
61585 (__USE_GNU): Don't define.
61586 (init_signaling_nan): Protoize.
61587
61588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61589
61590 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61591
61592 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
61593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
61594 (__cpymn): Likewise.
61595 (norm): Remove commented code.
61596 (denorm): Likewise.
61597 (__mp_dbl): Likewise.
61598 (__inv): Likewise.
61599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
61600 (__cpymn): Likewise.
61601 (norm): Remove commented code.
61602 (denorm): Likewise.
61603 (__mp_dbl): Likewise.
61604 (__inv): Likewise.
61605
61606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
61607 mp_no value for 1.0 and 2.0.
61608 (norm): Use RADIXI instead of radixi.d.
61609 (denorm): Likewise.
61610 (__mul): Use 0.0 instead of zero.d.
61611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
61612 mp_no value for 1.0 and 2.0.
61613 (norm): Use RADIXI instead of radixi.d.
61614 (denorm): Likewise.
61615 (__mul): Use 0.0 instead of zero.d.
61616
61617 2013-01-04 Joseph Myers <joseph@codesourcery.com>
61618
61619 [BZ #14994]
61620 * math/s_casinh.c (__casinh): Reduce finite argument to first
61621 quadrant then set signs of results at the end.
61622 * math/s_casinhf.c (__casinhf): Likewise.
61623 * math/s_casinhl.c (__casinhl): Likewise.
61624 * math/libm-test.inc (casin_test): Add more tests.
61625 (casinh_test): Likewise.
61626 * sysdeps/i386/fpu/libm-test-ulps: Update.
61627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61628
61629 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61630
61631 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
61632
61633 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
61634
61635 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
61636 declarations.
61637 (denorm): Likewise.
61638 (__mp_dbl): Likewise.
61639 (__inv): Likewise.
61640
61641 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
61642 and adjust the header comment.
61643
61644 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
61645 variable name from declaration.
61646
61647 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
61648
61649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61650 Initialize COMMON_CPUID_INDEX_7 element.
61651 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
61652 (CPUID_RTM): Likewise.
61653 (HAS_RTM): Likewise.
61654 (COMMON_CPUID_INDEX_7): New enum.
61655
61656 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
61657
61658 [BZ #14981]
61659 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
61660 size is zero, record memory as freed.
61661
61662 2013-01-03 Andreas Jaeger <aj@suse.de>
61663
61664 * po/ia.po: Add new Interlingua translation.
61665
61666 2012-01-03 Allan McRae <allan@archlinux.org>
61667
61668 * locale/programs/localedef.c: Fix description of '--posix' flag.
61669
61670 2013-01-02 Joseph Myers <joseph@codesourcery.com>
61671
61672 * NEWS: Update dates in second copyright notice.
61673 * README: Update copyright dates in example.
61674 * manual/libc.texinfo: Update copyright dates.
61675 * scripts/test-installation.pl: Update copyright date in --version
61676 output.
61677
61678 * hurd/ctty-input.c: Fix copyright notice formatting.
61679 * hurd/ctty-output.c: Likewise.
61680 * hurd/dtable.c: Likewise.
61681 * hurd/hurd-raise.c: Likewise.
61682 * hurd/hurdprio.c: Likewise.
61683 * hurd/msgportdemux.c: Likewise.
61684 * misc/sys/file.h: Likewise.
61685 * misc/sys/ioctl.h: Likewise.
61686 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61687 * sysdeps/mach/hurd/chdir.c: Likewise.
61688 * sysdeps/mach/hurd/fchdir.c: Likewise.
61689 * sysdeps/mach/hurd/rename.c: Likewise.
61690 * sysdeps/mach/hurd/rmdir.c: Likewise.
61691 * sysdeps/mach/hurd/seekdir.c: Likewise.
61692 * sysdeps/mach/hurd/setsid.c: Likewise.
61693 * sysdeps/posix/wait3.c: Likewise.
61694
61695 * All files with FSF copyright notices: Update copyright dates
61696 using scripts/update-copyrights.
61697 * intl/plural.c: Regenerated.
61698 * locale/programs/charmap-kw.h: Likewise.
61699 * locale/programs/locfile-kw.h: Likewise.
61700
61701 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
61702
61703 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
61704 four values.
61705
61706 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
61707 calculation loop and add branch prediction.
61708
61709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
61710 check access beyond bounds of m1np.
61711
61712 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61713 MPTWO.
61714 (__inv): Remove local variable MPTWO to use the global
61715 constant.
61716 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
61717 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61718 variable MPTWO.
61719 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
61720 MP3HALFS static const.
61721
61722 2013-01-01 David S. Miller <davem@davemloft.net>
61723
61724 * po/ca.po: Update from translation team.
61725
61726 2013-01-01 Joseph Myers <joseph@codesourcery.com>
61727
61728 * scripts/update-copyrights: New file.
61729 * Makeconfig: Reformat copyright notice.
61730 * ctype/ctype.h: Likewise.
61731 * debug/swprintf_chk.c: Likewise.
61732 * elf/dl-cache.c: Likewise.
61733 * elf/dl-debug.c: Likewise.
61734 * elf/dl-object.c: Likewise.
61735 * grp/initgroups.c: Likewise.
61736 * hurd/Makefile: Likewise.
61737 * hurd/hurd/signal.h: Likewise.
61738 * hurd/hurdfault.c: Likewise.
61739 * hurd/hurdioctl.c: Likewise.
61740 * hurd/hurdlookup.c: Likewise.
61741 * hurd/intr-msg.c: Likewise.
61742 * iconv/gconv_open.c: Likewise.
61743 * libio/swprintf.c: Likewise.
61744 * locale/lc-ctype.c: Likewise.
61745 * locale/nl_langinfo.c: Likewise.
61746 * mach/Machrules: Likewise.
61747 * mach/Makefile: Likewise.
61748 * malloc/obstack.h: Likewise.
61749 * manual/Makefile: Likewise.
61750 * manual/tsort.awk: Likewise.
61751 * misc/bits/stab.def: Likewise.
61752 * nis/nis_print_group_entry.c: Likewise.
61753 * nis/nis_table.c: Likewise.
61754 * nis/nss_compat/compat-pwd.c: Likewise.
61755 * nis/nss_compat/compat-spwd.c: Likewise.
61756 * po/Makefile: Likewise.
61757 * posix/fnmatch.c: Likewise.
61758 * posix/regex.h: Likewise.
61759 * resolv/Makefile: Likewise.
61760 * resolv/nss_dns/dns-network.c: Likewise.
61761 * resolv/res_hconf.c: Likewise.
61762 * scripts/gen-sorted.awk: Likewise.
61763 * soft-fp/soft-fp.h: Likewise.
61764 * stdio-common/printf.h: Likewise.
61765 * stdlib/monetary.h: Likewise.
61766 * stdlib/random.c: Likewise.
61767 * stdlib/random_r.c: Likewise.
61768 * sysdeps/generic/Makefile: Likewise.
61769 * sysdeps/gnu/Makefile: Likewise.
61770 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61772 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61774 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61777 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61778 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61779 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61780 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61781 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61782 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61783 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61784 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
61785 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61786 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61787 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61788 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61790 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61791 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61792 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61793 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61794 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
61795 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61796 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61797 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
61798 * sysdeps/mach/hurd/errnos.awk: Likewise.
61799 * sysdeps/mach/hurd/fork.c: Likewise.
61800 * sysdeps/mach/hurd/getcwd.c: Likewise.
61801 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
61802 * sysdeps/mach/hurd/mmap.c: Likewise.
61803 * sysdeps/mach/hurd/utimes.c: Likewise.
61804 * sysdeps/mach/hurd/xmknod.c: Likewise.
61805 * sysdeps/posix/profil.c: Likewise.
61806 * sysdeps/posix/readdir_r.c: Likewise.
61807 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61808 * sysdeps/powerpc/bits/setjmp.h: Likewise.
61809 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
61810 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61812 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61813 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61814 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61816 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61817 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61818 * sysdeps/pthread/lio_listio.c: Likewise.
61819 * sysdeps/sparc/dl-procinfo.h: Likewise.
61820 * sysdeps/unix/i386/sysdep.S: Likewise.
61821 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
61822 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
61823 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
61824 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
61825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61826 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
61827 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
61828 * sysdeps/unix/sysv/linux/speed.c: Likewise.
61829 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
61830 * sysdeps/wordsize-32/divdi3.c: Likewise.
61831 * time/sys/time.h: Likewise.
61832 * wcsmbs/Makefile: Likewise.
61833
61834 2013-01-01 David S. Miller <davem@davemloft.net>
61835
61836 * po/fr.po: Update from translation team.
61837
61838 * catgets/gencat.c: Update copyright year.
61839 * csu/version.c: Likewise.
61840 * debug/catchsegv.sh: Likewise.
61841 * debug/pcprofiledump.c: Likewise.
61842 * debug/xtrace.sh: Likewise.
61843 * elf/ldconfig.c: Likewise.
61844 * elf/ldd.bash.in: Likewise.
61845 * elf/pldd.c: Likewise.
61846 * elf/sotruss.ksh: Likewise.
61847 * elf/sprof.c: Likewise.
61848 * iconv/iconv_prog.c: Likewise.
61849 * iconv/iconvconfig.c: Likewise.
61850 * locale/programs/locale.c: Likewise.
61851 * locale/programs/localedef.c: Likewise.
61852 * login/programs/pt_chown.c: Likewise.
61853 * malloc/memusage.sh: Likewise.
61854 * malloc/memusagestat.c: Likewise.
61855 * malloc/mtrace.pl: Likewise.
61856 * nscd/nscd.c: Likewise.
61857 * nss/getent.c: Likewise.
61858 * nss/makedb.c: Likewise.
61859 * posix/getconf.c: Likewise.
61860
61861 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
61862
61863 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
61864 numbers.
61865
61866 2012-12-30 Mike Frysinger <vapier@gentoo.org>
61867
61868 * math/bits/mathcalls.h (modf): Use __nonnull.
61869
61870 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
61871
61872 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
61873 (split): Use macro CN instead of the bare value.
61874 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
61875 could be used.
61876 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
61877 instead of the bare value.
61878 (power1): Likewise.
61879
61880 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61881
61882 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
61883 __ATAN_TWOM.
61884 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61885
61886 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
61887 their values.
61888 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61889 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61890 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
61891 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61892
61893 2012-12-28 Andreas Jaeger <aj@suse.de>
61894
61895 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
61896 values are from Linux 3.7.
61897
61898 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
61899 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
61900
61901 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61902
61903 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
61904 TRUE case.
61905
61906 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
61907 (norm): Likewise.
61908 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
61909 variables with preprocessor constants.
61910 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61911 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61912 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61913
61914 2012-12-27 Bruno Haible <bruno@clisp.org>
61915
61916 [BZ #14317]
61917 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
61918 only if needed.
61919
61920 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
61921
61922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
61923 and use variable directly.
61924 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
61925
61926 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61927 MPONE.
61928 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
61929 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61930 variable MPONE.
61931 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61933 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
61934 include directive. Remove local variable MPONE.
61935 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
61936 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
61937 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61938
61939 2012-12-25 David S. Miller <davem@davemloft.net>
61940
61941 * version.h (RELEASE): Set to "development".
61942 (VERSION): Set to "2.17.90".
61943 * NEWS: Add 2.18 section.
61944
61945 2012-12-21 David S. Miller <davem@davemloft.net>
61946
61947 * po/hr.po: Update from translation team.
61948
61949 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61950
61951 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
61952
61953 2012-12-19 Steve Ellcey <sellcey@mips.com>
61954
61955 * NEWS: Mention new memcpy for MIPS.
61956
61957 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61958
61959 * manual/contrib.texi (Contributors): Spelling correction.
61960
61961 2012-12-15 David S. Miller <davem@davemloft.net>
61962
61963 * po/ru.po: Update from translation team.
61964
61965 2012-12-13 David S. Miller <davem@davemloft.net>
61966
61967 * NEWS: Mention IFUNC testsuite enhancements.
61968
61969 * po/pl.po: Update from translation team.
61970 * po/bg.po: Likewise.
61971
61972 * manual/contrib.texi (Contributors): Update entries for Hongjiu
61973 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
61974
61975 2012-12-11 David S. Miller <davem@davemloft.net>
61976
61977 * po/sv.po: Update from translation team.
61978
61979 * po/vi.po: Update from translation team.
61980
61981 * po/cs.po: Update from translation team.
61982
61983 * po/de.po: Update from translation team.
61984 * po/eo.po: Likewise.
61985 * po/nl.po: Likewise.
61986
61987 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
61988
61989 [BZ #14246]
61990 * manual/argp.texi (Argp Helper Functions): Move node to follow
61991 Argp Parsing State.
61992
61993 [BZ #14872]
61994 * manual/conf.texi (Limits on File System Capacity): Mention if
61995 terminating null is included in the max size.
61996
61997 2012-12-10 Andreas Jaeger <aj@suse.de>
61998
61999 * po/cs.po: Update from translation team.
62000
62001 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62002
62003 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62004 void pointer and cast to uintptr_t.
62005 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62006 path.
62007 * sysdeps/s390/s390-64/memcpy.S: Likewise.
62008 * sysdeps/s390/s390-64/memset.S: Likewise.
62009
62010 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
62011
62012 [BZ #14833]
62013 * menual/message.texi (Message Translation): Fix typos.
62014 (Helper programs for gettext): Likewise.
62015
62016 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
62017
62018 [BZ #14898]
62019 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62020 Change to -1.
62021
62022 2012-12-07 David S. Miller <davem@davemloft.net>
62023
62024 * po/libc.pot: Update.
62025
62026 2012-12-07 Richard Henderson <rth@redhat.com>
62027
62028 [BZ #10114]
62029 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62030 normal/normal case to before the switch.
62031 (_FP_DIV): Likewise.
62032
62033 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
62034 Mike Frysinger <vapier@gentoo.org>
62035
62036 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62037 check for __NR_fadvise64_64.
62038
62039 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
62040
62041 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62042 0, not just to plain "0" as a statement.
62043 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62044 with cw.
62045
62046 2012-12-06 Joseph Myers <joseph@codesourcery.com>
62047
62048 * NEWS: Use sourceware.org in Bugzilla URL.
62049
62050 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
62051
62052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62053 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62054
62055 * stdio-common/tst-put-error.c (do_test): Add newline to the
62056 padded test to ensure flush.
62057
62058 2012-12-05 Jeff Law <law@redhat.com>
62059
62060 * sunrpc/etc.rpc (fedfs_admin): Add entry.
62061
62062 2012-12-05 Joseph Myers <joseph@codesourcery.com>
62063
62064 * README: Don't refer to ports add-on as distributed separately.
62065 Mention AArch64 in list of systems supported in the ports add-on.
62066
62067 * LICENSES: Add more non-FSF copyright and license notices.
62068
62069 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62070 ((unused)).
62071
62072 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62073
62074 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62075 10000 as width of padded output.
62076
62077 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62078
62079 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62080
62081 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62082 variable LX with __attribute__ ((unused)).
62083 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62084 Likewise.
62085 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62086 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62087 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62088 with __attribute__ ((unused)).
62089
62090 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
62091
62092 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62093
62094 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62095
62096 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62097 (CFLAGS-nldbl-acos.c): New variable.
62098 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62099 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62100 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62101 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62102 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62103 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62104 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62105 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62106 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62107 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62108 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62109 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62110 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62111 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62112 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62113 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62114 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62115 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62116 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62117 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62118 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62119 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62120 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62121 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62122 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62123 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62124 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62125 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62126 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62127 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62128 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62129 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62130 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62131 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62132 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62133 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62134 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62135 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62136 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62137 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62138 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62139 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62140 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62141 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62142 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62143 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62144 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62145 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62146 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62147 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62148 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62149 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62150 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62151 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62152 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62153 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62154 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62155 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62156 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62157 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62158 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62159 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62160 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62161 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62162 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62163 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62164 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62165 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62166 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62167 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62168 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62169 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62170 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62171 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62172 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62173 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62174 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62175 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62176 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62177 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62178 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62179 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62180 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62181 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62182 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62183 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62184 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62185 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62186 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62187 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62188 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62189 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62190 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62191 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62192 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62193 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62194 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62195
62196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62197 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62198
62199 [BZ #14914]
62200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62201 whole low double instead of just low 47 bits when splitting values
62202 into two parts.
62203
62204 2012-12-03 Allan McRae <allan@archlinux.org>
62205
62206 * manual/stdio.texi (Predefined Printf Handlers): Remove
62207 @hsep and @vsep usage.
62208
62209 2012-12-03 Mike Frysinger <vapier@gentoo.org>
62210
62211 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62212 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62213
62214 2012-12-03 Jeff Law <law@redhat.com>
62215
62216 * time/sys/time.h (settimeofday): Do not mark TV argument
62217 as __nonnull.
62218
62219 2012-12-01 Mike Frysinger <vapier@gentoo.org>
62220
62221 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62222 when currently writing and seek to current position when not.
62223 * libio/Makefile (tests): Remove bug-fclose1.
62224 * libio/bug-fclose1.c: Delete.
62225
62226 2012-12-01 Joseph Myers <joseph@codesourcery.com>
62227
62228 * manual/arith.texi (feenableexcept): Fix typo.
62229 (fedisableexcept): Likewise.
62230
62231 2012-11-30 Roland McGrath <roland@hack.frob.com>
62232
62233 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62234 second, differently-typed declaration, rather than a cast.
62235
62236 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62237
62238 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62239 * include/rpc/svc.h: ... here.
62240
62241 2012-11-30 Aurelien Jarno <aurel32@debian.org>
62242
62243 [BZ #13013]
62244 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62245 depending n and resplen2 to catch cases where answer
62246 equals answerp2.
62247
62248 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
62249
62250 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62251 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62252
62253 2012-11-29 Mike Frysinger <vapier@gentoo.org>
62254
62255 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62256
62257 2012-11-29 Roland McGrath <roland@hack.frob.com>
62258
62259 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62260
62261 2012-11-28 Jeff Law <law@redhat.com>
62262
62263 [BZ #13761]
62264 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62265 dataset_temporary. Track alloca usage into alloca_used.
62266 If dataset is large allocate and release it via malloc/free.
62267
62268 2012-06-04 Florian Weimer <fweimer@redhat.com>
62269
62270 [BZ #14197]
62271 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62272
62273 2012-11-28 David S. Miller <davem@davemloft.net>
62274
62275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62276
62277 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62278
62279 [BZ #14803]
62280 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62281 of pi/2 rounded to nearest to 64 bits.
62282 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62283 nearest to 64 bits.
62284 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62285 bits.
62286
62287 2012-11-28 Jeff Law <law@redhat.com>
62288 Martin Osvald <mosvald@redhat.com>
62289
62290 [BZ #14889]
62291 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62292 * sunrpc/svc.c: Include time.h.
62293 (__svc_accept_failed): New function.
62294 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62295 any reason other than EINTR, call __svc_accept_failed.
62296 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62297 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62298
62299 2012-11-28 Andreas Schwab <schwab@suse.de>
62300
62301 * scripts/abilist.awk: Also handle indirect functions in .opd
62302 section.
62303
62304 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62305
62306 [BZ #13881]
62307 * sysdeps/x86/fpu/powl_helper.c: New file.
62308 * sysdeps/x86/fpu/Makefile: Likewise.
62309 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62310 (p3): New object.
62311 (__ieee754_powl): Use __powl_helper for finite arguments except
62312 integer exponents below 8.
62313 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62314 (p3): New object.
62315 (__ieee754_powl): Use __powl_helper for finite arguments except
62316 integer exponents below 8.
62317 * math/libm-test.inc (pow_test): Add more tests and enable some
62318 previously disabled tests.
62319 * sysdeps/i386/fpu/libm-test-ulps: Update.
62320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62321
62322 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62323 Carlos O'Donell <carlos_odonell@mentor.com>
62324
62325 * nss/makedb.c (is_prime): Assert that input is odd and greater
62326 than 4. Note that fact in a comment too.
62327 (next_prime): Add 4 to input.
62328
62329 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62330
62331 [BZ #11741]
62332 * libio/Makefile (tests): Add test case tst-fwrite-error.
62333 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62334 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62335 * libio/tst-fwrite-error.c: New test case.
62336
62337 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
62338
62339 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62340 before casting to void *.
62341 * include/libc-internal.h (__pointer_type): New macro.
62342 (__integer_if_pointer_type_sub): Likewise.
62343 (__integer_if_pointer_type): Likewise.
62344 (cast_to_integer): Likewise.
62345 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62346 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62347 before casting to atomic64_t.
62348 (atomic_exchange_acq): Likewise.
62349 (__arch_exchange_and_add_body): Likewise.
62350 (__arch_add_body): Likewise.
62351 (atomic_add_negative): Likewise.
62352 (atomic_add_zero): Likewise.
62353
62354 2012-11-26 Joseph Myers <joseph@codesourcery.com>
62355
62356 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62357 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62358 (add_fdes): Likewise.
62359 (linear_search_fdes): Likewise.
62360 (binary_search_unencoded_fdes): Likewise.
62361
62362 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
62363
62364 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62365
62366 2012-11-24 Adam Conrad <adconrad@0c3.net>
62367
62368 * configure.in: Autodetect C++ header directories.
62369 * configure: Regenerated.
62370
62371 2012-11-23 Mike Frysinger <vapier@gentoo.org>
62372
62373 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62374
62375 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
62376
62377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62378
62379 2012-11-22 Joseph Myers <joseph@codesourcery.com>
62380
62381 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62382 LDBL_MANT_DIG == 106]: Disable some tests.
62383 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62384 Likewise.
62385 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62386 Likewise.
62387
62388 [BZ #14871]
62389 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62390 input for small inputs. Return +/- pi/2 for large inputs.
62391 * math/libm-test.inc (atan_test): Add more tests.
62392
62393 * sysdeps/generic/unwind-dw2-fde-glibc.c
62394 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62395 __attribute__ ((unused)).
62396
62397 [BZ #14645]
62398 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62399 x * y if x and y are nonzero and z is zero.
62400
62401 [BZ #14811]
62402 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62403 nonzero exponents with absolute value below 0x1p-117 to +/-
62404 0x1p-117.
62405
62406 [BZ #14869]
62407 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62408 up arguments below 2**-450, not just those below 2**-500.
62409 * math/libm-test.inc (hypot_test): Add another test.
62410
62411 [BZ #14868]
62412 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62413 Return a+b for ratio over 2**120, not 2**60.
62414 * math/libm-test.inc (hypot_test): Add another test.
62415
62416 * math/libm-test.inc (clog_test): Use
62417 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62418 (clog10_test): Likewise.
62419
62420 [BZ #6778]
62421 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62422
62423 2012-11-22 Andreas Schwab <schwab@suse.de>
62424
62425 * sysdeps/i386/fpu/libm-test-ulps: Update.
62426
62427 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
62428
62429 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62430 printf output with newline.
62431
62432 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
62433
62434 [BZ #14865]
62435 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62436 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62437 -z nodlopen, -z initfirst and -z execstack support.
62438 * configure: Regenerated.
62439
62440 * elf/elf.h (DF_1_NODIRECT): New macro.
62441 (DF_1_IGNMULDEF): Likewise.
62442 (DF_1_NOKSYMS): Likewise.
62443 (DF_1_NOHDR): Likewise.
62444 (DF_1_EDITED): Likewise.
62445 (DF_1_NORELOC): Likewise.
62446 (DF_1_SYMINTPOSE): Likewise.
62447 (DF_1_GLOBAUDIT): Likewise.
62448 (DF_1_SINGLETON): Likewise.
62449 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
62450 DT_1_SUPPORTED_MASK bits.
62451 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
62452
62453 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
62454
62455 * sysdeps/unix/make-syscalls.sh: Document prefixes.
62456
62457 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
62458
62459 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
62460 macro.
62461
62462 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
62463 (sendmmsg): Move declarations...
62464 * socket/sys/socket.h: ... here.
62465 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
62466 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
62467 include it from...
62468 * socket/recvmmsg.c: ... this new file.
62469 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62470 (sendmmsg): Rename to __sendmmsg, create weak alias and make
62471 definition of __sendmmsg hidden.
62472 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
62473 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
62474 Move ENOSYS stub into and include it from...
62475 * socket/sendmmsg.c: ... this new file.
62476 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
62477 (sysdep_routines): Move recvmmsg and sendmmsg...
62478 * socket/Makefile (routines): ... here.
62479 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
62480 (GLIBC_PRIVATE): Add __sendmmsg.
62481 * include/sys/socket.h (__sendmmsg): Add declarations.
62482 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
62483 sendmmsg.
62484
62485 2012-11-20 Joseph Myers <joseph@codesourcery.com>
62486
62487 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
62488 variable I1 with __attribute__ ((unused)).
62489 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62490
62491 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62492
62493 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
62494 DUMMY variables with __attribute__ ((unused)).
62495
62496 * bits/byteswap.h: Include <bits/types.h>.
62497 (__bswap_64): Use __uint64_t instead of unsigned long long int.
62498
62499 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
62500
62501 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
62502 string_t. Do not manually set errno.
62503 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
62504 length with __strnlen. Make sure to both set errno and return it on
62505 failure.
62506
62507 2012-11-19 David S. Miller <davem@davemloft.net>
62508
62509 With help from Joseph Myers.
62510 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
62511 very large arguments properly.
62512 * math/libm-test.inc (atan_test): New tests.
62513 (atan2_test): New tests.
62514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62516
62517 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62518
62519 [BZ #14856]
62520 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
62521 Define to 3.
62522
62523 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
62524 [POSIX] (EADDRNOTAVAIL): Likewise.
62525 [POSIX] (EAFNOSUPPORT): Likewise.
62526 [POSIX] (EALREADY): Likewise.
62527 [POSIX] (ECONNABORTED): Likewise.
62528 [POSIX] (ECONNREFUSED): Likewise.
62529 [POSIX] (ECONNRESET): Likewise.
62530 [POSIX] (EDESTADDRREQ): Likewise.
62531 [POSIX] (EDQUOT): Likewise.
62532 [POSIX] (EHOSTUNREACH): Likewise.
62533 [POSIX] (EIDRM): Likewise.
62534 [POSIX] (EISCONN): Likewise.
62535 [POSIX] (ELOOP): Likewise.
62536 [POSIX] (EMULTIHOP): Likewise.
62537 [POSIX] (ENETDOWN): Likewise.
62538 [POSIX] (ENETUNREACH): Likewise.
62539 [POSIX] (ENOBUFS): Likewise.
62540 [POSIX] (ENODATA): Likewise.
62541 [POSIX] (ENOLINK): Likewise.
62542 [POSIX] (ENOMSG): Likewise.
62543 [POSIX] (ENOPROTOOPT): Likewise.
62544 [POSIX] (ENOSR): Likewise.
62545 [POSIX] (ENOSTR): Likewise.
62546 [POSIX] (ENOTCONN): Likewise.
62547 [POSIX] (ENOTSOCK): Likewise.
62548 [POSIX] (EOPNOTSUPP): Likewise.
62549 [POSIX] (EOVERFLOW): Likewise.
62550 [POSIX] (EPROTO): Likewise.
62551 [POSIX] (EPROTONOSUPPORT): Likewise.
62552 [POSIX] (EPROTOTYPE): Likewise.
62553 [POSIX] (ESTALE): Likewise.
62554 [POSIX] (ETIME): Likewise.
62555 [POSIX] (ETXTBSY): Likewise.
62556 [POSIX] (EWOULDBLOCK): Likewise.
62557 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
62558 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
62559 [POSIX] (SEEK_CUR): Likewise.
62560 [POSIX] (SEEK_END): Likewise.
62561 [POSIX || UNIX98] (mode_t): Do not require.
62562 [POSIX] (off_t): Likewise.
62563 [POSIX] (pid_t): Likewise.
62564 [POSIX] (sys/stat.h): Do not allow header.
62565 [POSIX] (unistd.h): Likewise.
62566 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
62567 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
62568 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
62569 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
62570 require.
62571 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
62572 sigevent): Specify elements.
62573 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
62574 entry.
62575 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
62576 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
62577
62578 * conform/data/cpio.h-data [POSIX]: Disable whole file.
62579 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
62580 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
62581 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
62582 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
62583 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
62584 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
62585 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
62586 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
62587 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
62588 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
62589 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
62590 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
62591 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
62592 Likewise.
62593 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
62594 Likewise.
62595 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
62596 Likewise.
62597 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
62598 Likewise.
62599 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
62600 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
62601 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
62602 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
62603 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
62604 Specify lower bound on value.
62605 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
62606 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
62607 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
62608 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
62609 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
62610 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
62611 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
62612 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
62613 value.
62614 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
62615 as optional.
62616 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
62617 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
62618 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
62619 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
62620 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
62621 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
62622 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
62623 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
62624 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
62625 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
62626 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
62627 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
62628 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
62629 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
62630 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
62631 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
62632 entry.
62633 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
62634 optional.
62635 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
62636 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
62637 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
62638 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
62639 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
62640 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
62641 Likewise.
62642 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
62643 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
62644 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
62645 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
62646 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
62647 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
62648 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
62649 as optional.
62650 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
62651 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
62652 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
62653 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
62654 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
62655 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
62656 specify as optional.
62657 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
62658 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
62659 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
62660 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
62661 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
62662 [XPG3] (NL_LANGMAX): Likewise.
62663 [POSIX || XPG3] (NL_MSGMAX): Likewise.
62664 [POSIX || XPG3] (NL_NMAX): Likewise.
62665 [POSIX || XPG3] (NL_SETMAX): Likewise.
62666 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
62667 [XPG3] (NZERO): Likewise.
62668 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
62669 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
62670 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
62671 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
62672 (REG_ERANGE): Expect.
62673 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
62674 optional-constant.
62675 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
62676 Use (void) in prototype.
62677 [POSIX] (*_t): Allow.
62678 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
62679 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
62680 (WRDE_BADVAL): Expect.
62681
62682 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
62683 expect.
62684 [XPG3 || XPG4] (O_RSYNC): Likewise.
62685 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
62686 Likewise.
62687 [XPG3 || XPG4] (pthread_sigmask): Likewise.
62688 [XPG3 || XPG4] (sigqueue): Likewise.
62689 [XPG3 || XPG4] (sigtimedwait): Likewise.
62690 [XPG3 || XPG4] (sigwaitinfo): Likewise.
62691 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
62692 [XPG3 || XPG4] (vsnprintf): Likewise.
62693 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
62694 Likewise.
62695 [XPG3 || XPG4] (blksize_t): Likewise.
62696 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
62697 Likewise.
62698 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
62699 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
62700 [XPG3 || XPG4] (struct itimerspec): Likewise.
62701 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
62702 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
62703 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
62704 [XPG3 || XPG4] (clockid_t): Likewise.
62705 [XPG3 || XPG4] (timer_t): Likewise.
62706 [XPG3 || XPG4] (clock_getres): Likewise.
62707 [XPG3 || XPG4] (clock_gettime): Likewise.
62708 [XPG3 || XPG4] (clock_settime): Likewise.
62709 [XPG3 || XPG4] (nanosleep): Likewise.
62710 [XPG3 || XPG4] (timer_create): Likewise.
62711 [XPG3 || XPG4] (timer_delete): Likewise.
62712 [XPG3 || XPG4] (timer_gettime): Likewise.
62713 [XPG3 || XPG4] (timer_getoverrun): Likewise.
62714 [XPG3 || XPG4] (timer_settime): Likewise.
62715 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
62716 [XPG3 || XPG4] (getlogin_r): Likewise.
62717 [XPG3 || XPG4] (pread): Likewise.
62718 [XPG3 || XPG4] (pthread_atfork): Likewise.
62719 [XPG3 || XPG4] (pwrite): Likewise.
62720
62721 [BZ #14835]
62722 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
62723 <bits/siginfo.h>.
62724
62725 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
62726
62727 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
62728 finalizing MALLSTREAM.
62729
62730 * sysdeps/mach/hurd/syncfs.c: New file.
62731
62732 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
62733
62734 [BZ #14719]
62735 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
62736 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
62737 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
62738 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
62739 (_nss_dns_gethostbyname4_r): Likewise.
62740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
62741 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
62742
62743 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
62744
62745 [BZ #13763]
62746 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
62747
62748 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
62749
62750 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
62751 * elf/cache.c (print_entry): Print ",AArch64" for
62752 FLAG_AARCH64_LIB64
62753
62754 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
62755 * elf/cache.c (print_entry): Print ",hard-float" for
62756 FLAG_ARM_LIBHF.
62757
62758 2012-11-18 David S. Miller <davem@davemloft.net>
62759
62760 With help from Joseph Myers.
62761 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
62762 cutoff to 2**-13.
62763 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
62764 cutoff to 2**-25.
62765 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
62766 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
62767 small.
62768 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
62769 * math/libm-test.inc (y0_test): New tests.
62770 (y1_test): New tests.
62771 * sysdeps/i386/fpu/libm-test-ulps: Update.
62772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62774
62775 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
62776
62777 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
62778 64-bit targets.
62779 * configure: Regenerated.
62780
62781 2012-11-17 David S. Miller <davem@davemloft.net>
62782
62783 [BZ #14811]
62784 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
62785 nonzero exponents with absolute value below 0x1p-128 to +/-
62786 0x1p-128.
62787
62788 2012-11-17 Joseph Myers <joseph@codesourcery.com>
62789
62790 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
62791
62792 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
62793
62794 * posix/getconf-speclist.c: New file.
62795 * posix/posix-envs.def: Likewise.
62796 * posix/confstr.c (START_ENV_GROUP): New macro.
62797 (END_ENV_GROUP): Likewise.
62798 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62799 (KNOWN_PRESENT_ENV_STRING): Likewise.
62800 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62801 (UNKNOWN_ENVIRONMENT): Likewise.
62802 (confstr): Include posix-envs.def instead of handling
62803 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
62804 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
62805 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
62806 (END_ENV_GROUP): Likewise.
62807 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62808 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62809 (UNKNOWN_ENVIRONMENT): Likewise.
62810 (__sysconf): Include posix-envs.def instead of handling associated
62811 cases directly here.
62812 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
62813 preprocessing getconf-speclist.c rather than running getconf or
62814 generating empty file.
62815
62816 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
62817
62818 * scripts/check-local-headers.sh: Ignore 'mach' headers.
62819
62820 2012-11-16 Andrej Lajovic <natrij@gmail.com>
62821
62822 [BZ #14672]
62823 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
62824
62825 2012-11-16 David S. Miller <davem@davemloft.net>
62826
62827 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
62828 smaller than LDBL_EPSILON/2.0L, just return xm1.
62829
62830 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
62831
62832 * elf/tst-array1.c (init): Set constructor priority to 1000.
62833 (fini): Set destructor priority to 1000.
62834 * elf/tst-array2dep.c: Likewise.
62835
62836 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
62837
62838 [BZ #11741]
62839 * libio/fileops.c (_IO_new_file_write): Correctly return error.
62840 (_IO_new_file_xsputn): Also return EOF if none of the input
62841 data was written when overflow failed.
62842 * libio/iopadn.c (_IO_padn): Likewise.
62843 * libio/iowpadn.c (_IO_wpadn): Likewise.
62844 * stdio-common/tst-put-error.c: Add copyright notice.
62845 (do_test): Add case for printing padded string.
62846 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
62847 _IO_padn returned error.
62848 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
62849 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
62850 return EOF.
62851
62852 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
62853
62854 * libio/libioP.h: Add comment note that the references to C++
62855 bits are now obsolete.
62856
62857 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62858
62859 * math/libm-test.inc (check_complex): Use asprintf.
62860
62861 2012-11-14 Joseph Myers <joseph@codesourcery.com>
62862
62863 * debug/pcprofiledump.c (print_version): Update copyright year.
62864 * malloc/memusagestat.c (print_version): Likewise.
62865
62866 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
62867
62868 [BZ #14831]
62869 * elf/Makefile (tests): Add tst-audit8.
62870 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
62871 ($(objpfx)tst-audit8.out): New target.
62872 (tst-audit8-ENV): New variable.
62873 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
62874 audit if l_reloc_result is NULL.
62875 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
62876 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62877 * elf/tst-audit8.c: New file.
62878
62879 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62880
62881 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
62882 * misc/Makefile (CFLAGS-select.c): Define.
62883 * posix/Makefile (CFLAGS-pause.c): Define.
62884
62885 2012-11-13 David S. Miller <davem@davemloft.net>
62886
62887 * crypt/Makefile: Move test targets after toplevel Rules
62888 inclusion. Grab any necessary sysdep routines when linking.
62889 * crypt/md5.c (md5_process_block): Remove define, we will always
62890 name it __md5_process_block.
62891 (md5_finish_ctx): Update md5_process_block call.
62892 (md5_stream): Likewise.
62893 (md5_process_bytes): Likewise.
62894 (md5_process_block): Rename to __md5_process_block and move to ...
62895 * crypt/md5-block.c: ... here.
62896 * crypt/sha256.c (sha256_process_block): Move to ...
62897 * crypt/sha256-block.c: ... here.
62898 * crypt/sha512.c (sha512_process_block): Move to ...
62899 * crypt/sha512-block.c: ... here.
62900 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
62901 path.
62902 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
62903 * sysdeps/sparc/sparc64/multiarch/Makefile
62904 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
62905 crypt subdir.
62906 (localedef-aux): Add md5 crypto assembler when in locale subdir.
62907 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
62908 multiarch changes.
62909 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
62910 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
62911 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
62912 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62913 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
62914 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
62915 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
62916 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
62917 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
62918 file.
62919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
62920 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
62921 file.
62922 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
62923
62924 2012-11-13 Joseph Myers <joseph@codesourcery.com>
62925
62926 * timezone/tzselect.ksh: Update from tzcode git revision
62927 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
62928 * timezone/zdump.c: Likewise.
62929 * timezone/zic.c: Likewise.
62930 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
62931 in TZVERSION setting, not $(PKGVERSION).
62932 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
62933 REPORT_BUGS_TO settings.
62934
62935 [BZ #14838]
62936 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
62937 macro.
62938
62939 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62940
62941 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
62942 detection to immediately after _FP_ROUND().
62943 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
62944 bits are 0.
62945
62946 2012-11-11 David S. Miller <davem@davemloft.net>
62947
62948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
62949 inttypes.h
62950 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
62951 __close rather than their public counterparts.
62952
62953 2012-11-10 Joseph Myers <joseph@codesourcery.com>
62954
62955 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
62956 file.
62957 [UNIX98] (sem_timedwait): Do not expect.
62958 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
62959 [XPG4 || UNIX98] (sockatmark): Do not expect.
62960 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
62961 (clock_getcpuclockid): Do not expect.
62962 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
62963 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
62964 Do not expect.
62965 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
62966 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
62967 [UNIX98] (vwscanf): Likewise.
62968 [UNIX98] (vswscanf): Likewise.
62969
62970 2012-11-09 Joseph Myers <joseph@codesourcery.com>
62971
62972 * timezone/version.h: Remove file.
62973 * timezone/README: Do not refer to version.h.
62974 * timezone/Makefile ($(objpfx)zic.o): New dependency on
62975 $(objpfx)version.h.
62976 ($(objpfx)zdump.o): Likewise.
62977 ($(objpfx)version.h): New target.
62978
62979 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
62980 2012i.
62981 * timezone/README: Don't mention modification to tzselect.ksh.
62982 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
62983 work on unmodified tzselect.ksh. Substitute version numbers in
62984 tzselect.ksh.
62985
62986 * Makefile (format-me): Remove.
62987 (INSTALL): Adjust indentation. Use commands directly instead of
62988 using $(format-me).
62989
62990 * aclocal.m4 (ACX_PKGVERSION): New macro.
62991 (ACX_BUGURL): Likewise.
62992 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
62993 (PKGVERSION): New AC_DEFINE_UNQUOTED.
62994 (REPORT_BUGS_TO): Likewise.
62995 * configure: Regenerated.
62996 * config.h.in (PKGVERSION): New macro.
62997 (REPORT_BUGS_TO): Likewise.
62998 * config.make.in (PKGVERSION): New variable.
62999 (PKGVERSION_TEXI): Likewise.
63000 (REPORT_BUGS_TO): Likewise.
63001 (REPORT_BUGS_TEXI): Likewise.
63002 * Makefile (format-me): Use -I$(common-objpfx)manual.
63003 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63004 ($(common-objpfx)manual/%): New target.
63005 (manual/%): Remove target.
63006 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63007 (print_version): Use PKGVERSION.
63008 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63009 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63010 and REPORT_BUGS_TO.
63011 ($(objpfx)xtrace): Likewise.
63012 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63013 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63014 (print_version): Use PKGVERSION.
63015 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63016 (do_version): Use PKGVERSION.
63017 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63018 REPORT_BUGS_TO.
63019 (common-ldd-rewrite): Likewise.
63020 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63021 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63022 (print_version): Use PKGVERSION.
63023 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63024 * elf/pldd.c (argp_program_bug_address): Remove variable.
63025 (more_help): New function.
63026 (argp): Use more_help.
63027 (print_version): Use PKGVERSION.
63028 * elf/sln.c (main): Use PKGVERSION.
63029 (usage): Use REPORT_BUGS_TO.
63030 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63031 (top level): Use PKGVERSION.
63032 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63033 (print_version): Use PKGVERSION.
63034 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63035 (print_version): Use PKGVERSION.
63036 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63037 (print_version): Use PKGVERSION.
63038 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63039 (print_version): Use PKGVERSION.
63040 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63041 (print_version): Use PKGVERSION.
63042 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63043 (print_version): Use PKGVERSION.
63044 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63045 and BUGURL.
63046 ($(objpfx)memusage): Likewise.
63047 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63048 (do_version): Use PKGVERSION.
63049 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63050 (print_version): Use PKGVERSION.
63051 * malloc/mtrace.pl ($PACKAGE): Remove variable.
63052 ($PKGVERSION): New variable.
63053 ($REPORT_BUGS_TO): Likewise.
63054 (usage): Use $REPORT_BUGS_TO.
63055 (top level): Use $PKGVERSION.
63056 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63057 ($(objpfx)pkgvers.texi): New rule.
63058 ($(objpfx)stamp-pkgvers): Likewise.
63059 * manual/install.texi: Include pkgvers.texi.
63060 (--with-pkgversion): Document new configure option.
63061 (--with-bugurl): Likewise.
63062 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63063 than necessarily for this particular distribution. Use
63064 REPORT_BUGS_TO for where to report bugs.
63065 * INSTALL: Regenerated.
63066 * manual/libc.texinfo: Include pkgvers.texi.
63067 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63068 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63069 (print_version): Use PKGVERSION.
63070 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63071 (print_version): Use PKGVERSION.
63072 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63073 (print_version): Use PKGVERSION.
63074 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63075 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63076 macro.
63077 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63078 (print_version): Use PKGVERSION.
63079 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63080 (print_version): Use PKGVERSION.
63081 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63082 and PKGVERSION.
63083
63084 * timezone/checktab.awk: Update from tzcode 2012i.
63085 * timezone/ialloc.c: Likewise.
63086 * timezone/private.h: Likewise.
63087 * timezone/scheck.c: Likewise.
63088 * timezone/tzfile.h: Likewise.
63089 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63090 (TZVERSION): Hardcode tzcode version number.
63091 * timezone/zdump.c: Update from tzcode 2012i.
63092 * timezone/zic.c: Likewise.
63093 * timezone/version.h: New file.
63094 * timezone/README: Describe version.h. Update upstream location.
63095
63096 [BZ #14824]
63097 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63098 (mktemp): Enable declaration.
63099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63102 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63103 Likewise.
63104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63105 Likewise.
63106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63107 Likewise.
63108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63109 Likewise.
63110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63111 Likewise.
63112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63113 Likewise.
63114
63115 [BZ #14821]
63116 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63117 offset in buffer as u_int32_t not u_long. Consistently use memcpy
63118 for copies of such integer values.
63119 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63120 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63121
63122 2012-11-09 Andreas Jaeger <aj@suse.de>
63123
63124 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63125 definitions and declarations that are provided by
63126 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63127
63128 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63129
63130 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63131 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63132 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63133 definition.
63134
63135 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63136
63137 * elf/elf.h: Update comment before AArch64 relocations.
63138
63139 2012-11-07 David S. Miller <davem@davemloft.net>
63140
63141 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63142 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63143 (__start_context): Declare.
63144 (__makecontext_ret): Delete.
63145 (__makecontext): Hook up __start_context instead of
63146 __makecontext_ret.
63147 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63148 (sysdep_routines): Add __start_context when in stdlib.
63149
63150 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63151
63152 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63153 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63154 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
63155 hardcoded "nm".
63156 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
63157 (READELF): New variable. Use it instead of hardcoded "readelf".
63158
63159 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
63160
63161 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63162 * sysdeps/x86/Makefile: Here.
63163 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63164 * sysdeps/x86/tst-xmmymm.sh: This.
63165
63166 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63167
63168 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63169 expectations.
63170 [UNIX98] (pthread_barrier_t): Do not expect.
63171 [UNIX98] (pthread_barrierattr_t): Likewise.
63172 [UNIX98] (pthread_spinlock_t): Likewise.
63173 [UNIX98] (pthread_barrier_destroy): Likewise.
63174 [UNIX98] (pthread_barrier_init): Likewise.
63175 [UNIX98] (pthread_barrier_wait): Likewise.
63176 [UNIX98] (pthread_barrierattr_destroy): Likewise.
63177 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63178 [UNIX98] (pthread_barrierattr_init): Likewise.
63179 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63180 [UNIX98] (pthread_getcpuclockid): Likewise.
63181 [UNIX98] (pthread_mutex_timedlock): Likewise.
63182 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63183 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63184 [UNIX98] (pthread_sigmask): Likewise.
63185 [UNIX98] (pthread_spin_destroy): Likewise.
63186 [UNIX98] (pthread_spin_init): Likewise.
63187 [UNIX98] (pthread_spin_lock): Likewise.
63188 [UNIX98] (pthread_spin_trylock): Likewise.
63189 [UNIX98] (pthread_spin_unlock): Likewise.
63190 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63191 Do not expect.
63192 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63193 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63194 [XPG3 || XPG4] (pthread_cond_t): Likewise.
63195 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63196 [XPG3 || XPG4] (pthread_key_t): Likewise.
63197 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63198 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63199 [XPG3 || XPG4] (pthread_once_t): Likewise.
63200 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63201 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63202 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63203 [XPG3 || XPG4] (pthread_t): Likewise.
63204
63205 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63206 not expect.
63207 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63208
63209 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63210 Change function return type to int.
63211
63212 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63213 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63214 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63215 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63216 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63217 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63218 [!POSIX] (posix_madvise): Likewise.
63219 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63220 && !UNIX98].
63221 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63222 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63223 (mode_t): Likewise.
63224 (posix_mem_offset): Likewise.
63225 (posix_typed_mem_get_info): Likewise.
63226 (posix_typed_mem_open): Likewise.
63227
63228 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63229 Change condition to [XOPEN2K8].
63230
63231 * conform/conformtest.pl: Preprocess allow-header data with -x c
63232 instead of from stdin.
63233 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63234 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63235 [C99-based standards] (cerfc): Likewise.
63236 [C99-based standards] (cexp2): Likewise.
63237 [C99-based standards] (cexpm1): Likewise.
63238 [C99-based standards] (clog10): Likewise.
63239 [C99-based standards] (clog1p): Likewise.
63240 [C99-based standards] (clog2): Likewise.
63241 [C99-based standards] (clgamma): Likewise.
63242 [C99-based standards] (ctgamma): Likewise.
63243 [C99-based standards] (cerff): Likewise.
63244 [C99-based standards] (cerfcf): Likewise.
63245 [C99-based standards] (cexp2f): Likewise.
63246 [C99-based standards] (cexpm1f): Likewise.
63247 [C99-based standards] (clog10f): Likewise.
63248 [C99-based standards] (clog1pf): Likewise.
63249 [C99-based standards] (clog2f): Likewise.
63250 [C99-based standards] (clgammaf): Likewise.
63251 [C99-based standards] (ctgammaf): Likewise.
63252 [C99-based standards] (cerfl): Likewise.
63253 [C99-based standards] (cerfcl): Likewise.
63254 [C99-based standards] (cexp2l): Likewise.
63255 [C99-based standards] (cexpm1l): Likewise.
63256 [C99-based standards] (clog10l): Likewise.
63257 [C99-based standards] (clog1pl): Likewise.
63258 [C99-based standards] (clog2l): Likewise.
63259 [C99-based standards] (clgammal): Likewise.
63260 [C99-based standards] (ctgammal): Likewise.
63261 * conform/data/inttypes.h-data [C99-based standards]: Include
63262 stdint.h-data. Remove all expectations for stdint.h contents.
63263 [C99-based standards] (PRI*): Do not allow.
63264 [C99-based standards] (SCN*): Likewise.
63265 [C99-based standards] (*_t): Likewise.
63266 [C99-based-standards] (PRId8): Expect macro.
63267 [C99-based-standards] (PRIi8): Likewise.
63268 [C99-based-standards] (PRIo8): Likewise.
63269 [C99-based-standards] (PRIu8): Likewise.
63270 [C99-based-standards] (PRIx8): Likewise.
63271 [C99-based-standards] (PRIX8): Likewise.
63272 [C99-based-standards] (SCNd8): Likewise.
63273 [C99-based-standards] (SCNi8): Likewise.
63274 [C99-based-standards] (SCNo8): Likewise.
63275 [C99-based-standards] (SCNu8): Likewise.
63276 [C99-based-standards] (SCNx8): Likewise.
63277 [C99-based-standards] (PRIdLEAST8): Likewise.
63278 [C99-based-standards] (PRIiLEAST8): Likewise.
63279 [C99-based-standards] (PRIoLEAST8): Likewise.
63280 [C99-based-standards] (PRIuLEAST8): Likewise.
63281 [C99-based-standards] (PRIxLEAST8): Likewise.
63282 [C99-based-standards] (PRIXLEAST8): Likewise.
63283 [C99-based-standards] (SCNdLEAST8): Likewise.
63284 [C99-based-standards] (SCNiLEAST8): Likewise.
63285 [C99-based-standards] (SCNoLEAST8): Likewise.
63286 [C99-based-standards] (SCNuLEAST8): Likewise.
63287 [C99-based-standards] (SCNxLEAST8): Likewise.
63288 [C99-based-standards] (PRIdFAST8): Likewise.
63289 [C99-based-standards] (PRIiFAST8): Likewise.
63290 [C99-based-standards] (PRIoFAST8): Likewise.
63291 [C99-based-standards] (PRIuFAST8): Likewise.
63292 [C99-based-standards] (PRIxFAST8): Likewise.
63293 [C99-based-standards] (PRIXFAST8): Likewise.
63294 [C99-based-standards] (SCNdFAST8): Likewise.
63295 [C99-based-standards] (SCNiFAST8): Likewise.
63296 [C99-based-standards] (SCNoFAST8): Likewise.
63297 [C99-based-standards] (SCNuFAST8): Likewise.
63298 [C99-based-standards] (SCNxFAST8): Likewise.
63299 [C99-based-standards] (PRId16): Likewise.
63300 [C99-based-standards] (PRIi16): Likewise.
63301 [C99-based-standards] (PRIo16): Likewise.
63302 [C99-based-standards] (PRIu16): Likewise.
63303 [C99-based-standards] (PRIx16): Likewise.
63304 [C99-based-standards] (PRIX16): Likewise.
63305 [C99-based-standards] (SCNd16): Likewise.
63306 [C99-based-standards] (SCNi16): Likewise.
63307 [C99-based-standards] (SCNo16): Likewise.
63308 [C99-based-standards] (SCNu16): Likewise.
63309 [C99-based-standards] (SCNx16): Likewise.
63310 [C99-based-standards] (PRIdLEAST16): Likewise.
63311 [C99-based-standards] (PRIiLEAST16): Likewise.
63312 [C99-based-standards] (PRIoLEAST16): Likewise.
63313 [C99-based-standards] (PRIuLEAST16): Likewise.
63314 [C99-based-standards] (PRIxLEAST16): Likewise.
63315 [C99-based-standards] (PRIXLEAST16): Likewise.
63316 [C99-based-standards] (SCNdLEAST16): Likewise.
63317 [C99-based-standards] (SCNiLEAST16): Likewise.
63318 [C99-based-standards] (SCNoLEAST16): Likewise.
63319 [C99-based-standards] (SCNuLEAST16): Likewise.
63320 [C99-based-standards] (SCNxLEAST16): Likewise.
63321 [C99-based-standards] (PRIdFAST16): Likewise.
63322 [C99-based-standards] (PRIiFAST16): Likewise.
63323 [C99-based-standards] (PRIoFAST16): Likewise.
63324 [C99-based-standards] (PRIuFAST16): Likewise.
63325 [C99-based-standards] (PRIxFAST16): Likewise.
63326 [C99-based-standards] (PRIXFAST16): Likewise.
63327 [C99-based-standards] (SCNdFAST16): Likewise.
63328 [C99-based-standards] (SCNiFAST16): Likewise.
63329 [C99-based-standards] (SCNoFAST16): Likewise.
63330 [C99-based-standards] (SCNuFAST16): Likewise.
63331 [C99-based-standards] (SCNxFAST16): Likewise.
63332 [C99-based-standards] (PRId32): Likewise.
63333 [C99-based-standards] (PRIi32): Likewise.
63334 [C99-based-standards] (PRIo32): Likewise.
63335 [C99-based-standards] (PRIu32): Likewise.
63336 [C99-based-standards] (PRIx32): Likewise.
63337 [C99-based-standards] (PRIX32): Likewise.
63338 [C99-based-standards] (SCNd32): Likewise.
63339 [C99-based-standards] (SCNi32): Likewise.
63340 [C99-based-standards] (SCNo32): Likewise.
63341 [C99-based-standards] (SCNu32): Likewise.
63342 [C99-based-standards] (SCNx32): Likewise.
63343 [C99-based-standards] (PRIdLEAST32): Likewise.
63344 [C99-based-standards] (PRIiLEAST32): Likewise.
63345 [C99-based-standards] (PRIoLEAST32): Likewise.
63346 [C99-based-standards] (PRIuLEAST32): Likewise.
63347 [C99-based-standards] (PRIxLEAST32): Likewise.
63348 [C99-based-standards] (PRIXLEAST32): Likewise.
63349 [C99-based-standards] (SCNdLEAST32): Likewise.
63350 [C99-based-standards] (SCNiLEAST32): Likewise.
63351 [C99-based-standards] (SCNoLEAST32): Likewise.
63352 [C99-based-standards] (SCNuLEAST32): Likewise.
63353 [C99-based-standards] (SCNxLEAST32): Likewise.
63354 [C99-based-standards] (PRIdFAST32): Likewise.
63355 [C99-based-standards] (PRIiFAST32): Likewise.
63356 [C99-based-standards] (PRIoFAST32): Likewise.
63357 [C99-based-standards] (PRIuFAST32): Likewise.
63358 [C99-based-standards] (PRIxFAST32): Likewise.
63359 [C99-based-standards] (PRIXFAST32): Likewise.
63360 [C99-based-standards] (SCNdFAST32): Likewise.
63361 [C99-based-standards] (SCNiFAST32): Likewise.
63362 [C99-based-standards] (SCNoFAST32): Likewise.
63363 [C99-based-standards] (SCNuFAST32): Likewise.
63364 [C99-based-standards] (SCNxFAST32): Likewise.
63365 [C99-based-standards] (PRId64): Likewise.
63366 [C99-based-standards] (PRIi64): Likewise.
63367 [C99-based-standards] (PRIo64): Likewise.
63368 [C99-based-standards] (PRIu64): Likewise.
63369 [C99-based-standards] (PRIx64): Likewise.
63370 [C99-based-standards] (PRIX64): Likewise.
63371 [C99-based-standards] (SCNd64): Likewise.
63372 [C99-based-standards] (SCNi64): Likewise.
63373 [C99-based-standards] (SCNo64): Likewise.
63374 [C99-based-standards] (SCNu64): Likewise.
63375 [C99-based-standards] (SCNx64): Likewise.
63376 [C99-based-standards] (PRIdLEAST64): Likewise.
63377 [C99-based-standards] (PRIiLEAST64): Likewise.
63378 [C99-based-standards] (PRIoLEAST64): Likewise.
63379 [C99-based-standards] (PRIuLEAST64): Likewise.
63380 [C99-based-standards] (PRIxLEAST64): Likewise.
63381 [C99-based-standards] (PRIXLEAST64): Likewise.
63382 [C99-based-standards] (SCNdLEAST64): Likewise.
63383 [C99-based-standards] (SCNiLEAST64): Likewise.
63384 [C99-based-standards] (SCNoLEAST64): Likewise.
63385 [C99-based-standards] (SCNuLEAST64): Likewise.
63386 [C99-based-standards] (SCNxLEAST64): Likewise.
63387 [C99-based-standards] (PRIdFAST64): Likewise.
63388 [C99-based-standards] (PRIiFAST64): Likewise.
63389 [C99-based-standards] (PRIoFAST64): Likewise.
63390 [C99-based-standards] (PRIuFAST64): Likewise.
63391 [C99-based-standards] (PRIxFAST64): Likewise.
63392 [C99-based-standards] (PRIXFAST64): Likewise.
63393 [C99-based-standards] (SCNdFAST64): Likewise.
63394 [C99-based-standards] (SCNiFAST64): Likewise.
63395 [C99-based-standards] (SCNoFAST64): Likewise.
63396 [C99-based-standards] (SCNuFAST64): Likewise.
63397 [C99-based-standards] (SCNxFAST64): Likewise.
63398 [C99-based-standards] (PRIdMAX): Likewise.
63399 [C99-based-standards] (PRIiMAX): Likewise.
63400 [C99-based-standards] (PRIoMAX): Likewise.
63401 [C99-based-standards] (PRIuMAX): Likewise.
63402 [C99-based-standards] (PRIxMAX): Likewise.
63403 [C99-based-standards] (PRIXMAX): Likewise.
63404 [C99-based-standards] (SCNdMAX): Likewise.
63405 [C99-based-standards] (SCNiMAX): Likewise.
63406 [C99-based-standards] (SCNoMAX): Likewise.
63407 [C99-based-standards] (SCNuMAX): Likewise.
63408 [C99-based-standards] (SCNxMAX): Likewise.
63409 [C99-based-standards] (PRIdPTR): Likewise.
63410 [C99-based-standards] (PRIiPTR): Likewise.
63411 [C99-based-standards] (PRIoPTR): Likewise.
63412 [C99-based-standards] (PRIuPTR): Likewise.
63413 [C99-based-standards] (PRIxPTR): Likewise.
63414 [C99-based-standards] (PRIXPTR): Likewise.
63415 [C99-based-standards] (SCNdPTR): Likewise.
63416 [C99-based-standards] (SCNiPTR): Likewise.
63417 [C99-based-standards] (SCNoPTR): Likewise.
63418 [C99-based-standards] (SCNuPTR): Likewise.
63419 [C99-based-standards] (SCNxPTR): Likewise.
63420 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63421 allow.
63422 * conform/data/stdint.h-data: Update comments to clarify
63423 requirements.
63424 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
63425 type.
63426 [C99-based standards] (INT8_MAX): Likewise.
63427 [C99-based standards] (INT16_MIN): Likewise.
63428 [C99-based standards] (INT16_MAX): Likewise.
63429 [C99-based standards] (INT32_MIN): Likewise.
63430 [C99-based standards] (INT32_MAX): Likewise.
63431 [C99-based standards] (INT64_MIN): Likewise.
63432 [C99-based standards] (INT64_MAX): Likewise.
63433 [C99-based standards] (UINT8_MAX): Likewise.
63434 [C99-based standards] (UINT16_MAX): Likewise.
63435 [C99-based standards] (UINT32_MAX): Likewise.
63436 [C99-based standards] (UINT64_MAX): Likewise.
63437 [C99-based standards] (INT_LEAST8_MIN): Likewise.
63438 [C99-based standards] (INT_LEAST8_MAX): Likewise.
63439 [C99-based standards] (INT_LEAST16_MIN): Likewise.
63440 [C99-based standards] (INT_LEAST16_MAX): Likewise.
63441 [C99-based standards] (INT_LEAST32_MIN): Likewise.
63442 [C99-based standards] (INT_LEAST32_MAX): Likewise.
63443 [C99-based standards] (INT_LEAST64_MIN): Likewise.
63444 [C99-based standards] (INT_LEAST64_MAX): Likewise.
63445 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
63446 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
63447 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
63448 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
63449 [C99-based standards] (INT_FAST8_MIN): Likewise.
63450 [C99-based standards] (INT_FAST8_MAX): Likewise.
63451 [C99-based standards] (INT_FAST16_MIN): Likewise.
63452 [C99-based standards] (INT_FAST16_MAX): Likewise.
63453 [C99-based standards] (INT_FAST32_MIN): Likewise.
63454 [C99-based standards] (INT_FAST32_MAX): Likewise.
63455 [C99-based standards] (INT_FAST64_MIN): Likewise.
63456 [C99-based standards] (INT_FAST64_MAX): Likewise.
63457 [C99-based standards] (UINT_FAST8_MAX): Likewise.
63458 [C99-based standards] (UINT_FAST16_MAX): Likewise.
63459 [C99-based standards] (UINT_FAST32_MAX): Likewise.
63460 [C99-based standards] (UINT_FAST64_MAX): Likewise.
63461 [C99-based standards] (INTPTR_MIN): Likewise.
63462 [C99-based standards] (INTPTR_MAX): Likewise.
63463 [C99-based standards] (UINTPTR_MAX): Likewise.
63464 [C99-based standards] (INTMAX_MIN): Likewise.
63465 [C99-based standards] (INTMAX_MAX): Likewise.
63466 [C99-based standards] (UINTMAX_MAX): Likewise.
63467 [C99-based standards] (PTRDIFF_MIN): Likewise.
63468 [C99-based standards] (PTRDIFF_MAX): Likewise.
63469 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
63470 [C99-based standards] (SIZE_MAX): Likewise.
63471 [C99-based standards] (WCHAR_MAX): Likewise.
63472 [C99-based standards] (WINT_MAX): Likewise.
63473 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
63474 constraint on value.
63475 [C99-based standards] (WCHAR_MIN): Likewise.
63476 [C99-based standards] (WINT_MIN): Likewise.
63477 [C99-based standards] (*_t): Allow.
63478 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
63479 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
63480 Include math.h-data and complex.h-data. Remove all expectations
63481 of math.h and complex.h contents.
63482 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
63483 at end of line.
63484 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
63485 (struct tm): Expect tag.
63486 [C99-based-standards] (wcstof): Expect function.
63487 [C99-based-standards] (wcstold): Likewise.
63488 [C99-based-standards] (wcstoll): Likewise.
63489 [C99-based-standards] (wcstoull): Likewise.
63490 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
63491 macro-int-constant. Specify type.
63492 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
63493 constraint on value.
63494 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63495 Specify type.
63496 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
63497 Specify value.
63498 [ISO C standards]: Do not allow headers.
63499 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
63500 wcs[abcdefghijklmnopqrstuvwxyz]*.
63501 [ISO C standards] (*_t): Do not allow.
63502 * conform/data/wctype.h-data [C99-based standards] (iswblank):
63503 Expect function.
63504 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
63505 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63506 Specify type.
63507 [ISO C standards]: Do not allow headers.
63508 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
63509 is[abcdefghijklmnopqrstuvwxyz]*.
63510 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
63511 to[abcdefghijklmnopqrstuvwxyz]*.
63512 [ISO C standards] (*_t): Do not allow.
63513 * conform/data/stdalign.h-data: New file.
63514 * conform/data/stdbool.h-data: Likewise.
63515 * conform/data/stdnoreturn.h-data: Likewise.
63516
63517 2012-11-07 Roland McGrath <roland@hack.frob.com>
63518
63519 [BZ #14815]
63520 * manual/filesys.texi (Directory Entries): Typo fix.
63521 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
63522
63523 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63524
63525 * elf/elf.h (EM_AARCH64): New macro.
63526 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
63527 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
63528 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
63529 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
63530 (R_AARCH64_TLSDESC): Likewise.
63531 (NT_ARM_TLS): Likewise.
63532 (NT_ARM_HW_BREAK): Likewise.
63533 (NT_ARM_HW_WATCH): Likewise.
63534
63535 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63536
63537 [BZ #14811]
63538 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
63539 (__ieee754_powl): Saturate nonzero exponents with absolute value
63540 below 0x1p-79 to +/- 0x1p-79.
63541 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
63542 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
63543 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
63544 nonzero exponents with absolute value below 0x1p-32 to +/-
63545 0x1p-32.
63546 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
63547 (__ieee754_powl): Saturate nonzero exponents with absolute value
63548 below 0x1p-79 to +/- 0x1p-79.
63549 * math/libm-test.inc (pow_test): Add more tests.
63550
63551 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63552
63553 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
63554 _dl_s390_cap_flags with kernel. Increase string length.
63555 (_dl_s390_platforms): Add z196 and zEC12.
63556
63557 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63558
63559 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
63560 Change XOPEN21K to XOPEN2K.
63561
63562 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
63563
63564 * string/memmove.c: Use memcpy when possible.
63565
63566 2012-11-06 Andreas Jaeger <aj@suse.de>
63567
63568 * po/eo.po: Update from translation team.
63569
63570 2012-11-06 Joseph Myers <joseph@codesourcery.com>
63571
63572 [BZ #14793]
63573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
63574 exponent and small x and y exponents, scale x or y up. Increase
63575 by 2 the exponent used in scaling up.
63576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63578 * math/libm-test.inc (fma_test): Add more tests.
63579 (fma_test_towardzero): Likewise.
63580 (fma_test_downward): Likewise.
63581 (fma_test_upward): Likewise.
63582
63583 2012-11-05 Joseph Myers <joseph@codesourcery.com>
63584
63585 [BZ #14805]
63586 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
63587 fenv_t *.
63588
63589 [BZ #14801]
63590 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
63591 namespace for names of struct fields.
63592 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
63593 fenv_t fields.
63594 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
63595 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
63596
63597 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
63598
63599 [BZ #3665]
63600 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
63601
63602 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
63603
63604 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
63605 PTR_DEMANGLE.
63606
63607 [BZ #5246]
63608 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
63609 PTR_DEMANGLE.
63610
63611 2012-11-04 Joseph Myers <joseph@codesourcery.com>
63612
63613 [BZ #14797]
63614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
63615 definitely overflow as x * y not x * y + z.
63616 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63617 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63618 * math/libm-test.inc (fma_test): Add more tests.
63619 (fma_test_towardzero): Likewise.
63620 (fma_test_downward): Likewise.
63621 (fma_test_upward): Likewise.
63622
63623 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
63624
63625 [BZ #157]
63626
63627 * include/stub-tag.h: Remove file.
63628 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
63629 '#include' of it.
63630 * manual/maint.texi (Porting): Don't reference it.
63631 * Makerules ($(objpfx)stubs): Likewise.
63632 * dirent/closedir.c: Don't include <stub-tag.h>.
63633 * dirent/dirfd.c: Likewise.
63634 * dirent/fdopendir.c: Likewise.
63635 * dirent/getdents.c: Likewise.
63636 * dirent/getdents64.c: Likewise.
63637 * dirent/opendir.c: Likewise.
63638 * dirent/readdir.c: Likewise.
63639 * dirent/readdir64.c: Likewise.
63640 * dirent/readdir64_r.c: Likewise.
63641 * dirent/readdir_r.c: Likewise.
63642 * dirent/rewinddir.c: Likewise.
63643 * dirent/seekdir.c: Likewise.
63644 * dirent/telldir.c: Likewise.
63645 * gmon/profil.c: Likewise.
63646 * grp/setgroups.c: Likewise.
63647 * inet/if_index.c: Likewise.
63648 * io/access.c: Likewise.
63649 * io/chdir.c: Likewise.
63650 * io/chmod.c: Likewise.
63651 * io/chown.c: Likewise.
63652 * io/close.c: Likewise.
63653 * io/dup.c: Likewise.
63654 * io/dup2.c: Likewise.
63655 * io/dup3.c: Likewise.
63656 * io/euidaccess.c: Likewise.
63657 * io/faccessat.c: Likewise.
63658 * io/fchdir.c: Likewise.
63659 * io/fchmod.c: Likewise.
63660 * io/fchmodat.c: Likewise.
63661 * io/fchown.c: Likewise.
63662 * io/fchownat.c: Likewise.
63663 * io/fcntl.c: Likewise.
63664 * io/flock.c: Likewise.
63665 * io/fstatfs.c: Likewise.
63666 * io/fstatfs64.c: Likewise.
63667 * io/fstatvfs.c: Likewise.
63668 * io/fstatvfs64.c: Likewise.
63669 * io/futimens.c: Likewise.
63670 * io/fxstat.c: Likewise.
63671 * io/fxstat64.c: Likewise.
63672 * io/fxstatat.c: Likewise.
63673 * io/fxstatat64.c: Likewise.
63674 * io/getcwd.c: Likewise.
63675 * io/isatty.c: Likewise.
63676 * io/lchmod.c: Likewise.
63677 * io/lchown.c: Likewise.
63678 * io/link.c: Likewise.
63679 * io/linkat.c: Likewise.
63680 * io/lseek.c: Likewise.
63681 * io/lseek64.c: Likewise.
63682 * io/lxstat64.c: Likewise.
63683 * io/mkdir.c: Likewise.
63684 * io/mkdirat.c: Likewise.
63685 * io/mkfifo.c: Likewise.
63686 * io/mkfifoat.c: Likewise.
63687 * io/open.c: Likewise.
63688 * io/open64.c: Likewise.
63689 * io/openat.c: Likewise.
63690 * io/openat64.c: Likewise.
63691 * io/pipe.c: Likewise.
63692 * io/pipe2.c: Likewise.
63693 * io/poll.c: Likewise.
63694 * io/posix_fadvise.c: Likewise.
63695 * io/posix_fadvise64.c: Likewise.
63696 * io/posix_fallocate.c: Likewise.
63697 * io/posix_fallocate64.c: Likewise.
63698 * io/read.c: Likewise.
63699 * io/readlink.c: Likewise.
63700 * io/readlinkat.c: Likewise.
63701 * io/rmdir.c: Likewise.
63702 * io/sendfile.c: Likewise.
63703 * io/sendfile64.c: Likewise.
63704 * io/statfs.c: Likewise.
63705 * io/statfs64.c: Likewise.
63706 * io/statvfs.c: Likewise.
63707 * io/statvfs64.c: Likewise.
63708 * io/symlink.c: Likewise.
63709 * io/symlinkat.c: Likewise.
63710 * io/ttyname.c: Likewise.
63711 * io/ttyname_r.c: Likewise.
63712 * io/umask.c: Likewise.
63713 * io/unlink.c: Likewise.
63714 * io/unlinkat.c: Likewise.
63715 * io/utime.c: Likewise.
63716 * io/utimensat.c: Likewise.
63717 * io/write.c: Likewise.
63718 * io/xmknod.c: Likewise.
63719 * io/xmknodat.c: Likewise.
63720 * io/xstat.c: Likewise.
63721 * io/xstat64.c: Likewise.
63722 * login/getpt.c: Likewise.
63723 * login/grantpt.c: Likewise.
63724 * login/unlockpt.c: Likewise.
63725 * math/e_acoshl.c: Likewise.
63726 * math/e_acosl.c: Likewise.
63727 * math/e_asinl.c: Likewise.
63728 * math/e_atan2l.c: Likewise.
63729 * math/e_atanhl.c: Likewise.
63730 * math/e_coshl.c: Likewise.
63731 * math/e_expl.c: Likewise.
63732 * math/e_fmodl.c: Likewise.
63733 * math/e_gammal_r.c: Likewise.
63734 * math/e_hypotl.c: Likewise.
63735 * math/e_j0l.c: Likewise.
63736 * math/e_j1l.c: Likewise.
63737 * math/e_jnl.c: Likewise.
63738 * math/e_lgammal_r.c: Likewise.
63739 * math/e_log10l.c: Likewise.
63740 * math/e_log2l.c: Likewise.
63741 * math/e_logl.c: Likewise.
63742 * math/e_powl.c: Likewise.
63743 * math/e_rem_pio2l.c: Likewise.
63744 * math/e_sinhl.c: Likewise.
63745 * math/e_sqrtl.c: Likewise.
63746 * math/fclrexcpt.c: Likewise.
63747 * math/fedisblxcpt.c: Likewise.
63748 * math/feenablxcpt.c: Likewise.
63749 * math/fegetenv.c: Likewise.
63750 * math/fegetexcept.c: Likewise.
63751 * math/fegetround.c: Likewise.
63752 * math/feholdexcpt.c: Likewise.
63753 * math/fesetenv.c: Likewise.
63754 * math/fesetround.c: Likewise.
63755 * math/feupdateenv.c: Likewise.
63756 * math/fgetexcptflg.c: Likewise.
63757 * math/fraiseexcpt.c: Likewise.
63758 * math/fsetexcptflg.c: Likewise.
63759 * math/ftestexcept.c: Likewise.
63760 * math/k_cosl.c: Likewise.
63761 * math/k_rem_pio2l.c: Likewise.
63762 * math/k_sinl.c: Likewise.
63763 * math/k_tanl.c: Likewise.
63764 * math/s_asinhl.c: Likewise.
63765 * math/s_atanl.c: Likewise.
63766 * math/s_cbrtl.c: Likewise.
63767 * math/s_erfl.c: Likewise.
63768 * math/s_expm1l.c: Likewise.
63769 * math/s_log1pl.c: Likewise.
63770 * math/s_tanhl.c: Likewise.
63771 * misc/acct.c: Likewise.
63772 * misc/brk.c: Likewise.
63773 * misc/chflags.c: Likewise.
63774 * misc/chroot.c: Likewise.
63775 * misc/fchflags.c: Likewise.
63776 * misc/fgetxattr.c: Likewise.
63777 * misc/flistxattr.c: Likewise.
63778 * misc/fremovexattr.c: Likewise.
63779 * misc/fsetxattr.c: Likewise.
63780 * misc/fsync.c: Likewise.
63781 * misc/ftruncate.c: Likewise.
63782 * misc/futimes.c: Likewise.
63783 * misc/futimesat.c: Likewise.
63784 * misc/getdomain.c: Likewise.
63785 * misc/getdtsz.c: Likewise.
63786 * misc/gethostid.c: Likewise.
63787 * misc/gethostname.c: Likewise.
63788 * misc/getloadavg.c: Likewise.
63789 * misc/getpagesize.c: Likewise.
63790 * misc/getsysstats.c: Likewise.
63791 * misc/getxattr.c: Likewise.
63792 * misc/gtty.c: Likewise.
63793 * misc/ioctl.c: Likewise.
63794 * misc/lgetxattr.c: Likewise.
63795 * misc/listxattr.c: Likewise.
63796 * misc/llistxattr.c: Likewise.
63797 * misc/lremovexattr.c: Likewise.
63798 * misc/lsetxattr.c: Likewise.
63799 * misc/lutimes.c: Likewise.
63800 * misc/madvise.c: Likewise.
63801 * misc/mincore.c: Likewise.
63802 * misc/mlock.c: Likewise.
63803 * misc/mlockall.c: Likewise.
63804 * misc/mmap.c: Likewise.
63805 * misc/mprotect.c: Likewise.
63806 * misc/msync.c: Likewise.
63807 * misc/munlock.c: Likewise.
63808 * misc/munlockall.c: Likewise.
63809 * misc/munmap.c: Likewise.
63810 * misc/preadv.c: Likewise.
63811 * misc/preadv64.c: Likewise.
63812 * misc/ptrace.c: Likewise.
63813 * misc/pwritev.c: Likewise.
63814 * misc/pwritev64.c: Likewise.
63815 * misc/readv.c: Likewise.
63816 * misc/reboot.c: Likewise.
63817 * misc/remap_file_pages.c: Likewise.
63818 * misc/removexattr.c: Likewise.
63819 * misc/revoke.c: Likewise.
63820 * misc/select.c: Likewise.
63821 * misc/setdomain.c: Likewise.
63822 * misc/setegid.c: Likewise.
63823 * misc/seteuid.c: Likewise.
63824 * misc/sethostid.c: Likewise.
63825 * misc/sethostname.c: Likewise.
63826 * misc/setregid.c: Likewise.
63827 * misc/setreuid.c: Likewise.
63828 * misc/setxattr.c: Likewise.
63829 * misc/sstk.c: Likewise.
63830 * misc/stty.c: Likewise.
63831 * misc/swapoff.c: Likewise.
63832 * misc/swapon.c: Likewise.
63833 * misc/sync.c: Likewise.
63834 * misc/syncfs.c: Likewise.
63835 * misc/syscall.c: Likewise.
63836 * misc/truncate.c: Likewise.
63837 * misc/ualarm.c: Likewise.
63838 * misc/usleep.c: Likewise.
63839 * misc/ustat.c: Likewise.
63840 * misc/utimes.c: Likewise.
63841 * misc/vhangup.c: Likewise.
63842 * misc/writev.c: Likewise.
63843 * posix/_exit.c: Likewise.
63844 * posix/alarm.c: Likewise.
63845 * posix/execve.c: Likewise.
63846 * posix/fexecve.c: Likewise.
63847 * posix/fork.c: Likewise.
63848 * posix/fpathconf.c: Likewise.
63849 * posix/getaddrinfo.c: Likewise.
63850 * posix/getegid.c: Likewise.
63851 * posix/geteuid.c: Likewise.
63852 * posix/getgid.c: Likewise.
63853 * posix/getgroups.c: Likewise.
63854 * posix/getlogin.c: Likewise.
63855 * posix/getlogin_r.c: Likewise.
63856 * posix/getpgid.c: Likewise.
63857 * posix/getpid.c: Likewise.
63858 * posix/getppid.c: Likewise.
63859 * posix/getresgid.c: Likewise.
63860 * posix/getresuid.c: Likewise.
63861 * posix/getsid.c: Likewise.
63862 * posix/getuid.c: Likewise.
63863 * posix/glob64.c: Likewise.
63864 * posix/nanosleep.c: Likewise.
63865 * posix/pathconf.c: Likewise.
63866 * posix/pause.c: Likewise.
63867 * posix/posix_madvise.c: Likewise.
63868 * posix/pread.c: Likewise.
63869 * posix/pread64.c: Likewise.
63870 * posix/pwrite.c: Likewise.
63871 * posix/pwrite64.c: Likewise.
63872 * posix/sched_getaffinity.c: Likewise.
63873 * posix/sched_getp.c: Likewise.
63874 * posix/sched_gets.c: Likewise.
63875 * posix/sched_primax.c: Likewise.
63876 * posix/sched_primin.c: Likewise.
63877 * posix/sched_rr_gi.c: Likewise.
63878 * posix/sched_setaffinity.c: Likewise.
63879 * posix/sched_setp.c: Likewise.
63880 * posix/sched_sets.c: Likewise.
63881 * posix/sched_yield.c: Likewise.
63882 * posix/setgid.c: Likewise.
63883 * posix/setlogin.c: Likewise.
63884 * posix/setpgid.c: Likewise.
63885 * posix/setresgid.c: Likewise.
63886 * posix/setresuid.c: Likewise.
63887 * posix/setsid.c: Likewise.
63888 * posix/setuid.c: Likewise.
63889 * posix/sleep.c: Likewise.
63890 * posix/spawni.c: Likewise.
63891 * posix/sysconf.c: Likewise.
63892 * posix/times.c: Likewise.
63893 * posix/wait.c: Likewise.
63894 * posix/wait3.c: Likewise.
63895 * posix/wait4.c: Likewise.
63896 * posix/waitpid.c: Likewise.
63897 * resolv/gai_sigqueue.c: Likewise.
63898 * resource/getpriority.c: Likewise.
63899 * resource/getrlimit.c: Likewise.
63900 * resource/getrusage.c: Likewise.
63901 * resource/nice.c: Likewise.
63902 * resource/setpriority.c: Likewise.
63903 * resource/setrlimit.c: Likewise.
63904 * resource/ulimit.c: Likewise.
63905 * rt/aio_cancel.c: Likewise.
63906 * rt/aio_fsync.c: Likewise.
63907 * rt/aio_read.c: Likewise.
63908 * rt/aio_sigqueue.c: Likewise.
63909 * rt/aio_suspend.c: Likewise.
63910 * rt/aio_write.c: Likewise.
63911 * rt/clock_getres.c: Likewise.
63912 * rt/clock_gettime.c: Likewise.
63913 * rt/clock_nanosleep.c: Likewise.
63914 * rt/clock_settime.c: Likewise.
63915 * rt/lio_listio.c: Likewise.
63916 * rt/mq_close.c: Likewise.
63917 * rt/mq_getattr.c: Likewise.
63918 * rt/mq_notify.c: Likewise.
63919 * rt/mq_open.c: Likewise.
63920 * rt/mq_receive.c: Likewise.
63921 * rt/mq_send.c: Likewise.
63922 * rt/mq_setattr.c: Likewise.
63923 * rt/mq_timedreceive.c: Likewise.
63924 * rt/mq_timedsend.c: Likewise.
63925 * rt/mq_unlink.c: Likewise.
63926 * rt/shm_open.c: Likewise.
63927 * rt/shm_unlink.c: Likewise.
63928 * rt/timer_create.c: Likewise.
63929 * rt/timer_delete.c: Likewise.
63930 * rt/timer_getoverr.c: Likewise.
63931 * rt/timer_gettime.c: Likewise.
63932 * rt/timer_settime.c: Likewise.
63933 * setjmp/__longjmp.c: Likewise.
63934 * setjmp/setjmp.c: Likewise.
63935 * signal/kill.c: Likewise.
63936 * signal/killpg.c: Likewise.
63937 * signal/raise.c: Likewise.
63938 * signal/sigaction.c: Likewise.
63939 * signal/sigaltstack.c: Likewise.
63940 * signal/sigblock.c: Likewise.
63941 * signal/sigignore.c: Likewise.
63942 * signal/sigintr.c: Likewise.
63943 * signal/signal.c: Likewise.
63944 * signal/sigpause.c: Likewise.
63945 * signal/sigpending.c: Likewise.
63946 * signal/sigqueue.c: Likewise.
63947 * signal/sigreturn.c: Likewise.
63948 * signal/sigset.c: Likewise.
63949 * signal/sigsetmask.c: Likewise.
63950 * signal/sigstack.c: Likewise.
63951 * signal/sigsuspend.c: Likewise.
63952 * signal/sigtimedwait.c: Likewise.
63953 * signal/sigvec.c: Likewise.
63954 * signal/sigwait.c: Likewise.
63955 * signal/sigwaitinfo.c: Likewise.
63956 * signal/sysv_signal.c: Likewise.
63957 * socket/accept.c: Likewise.
63958 * socket/accept4.c: Likewise.
63959 * socket/bind.c: Likewise.
63960 * socket/connect.c: Likewise.
63961 * socket/getpeername.c: Likewise.
63962 * socket/getsockname.c: Likewise.
63963 * socket/getsockopt.c: Likewise.
63964 * socket/isfdtype.c: Likewise.
63965 * socket/listen.c: Likewise.
63966 * socket/recv.c: Likewise.
63967 * socket/recvfrom.c: Likewise.
63968 * socket/recvmsg.c: Likewise.
63969 * socket/send.c: Likewise.
63970 * socket/sendmsg.c: Likewise.
63971 * socket/sendto.c: Likewise.
63972 * socket/setsockopt.c: Likewise.
63973 * socket/shutdown.c: Likewise.
63974 * socket/sockatmark.c: Likewise.
63975 * socket/socket.c: Likewise.
63976 * socket/socketpair.c: Likewise.
63977 * stdio-common/ctermid.c: Likewise.
63978 * stdio-common/cuserid.c: Likewise.
63979 * stdio-common/remove.c: Likewise.
63980 * stdio-common/rename.c: Likewise.
63981 * stdio-common/renameat.c: Likewise.
63982 * stdio-common/tempname.c: Likewise.
63983 * stdlib/getcontext.c: Likewise.
63984 * stdlib/makecontext.c: Likewise.
63985 * stdlib/setcontext.c: Likewise.
63986 * stdlib/swapcontext.c: Likewise.
63987 * stdlib/system.c: Likewise.
63988 * streams/fattach.c: Likewise.
63989 * streams/fdetach.c: Likewise.
63990 * streams/getmsg.c: Likewise.
63991 * streams/getpmsg.c: Likewise.
63992 * streams/putmsg.c: Likewise.
63993 * streams/putpmsg.c: Likewise.
63994 * sysdeps/unix/bsd/getpt.c: Likewise.
63995 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
63996 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
63997 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63999 Likewise.
64000 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64001 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64002 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64003 * sysvipc/msgctl.c: Likewise.
64004 * sysvipc/msgget.c: Likewise.
64005 * sysvipc/msgrcv.c: Likewise.
64006 * sysvipc/msgsnd.c: Likewise.
64007 * sysvipc/semctl.c: Likewise.
64008 * sysvipc/semget.c: Likewise.
64009 * sysvipc/semop.c: Likewise.
64010 * sysvipc/semtimedop.c: Likewise.
64011 * sysvipc/shmat.c: Likewise.
64012 * sysvipc/shmctl.c: Likewise.
64013 * sysvipc/shmdt.c: Likewise.
64014 * sysvipc/shmget.c: Likewise.
64015 * termios/tcdrain.c: Likewise.
64016 * termios/tcflow.c: Likewise.
64017 * termios/tcflush.c: Likewise.
64018 * termios/tcgetattr.c: Likewise.
64019 * termios/tcgetpgrp.c: Likewise.
64020 * termios/tcsendbrk.c: Likewise.
64021 * termios/tcsetattr.c: Likewise.
64022 * termios/tcsetpgrp.c: Likewise.
64023 * time/adjtime.c: Likewise.
64024 * time/clock.c: Likewise.
64025 * time/getitimer.c: Likewise.
64026 * time/gettimeofday.c: Likewise.
64027 * time/setitimer.c: Likewise.
64028 * time/settimeofday.c: Likewise.
64029 * time/stime.c: Likewise.
64030 * time/time.c: Likewise.
64031
64032 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
64033
64034 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64035 /usr/old/bin.
64036
64037 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64038 instead of spaces.
64039 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64040
64041 2012-11-03 Joseph Myers <joseph@codesourcery.com>
64042
64043 [BZ #14796]
64044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64045 FE_TONEAREST before applying Dekker multiplication and Knuth
64046 addition. Clear inexact exceptions and check for exact zero
64047 results afterwards.
64048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64049 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64050 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64051 * math/libm-test.inc (fma_test): Add more tests.
64052 (fma_test_towardzero): Likewise.
64053 (fma_test_downward): Likewise.
64054 (fma_test_upward): Likewise.
64055 * sysdeps/generic/math_private.h (default_libc_fesetround): New
64056 function.
64057 (libc_fesetround): New macro.
64058 (libc_fesetroundf): Likewise.
64059 (libc_fesetroundl): Likewise.
64060 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64061 function.
64062 (libc_fesetround_387): Likewise.
64063 (libc_fesetroundf): New macro.
64064 (libc_fesetround): Likewise.
64065 (libc_fesetroundl): Likewise.
64066 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64067 function.
64068 (libc_fesetroundf): New macro.
64069 (libc_fesetround): Likewise.
64070 (libc_fesetroundl): Likewise.
64071 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64072 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64073 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64074 libm_hidden_ver.
64075 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64076 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64077 libm_hidden_def.
64078 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64079 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64080 libm_hidden_ver.
64081 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64082 libm_hidden_def.
64083
64084 [BZ #3439]
64085 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64086 integer constant usable in #if and use that to give value to enum
64087 constant.
64088 (FE_DIVBYZERO): Likewise.
64089 (FE_UNDERFLOW): Likewise.
64090 (FE_OVERFLOW): Likewise.
64091 (FE_INVALID): Likewise.
64092 (FE_INVALID_SNAN): Likewise.
64093 (FE_INVALID_ISI): Likewise.
64094 (FE_INVALID_IDI): Likewise.
64095 (FE_INVALID_ZDZ): Likewise.
64096 (FE_INVALID_IMZ): Likewise.
64097 (FE_INVALID_COMPARE): Likewise.
64098 (FE_INVALID_SOFTWARE): Likewise.
64099 (FE_INVALID_SQRT): Likewise.
64100 (FE_INVALID_INTEGER_CONVERSION): Likewise.
64101 (FE_TONEAREST): Likewise.
64102 (FE_TOWARDZERO): Likewise.
64103 (FE_UPWARD): Likewise.
64104 (FE_DOWNWARD): Likewise.
64105 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64106 (FE_DIVBYZERO): Likewise.
64107 (FE_OVERFLOW): Likewise.
64108 (FE_UNDERFLOW): Likewise.
64109 (FE_INEXACT): Likewise.
64110 (FE_TONEAREST): Likewise.
64111 (FE_DOWNWARD): Likewise.
64112 (FE_UPWARD): Likewise.
64113 (FE_TOWARDZERO): Likewise.
64114 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64115 (FE_UNDERFLOW): Likewise.
64116 (FE_OVERFLOW): Likewise.
64117 (FE_DIVBYZERO): Likewise.
64118 (FE_INVALID): Likewise.
64119 (FE_TONEAREST): Likewise.
64120 (FE_TOWARDZERO): Likewise.
64121 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64122 (FE_OVERFLOW): Likewise.
64123 (FE_UNDERFLOW): Likewise.
64124 (FE_DIVBYZERO): Likewise.
64125 (FE_INEXACT): Likewise.
64126 (FE_TONEAREST): Likewise.
64127 (FE_TOWARDZERO): Likewise.
64128 (FE_UPWARD): Likewise.
64129 (FE_DOWNWARD): Likewise.
64130 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64131 (FE_DIVBYZERO): Likewise.
64132 (FE_OVERFLOW): Likewise.
64133 (FE_UNDERFLOW): Likewise.
64134 (FE_INEXACT): Likewise.
64135 (FE_TONEAREST): Likewise.
64136 (FE_DOWNWARD): Likewise.
64137 (FE_UPWARD): Likewise.
64138 (FE_TOWARDZERO): Likewise.
64139
64140 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
64141
64142 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64143
64144 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
64145
64146 * scripts/cross-test-ssh.sh (command): Use newlines to separate
64147 commands. Quote $PWD.
64148 (blacklist_exports): Don't use remove_newlines. Replace "declare
64149 -x" by "export".
64150 (remove_newlines): Remove.
64151
64152 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
64153
64154 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64155 * stdlib/stdlib.h (atof): Moved to ...
64156 * include/bits/stdlib-float.h: Here. New file.
64157 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64158 * stdlib/bits/stdlib-float.h: New file.
64159 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64160 -mno-sse -mno-mmx.
64161 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64162 <xmmintrin.h>.
64163
64164 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64165
64166 * conform/conformtest.pl (@headers): Add fenv.h.
64167 * conform/data/fenv.h-data: New file.
64168 * include/fenv.h [_ISOMAC]: Disable all contents of file except
64169 include of <math/fenv.h>.
64170
64171 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64172 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64173 && !UNIX98]. Enables tests for XOPEN2K8.
64174 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64175 POSIX2008]: Likewise.
64176
64177 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64178 (struct rusage): Do not expect type or its members.
64179
64180 [BZ #3439]
64181 * math/math.h (FP_NAN): Define macro to integer constant usable in
64182 #if and use that to give value to enum constant.
64183 (FP_INFINITE): Likewise.
64184 (FP_ZERO): Likewise.
64185 (FP_SUBNORMAL): Likewise.
64186 (FP_NORMAL): Likewise.
64187
64188 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
64189
64190 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64191 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64192 arguments.
64193
64194 2012-11-02 Roland McGrath <roland@hack.frob.com>
64195
64196 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64197 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64198 autoconf-time if not.
64199 * configure.in: Remove AC_PREREQ.
64200
64201 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64202
64203 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64204 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64205 of the internal implementation.
64206
64207 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64208
64209 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64210 except include of <misc/sys/syslog.h>.
64211
64212 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64213
64214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64215 function returns with a NULL context exit with zero.
64216
64217 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64218
64219 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64220
64221 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
64222
64223 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64224 (run_program_cmd): This.
64225 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64226 (tst_langinfo): New variable. Use it.
64227
64228 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
64229
64230 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64231 floating point opcodes.
64232
64233 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64234
64235 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64236 variable.
64237
64238 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64239
64240 * sysdeps/mach/hurd/powerpc: Remove directory.
64241 * sysdeps/mach/powerpc: Likewise.
64242
64243 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64244
64245 * scripts/check-local-headers.sh: Ignore c++ headers.
64246
64247 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64248
64249 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64250 __libc_cleanup_region_start argument.
64251
64252 2012-11-01 Joseph Myers <joseph@codesourcery.com>
64253
64254 [BZ #14784]
64255 [BZ #14785]
64256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64257 x * y using scaling, not as x * y + z.
64258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64259 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64260 * math/libm-test.inc (fma_test): Add more tests.
64261 (fma_test_towardzero): Likewise.
64262 (fma_test_downward): Likewise.
64263 (fma_test_upward): Likewise.
64264
64265 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64266
64267 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64268
64269 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64270
64271 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64272 New variable.
64273
64274 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
64275
64276 * rt/tst-shm.c (worker): Correct checking for mmap failure.
64277
64278 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64279
64280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64281 Fix sort order.
64282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64283 Likewise.
64284
64285 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64286
64287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64288 Fix the order of the list for glibc 2.17.
64289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64290 Likewise.
64291
64292 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64293
64294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64295
64296 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64297
64298 [BZ #14610]
64299 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64300 for low part of x being zero before using __atanl (y).
64301 * math/libm-test.inc (atan2_test): Add another test.
64302
64303 * manual/install.texi (Configuring and compiling): Document
64304 general use of test-wrapper and test-wrapper-env.
64305 * INSTALL: Regenerated.
64306
64307 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64308 (__fma): Do not extract and scale down low bits on after-rounding
64309 systems when result rounded to normal precision would have normal
64310 exponent.
64311 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64312 (__fmal): Do not extract and scale down low bits on after-rounding
64313 systems when result rounded to normal precision would have normal
64314 exponent.
64315 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64316 (__fmal): Do not extract and scale down low bits on after-rounding
64317 systems when result rounded to normal precision would have normal
64318 exponent.
64319 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64320 macro.
64321 (fma_test): Add more tests.
64322 (fma_test_towardzero): Likewise.
64323 (fma_test_downward): Likewise.
64324 (fma_test_upward): Likewise.
64325
64326 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
64327
64328 * sysdeps/i386/tininess.h: Renamed to ...
64329 * sysdeps/x86/tininess.h: This.
64330 * sysdeps/x86_64/tininess.h: Removed.
64331
64332 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64333
64334 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64335 input. Use $(build-program-cmd).
64336 ($(objpfx)tst-array1-static.out): Likewise.
64337 ($(objpfx)tst-array2.out): Likewise.
64338 ($(objpfx)tst-array3.out): Likewise.
64339 ($(objpfx)tst-array4.out): Likewise.
64340 ($(objpfx)tst-array5.out): Likewise.
64341 ($(objpfx)tst-array5-static.out): Likewise.
64342
64343 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
64344
64345 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64346 if defined.
64347
64348 * nss/nsswitch.h (nss_interface_function): Provide new
64349 macro for use with NSS functions.
64350 * grp/initgroups.c: Use new macro.
64351 * nss/getXXbyYY.c: Likewise.
64352 * nss/getXXbyYY_r.c: Likewise.
64353 * nss/getXXent.c: Likewise.
64354 * nss/getXXent_r.c: Likewise.
64355 * sysdeps/posix/getaddrinfo.c: Likewise.
64356
64357 2012-10-30 Andreas Jaeger <aj@suse.de>
64358
64359 * po/ru.po: Update Russion translation from translation project.
64360
64361 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64362
64363 [BZ #14152]
64364 [BZ #14783]
64365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64366 result and shift together with sticky bit instead of replicating
64367 round-to-nearest rounding.
64368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64369 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64370 * math/libm-test.inc (fma_test): Add more tests. Do not permit
64371 missing underflow exceptions.
64372 (fma_test_towardzero): Add more tests.
64373 (fma_test_downward): Likewise.
64374 (fma_test_upward): Likewise.
64375
64376 [BZ #14047]
64377 * sysdeps/generic/tininess.h: New file.
64378 * sysdeps/i386/tininess.h: Likewise.
64379 * sysdeps/sh/tininess.h: Likewise.
64380 * sysdeps/x86_64/tininess.h: Likewise.
64381 * stdlib/tst-strtod-underflow.c: Likewise.
64382 * stdlib/tst-tininess.c: Likewise.
64383 * stdlib/strtod_l.c: Include <tininess.h>.
64384 (round_and_return): Do not set errno for exact underflow cases.
64385 Force an underflow exception when setting errno for underflow.
64386 Determine underflow based on rounding to normal precision if
64387 TININESS_AFTER_ROUNDING.
64388 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64389 ERANGE for exact underflow cases.
64390 * stdlib/Makefile (tests): Add tst-tininess and
64391 tst-strtod-underflow.
64392 ($(objpfx)tst-tininess): Use $(link-libm).
64393 ($(objpfx)tst-strtod-underflow): Likewise.
64394
64395 2012-10-30 Andreas Jaeger <aj@suse.de>
64396
64397 [BZ#14767]
64398 * elf/Makefile (tests): Remove conditional for have-initfini-array
64399 since this is now always required and the variable does not exist
64400 anymore.
64401 (tests-static): Likewise.
64402 (modules-names): Likewise.
64403
64404 * po/eo.po: Add Esperanto translation from translation project.
64405
64406 * elf/tst-array1.c (fini_array): Make writeable so that it can be
64407 merged with constructor/destructor.
64408 (init_array): Likewise.
64409 * elf/tst-array2dep.c (fini_array): Likewise.
64410 (init_array): Likewise.
64411
64412 2012-10-29 Mike Frysinger <vapier@gentoo.org>
64413
64414 * manual/message.texi: Delete @cartouche tags.
64415
64416 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
64417
64418 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64419 EOPNOTSUPP.
64420 * sysdeps/mach/hurd/fsync.c: Likewise.
64421
64422 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64423 [_POSIX_REALTIME_SIGNALS]: Change condition to
64424 [_POSIX_REALTIME_SIGNALS > 0].
64425
64426 2012-10-27 Andreas Jaeger <aj@suse.de>
64427
64428 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64429 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64431 [__WORDSIZE != 64]: Likewise.
64432
64433 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
64434
64435 * iconvdata/tst-table.sh: Remove ${SHELL}.
64436 * iconvdata/tst-tables.sh: Likewise.
64437
64438 2012-10-25 David S. Miller <davem@davemloft.net>
64439
64440 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64441 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
64442 of strtoull.
64443
64444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
64445 ifunc-impl-list.c
64446 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64447 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
64448 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
64449 file.
64450
64451 2012-10-25 Roland McGrath <roland@hack.frob.com>
64452
64453 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64454 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
64455 __getdirentries.
64456
64457 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64458 Jim Blandy <jimb@codesourcery.com>
64459
64460 * scripts/cross-test-ssh.sh: New file.
64461 * manual/install.texi (Configuring and compiling): Document use of
64462 cross-test-ssh.sh.
64463 * INSTALL: Regenerated.
64464
64465 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
64466
64467 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
64468 EOPNOTSUPP.
64469
64470 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64471
64472 * Makeconfig (run-program-prefix): Fix comment.
64473
64474 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64475 Jim Blandy <jimb@codesourcery.com>
64476
64477 * Makeconfig (test-wrapper): New variable,
64478 (test-wrapper-env): Likewise.
64479 [$(cross-compiling) = yes && $(test-wrapper) != ""]
64480 (run-built-tests): Define to yes.
64481 (run-program-prefix): Use $(test-wrapper).
64482 (built-program-cmd): Likewise.
64483 * Rules (make-test-out): Use $(test-wrapper-env) and
64484 $(host-built-program-cmd).
64485 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
64486 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
64487 tst-pathopt.sh.
64488 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
64489 $(test-wrapper-env) to tst-rtld-load-self.sh.
64490 ($(objpfx)order2.out): Use $(test-wrapper).
64491 ($(objpfx)tst-initorder.out): Likewise.
64492 ($(objpfx)tst-initorder2.out): Likewise.
64493 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
64494 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
64495 (test_wrapper_env): New variable. Use it to run ld.so.
64496 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
64497 Use it to run ld.so.
64498 (test_wrapper_env): Likewise.
64499 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
64500 $(test-wrapper) to run-iconv-test.sh.
64501 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
64502 (ICONV): Use $test_wrapper.
64503 * posix/Makefile ($(objpfx)globtest.out): Pass
64504 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
64505 globtest.sh, not $(run-program-prefix).
64506 * posix/globtest.sh (run_via_rtld_prefix): New variable.
64507 (test_wrapper): Likewise.
64508 (test_wrapper_env): Likewise. Use it to run globtest with HOME
64509 set together with run_via_rtld_prefix.
64510 (run_program_prefix): Define in terms of test_wrapper and
64511 run_via_rtld_prefix.
64512
64513 2012-10-24 Roland McGrath <roland@hack.frob.com>
64514
64515 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
64516 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
64517 Targets removed.
64518
64519 [BZ #14743]
64520 * include/time.h: Remove librt_hidden_proto (clock_gettime).
64521 Declare __clock_getres, __clock_gettime, __clock_settime,
64522 __clock_nanosleep, and __clock_getcpuclockid.
64523 * rt/clock_gettime.c: Define __clock_gettime as an alias.
64524 Remove librt_hidden_def (clock_gettime).
64525 * sysdeps/unix/clock_gettime.c: Likewise.
64526 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
64527 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
64528 * rt/clock_getres.c: Define __clock_getres as an alias.
64529 * sysdeps/posix/clock_getres.c: Likewise.
64530 * rt/clock_settime.c: Define __clock_settime as an alias.
64531 * sysdeps/unix/clock_settime.c: Likewise.
64532 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
64533 * sysdeps/unix/clock_nanosleep.c: Likewise.
64534 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
64535 * rt/clock-compat.c: New file.
64536 * rt/Makefile (librt-routines): Add clock-compat and move
64537 $(clock-routines) to ...
64538 (routines): ... here, new variable.
64539 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
64540 Don't add get_clockfreq here.
64541 * rt/Versions (libc: GLIBC_2.17): New version set.
64542 Add clock_* symbols here.
64543 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
64544 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
64545 (GLIBC_2.17): Add clock_* symbols.
64546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64550 Likewise.
64551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64552 Likewise.
64553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64557 * NEWS: Mention the move.
64558
64559 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
64560 Use __open, __read, __close rather than their public counterparts.
64561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64562 (__get_clockfreq_via_cpuinfo): Likewise.
64563 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
64564 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
64565
64566 * config.h.in (HAVE_IFUNC): New #undef.
64567 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
64568 was successful.
64569 * configure: Regenerated.
64570
64571 2012-10-24 Mike Frysinger <vapier@gentoo.org>
64572
64573 * configure.in: Move READELF check to start of file.
64574 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
64575 libc_cv_asm_gnu_indirect_function in the process.
64576 * configure: Regenerated.
64577
64578 2012-10-24 Mike Frysinger <vapier@gentoo.org>
64579
64580 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
64581 send the output to /dev/null.
64582 (libc_cv_cc_with_libunwind): Likewise.
64583 (libc_cv_as_noexecstack): Likewise.
64584 * configure: Regenerate.
64585
64586 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64587
64588 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
64589
64590 * posix/globtest.sh (TMPDIR): Do not set.
64591 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
64592 (testout): Likewise.
64593
64594 2012-10-24 Andreas Jaeger <aj@suse.de>
64595
64596 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
64597 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
64598 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
64599 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
64600 posix_fadvise64, posix_fallocate64.
64601
64602 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
64603 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
64604 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
64605 Likewise.
64606 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
64607 Likewise.
64608 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
64609
64610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
64611 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
64612 <bits/fcntl-linux.h>.
64613 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
64614
64615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
64616 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
64617 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
64618 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
64619 [__WORDSIZE != 64]: Likewise.
64620
64621 2012-10-23 Joseph Myers <joseph@codesourcery.com>
64622
64623 * Makeconfig (run-built-tests): New variable.
64624 * Rules [$(cross-compiling) = yes]: Change condition to
64625 [$(run-built-tests) = no].
64626 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
64627 to [$(run-built-tests) = yes].
64628 * elf/Makefile [$(cross-compiling) = no]: Likewise.
64629 * grp/Makefile [$(cross-compiling) = no]: Likewise.
64630 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
64631 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
64632 * intl/Makefile [$(cross-compiling) = no]: Likewise.
64633 * io/Makefile [$(cross-compiling) = no]: Likewise.
64634 * libio/Makefile [$(cross-compiling) = no]: Likewise.
64635 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
64636 * misc/Makefile [$(cross-compiling) = no]: Likewise.
64637 * posix/Makefile [$(cross-compiling) = no]: Likewise.
64638 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
64639 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
64640 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
64641 * string/Makefile [$(cross-compiling) = no]: Likewise.
64642
64643 * posix/Makefile ($(objpfx)globtest.out): Pass
64644 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
64645 $(rtld-installed-name).
64646 * posix/globtest.sh (elf_objpfx): Remove variable.
64647 (rtld_installed_name): Likewise.
64648 (library_path): Likewise.
64649 (run_program_prefix): New variable. Use for running globtest
64650 binary.
64651
64652 2012-10-23 Jim Blandy <jimb@codesourcery.com>
64653 Joseph Myers <joseph@codesourcery.com>
64654
64655 * Makeconfig (host-built-program-cmd): New variable.
64656 * elf/Makefile (tst-stackguard1-ARGS): Use
64657 $(host-built-program-cmd).
64658 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
64659 (tst-spawn-ARGS): Likewise.
64660 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
64661
64662 2012-10-23 Joseph Myers <joseph@codesourcery.com>
64663 Jim Blandy <jimb@codesourcery.com>
64664
64665 * Makeconfig (run-via-rtld-prefix): New variable.
64666 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
64667 (built-program-cmd): Likewise.
64668
64669 2012-10-22 Andreas Jaeger <aj@suse.de>
64670
64671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
64672 __O_RSYNC if it exists, otherwise to O_SYNC.
64673
64674 2012-10-22 Jim Blandy <jimb@codesourcery.com>
64675 Joseph Myers <joseph@codesourcery.com>
64676
64677 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
64678 /dev/null.
64679 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
64680 from /dev/null
64681 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
64682 /dev/null.
64683
64684 2012-10-22 Andreas Jaeger <aj@suse.de>
64685
64686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
64687 Define always.
64688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
64689
64690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64691 bits/fcntl-linux.h.
64692
64693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
64694 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
64695
64696 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
64697 to __O_LARGEFILE.
64698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
64699 to __O_LARGEFILE.
64700
64701 2012-10-21 Jim Blandy <jimb@codesourcery.com>
64702 Joseph Myers <joseph@codesourcery.com>
64703
64704 * config.make.in (NM): New variable.
64705
64706 2012-10-21 Andreas Jaeger <aj@suse.de>
64707
64708 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
64709 definitions and declarations that are provided by
64710 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64711
64712 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
64713
64714 [BZ #14683]
64715 * elf/Makefile (tests-static): Add tst-leaks1-static.
64716 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
64717 ($(objpfx)tst-leaks1-static): New rule.
64718 ($(objpfx)tst-leaks1-static-mem): Likewise.
64719 (tst-leaks1-static-ENV): New macro.
64720 * elf/dl-open.c (dl_open_worker): Check the main application
64721 only if SHARED is defined.
64722 * elf/tst-leaks1-static.c: New file.
64723
64724 2012-10-20 Andreas Jaeger <aj@suse.de>
64725
64726 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
64727 generic values for Linux.
64728 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
64729 and declarations that are provided by <bits/fcntl-linux.h> and
64730 include <bits/fcntl-linux.h>.
64731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64733
64734 2012-10-20 Roland McGrath <roland@hack.frob.com>
64735
64736 * io/fcntl.h: Move include of <bits/types.h> to the top and
64737 include it unconditionally.
64738
64739 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
64740
64741 * wcsmbs/Makefile (tests-ifunc): New variable.
64742 (tests): Add $(tests-ifunc).
64743 * wcsmbs/test-wcschr-ifunc.c: New file.
64744 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
64745 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
64746 * wcsmbs/test-wcslen-ifunc.c: Likewise.
64747 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
64748 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
64749
64750 * string/Makefile (tests-ifunc): New variable.
64751 (tests): Add $(tests-ifunc).
64752 * string/test-memccpy.c (TEST_NAME): New macro.
64753 * string/test-memchr.c (TEST_NAME): Likewise.
64754 * string/test-memcmp.c (TEST_NAME): Likewise.
64755 * string/test-memcpy.c (TEST_NAME): Likewise.
64756 * string/test-memmem.c (TEST_NAME): Likewise.
64757 * string/test-memmove.c (TEST_NAME): Likewise.
64758 * string/test-memset.c (TEST_NAME): Likewise.
64759 * string/test-rawmemchr.c (TEST_NAME): Likewise.
64760 * string/test-stpcpy.c (TEST_NAME): Likewise.
64761 * string/test-stpncpy.c (TEST_NAME): Likewise.
64762 * string/test-strcasecmp.c (TEST_NAME): Likewise.
64763 * string/test-strcasestr.c (TEST_NAME): Likewise.
64764 * string/test-strcat.c (TEST_NAME): Likewise.
64765 * string/test-strchr.c (TEST_NAME): Likewise.
64766 * string/test-strcmp.c(TEST_NAME): Likewise.
64767 * string/test-strcpy.c (TEST_NAME): Likewise.
64768 * string/test-strcspn.c (TEST_NAME): Likewise.
64769 * string/test-strlen.c (TEST_NAME): Likewise.
64770 * string/test-strncasecmp.c (TEST_NAME): Likewise.
64771 * string/test-strncmp.c (TEST_NAME): Likewise.
64772 * string/test-strncpy.c (TEST_NAME): Likewise.
64773 * string/test-strnlen.c (TEST_NAME): Likewise.
64774 * string/test-strpbrk.c (TEST_NAME): Likewise.
64775 * string/test-strrchr.c (TEST_NAME): Likewise.
64776 * string/test-strspn.c (TEST_NAME): Likewise.
64777 * string/test-strstr.c (TEST_NAME): Likewise.
64778 * string/test-bcopy-ifunc.c: New file.
64779 * string/test-bzero-ifunc.c: Likewise.
64780 * string/test-memccpy-ifunc.c: Likewise.
64781 * string/test-memchr-ifunc.c: Likewise.
64782 * string/test-memcmp-ifunc.c: Likewise.
64783 * string/test-memcpy-ifunc.c: Likewise.
64784 * string/test-memmem-ifunc.c: Likewise.
64785 * string/test-memmove-ifunc.c: Likewise.
64786 * string/test-mempcpy-ifunc.c: Likewise.
64787 * string/test-memset-ifunc.c: Likewise.
64788 * string/test-rawmemchr-ifunc.c: Likewise.
64789 * string/test-stpcpy-ifunc.c: Likewise.
64790 * string/test-stpncpy-ifunc.c: Likewise.
64791 * string/test-strcasecmp-ifunc.c: Likewise.
64792 * string/test-strcasestr-ifunc.c: Likewise.
64793 * string/test-strcat-ifunc.c: Likewise.
64794 * string/test-strchr-ifunc.c: Likewise.
64795 * string/test-strchrnul-ifunc.c: Likewise.
64796 * string/test-strcmp-ifunc.c: Likewise.
64797 * string/test-strcpy-ifunc.c: Likewise.
64798 * string/test-strcspn-ifunc.c: Likewise.
64799 * string/test-strlen-ifunc.c: Likewise.
64800 * string/test-strncasecmp-ifunc.c: Likewise.
64801 * string/test-strncat-ifunc.c: Likewise.
64802 * string/test-strncmp-ifunc.c: Likewise.
64803 * string/test-strncpy-ifunc.c: Likewise.
64804 * string/test-strnlen-ifunc.c: Likewise.
64805 * string/test-strpbrk-ifunc.c: Likewise.
64806 * string/test-strrchr-ifunc.c: Likewise.
64807 * string/test-strspn-ifunc.c: Likewise.
64808 * string/test-strstr-ifunc.c: Likewise.
64809
64810 * debug/Makefile (tests-ifunc): New variable.
64811 (tests): Add $(tests-ifunc).
64812 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
64813 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
64814 * debug/test-stpcpy_chk-ifunc.c: New file.
64815 * debug/test-strcpy_chk-ifunc.c: Likewise.
64816
64817 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64818
64819 [BZ #13601]
64820 * elf/dl-load.c (open_verify): Retry read if the entire ELF
64821 header is not read in.
64822
64823 2012-10-19 Joseph Myers <joseph@codesourcery.com>
64824
64825 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
64826 script to $(SHELL) as $<. Pass $(common-objpfx) to script
64827 directly. Pass built executable to script as
64828 $(built-program-cmd).
64829 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
64830 $testprogram without using LD_LIBRARY_PATH and $ldso.
64831
64832 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
64833 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
64834 $(rtld-installed-name).
64835 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
64836 (rtld_installed_name): Likewise.
64837 (library_path): Likewise.
64838 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
64839 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
64840 $(run-program-prefix) to tst-tables.sh.
64841 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
64842 it to run tst-table-from and tst-table-to.
64843 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
64844 Pass it to tst-table.sh.
64845 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
64846 $(run-program-prefix) to tst-gettext.sh.
64847 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
64848 tst-translit.sh.
64849 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
64850 tst-gettext2.sh.
64851 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
64852 to run tst-gettext.
64853 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
64854 to run tst-gettext2.
64855 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
64856 to run tst-translit.
64857 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
64858 $(run-program-prefix) to tst-mtrace.sh.
64859 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
64860 to run tst-mtrace.
64861 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
64862 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
64863 $(rtld-installed-name).
64864 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
64865 (rtld_installed_name): Likewise.
64866 (run_program_prefix): New variable. Use it to run wordexp-test.
64867
64868 * Makeconfig (ARCH): Remove all definitions.
64869 (machine): Likewise.
64870 [ARCH]: Remove conditional code.
64871 [!objdir]: Give error.
64872 [!objdir] (objpfx): Remove.
64873 [!objdir] (common-objpfx): Likewise.
64874 [!objdir] (common-objdir): Likewise.
64875 * configure.in (config_makefile): Remove. Hardcode Makefile in
64876 AC_CONFIG_FILES call.
64877 * configure: Regenerated.
64878
64879 [BZ #13888]
64880 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
64881 or TMPDIR.
64882 (testout): Likewise.
64883
64884 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
64885 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64886 $(rtld-installed-name).
64887 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
64888 (rtld_installed_name): Likewise.
64889 (runit): Remove function.
64890 (run_getconf): New variable, Use it for running getconf binary.
64891
64892 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
64893
64894 [BZ #14716]
64895 * string/test-memmem.c (check_result): New function.
64896 (do_one_test): Use it.
64897 (check1): New function.
64898 (test_main): Use it.
64899
64900 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
64901
64902 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
64903
64904 2012-10-18 Joseph Myers <joseph@codesourcery.com>
64905
64906 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
64907 (_G_LSEEK64): Likewise.
64908 (_G_MMAP64): Likewise.
64909 (_G_FSTAT64): Likewise.
64910 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
64911 (_G_LSEEK64): Likewise.
64912 (_G_MMAP64): Likewise.
64913 (_G_FSTAT64): Likewise.
64914 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
64915 unconditional. Call __mmap64 directly.
64916 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
64917 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
64918 __lseek64 directly.
64919 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
64920 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
64921 __mmap64 directly.
64922 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
64923 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
64924 __lseek64 directly.
64925 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
64926 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
64927 __lseek64 directly.
64928 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
64929 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
64930 __lseek64 directly.
64931 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
64932 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
64933 __fxstat64 directly.
64934 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
64935 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
64936 unconditional.
64937 (freopen64) [!_G_OPEN64]: Remove conditional code.
64938 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
64939 unconditional.
64940 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
64941 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
64942 unconditional.
64943 (ftello64) [!_G_LSEEK64]: Remove conditional code.
64944 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
64945 unconditional.
64946 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64947 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
64948 unconditional.
64949 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
64950 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
64951 unconditional.
64952 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64953 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
64954 unconditional.
64955 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64956 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
64957 unconditional.
64958 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64959
64960 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
64961
64962 [BZ #12140]
64963 * manual/memory.texi (Malloc Tunable Parameters): Add note
64964 about free list pointers overwriting some perturb bytes.
64965 Wording suggested by Roland McGrath.
64966
64967 2012-10-17 Joseph Myers <joseph@codesourcery.com>
64968
64969 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
64970 (lgamma_test): Likewise.
64971 (tgamma_test): Likewise.
64972
64973 2012-10-16 Florian Weimer <fweimer@redhat.com>
64974
64975 [BZ #14700]
64976 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
64977 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
64978
64979 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
64980
64981 * NEWS: Mention BZ #14716.
64982 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
64983 when removing AVAILABLE1_USES_J macro.
64984
64985 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
64986
64987 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
64988 (__bswap_64): __uint64_t for unsigned 64-bit int.
64989
64990 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
64991
64992 * include/string.h (memmem): Declare libc hidden alias.
64993 * string/memmem.c (memmem): Define libc hidden alias.
64994 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
64995 __read, __close instead of open, read, close.
64996
64997 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
64998
64999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65000 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65001 global and hidden.
65002 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65003 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65004 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65005 Likewise.
65006 (__rawmemchr_sse2): Likewise.
65007 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65008 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65009 (__strchr_sse2): Likewise.
65010 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65011 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65012 (__strcasecmp_sse2): Likewise.
65013 (__strncasecmp_sse2): Likewise.
65014 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65015 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65016 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65017 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65018 (__strrchr_sse2): Likewise.
65019 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65020 ifunc-impl-list.c.
65021 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65022 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65023 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65024 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65025 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65026 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65027 * sysdeps/x86_64/multiarch/memset.S: Likewise.
65028 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65029 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65030 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65031 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65032 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65033 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65034 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65035 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65036 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65037 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65038 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65039 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65040 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65041 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65042 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65043 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65044 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65045 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65046 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65047 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65048 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65049 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65050 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65051
65052 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65053 global and hidden.
65054 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65055 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65056 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65057 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65058 Likewise.
65059 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65060 Likewise.
65061 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65062 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65063 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65064 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65065 ifunc-impl-list.c.
65066 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65067 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65068 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65069 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65070 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65071 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65072 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65073 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65074 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65075 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65076 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65077 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65078 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65079 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65080 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65081 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65082 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65083 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65084 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65085 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65086 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65087 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65088 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65089 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65090 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65091 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65092 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65093 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65094 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65095 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65096 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65097 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65098 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65099 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65100 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65101 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65102 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65103 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65104 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65105 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65106 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65107
65108 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65109 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65110 * include/ifunc-impl-list.h: New file.
65111 * misc/ifunc-impl-list.c: Likewise.
65112 * misc/Makefile (routines): Add ifunc-impl-list.
65113 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65114 * string/test-string.h: Include <ifunc-impl-list.h>.
65115 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65116 TEST_NAME]: New variables.
65117 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65118 are defined.
65119 (test_init): Call __libc_ifunc_impl_list to initialize
65120 func_list if TEST_IFUNC and TEST_NAME are defined.
65121
65122 * string/Makefile (strop-tests): Add bcopy and bzero.
65123 * string/test-bcopy.c: New file.
65124 * string/test-bzero.c: Likewise.
65125 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65126 defined.
65127 * string/test-memset.c: Support bzero test if TEST_BZERO is
65128 defined.
65129 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65130 __libc_memmove.
65131 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65132 __libc_memset.
65133 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65134 of memset.
65135
65136 2012-10-10 Joseph Myers <joseph@codesourcery.com>
65137
65138 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65139 * configure: Regenerated.
65140
65141 * Makeconfig (+link-static-before-libc): Don't include
65142 $(link-static-libc).
65143
65144 * libio/libio.h (_IO_pos_t): Remove.
65145
65146 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65147
65148 * NEWS: Add note about FIPS mode. Wording suggested by Roland
65149 McGrath.
65150
65151 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65152
65153 * crypt/crypt-entry.c: Include fips-private.h.
65154 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65155 * crypt/md5c-test.c (main): Tolerate disabled MD5.
65156 * sysdeps/unix/sysv/linux/fips-private.h: New file.
65157 * sysdeps/generic/fips-private.h: New file, dummy fallback.
65158
65159 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65160
65161 * crypt/crypt-private.h: Include stdbool.h.
65162 (_ufc_setup_salt_r): Return bool.
65163 * crypt/crypt-entry.c: Include errno.h.
65164 (__crypt_r): Return NULL with EINVAL for bad salt.
65165 * crypt/crypt_util.c (bad_for_salt): New.
65166 (_ufc_setup_salt_r): Check that salt is long enough and within
65167 the specified alphabet.
65168 * crypt/badsalttest.c: New file.
65169 * crypt/Makefile (tests): Add it.
65170 ($(objpfx)badsalttest): New.
65171
65172 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
65173
65174 * NEWS: Add entry for BZ #14602.
65175
65176 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65177
65178 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65179 type-generic.
65180 * math/libm-test.inc: Update comment listing what functions and
65181 macros are tested.
65182 (isgreater_test): New function.
65183 (isgreaterequal_test): Likewise.
65184 (isless_test): Likewise.
65185 (islessequal_test): Likewise.
65186 (islessgreater_test): Likewise.
65187 (isunordered_test): Likewise.
65188 (main): Call the new functions.
65189
65190 2012-10-09 Roland McGrath <roland@hack.frob.com>
65191
65192 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65193 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65194 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65195 * sysdeps/i386/configure: Regenerated.
65196 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65197 * sysdeps/mach/configure: Regenerated.
65198 * sysdeps/mach/hurd/configure: Regenerated.
65199 * sysdeps/powerpc/configure: Regenerated.
65200 * sysdeps/powerpc/powerpc32/configure: Regenerated.
65201 * sysdeps/powerpc/powerpc64/configure: Regenerated.
65202 * sysdeps/s390/s390-32/configure: Regenerated.
65203 * sysdeps/s390/s390-64/configure: Regenerated.
65204 * sysdeps/sh/configure: Regenerated.
65205 * sysdeps/sparc/configure: Regenerated.
65206 * sysdeps/unix/sysv/linux/configure: Regenerated.
65207 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65208 * sysdeps/x86_64/configure: Regenerated.
65209
65210 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65211 defined. Don't check if MAP is NULL.
65212
65213 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65214
65215 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65216 (_G_stat64): Likewise.
65217 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65218 (_G_stat64): Likewise.
65219 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65220 instead of struct _G_stat64.
65221 * libio/fileops.c (mmap_remap_check): Likewise.
65222 (decide_maybe_mmap): Likewise.
65223 (_IO_new_file_seekoff): Likewise.
65224 (_IO_file_stat): Likewise.
65225 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65226 _G_off64_t.
65227 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65228 instead of struct _G_stat64.
65229 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65230
65231 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
65232
65233 [BZ #14602]
65234 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65235 Replace with ...
65236 (CHECK_EOL): New macro.
65237 (two_way_short_needle): Check beginning of haystack for EOL. Use
65238 CHECK_EOL.
65239 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65240 Replace with CHECK_EOL.
65241 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65242 Replace with CHECK_EOL.
65243
65244 2012-10-08 Joseph Myers <joseph@codesourcery.com>
65245
65246 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65247 type-generic.
65248 * math/libm-test.inc: Update comment listing what functions and
65249 macros are tested.
65250 (finite_test): New function.
65251 (isinf_test): Likewise.
65252 (isnan_test): Likewise.
65253 (fpclassify_test): Test subnormal input.
65254 (isfinite_test): Likewise.
65255 (isnormal_test): Likewise.
65256 (main): Call the new functions.
65257
65258 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
65259
65260 [BZ #14660]
65261 * Makerules (%.dynsym): Force C locale when running
65262 $(OBJDUMP) --dynamic-syms.
65263
65264 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
65265
65266 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65267 <stdint.h>.
65268
65269 2012-10-06 David S. Miller <davem@davemloft.net>
65270
65271 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65272 upper 32-bits of the length value in %o2 since we use branch-on-register
65273 tests which consider the entire 64-bit register.
65274
65275 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
65276
65277 * string/test-strstr.c (check2): Add a test for page boundary.
65278
65279 2012-10-05 David S. Miller <davem@davemloft.net>
65280
65281 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65282 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65283 file.
65284 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65285 sysdep_routines.
65286 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65287 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65288 and bzero when HWCAP_SPARC_CRYPTO is present.
65289
65290 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
65291
65292 [BZ #14602]
65293 * string/test-strstr.c (check2): New function.
65294 (test_main): Call check2.
65295
65296 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65297 and bug-strchr1.
65298 * string/bug-strcasestr1.c (do_test): Moved to ...
65299 * string/test-strcasestr.c (check1): Here. New function.
65300 (do_one_test): Break out result checking code into ...
65301 (check_result): This. New function.
65302 (do_one_test): Call check_result.
65303 (test_main): Call check1.
65304 * string/bug-strchr1.c (do_test): Moved to ...
65305 * string/test-strchr.c (check1): Here. New function.
65306 (do_one_test): Break out result checking code into ...
65307 (check_result): This. New function.
65308 (do_one_test): Call check_result.
65309 (test_main): Call check1.
65310 * string/bug-strstr1.c (main): Moved to ...
65311 * string/test-strstr.c (check1): Here. New function.
65312 (do_one_test): Break out result checking code into ...
65313 (check_result): This. New function.
65314 (do_one_test): Call check_result.
65315 (test_main): Call check1.
65316 * string/bug-strcasestr1.c: Removed.
65317 * string/bug-strchr1.c: Likewise.
65318 * string/bug-strstr1.c: Likewise.
65319
65320 * elf/Makefile (dl-routines): Add hwcaps.
65321 * elf/dl-support.c (_dl_important_hwcaps): Removed.
65322 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65323 (_dl_important_hwcaps): Moved to ...
65324 * elf/dl-hwcaps.c: Here. New file.
65325 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65326
65327 [BZ #14557]
65328 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65329 if IS_IN_rtld isn't defined.
65330
65331 * elf/dl-support.c (_dl_sysinfo_map): New.
65332 Include "get-dynamic-info.h" and "setup-vdso.h".
65333 (_dl_non_dynamic_init): Call setup_vdso.
65334 * elf/dynamic-link.h: Don't include <assert.h>.
65335 (elf_get_dynamic_info): Moved to ...
65336 * elf/get-dynamic-info.h: Here. New file.
65337 * elf/dynamic-link.h: Include "get-dynamic-info.h".
65338 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65339 * elf/setup-vdso.h: Here. New file.
65340 * elf/rtld.c: Include "setup-vdso.h".
65341 (dl_main): Call setup_vdso.
65342
65343 2012-10-05 Joseph Myers <joseph@codesourcery.com>
65344
65345 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65346 creal in comment listing functions tested. List finite, isinf,
65347 isnan, isless, islessequal, isgreater, isgreaterequal,
65348 islessgreater, isunordered, lgamma_r and pow10 as functions and
65349 macros not tested. Mention which functions not tested are aliases
65350 for other functions. Fix typo. Note that signs of NaNs are not
65351 tested.
65352
65353 * scripts/config.guess: Update from config.git.
65354 * scripts/config.sub: Likewise.
65355
65356 2012-10-04 Roland McGrath <roland@hack.frob.com>
65357
65358 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65359 * misc/madvise.c (madvise): Renamed to __madvise.
65360 Make madvise a weak alias.
65361 * include/sys/mman.h: Declare __madvise.
65362 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65363 * sysdeps/unix/syscalls.list
65364 (madvise): Make __madvise the strong name, and madvise a weak alias.
65365 * sysdeps/unix/sysv/linux/syscalls.list
65366 (madvise, mmap): Remove redundant entries.
65367 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65368 * malloc/malloc.c (mtrim): Likewise.
65369 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65370
65371 2012-10-03 Roland McGrath <roland@hack.frob.com>
65372
65373 * sysdeps/mach/hurd/dl-cache.c: File removed.
65374 * config.h.in (USE_LDCONFIG): New #undef.
65375 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65376 * configure: Regenerated.
65377 * elf/Makefile (dl-routines): Add dl-cache only under
65378 [$(use-ldconfig) = yes].
65379 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65380 cache on [USE_LDCONFIG].
65381 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65382 [USE_LDCONFIG].
65383 * elf/rtld.c (dl_main): Likewise.
65384
65385 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
65386
65387 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65388 _SC_LEVEL4_CACHE_LINESIZE.
65389
65390 2012-10-03 Roland McGrath <roland@hack.frob.com>
65391
65392 * sysdeps/unix/bsd/confstr.h: File removed.
65393
65394 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
65395
65396 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65397 sys/sdt-config.h.
65398
65399 2012-10-02 Roland McGrath <roland@hack.frob.com>
65400
65401 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65402 Make 'mapoff' field ElfW(Off) rather than off_t.
65403
65404 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
65405
65406 * nscd/Makefile: Remove nscd-cflags and all its users.
65407 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65408 (CFLAGS-nonlib): Add compiler flags for nscd modules.
65409
65410 [BZ #10631]
65411 * malloc.c (malloc_printerr): Clarify error message.
65412
65413 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
65414
65415 [BZ #14648]
65416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65417 Set bit_FMA_Usable if FMA is supported.
65418 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65419 macro.
65420 (bit_FMA4_Usable): Updated.
65421 (index_FMA_Usable): New macro.
65422 (CPUID_FMA): Likewise.
65423 (HAS_FMA): Defined with bit_FMA_Usable.
65424
65425 2012-10-01 Roland McGrath <roland@hack.frob.com>
65426
65427 * bits/types.h (__swblk_t): Type removed.
65428 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65429 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65431 (__SWBLK_T_TYPE): Likewise.
65432 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65433 (__SWBLK_T_TYPE): Likewise.
65434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65435 (__SWBLK_T_TYPE): Likewise.
65436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65437 (__SWBLK_T_TYPE): Likewise.
65438
65439 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
65440 Honza Horak <hhorak@redhat.com>
65441
65442 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
65443 (xdr_mapname): Use YPMAXMAP as maxsize.
65444 (xdr_peername): Use YPMAXPEER as maxsize.
65445 (xdr_keydat): Use YPAXRECORD as maxsize.
65446 (xdr_valdat): Use YPMAXRECORD as maxsize.
65447
65448 2012-10-01 Roland McGrath <roland@hack.frob.com>
65449
65450 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
65451
65452 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
65453 * csu/init-first.c: ... here.
65454 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
65455 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
65456 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
65457 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
65458 * sysdeps/i386/init-first.c: File removed.
65459 * sysdeps/sh/init-first.c: File removed.
65460
65461 2012-10-01 Joseph Myers <joseph@codesourcery.com>
65462
65463 [BZ #14645]
65464 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
65465 if x * y might underflow to zero and z is zero.
65466 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65467 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65468 * math/libm-test.inc (min_subnorm_value): New variable.
65469 (fma_test): Add more tests.
65470 (fma_test_towardzero): Likewise.
65471 (fma_test_downward): Likewise.
65472 (fma_test_upward): Likewise.
65473 (initialize): Set min_subnorm_value.
65474
65475 2012-09-29 Joseph Myers <joseph@codesourcery.com>
65476
65477 [BZ #14638]
65478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
65479 0 + 0.
65480 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
65481 mode for addition resulting in exact zero.
65482 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
65483 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
65484 exact 0 + 0.
65485 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65486 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65487 * math/libm-test.inc (fma_test): Add more tests.
65488 (fma_test_towardzero): New function.
65489 (fma_test_downward): Likewise.
65490 (fma_test_upward): Likewise.
65491 (main): Call the new functions.
65492
65493 2012-09-28 David S. Miller <davem@davemloft.net>
65494
65495 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
65496
65497 2012-09-28 Roland McGrath <roland@hack.frob.com>
65498
65499 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
65500 instead of SIGALRM.
65501
65502 * sysdeps/gnu/_G_config.h: Moved to ...
65503 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
65504 * sysdeps/mach/hurd/_G_config.h: Moved to ...
65505 * sysdeps/generic/_G_config.h: ... here.
65506
65507 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
65508
65509 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
65510
65511 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65512 Conditionalize target on [libnss_test1.so-version].
65513
65514 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
65515
65516 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
65517 (elfobjdir): Move out of conditionals.
65518
65519 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
65520 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
65521 (__nss_lookup_function): Conditionalize label remove_from_tree on
65522 [!DO_STATIC_NSS || SHARED], matching its only use.
65523
65524 2012-09-28 David S. Miller <davem@davemloft.net>
65525
65526 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
65527 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
65528 file.
65529 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65530 sysdep_routines.
65531 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
65533 when HWCAP_SPARC_CRYPTO is present.
65534
65535 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65536
65537 * io/tst-mknodat.c: Create a FIFO instead of a socket.
65538
65539 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
65540
65541 [BZ #6530]
65542 * stdio-common/vfprintf.c (process_string_arg): Revert
65543 2000-07-22 change.
65544
65545 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
65546
65547 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
65548 for testcase.
65549 * stdio-common/tst-sprintf.c: Include <locale.h>
65550 (main): Test sprintf's handling of incomplete multibyte
65551 characters.
65552
65553 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
65554
65555 * elf/dl-runtime.c (VERSYMIDX): Removed.
65556 * elf/dl-version.c (VERSYMIDX): Likewise.
65557 * elf/do-rel.h (VERSYMIDX): Likewise.
65558 (VALIDX): Likewise.
65559 * elf/dynamic-link.h (VERSYMIDX): Likewise.
65560 * elf/rtld.c (VALIDX): Likewise.
65561 (ADDRIDX): Likewise.
65562 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
65563 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
65564 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
65565 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
65566 (VALIDX): Likewise.
65567 (ADDRIDX): Likewise.
65568
65569 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65570
65571 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
65572
65573 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
65574
65575 [BZ #11438]
65576 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
65577 to global scope.
65578 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
65579 addresses are in the same scope as 192.0.2/24.
65580 * posix/gai.conf: Document new scope table defaults.
65581
65582 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65583
65584 [BZ #5298]
65585 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
65586 for ftell. Compute offsets from write pointers instead.
65587 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65588
65589 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65590
65591 [BZ #14543]
65592 * libio/Makefile (tests): New test case tst-fseek.
65593 * libio/tst-fseek.c: New test case to verify that fseek/ftell
65594 combination works in wide mode.
65595 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
65596 state when the external buffer state changes.
65597
65598 2012-09-27 David S. Miller <davem@davemloft.net>
65599
65600 [BZ #14376]
65601 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
65602 pass reloc->r_addend in as the 'high' argument to
65603 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
65604
65605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65606
65607 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65608
65609 * rt/tst-aio2.c: Include <pthread.h>.
65610 * rt/tst-aio3.c: Likewise.
65611
65612 2012-09-27 Steve Ellcey <sellcey@mips.com>
65613
65614 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
65615
65616 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
65617
65618 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
65619 contents on [SHARED].
65620
65621 2012-09-26 Marek Polacek <polacek@redhat.com>
65622
65623 [BZ #14530]
65624 [BZ #13741]
65625 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
65626 for C++ and GCC <4.3 as well as for non GCC compilers.
65627
65628 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
65629
65630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65631
65632 2012-09-25 Roland McGrath <roland@hack.frob.com>
65633
65634 * Makefile.in (all, install): Declare with .PHONY.
65635 Reported by Michael Hope <michael.hope@linaro.org>.
65636
65637 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65638
65639 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
65640 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
65641 system header.
65642 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
65643 Likewise.
65644 (sydep_routines): Add the new and the internal functions.
65645 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
65646 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
65647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
65648 (GLIBC_2.17): Add the new function.
65649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65650 (GLIBC_2.17): Likewise.
65651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
65652 (GLIBC_2.17): Likewise.
65653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
65654 (GLIBC_2.17): Likewise.
65655 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
65656
65657 2012-09-25 Alan Modra <amodra@gmail.com>
65658
65659 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
65660 Add release barrier before setting once_control to say
65661 initialisation is done. Add hints on lwarx. Use macro in
65662 place of isync.
65663 (clear_once_control): Add release barrier.
65664
65665 2012-09-25 Joseph Myers <joseph@codesourcery.com>
65666
65667 [BZ #13629]
65668 * math/s_clog.c (__clog): Handle more values close to |z| = 1
65669 specially.
65670 * math/s_clog10.c (__clog10): Likewise.
65671 * math/s_clog10f.c (__clog10f): Likewise.
65672 * math/s_clog10l.c (__clog10l): Likewise.
65673 * math/s_clogf.c (__clogf): Likewise.
65674 * math/s_clogl.c (__clogl): Likewise.
65675 * math/Makefile (libm-calls): Add x2y2m1.
65676 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
65677 (__x2y2m1): Likewise.
65678 (__x2y2m1l): Likewise.
65679 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
65680 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
65681 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
65682 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
65683 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
65684 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
65685 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
65686 * sysdeps/i386/fpu/libm-test-ulps: Update.
65687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65688
65689 [BZ #14621]
65690 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
65691 int as type of variable DEPTH.
65692 (glob): Use size_t instead of int as type of variables NEWCOUNT
65693 and OLD_PATHC.
65694
65695 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65696
65697 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65698 Add s_sincosf-sse2.
65699 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
65700 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
65701 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
65702 macros for using routine as __sincosf_ia32.
65703 Use macro for function declaration and weak_alias.
65704 * sysdeps/i386/fpu/libm-test-ulps: Update.
65705
65706 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
65707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65708
65709 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
65710 subnormal argument.
65711 * math/s_cexpf.c (__cexpf): Likewise.
65712 * math/s_csinf.c (__csinf): Likewise.
65713 * math/s_csinhf.c (__csinhf): Likewise.
65714 * math/s_ctanf.c (__ctanf): Likewise.
65715 * math/s_ctanhf.c (__ctanhf): Likewise.
65716 * math/s_ccosh.c (__ccoshf): Likewise.
65717 * math/s_cexp.c (__cexpl): Likewise.
65718 * math/s_csin.c (__csin): Likewise.
65719 * math/s_csinh.c (__csinh): Likewise.
65720 * math/s_ctan.c (__ctan): Likewise.
65721 * math/s_ctanh.c (ctanh): Likewise.
65722 * math/s_ccoshl.c (__ccoshl): Likewise.
65723 * math/s_cexpl.c (__cexpl): Likewise.
65724 * math/s_csinl.c (__csinl): Likewise.
65725 * math/s_csinhl.c (__csinhl): Likewise.
65726 * math/s_ctanl.c (__ctanl): Likewise.
65727 * math/s_ctanhl.c (__ctanhl): Likewise.
65728
65729 2012-09-25 Joseph Myers <joseph@codesourcery.com>
65730
65731 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
65732 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
65733 (_IO_off_t): Define to __off_t, not _G_off_t.
65734 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
65735 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
65736 (_IO_wint_t): Define to wint_t, not _G_wint_t.
65737 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
65738 type of __dummy and __dummy2 fields.
65739 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
65740 (_G_ssize_t): Likewise.
65741 (_G_off_t): Likewise.
65742 (_G_pid_t): Likewise.
65743 (_G_uid_t): Likewise.
65744 (_G_wchar_t): Likewise.
65745 (_G_wint_t): Likewise.
65746 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
65747 (_G_ssize_t): Likewise.
65748 (_G_off_t): Likewise.
65749 (_G_pid_t): Likewise.
65750 (_G_uid_t): Likewise.
65751 (_G_wchar_t): Likewise.
65752 (_G_wint_t): Likewise.
65753 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
65754 (_G_ssize_t): Likewise.
65755 (_G_off_t): Likewise.
65756 (_G_pid_t): Likewise.
65757 (_G_uid_t): Likewise.
65758 (_G_wchar_t): Likewise.
65759 (_G_wint_t): Likewise.
65760
65761 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65762
65763 * malloc/arena.c: Include malloc-sysdep.h.
65764 (shrink_heap): Use check_may_shrink_heap to decide if madvise
65765 is sufficient to shrink the heap or an unmap is needed.
65766 * sysdeps/generic/malloc-sysdep.h: New file. Define
65767 new function check_may_shrink_heap.
65768 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
65769 new function check_may_shrink_heap.
65770
65771 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65772
65773 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
65774 comments.
65775
65776 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
65777
65778 * catgets/test-gencat.sh: Add "set -e".
65779 * elf/tst-pathopt.sh: Likewise.
65780 * grp/tst_fgetgrent.sh: Likewise.
65781 * iconvdata/run-iconv-test.sh: Likewise.
65782 * intl/tst-gettext.sh: Likewise.
65783 * intl/tst-gettext2.sh: Likewise.
65784 * intl/tst-gettext4.sh: Likewise.
65785 * intl/tst-gettext6.sh: Likewise.
65786 * intl/tst-translit.sh: Likewise.
65787 * io/ftwtest-sh: Likewise.
65788 * libio/test-freopen.sh: Likewise.
65789 * malloc/tst-mtrace.sh: Likewise.
65790 * posix/globtest.sh: Likewise.
65791 * posix/tst-getconf.sh: Likewise.
65792 * posix/wordexp-tst.sh: Likewise.
65793 * stdio-common/tst-printf.sh: Likewise.
65794 * stdio-common/tst-unbputc.sh: Likewise.
65795 * stdlib/tst-fmtmsg.sh: Likewise.
65796 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65797 * catgets/Makefile: Do not specify -e option when running
65798 testsuite shell scripts.
65799 * elf/Makefile: Likewise.
65800 * grp/Makefile: Likewise.
65801 * iconvdata/Makefile: Likewise.
65802 * intl/Makefile: Likewise.
65803 * io/Makefile: Likewise.
65804 * libio/Makefile: Likewise.
65805 * malloc/Makefile: Likewise.
65806 * posix/Makefile: Likewise.
65807 * stdio-common/Makefile: Likewise.
65808 * stdlib/Makefile: Likewise.
65809 * sysdeps/x86_64/Makefile: Likewise.
65810
65811 * io/ftwtest-sh: Add copyright header.
65812 * posix/globtest.sh: Likewise.
65813 * posix/tst-getconf.sh: Likewise.
65814 * posix/wordexp-tst.sh: Likewise.
65815 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65816
65817 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
65818
65819 [BZ #13679]
65820 * Makeconfig (+link): Defined as $(+link-static) if
65821 $(build-shared) isn't yes.
65822 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
65823 isn't yes.
65824 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
65825
65826 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
65827
65828 [BZ #14562]
65829 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
65830 new chunk size with MALLOC_ALIGN_MASK.
65831
65832 2012-09-24 Joseph Myers <joseph@codesourcery.com>
65833
65834 [BZ #5044]
65835 * stdio-common/printf_fphex.c: Include <stdbool.h> and
65836 <rounding-mode.h>.
65837 (__printf_fphex): Determine rounding using get_rounding_mode and
65838 round_away.
65839 * stdio-common/tst-printf-round.c (struct hex_test): New
65840 structure.
65841 (hex_tests): New variable.
65842 (test_hex_in_one_mode): New function.
65843 (do_test): Also run tests for hex float output.
65844
65845 2012-09-21 Joseph Myers <joseph@codesourcery.com>
65846
65847 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65848 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65849 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
65850 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65851 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65852 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
65853 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65854 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65855
65856 2012-09-20 Joseph Myers <joseph@codesourcery.com>
65857
65858 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
65859 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
65860 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
65861 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
65862
65863 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
65864
65865 [BZ #14579]
65866 * elf/rtld.c (dl_main): Limit the check for self loading to normal
65867 mode only.
65868 * elf/tst-rtld-load-self.sh: New test.
65869 * elf/Makefile: Run it.
65870
65871 2012-09-18 Joseph Myers <joseph@codesourcery.com>
65872
65873 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
65874 (tst-writev-ENV): Remove.
65875 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
65876
65877 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
65878
65879 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65880
65881 2012-09-17 Joseph Myers <joseph@codesourcery.com>
65882
65883 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
65884 unconditional.
65885 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
65886 Likewise.
65887 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
65888 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
65889 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
65890 Likewise.
65891
65892 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
65893
65894 [BZ #14587]
65895 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
65896 * config.make.in (have-cpp-asm-debuginfo): Removed.
65897 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
65898 * configure: Regenerated.
65899
65900 2012-09-14 Joseph Myers <joseph@codesourcery.com>
65901
65902 [BZ #5044]
65903 * stdio-common/printf_fp.c: Include <stdbool.h> and
65904 <rounding-mode.h>.
65905 (___printf_fp): Determine rounding using get_rounding_mode and
65906 round_away.
65907 * stdio-common/tst-printf-round.c: New file.
65908 * stdio-common/Makefile (tests): Add tst-printf-round.
65909 (link-libm): New variable.
65910 ($(objpfx)tst-printf-round): Depend in $(link-libm).
65911
65912 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
65913
65914 [BZ #14576]
65915 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
65916 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
65917 Likewise.
65918 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
65919 Likewise.
65920
65921 2012-09-13 Joseph Myers <joseph@codesourcery.com>
65922
65923 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
65924 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65925 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65926 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65927
65928 2012-09-12 Joseph Myers <joseph@codesourcery.com>
65929
65930 [BZ #14518]
65931 * include/rounding-mode.h: New file.
65932 * sysdeps/generic/get-rounding-mode.h: Likewise.
65933 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
65934 * stdlib/strtod_l.c: Include <rounding-mode.h>.
65935 (MAX_VALUE): New macro.
65936 (MIN_VALUE): Likewise.
65937 (overflow_value): New function.
65938 (underflow_value): Likewise.
65939 (round_and_return): Use overflow_value and underflow_value to
65940 determine return values in overflow and underflow cases. Use
65941 round_away to determine rounding depending on rounding mode.
65942 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
65943 determine return values in overflow and underflow cases.
65944 * stdlib/tst-strtod-round.c: Include <fenv.h>.
65945 (struct test_results): New structure.
65946 (struct test): Use struct test_results to store expected results
65947 for all rounding modes.
65948 (TEST): Include expected results for all rounding modes.
65949 (test_in_one_mode): New function.
65950 (do_test): Use test_in_one_mode to compute and check results.
65951 Check results for all rounding modes.
65952 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
65953 $(link-libm).
65954
65955 2012-12-09 Allan McRae <allan@archlinux.org>
65956
65957 * sysdeps/i386/fpu/libm-test-ulps: Update
65958
65959 2012-09-11 Joseph Myers <joseph@codesourcery.com>
65960
65961 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
65962 (_G_int32_t): Likewise.
65963 (_G_uint16_t): Likewise.
65964 (_G_uint32_t): Likewise.
65965 (_G_HAVE_BOOL): Likewise.
65966 (_G_HAVE_ATEXIT): Likewise.
65967 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65968 (_G_HAVE_IO_FILE_OPEN): Likewise.
65969 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
65970 (_G_int32_t): Likewise.
65971 (_G_uint16_t): Likewise.
65972 (_G_uint32_t): Likewise.
65973 (_G_HAVE_BOOL): Likewise.
65974 (_G_HAVE_ATEXIT): Likewise.
65975 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65976 (_G_HAVE_IO_FILE_OPEN): Likewise.
65977 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
65978 (_G_int32_t): Likewise.
65979 (_G_uint16_t): Likewise.
65980 (_G_uint32_t): Likewise.
65981 (_G_HAVE_BOOL): Likewise.
65982 (_G_HAVE_ATEXIT): Likewise.
65983 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65984 (_G_HAVE_IO_FILE_OPEN): Likewise.
65985
65986 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
65987
65988 * csu/libc-tls.c: Update copyright years.
65989
65990 2012-09-10 Joseph Myers <joseph@codesourcery.com>
65991
65992 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
65993 [!_G_USING_THUNKS]: Remove conditional code.
65994 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
65995 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
65996
65997 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
65998 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
65999 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66000 (_G_VTABLE_LABEL_PREFIX): Likewise.
66001 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66002 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66003 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66004 (_G_VTABLE_LABEL_PREFIX): Likewise.
66005 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66006 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66007 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66008 (_G_VTABLE_LABEL_PREFIX): Likewise.
66009 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66010
66011 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
66012
66013 * libio/Makefile: Include ../Makeconfig before tests.
66014 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66015 only if $(build-shared) is yes.
66016
66017 * iconv/gconv_db.c: Update copyright years.
66018
66019 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66020
66021 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66022 unwind info if defined PIC. Fix special cases description.
66023 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66024
66025 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66026 DP_HI_MASK entry.
66027 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66028
66029 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
66030
66031 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66032
66033 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66034 is NULL.
66035
66036 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66037 (LDLIBS-tst-chk4): This.
66038 (LDFLAGS-tst-chk5): Renamed to ...
66039 (LDLIBS-tst-chk5): This.
66040 (LDFLAGS-tst-chk6): Renamed to ...
66041 (LDLIBS-tst-chk6): This.
66042 (LDFLAGS-tst-lfschk4): Renamed to ...
66043 (LDLIBS-tst-lfschk4): This.
66044 (LDFLAGS-tst-lfschk5): Renamed to ...
66045 (LDLIBS-tst-lfschk5): This.
66046 (LDFLAGS-tst-lfschk6): Renamed to ...
66047 (LDLIBS-tst-lfschk6): This.
66048
66049 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66050 on $(common-objpfx)soversions.mk.
66051
66052 2012-09-07 Joseph Myers <joseph@codesourcery.com>
66053
66054 [BZ #10014]
66055 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66056 example host name.
66057
66058 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
66059
66060 * malloc/arena.c (arena_get_retry): New function that gets
66061 another arena for the caller to try its request on.
66062 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66063 current arena cannot fulfill the request.
66064 (__libc_memalign): Likewise.
66065 (__libc_memalign): Likewise.
66066 (__libc_pvalloc): Likewise.
66067 (__libc_calloc): Likewise.
66068
66069 2012-09-05 John Tobey <john.tobey@gmail.com>
66070
66071 [BZ #13542]
66072 * manual/arith.texi (Operations on Complex): Fix description
66073 of carg branch cut.
66074
66075 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66076
66077 [BZ #10014]
66078 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66079 host name.
66080
66081 [BZ #10038]
66082 * manual/memory.texi (Memory): Make order of menu items match
66083 order of sections.
66084
66085 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66086
66087 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66088 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
66089 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66090
66091 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66092
66093 * csu/libc-tls.c (static_dtv): Renamed to ...
66094 (_dl_static_dtv): This. Make it global.
66095 (_dl_initial_dtv): Removed.
66096 (__libc_setup_tls): Updated.
66097 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66098 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66099 DL_INITIAL_DTV.
66100
66101 2012-09-06 Petr Machata <pmachata@redhat.com>
66102
66103 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66104 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66105 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66106 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66107
66108 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66109
66110 [BZ #14545]
66111 * csu/libc-tls.c (_dl_initial_dtv): New variable.
66112 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66113 freeing dtv[-1].
66114
66115 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66116
66117 [BZ #14544]
66118 * Makeconfig (link-static-before-libc): Replace $(+prector)
66119 with $(+prectorT).
66120 (link-static-after-libc): Replace $(+postctor) with
66121 $(+postctorT).
66122 (link-bounded): Replace $(+prector)/$(+postctor) with
66123 $(+prectorT)/$(+postctorT).
66124 (+prectorT): New macro.
66125 (+postctorT): Likewise.
66126
66127 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66128
66129 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66130 (round_str): Handle values above the maximum for IBM long double
66131 as inexact.
66132 * stdlib/tst-strtod-round.c (tests): Regenerated.
66133
66134 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66135
66136 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66137 assembler flag.
66138 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66139 zarch_nohighgprs around the zarch optimized routines.
66140 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66141 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66143 for zarch.
66144
66145 2012-09-05 David S. Miller <davem@davemloft.net>
66146
66147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66148
66149 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66150 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66151 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66152 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66153 entries.
66154
66155 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66156
66157 * malloc/arena.c: Fold copyright years.
66158 * malloc/mcheck.c, malloc/memusage.c: Likewise.
66159
66160 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66161
66162 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66163
66164 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66165
66166 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
66167
66168 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66169
66170 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66171 change internal state upon failure.
66172
66173 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66174
66175 * malloc/mcheck.c (mcheck_check_all): Fix typo.
66176 * malloc/memusage.c (mmap): Likewise.
66177 (mmap64, mremap): Likewise. Adjust name in comment.
66178
66179 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66180
66181 * libio/fileops.c: Fix typos in comments.
66182 * libio/oldfileops.c: Likewise.
66183 * libio/wfileops.c: Likewise.
66184
66185 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66186
66187 [BZ #1349]
66188 * malloc/Makefile (tests): Add tst-malloc-usable test case.
66189 (tst-malloc-usable-ENV): Set environment for test case.
66190 * malloc/hooks.c (malloc_check_get_size): New function to get
66191 requested size.
66192 * malloc/malloc.c (musable): Use malloc_check_get_size.
66193 * malloc/tst-malloc-usable.c: New test case.
66194
66195 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66196
66197 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66198
66199 2012-09-05 Allan McRae <allan@archlinux.org>
66200
66201 [BZ #13966]
66202 * configure.in (CXX_SYSINCLUDES): Use compiler output to
66203 determine header location.
66204 * configure: Regenerated.
66205
66206 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66207
66208 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66209 float format.
66210 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66211 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66212 format.
66213 (test): Regenerate.
66214
66215 2012-09-04 David S. Miller <davem@davemloft.net>
66216
66217 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66218 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66219 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66220
66221 2012-09-04 Florian Weimer <fweimer@redhat.com>
66222
66223 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66224 failures.
66225
66226 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66227
66228 2012-09-04 Joseph Myers <joseph@codesourcery.com>
66229
66230 [BZ #9914]
66231 * libio/iogetdelim.c: Include <limits.h>.
66232 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66233 + len + 1 would overflow.
66234
66235 2012-09-03 Andreas Jaeger <aj@suse.de>
66236
66237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66238 * sysdeps/i386/fpu/libm-test-ulps: Update.
66239
66240 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66241
66242 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66243 Add s_sinf-sse2, s_conf-sse2.
66244
66245 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66246 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66247 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66248 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66249
66250 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66251 for using routine as __sinf_ia32.
66252 Use macro for function declaration and weak_alias.
66253 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66254 for using routine as __cosf_ia32.
66255 Use macro for function declaration and weak_alias.
66256
66257 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66258 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66259
66260 * sysdeps/x86_64/fpu/s_sinf.S: New file.
66261 * sysdeps/x86_64/fpu/s_cosf.S: New file.
66262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66263
66264 * math/libm-test.inc (cos_test): Add more test cases.
66265 (sin_test): Likewise.
66266 (sincos_test): Likewise.
66267
66268 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66269
66270 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66271 (IFUNC_RESOLVE): Make pointers to the specialized implementations
66272 hidden.
66273 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66274
66275 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
66276
66277 [BZ #14538]
66278 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66279 first element of the GOT.
66280 (elf_machine_load_address): Return the difference between
66281 the runtime address of _DYNAMIC and elf_machine_dynamic ().
66282
66283 2012-09-01 Allan McRae <allan@archlinux.org>
66284
66285 [BZ #13412]
66286 * configure.in (AWK): Require gawk version 3.0 or later.
66287 * configure: Regenerated.
66288
66289 2012-09-01 Joseph Myers <joseph@codesourcery.com>
66290
66291 * sysdeps/unix/sysv/linux/kernel-features.h
66292 (__ASSUME_POSIX_CPU_TIMERS): Remove.
66293 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66294 [__NR_clock_getres]: Make code unconditional.
66295 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66296 (clock_getcpuclockid): Remove code left unreachable by removal of
66297 conditionals.
66298 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66299 code unconditional.
66300 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66301 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66302 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66303 Make code unconditional.
66304 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66305 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66306 * sysdeps/unix/sysv/linux/clock_settime.c
66307 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66308 conditional code.
66309 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66310 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66311
66312 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
66313
66314 [BZ #14476]
66315 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66316 scripts/test-installation.pl.
66317
66318 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66319 and $ld_so_version if it is set.
66320
66321 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66322
66323 [BZ #14516]
66324 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66325 failure if reading from procfs failed.
66326 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66327
66328 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66329
66330 * sysdeps/unix/sysv/linux/kernel-features.h
66331 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66332 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66333 Remove conditional code.
66334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66335 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66336 Remove conditional code.
66337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66338 * sysdeps/unix/sysv/linux/i386/fxstat.c
66339 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66341 * sysdeps/unix/sysv/linux/i386/fxstatat.c
66342 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66344 * sysdeps/unix/sysv/linux/i386/lxstat.c
66345 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66347 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66348 Remove conditional code.
66349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66350 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66351 Remove conditional code.
66352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66353 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66354 <kernel-features.h>.
66355 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66356 Remove.
66357 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66358 Remove conditional code.
66359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66360 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66361 Remove conditional.
66362
66363 2012-08-27 Mike Frysinger <vapier@gentoo.org>
66364
66365 [BZ #5400]
66366 * NEWS: Add fixed bug number.
66367
66368 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66369
66370 [BZ #14519]
66371 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66372 underflowing exponent in case of negative sign.
66373 * stdlib/tst-strtod-round-data: Add more tests.
66374 * stdlib/tst-strtod-round.c (tests): Regenerated.
66375
66376 [BZ #3479]
66377 * stdlib/strtod_l.c (NDIG): Remove.
66378 (HEXNDIG): Likewise.
66379 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66380 smallest representable value.
66381 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66382 lie within an exact representation of 1/2 ulp of the result.
66383 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66384 unconditionally.
66385 (TENS_P9_IDX): Define unconditionally.
66386 (TENS_P9_SIZE): Likewise.
66387 (TENS_P10_IDX): Likewise.
66388 (TENS_P10_SIZE): Likewise.
66389 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66390 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66391 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66392 entries for 10^2^13 and 10^2^14.
66393 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66394 (TENS_P13_IDX): Define.
66395 (TENS_P13_SIZE): Likewise.
66396 (TENS_P14_IDX): Likewise.
66397 (TENS_P14_SIZE): Likewise.
66398 (_fpioconst_pow10): Change array size to
66399 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
66400 unconditional.
66401 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66402 1024]: Add entries for 10^2^13 and 10^2^14.
66403 [LAST_POW10 > _LAST_POW10]: Remove #error.
66404 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66405 (_fpioconst_pow10): Change array size to
66406 FPIOCONST_POW10_ARRAY_SIZE.
66407 * stdlib/gen-fpioconst.c: New file.
66408 * stdlib/gen-tst-strtod-round.c: Likewise.
66409 * stdlib/tst-strtod-round-data: Likewise.
66410 * stdlib/tst-strtod-round.c: Likewise.
66411 * stdlib/Makefile (tests): Add tst-strtod-round.
66412
66413 [BZ #14459]
66414 * stdlib/strtod_l.c: Include <stdint.h>.
66415 (NDEBUG): Do not define.
66416 (round_and_return): Change EXPONENT parameter to type intmax_t.
66417 Rearrange calculations to avoid internal overflow possibilities.
66418 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66419 Rearrange calculations to avoid internal overflow possibilities.
66420 Assert that number fits inside MPNSIZE limbs.
66421 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66422 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
66423 calculations and add assertions to avoid internal overflow
66424 possibilities. Add casts to avoid signed/unsigned operations.
66425 * stdlib/tst-strtod-overflow.c: New file.
66426 * stdlib/Makefile (tests): Add tst-strtod-overflow.
66427
66428 2012-08-25 Marek Polacek <polacek@redhat.com>
66429
66430 * time/time.h: Fix some typos in comments.
66431
66432 2012-08-23 Roland McGrath <roland@hack.frob.com>
66433
66434 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66435 * posix/tst-rfc3484-2.c: Likewise.
66436 * posix/tst-rfc3484-3.c: Likewise.
66437
66438 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
66439
66440 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
66441 (EF_ARM_ABI_FLOAT_HARD): Likewise.
66442
66443 2012-08-23 Joseph Myers <joseph@codesourcery.com>
66444
66445 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
66446 #include of fxstatat64.c.
66447
66448 2012-08-22 Roland McGrath <roland@hack.frob.com>
66449
66450 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
66451 * shadow/getspent_r.c: Likewise.
66452 * shadow/getspnam.c: Likewise.
66453 * shadow/getspnam_r.c: Likewise.
66454 * gshadow/getsgent.c: Likewise.
66455 * gshadow/getsgent_r.c: Likewise.
66456 * gshadow/getsgnam.c: Likewise.
66457 * gshadow/getsgnam_r.c: Likewise.
66458 * inet/getnetbyad.c: Likewise.
66459 * inet/getnetbyad_r.c: Likewise.
66460 * inet/getnetbynm.c: Likewise.
66461 * inet/getnetbynm_r.c: Likewise.
66462 * inet/getnetent.c: Likewise.
66463 * inet/getnetent_r.c: Likewise.
66464 * inet/getproto.c: Likewise.
66465 * inet/getproto_r.c: Likewise.
66466 * inet/getprtent.c: Likewise.
66467 * inet/getprtent_r.c: Likewise.
66468 * inet/getprtname.c: Likewise.
66469 * inet/getprtname_r.c: Likewise.
66470 * inet/getrpcbyname.c: Likewise.
66471 * inet/getrpcbyname_r.c: Likewise.
66472 * inet/getrpcbynumber.c: Likewise.
66473 * inet/getrpcbynumber_r.c: Likewise.
66474 * inet/getrpcent.c: Likewise.
66475 * inet/getrpcent_r.c: Likewise.
66476 * inet/getaliasent.c: Likewise.
66477 * inet/getaliasent_r.c: Likewise.
66478 * inet/getaliasname.c: Likewise.
66479 * inet/getaliasname_r.c: Likewise.
66480 * nscd/getgrgid_r.c: Likewise.
66481 * nscd/getgrnam_r.c: Likewise.
66482 * nscd/gethstbyad_r.c: Likewise.
66483 * nscd/gethstbynm3_r.c: Likewise.
66484 * nscd/getpwnam_r.c: Likewise.
66485 * nscd/getpwuid_r.c: Likewise.
66486 * nscd/getsrvbynm_r.c: Likewise.
66487 * nscd/getsrvbypt_r.c: Likewise.
66488 * nscd/gai.c: Likewise.
66489
66490 * configure.in (build_nscd): New substituted variable, set
66491 by --disable-build-nscd and defaults to $use_nscd.
66492 * configure: Regenerated.
66493 * config.make.in (build-nscd): New substituted variable.
66494 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
66495 Change conditional to require [$(build-nscd) = yes] as well.
66496 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
66497
66498 [BZ# 13696]
66499 * configure.in (use_nscd): New substituted variable, set by
66500 --disable-nscd. If enabled, define USE_NSCD.
66501 * configure: Regenerated.
66502 * config.h.in: Add USE_NSCD.
66503 * config.make.in (use-nscd): New substituted variable.
66504 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
66505 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
66506 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
66507 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66508 (CFLAGS-getgrnam_r.c): Likewise.
66509 (CFLAGS-initgroups.c): Likewise.
66510 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
66511 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
66512 Variables removed.
66513 * inet/getnetgrent_r.c
66514 (nscd_setnetgrent): New function, broken out of ...
66515 (setnetgrent): ... here. Call it.
66516 (innetgr): Conditionalize nscd bits on [USE_NSCD].
66517 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
66518 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
66519 * nscd/Makefile (routines, aux): Move definitions after include of
66520 Makeconfig. Conditionalize on [$(use-nscd) != no].
66521 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
66522 Conditionalize on [USE_NSCD].
66523 (is_nscd, nscd_init_cb): Likewise.
66524 (nss_load_library): Conditionalize init callback on [USE_NSCD].
66525 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
66526 * nss/nss_db/db-init.c: Likewise.
66527 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
66528 [USE_NSCD].
66529 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
66530 (make_request): Use it.
66531 (cache_valid_p): New function.
66532 (__check_pf): Use it.
66533 * NEWS: Add item for --disable-nscd.
66534
66535 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
66536
66537 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
66538 to support sed >= 4.2.1-20-ga9bf076.
66539 * configure: Regenerated.
66540
66541 2012-08-22 Roland McGrath <roland@hack.frob.com>
66542
66543 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
66544 Conditionalize whole body on [IREL].
66545
66546 2012-08-22 Jeff Law <law@redhat.com>
66547
66548 [BZ #14505]
66549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
66550 if the family is PF_UNSPEC.
66551
66552 2012-08-22 Mike Frysinger <vapier@gentoo.org>
66553
66554 * Makerules (lib-version): Rename from V.
66555 (install-lib-nosubdir): Change V to lib-version.
66556
66557 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
66558
66559 [BZ #14252]
66560 * powerpc32/power6/wcschr.c: New file.
66561 * powerpc32/power6/wcscpy.c: New file.
66562 * powerpc32/power6/wcsrchr.c: New file.
66563 * powerpc64/power6/wcschr.c: New file.
66564 * powerpc64/power6/wcscpy.c: New file.
66565 * powerpc64/power6/wcsrchr.c: New file.
66566
66567 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
66568
66569 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
66570 (two_way_short_needle): Use it.
66571 * string/strstr.c (AVAILABLE1_USES_J): Define.
66572 * string/strcasestr.c: Likewise.
66573
66574 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
66575 array references.
66576 * string/strcasestr.c (TOLOWER): Make side-effect safe.
66577
66578 [BZ #11607]
66579 * NEWS: Add an entry.
66580 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
66581 define their defaults.
66582 (two_way_short_needle): Detect end-of-string on-the-fly.
66583 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
66584 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
66585 * string/bug-strcasestr1.c: New test.
66586 * string/Makefile: Run it.
66587
66588 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
66589
66590 [BZ #11607]
66591 * string/str-two-way.h (two_way_short_needle): Optimize matching of
66592 the first character.
66593
66594 2012-08-21 Roland McGrath <roland@hack.frob.com>
66595
66596 * csu/elf-init.c (__libc_csu_irel): Function removed.
66597 * csu/libc-start.c (apply_irel): New function.
66598 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
66599
66600 2012-08-21 Joseph Myers <joseph@codesourcery.com>
66601
66602 * sysdeps/unix/sysv/linux/kernel-features.h
66603 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
66604 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66605 <kernel-features.h>.
66606 [__NR_fadvise64_64]: Make code unconditional.
66607 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
66608 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66609 !__NR_fadvise64_64)]: Likewise.
66610 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66611 !__NR_fadvise64_64))]: Likewise.
66612 [__NR_fadvise64]: Make code unconditional.
66613 [!__NR_fadvise64]: Remove conditional code.
66614 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
66615 <kernel-features.h>.
66616 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66617 unconditional.
66618 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66619 conditional code.
66620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
66621 not include <kernel-features.h>.
66622 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66623 unconditional.
66624 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66625 conditional code.
66626 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
66627 include <kernel-features.h>.
66628 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66629 unconditional.
66630 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66631 conditional code.
66632
66633 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
66634
66635 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
66636 slight instruction rearrangements per scrollpipe analysis.
66637 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66638
66639 2012-08-20 Roland McGrath <roland@hack.frob.com>
66640
66641 * manual/syslog.texi (syslog; vsyslog, closelog):
66642 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
66643 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
66644
66645 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
66646 DSOCAPS to match condition on defining it.
66647
66648 2012-08-20 Joseph Myers <joseph@codesourcery.com>
66649
66650 * sysdeps/unix/sysv/linux/kernel-features.h
66651 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
66652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
66653 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66654 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
66656 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66657 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
66659 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66660 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66661
66662 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
66663 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
66664
66665 * sysdeps/unix/sysv/linux/kernel-features.h
66666 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
66667 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
66668 unconditional.
66669 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66670 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
66671 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66672 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66673 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
66674 Make code unconditional.
66675 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66676 (__mmap64) [!__NR_mmap2]: Likewise.
66677 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
66678 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66679 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66680 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
66681 [__NR_mmap2]: Make code unconditional.
66682 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66683 (__mmap64) [!__NR_mmap2]: Likewise.
66684
66685 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66686
66687 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
66688
66689 2012-08-18 Andreas Jaeger <aj@suse.de>
66690
66691 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
66692
66693 2012-08-18 Mike Frysinger <vapier@gentoo.org>
66694
66695 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
66696 * include/unistd.h (__have_sock_cloexec): Likewise.
66697 (__have_pipe2): Likewise.
66698 (__have_dup3): Likewise.
66699
66700 2012-08-18 Mike Frysinger <vapier@gentoo.org>
66701
66702 [BZ #9685]
66703 * include/unistd.h (__have_pipe2): Change define into an extern int.
66704 (__have_dup3): Likewise.
66705 * socket/have_sock_cloexec.c: Include fcntl.h.
66706 (__have_pipe2): New variable.
66707 (__have_dup3): Likewise.
66708
66709 2012-08-17 Mike Frysinger <vapier@gentoo.org>
66710
66711 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
66712
66713 2012-08-17 Marek Polacek <polacek@redhat.com>
66714
66715 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
66716 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
66717
66718 2012-08-17 Roland McGrath <roland@hack.frob.com>
66719
66720 * configure.in: Add AC_SUBST for sysheaders.
66721 * configure: Regenerated.
66722 * config.make.in (sysheaders): New substituted variable.
66723
66724 * sysdeps/unix/mkfifo.c: Moved ...
66725 * sysdeps/posix/mkfifo.c: ... here.
66726 * sysdeps/unix/mkfifoat.c: Moved ...
66727 * sysdeps/posix/mkfifoat.c: ... here.
66728
66729 * sysdeps/unix/utime.c: Moved ...
66730 * sysdeps/posix/utime.c: ... here.
66731
66732 * sysdeps/unix/time.c: Moved ...
66733 * sysdeps/posix/time.c: ... here.
66734 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
66735 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
66736
66737 * sysdeps/unix/nice.c: Moved ...
66738 * sysdeps/posix/nice.c: ... here.
66739
66740 * sysdeps/unix/alarm.c: Moved ...
66741 * sysdeps/posix/alarm.c: ... here.
66742
66743 * intl/Makefile ($(codeset_mo)): Depend on the input file.
66744
66745 2012-08-17 Jeff Law <law@redhat.com>
66746
66747 * intl/Makefile (codeset_mo): New variable.
66748 ($(codeset_mo)): New target.
66749 (tst-codeset.out): Depend on that. Remove explicit rule.
66750 (tst-gettext3.out, tst-gettext5.out): Likewise.
66751 (LOCPATH-ENV, tst-codeset-ENV): New variables.
66752 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
66753 * intl/tst-codeset.sh: Remove.
66754 * intl/tst-gettext3.sh: Likewise.
66755 * intl/tst-gettext5.sh: Likewise.
66756
66757 2012-08-17 Roland McGrath <roland@hack.frob.com>
66758
66759 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
66760 * sysdeps/unix/syscalls.list: ... here.
66761
66762 * sysdeps/posix/getaddrinfo.c
66763 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
66764 (gaiconf_init, gaiconf_reload): Use them.
66765 [!_STATBUF_ST_NSEC]
66766 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
66767 Define using time_t rather than struct timespec.
66768
66769 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
66770 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
66771 Macros removed.
66772 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
66773 [!NO_THREADS].
66774 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
66775 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
66776 Likewise.
66777
66778 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
66779 __libc_cleanup_push argument.
66780
66781 * bits/param.h: New file.
66782 * misc/sys/param.h: New file.
66783 * include/sys/param.h: New file.
66784 * misc/Makefile (headers): Add bits/param.h.
66785 * sysdeps/generic/sys/param.h: File removed.
66786 * sysdeps/unix/sysv/linux/bits/param.h: New file.
66787 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
66788 * sysdeps/mach/hurd/bits/param.h: New file.
66789 * sysdeps/mach/hurd/sys/param.h: File removed.
66790
66791 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
66792 last change.
66793
66794 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
66795 [_IO_MTSAFE_IO].
66796 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
66797 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
66798 New macros.
66799
66800 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
66801 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
66802 rather than -D_IO_MTSAFE_IO conditionally.
66803 * stdio-common/Makefile (CPPFLAGS): Likewise.
66804 * wcsmbs/Makefile (CPPFLAGS): Likewise.
66805 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
66806 Use $(libio-mtsafe).
66807 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
66808 of -D_IO_MTSAFE_IO.
66809 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
66810 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
66811 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
66812 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
66813 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
66814 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
66815 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
66816 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
66817 (CFLAGS-fread_u_chk.c): Likewise.
66818 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
66819 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
66820 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
66821 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
66822 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
66823 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
66824 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
66825 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
66826 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
66827
66828 * libio/Makefile: Test [$(libc-reentrant) = yes]
66829 instead of [$(filter %REENTRANT, $(defines)) nonempty].
66830
66831 * Makeconfig
66832 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
66833 * sysdeps/pthread/configure: File removed.
66834 * sysdeps/pthread/Makeconfig: New file.
66835 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
66836 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
66837
66838 2012-08-16 Gary Benson <gbenson@redhat.com>
66839
66840 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
66841 unmapping the first object in a namespace.
66842
66843 2012-08-16 Roland McGrath <roland@hack.frob.com>
66844
66845 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
66846 (__internal_setnetgrent): ... this. Add internal_function to
66847 definition. Add libc_hidden_def.
66848 (setnetgrent): Update caller.
66849 (internal_endnetgrent): Renamed to ...
66850 (__internal_endnetgrent): ... this. Add internal_function to
66851 definition. Add libc_hidden_def.
66852 (endnetgrent): Update caller.
66853 (internal_getnetgrent_r): Renamed to ...
66854 (__internal_getnetgrent_r): ... this. Add internal_function to
66855 definition. Add libc_hidden_def.
66856 (__getnetgrent_r): Update caller.
66857 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
66858
66859 2012-08-16 Joseph Myers <joseph@codesourcery.com>
66860
66861 * stdlib/longlong.h: Update from GCC.
66862
66863 2012-08-16 Roland McGrath <roland@hack.frob.com>
66864
66865 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
66866 on _QL, which is set by umul_ppmm but never used.
66867 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
66868 variables, which are set by GMP macros but never used.
66869 * stdio-common/_itowa.c (_itowa): Likewise.
66870 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
66871 * stdlib/mod_1.c (mpn_mod_1): Likewise.
66872
66873 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
66874
66875 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
66876 struct La_sh_regs is not constant.
66877 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
66878 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
66879 and struct La_sparc64_regs are not constant.
66880
66881 2012-08-16 Joseph Myers <joseph@codesourcery.com>
66882
66883 * sysdeps/unix/sysv/linux/kernel-features.h
66884 (__ASSUME_POSIX_TIMERS): Remove.
66885 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66887 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
66888 Make code unconditional.
66889 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66890 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
66891 Make code unconditional.
66892 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66893 * sysdeps/unix/sysv/linux/clock_nanosleep.c
66894 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
66895 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66896 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
66897 Make code unconditional.
66898 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66899 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
66900 (__libc_missing_posix_timers): Remove.
66901
66902 2012-08-15 Roland McGrath <roland@hack.frob.com>
66903
66904 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
66905 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
66906
66907 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66908
66909 * elf/dl-sym.c: Include <stdlib.h>.
66910
66911 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
66912 constants, which avoids warnings in 32-bit builds.
66913
66914 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
66915 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
66916
66917 * misc/lseek.c: File moved to ...
66918 * io/lseek.c: ... here.
66919
66920 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
66921
66922 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
66923 shifting LEN more than 31 bits at once.
66924
66925 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66926
66927 [BZ #14195]
66928 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
66929 segmentation fault for a case of two empty input strings.
66930 * string/test-strncasecmp.c (check1): Renamed to...
66931 (bz12205): ...this.
66932 (bz14195): Add new testcase for two empty input strings and N > 0.
66933 (test_main): Call new testcase, adapt for renamed function.
66934
66935 2012-08-15 Andreas Jaeger <aj@suse.de>
66936
66937 [BZ #14090]
66938 * crypt/md5test2.c: New test, based on test supplied by Serge
66939 Belyshev <belyshev@depni.sinp.msu.ru>.
66940 * crypt/Makefile (xtests): Add md5test-giant..
66941 * crypt/Makefile ($(objpfx)md5test-giant): Add.
66942
66943 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
66944
66945 [BZ #14090]
66946 * crypt/md5.c (md5_process_block): Don't assume the buffer
66947 length is less than 2**32.
66948 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
66949 length is less than 2**64.
66950
66951 2012-08-15 Roland McGrath <roland@hack.frob.com>
66952
66953 * string/str-two-way.h: Include <sys/param.h>.
66954 (MAX): Macro removed.
66955
66956 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
66957 Move #define and #undef of memmove to just before and after
66958 including <string.h>.
66959
66960 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
66961 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
66962 and after including <string.h>. Move declarations of
66963 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
66964 to before #include "string/memmove.c".
66965
66966 * include/dirent.h: Declare __getdirentries.
66967
66968 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
66969 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
66970
66971 2012-08-14 Mike Frysinger <vapier@gentoo.org>
66972
66973 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
66974 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
66975 * sysdeps/i386/configure: Regenerated.
66976 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
66977 STABS_CURRENT_FILE, and STABS_FUN.
66978 (END): Remove call to STABS_FUN_END.
66979 (STABS_CURRENT_FILE1): Delete.
66980 (STABS_CURRENT_FILE): Likewise.
66981 (STABS_FUN): Likewise.
66982 (STABS_FUN_END): Likewise.
66983 (STABS_FUN2): Likewise.
66984 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
66985 * sysdeps/x86_64/configure: Regenerated.
66986
66987 2012-08-14 Roland McGrath <roland@hack.frob.com>
66988
66989 * elf/dl-open.c: Include <atomic.h>.
66990 * elf/dl-lookup.c: Likewise.
66991
66992 2012-08-14 Joseph Myers <joseph@codesourcery.com>
66993
66994 * sysdeps/unix/sysv/linux/kernel-features.h
66995 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
66996 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
66997 unconditionally.
66998 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
66999 unconditionally.
67000 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67001 condition on __ASSUME_CLONE_THREAD_FLAGS.
67002
67003 2012-08-14 Andreas Jaeger <aj@suse.de>
67004
67005 * sysdeps/i386/fpu/libm-test-ulps: Update.
67006
67007 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
67008
67009 * include/atomic.h (atomic_exchange_and_add): Split into ...
67010 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67011 New atomic macros.
67012
67013 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
67014
67015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67016
67017 2012-08-13 Jeff Law <law@redhat.com>
67018
67019 * manual/stdio.texi (snprintf): Clarify handling of the trailing
67020 null byte in the output string.
67021
67022 2012-08-10 Joseph Myers <joseph@codesourcery.com>
67023
67024 * sysdeps/unix/sysv/linux/kernel-features.h
67025 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67026 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67027 (__ASSUME_ARG_MAX_STACK_BASED): Define.
67028 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67029 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67030 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
67031 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67032
67033 2012-08-09 Jeff Law <law@redhat.com>
67034
67035 [BZ #13939]
67036 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67037 When avoid_arena is set, don't retry in the that arena. Pick the
67038 next one, whatever it might be.
67039 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67040 (arena_lock): Pass in new parameter to arena_get2.
67041 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67042 arena_get2.
67043 (__libc_malloc): Unify retrying after main arena failure with
67044 __libc_memalign version.
67045 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67046
67047 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
67048
67049 [BZ #14166]
67050 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67051 to __redirect_strstr.
67052 (__strstr_sse42): Use typeof __redirect_strstr.
67053 (__strstr_ia32): Likewise.
67054 (__libc_strstr): New prototype.
67055 (strstr): Renamed to ...
67056 (__libc_strstr): This.
67057 (strstr): New strong alias of __libc_strstr.
67058 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67059 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67060 __redirect_time.
67061 Include <time.h>.
67062 (__libc_time): New prototype.
67063 (time_ifunc): Replace time with __libc_time.
67064 (time): New strong alias and hidden definition of __libc_time.
67065 (__GI_time): Remove strong alias.
67066 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67067 Include <stddef.h>.
67068 (memmove): Redefined to __redirect_memmove.
67069 (__memmove_sse2): Use typeof __redirect_memmove.
67070 (__memmove_ssse3): Likewise.
67071 (__memmove_ssse3_back): Likewise.
67072 (__libc_memmove): New prototype.
67073 (memmove): Renamed to ...
67074 (__libc_memmove): This.
67075 (memmove): New strong alias of __libc_memmove.
67076
67077 2012-08-08 Mark Salter <msalter@redhat.com>
67078
67079 * elf/elf.h
67080 (R_MN10300_TLS_GD): Define.
67081 (R_MN10300_TLS_LD): Likewise.
67082 (R_MN10300_TLS_LDO): Likewise.
67083 (R_MN10300_TLS_GOTIE): Likewise.
67084 (R_MN10300_TLS_IE): Likewise.
67085 (R_MN10300_TLS_LE): Likewise.
67086 (R_MN10300_TLS_DTPMOD): Likewise.
67087 (R_MN10300_TLS_DTPOFF): Likewise.
67088 (R_MN10300_TLS_TPOFF): Likewise.
67089 (R_MN10300_SYM_DIFF): Likewise.
67090 (R_MN10300_ALIGN): Likewise.
67091 (R_MN10300_NUM): Update.
67092
67093 2012-08-08 Joseph Myers <joseph@codesourcery.com>
67094
67095 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67096 Remove.
67097
67098 2012-08-08 Roland McGrath <roland@hack.frob.com>
67099
67100 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67101
67102 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67103 sysdeps/unix -> sysdeps/posix move.
67104 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67105
67106 2012-08-07 Allan McRae <allan@archlinux.org>
67107
67108 [BZ #14303]
67109 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67110 (SUNOS_CPP): Likewise.
67111 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67112 not found.
67113 (open_input): Call CPP using execvp.
67114
67115 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67116
67117 * sysdeps/unix/sysv/linux/kernel-features.h
67118 (__ASSUME_PROT_GROWSUPDOWN): Remove.
67119 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67120 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67121 (__ASSUME_WAITID_SYSCALL): Likewise.
67122 * sysdeps/unix/sysv/linux/dl-execstack.c
67123 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67124 code unconditional.
67125 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67126 conditional code.
67127 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67128 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67129 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67130 code.
67131 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67132 unconditional.
67133 [__ASSUME_WAITID_SYSCALL]: Likewise.
67134 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67135
67136 2012-08-07 Roland McGrath <roland@hack.frob.com>
67137
67138 * sysdeps/unix/closedir.c: Renamed to ...
67139 * sysdeps/posix/closedir.c: ... here.
67140 * sysdeps/unix/dirfd.c: Renamed to ...
67141 * sysdeps/posix/dirfd.c: ... here.
67142 * sysdeps/unix/dirstream.h: Renamed to ...
67143 * sysdeps/posix/dirstream.h: ... here.
67144 * sysdeps/unix/fdopendir.c: Renamed to ...
67145 * sysdeps/posix/fdopendir.c: ... here.
67146 * sysdeps/unix/opendir.c: Renamed to ...
67147 * sysdeps/posix/opendir.c: ... here.
67148 * sysdeps/unix/readdir.c: Renamed to ...
67149 * sysdeps/posix/readdir.c: ... here.
67150 * sysdeps/unix/readdir_r.c: Renamed to ...
67151 * sysdeps/posix/readdir_r.c: ... here.
67152 * sysdeps/unix/rewinddir.c: Renamed to ...
67153 * sysdeps/posix/rewinddir.c: ... here.
67154 * sysdeps/unix/seekdir.c: Renamed to ...
67155 * sysdeps/posix/seekdir.c: ... here.
67156 * sysdeps/unix/telldir.c: Renamed to ...
67157 * sysdeps/posix/telldir.c: ... here.
67158 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67159 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67160 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67161 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67162
67163 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67164 * bits/fcntl.h: ... here.
67165
67166 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67167 not 0.
67168 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67169 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67170 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67171 (struct flock): Move l_start, l_len to the beginning.
67172 Use __pid_t for l_pid.
67173 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67174 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67175 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67176 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67177 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67178 [__USE_LARGEFILE64] (struct flock64): New type.
67179 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67180
67181 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67182 * bits/dirent.h: ... here.
67183
67184 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67185 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67186
67187 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67188
67189 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67190 Change from 2.6.0 to 2.6.16.
67191 * sysdeps/unix/sysv/linux/configure: Regenerated.
67192 * sysdeps/unix/sysv/linux/kernel-features.h
67193 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67194 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67195 version.
67196 (__ASSUME_UTIMES): Likewise.
67197 (__ASSUME_CLONE_STOPPED): Remove.
67198 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67199 architectures, not kernel version.
67200 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67201 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67202 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67203 (__ASSUME_WAITID_SYSCALL): Likewise.
67204 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67205 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67206 * README: State 2.6.16 as minimum Linux kernel version. Do not
67207 refer to older versions.
67208
67209 2012-08-06 Roland McGrath <roland@hack.frob.com>
67210
67211 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67212 Define alphasort64 as an alias.
67213 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67214 Define versionsort64 as an alias.
67215 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67216 Define scandir64 as an alias.
67217 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67218 Define scandirat64 as an alias.
67219 * dirent/alphasort64.c (alphasort64):
67220 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67221 * dirent/versionsort64.c: Likewise.
67222 * dirent/scandir64.c: Likewise.
67223 * dirent/scandirat64.c: Likewise.
67224 * sysdeps/wordsize-64/alphasort.c: File removed.
67225 * sysdeps/wordsize-64/alphasort64.c: File removed.
67226 * sysdeps/wordsize-64/scandir.c: File removed.
67227 * sysdeps/wordsize-64/scandir64.c: File removed.
67228 * sysdeps/wordsize-64/scandirat.c: File removed.
67229 * sysdeps/wordsize-64/scandirat64.c: File removed.
67230 * sysdeps/wordsize-64/versionsort.c: File removed.
67231 * sysdeps/wordsize-64/versionsort64.c: File removed.
67232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67233 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67234 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67235 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67236 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67237 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67238 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67239 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67240
67241 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67243 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67245 [defined __arch64__ || defined __sparcv9]
67246 (__INO_T_MATCHES_INO64_T): New macro.
67247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67248 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67249 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67250 * sysdeps/unix/sysv/linux/bits/dirent.h
67251 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67252 (_DIRENT_MATCHES_DIRENT64): New macro.
67253
67254 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67255 Define lockf64 as an alias.
67256 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67257 Define fseeko64 as an alias.
67258 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67259 Define ftello64 as an alias.
67260 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67261 Define _IO_fgetpos64 and fgetpos64 as aliases.
67262 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67263 Define _IO_fsetpos64 and fsetpos64 as aliases.
67264 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67265 Conditionalize body on this.
67266 * libio/fseeko64.c: Likewise.
67267 * libio/ftello64.c: Likewise.
67268 * libio/iofgetpos64.c: Likewise.
67269 * libio/iofsetpos64.c: Likewise.
67270 * sysdeps/wordsize-64/lockf.c: File removed.
67271 * sysdeps/wordsize-64/lockf64.c: File removed.
67272 * sysdeps/wordsize-64/fseeko.c: File removed.
67273 * sysdeps/wordsize-64/fseeko64.c: File removed.
67274 * sysdeps/wordsize-64/ftello.c: File removed.
67275 * sysdeps/wordsize-64/ftello64.c: File removed.
67276 * sysdeps/wordsize-64/iofgetpos.c: File removed.
67277 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67278 * sysdeps/wordsize-64/iofsetpos.c: File removed.
67279 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67281 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67282 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67283 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67284 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67285 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67286 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67287 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67288 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67289 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67290
67291 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67293 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67295 [defined __arch64__ || defined __sparcv9]
67296 (__OFF_T_MATCHES_OFF64_T): New macro.
67297 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67298 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67300 (__OFF_T_MATCHES_OFF64_T): New macro.
67301
67302 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67303
67304 * stdlib/secure-getenv.c (__secure_getenv): Replace
67305 GLIBC_2_16 with GLIBC_2_17.
67306
67307 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67308
67309 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67310 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67311
67312 2012-08-03 David S. Miller <davem@davemloft.net>
67313
67314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67315
67316 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67317
67318 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67319 Remove.
67320 (__ASSUME_CORRECT_SI_PID): Likewise.
67321 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67322 (__ASSUME_TMPFS_NAME): Likewise.
67323 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67324 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67325 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67326 (HAVE_AUX_SECURE): Make definition unconditional.
67327 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67328 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67329
67330 2012-08-03 Roland McGrath <roland@hack.frob.com>
67331
67332 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67333 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67334 * sysdeps/mach/hurd/eloop-threshold.h: New file.
67335 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67336 __eloop_threshold instead of SYMLOOP_MAX.
67337
67338 * sysdeps/generic/eloop-threshold.h: New file.
67339 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67340 of MAXSYMLINKS.
67341 * elf/chroot_canon.c (chroot_canon): Likewise.
67342
67343 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67344
67345 [BZ #13717]
67346 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67347 Change to 2.6.0 everywhere.
67348 * sysdeps/unix/sysv/linux/configure: Regenerated.
67349 * sysdeps/unix/sysv/linux/kernel-features.h
67350 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67351 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67352 kernel versions.
67353 (__ASSUME_POSIX_TIMERS): Define unconditionally.
67354 (__ASSUME_FUTEX_REQUEUE): Remove.
67355 (__ASSUME_STATFS64): Define unconditionally.
67356 (__ASSUME_AT_SECURE): Likewise.
67357 (__ASSUME_CORRECT_SI_PID): Likewise.
67358 (__ASSUME_TGKILL): Define without depending on kernel version for
67359 i386.
67360 (__ASSUME_UTIMES): Likewise.
67361 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67362 kernel version.
67363 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67364 (__ASSUME_TMPFS_NAME): Likewise.
67365 * README: Update reference to Linux kernel versions.
67366
67367 2012-08-02 Marek Polacek <polacek@redhat.com>
67368
67369 [BZ# 14150]
67370 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
67371 libc_cv_asm_type_prefix with %.
67372 * configure: Regenerated.
67373 * include/libc-symbols.h: Remove comment about
67374 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67375 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67376 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67377 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67378 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67379 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67380 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67381 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67382 * elf/tst-unique2mod1.c: Likewise.
67383 * elf/tst-unique1mod2.c: Likewise.
67384 * elf/tst-unique1mod1.c: Likewise.
67385 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67386 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67387 Replace ASM_TYPE_DIRECTIVE with .type.
67388 * sysdeps/s390/s390-64/sysdep.h: Likewise.
67389 * sysdeps/i386/sysdep.h: Likewise.
67390 * sysdeps/x86_64/sysdep.h: Likewise.
67391 * sysdeps/sh/sysdep.h: Likewise.
67392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67393 Do not define ASM_TYPE_DIRECTIVE.
67394 * sysdeps/powerpc/sysdep.h: Likewise.
67395 * sysdeps/powerpc/powerpc32/sysdep.h:
67396 Replace ASM_TYPE_DIRECTIVE with .type.
67397 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67398 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67399 * sysdeps/i386/fpu/e_powf.S: Likewise.
67400 * sysdeps/i386/fpu/e_expl.S: Likewise.
67401 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67402 * sysdeps/i386/fpu/e_acosh.S: Likewise.
67403 * sysdeps/i386/fpu/e_pow.S: Likewise.
67404 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67405 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67406 * sysdeps/i386/fpu/s_expm1.S: Likewise.
67407 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67408 * sysdeps/i386/fpu/e_log2.S: Likewise.
67409 * sysdeps/i386/fpu/e_log2l.S: Likewise.
67410 * sysdeps/i386/fpu/e_scalb.S: Likewise.
67411 * sysdeps/i386/fpu/e_powl.S: Likewise.
67412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
67413 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67414 * sysdeps/i386/fpu/e_logl.S: Likewise.
67415 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67416 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67417 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67418 * sysdeps/i386/fpu/e_log2f.S: Likewise.
67419 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67420 * sysdeps/i386/fpu/e_log.S: Likewise.
67421 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67422 * sysdeps/i386/fpu/e_logf.S: Likewise.
67423 * sysdeps/i386/fpu/e_log10l.S: Likewise.
67424 * sysdeps/i386/fpu/e_atanh.S: Likewise.
67425 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67426 * sysdeps/i386/fpu/e_log10.S: Likewise.
67427 * sysdeps/i386/fpu/s_frexp.S: Likewise.
67428 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67429 * sysdeps/i386/fpu/s_asinh.S: Likewise.
67430 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67431 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67432 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67433 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67434 * sysdeps/i386/i686/strtok.S: Likewise.
67435 * sysdeps/i386/i386-mcount.S: Likewise.
67436 * sysdeps/i386/strtok.S: Likewise.
67437 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67438 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67439 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67440 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67441 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67442 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67443 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67444 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67445 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67446 * sysdeps/x86_64/_mcount.S: Likewise.
67447 * sysdeps/x86_64/strtok.S: Likewise.
67448 * sysdeps/sh/_mcount.S: Likewise.
67449
67450 2012-08-01 Roland McGrath <roland@hack.frob.com>
67451
67452 * libio/iofopen.c: Include <fcntl.h>.
67453 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
67454 (_IO_fopen64, fopen64): Define as aliases.
67455 * libio/iofopen64.c: Include <fcntl.h>.
67456 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
67457 Conditionalize body on this.
67458 * sysdeps/wordsize-64/iofopen.c: File removed.
67459 * sysdeps/wordsize-64/iofopen64.c: File removed.
67460
67461 2012-08-01 Marek Polacek <polacek@redhat.com>
67462
67463 * libc/Makeconfig: Use elf in place of binfmt-subdir.
67464 Use dlfcn directly instead of a variable.
67465 (binfmt-subdir): Do not define.
67466 (dlfcn): Likewise.
67467
67468 2012-08-01 Joseph Myers <joseph@codesourcery.com>
67469
67470 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
67471 Remove all definitions.
67472 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
67473 <kernel-features.h>.
67474 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67475 (miss_F_GETOWN_EX): Remove all definitions.
67476 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
67477 macro definition.
67478 [!__ASSUME_FCNTL64]: Remove conditional code.
67479 [__ASSUME_FCNTL64]: Make code unconditional.
67480 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
67481 <kernel-features.h>.
67482 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67483 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
67484 (lockf64) [__NR_fcntl64]: Make code unconditional.
67485 (lockf64) [__ASSUME_FCNTL64]: Likewise.
67486
67487 * sysdeps/unix/sysv/linux/kernel-features.h
67488 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
67489 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
67490 Make code unconditional.
67491 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67492 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
67494 [__NR_vfork]: Make code unconditional.
67495 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67496 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
67498 [__NR_vfork]: Make code unconditional.
67499 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67500 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67501
67502 2012-08-01 Roland McGrath <roland@hack.frob.com>
67503
67504 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
67505 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
67506
67507 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67508 Define mkstemp64 as an alias.
67509 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67510 Define mkstemps64 as an alias.
67511 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67512 Define mkostemp64 as an alias.
67513 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67514 Define mkostemps64 as an alias.
67515 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67516 Conditionalize body on this.
67517 * misc/mkostemp64.c: Likewise.
67518 * misc/mkostemps64.c: Likewise.
67519 * misc/mkstemps64.c: Likewise.
67520 * sysdeps/wordsize-64/mkstemp64.c: File removed.
67521 * sysdeps/wordsize-64/mkostemp64.c: File removed.
67522 * sysdeps/wordsize-64/mkostemp.c: File removed.
67523 * sysdeps/wordsize-64/mkstemp.c: File removed.
67524 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
67525 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
67526 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
67527 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
67528
67529 [BZ #14138]
67530 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
67531 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
67532 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
67533 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
67534
67535 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
67536 compat_symbol macros from <shlib-compat.h> rather than the underlying
67537 default_symbol_version and symbol_version macros, so that DEFAULT
67538 lines in shlib-versions are respected.
67539 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
67540
67541 2012-08-01 Florian Weimer <fweimer@redhat.com>
67542
67543 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
67544 Declare with warn_unused_result.
67545 (setgid, setregid, setegid, setresgid): Likewise.
67546 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
67547 Likewise.
67548 * WUR-REPORT: Remove set*id functions.
67549
67550 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
67551
67552 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
67553
67554 2012-07-31 Roland McGrath <roland@hack.frob.com>
67555
67556 [BZ #10191]
67557 * include/sys/socket.h (__libc_accept, __libc_accept4):
67558 Add attribute_hidden.
67559 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
67560
67561 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
67562 use of PTR_MANGLE.
67563 * inet/getnetgrent_r.c (setup): Likewise.
67564
67565 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
67566
67567 2012-07-31 David S. Miller <davem@davemloft.net>
67568
67569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67570
67571 2012-07-31 Joseph Myers <joseph@codesourcery.com>
67572
67573 [BZ #13629]
67574 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
67575 value between 1.0 and 2.0 and smaller part has absolute value less
67576 than 1.0.
67577 * math/s_clog10.c (__clog10): Likewise.
67578 * math/s_clog10f.c (__clog10f): Likewise.
67579 * math/s_clog10l.c (__clog10l): Likewise.
67580 * math/s_clogf.c (__clogf): Likewise.
67581 * math/s_clogl.c (__clogl): Likewise.
67582 * math/libm-test.inc (clog_test): Add more tests.
67583 (clog10_test): Likewise.
67584 * sysdeps/i386/fpu/libm-test-ulps: Update.
67585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67586
67587 2012-07-31 Florian Weimer <fweimer@redhat.com>
67588
67589 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
67590 Exit with zero in case no suitable GID is found, and write a
67591 message to standard error.
67592
67593 2012-07-30 Roland McGrath <roland@hack.frob.com>
67594
67595 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
67596 rather than to 1.
67597 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
67598 (MAXPATHLEN): Removed.
67599 (NOGROUP, NODEV): New macros.
67600 (setbit, clrbit, isset, isclr): New macros.
67601 (howmany, roundup, powerof2): New macros.
67602 (DEV_BSIZE): New macro.
67603
67604 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
67605 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
67606
67607 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
67608 definition on [!__NO_LONG_DOUBLE_MATH].
67609
67610 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
67611 PTR_MANGLE and PTR_DEMANGLE.
67612
67613 * socket/accept4.c (accept4): Rename to __libc_accept4.
67614 Define accept4 as a weak alias.
67615
67616 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
67617 on [_DIRENT_HAVE_D_TYPE].
67618 * io/ftw.c (ftw_dir): Likewise.
67619
67620 * io/xmknod.c (__xmknod): Don't check PATH for being null.
67621
67622 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
67623
67624 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
67625 Use the BSD numbers rather than the arbitrary ones we had.
67626 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
67627 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
67628 (SIGXCPU, SIGXFSZ): New macros.
67629 (_NSIG): Now 32.
67630
67631 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
67632 initializer on [_LIBC_REENTRANT].
67633
67634 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
67635 definitions inside [_POSIX_MAPPED_FILES].
67636
67637 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
67638
67639 * dirent/opendir.c: Include <fcntl.h>.
67640
67641 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
67642 (__libc_getspecific): Likewise.
67643 (__libc_key_create): Likewise.
67644
67645 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
67646 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
67647 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
67648 (tmpfile64): Define as alias.
67649 * sysdeps/wordsize-64/tmpfile.c: File removed.
67650 * sysdeps/wordsize-64/tmpfile64.c: File removed.
67651 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
67652 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
67653
67654 * stdio-common/vfscanf.c: Include <stdbool.h>.
67655 * nss/makedb.c: Likewise.
67656 * stdio-common/_i18n_number.h: Likewise.
67657 * argp/argp-help.c: Likewise.
67658 * posix/wordexp.c: Likewise.
67659 * sysdeps/posix/spawni.c: Likewise.
67660 * nss/nss_files/files-initgroups.c: Likewise.
67661 * stdio-common/reg-modifier.c: Include <stdlib.h>.
67662 * nss/nss_files/files-initgroups.c: Likewise.
67663 * nss/nss_db/db-netgrp.c: Likewise.
67664 * nss/nss_db/db-initgroups.c: Likewise.
67665 * io/fchmodat.c: Include <sys/stat.h>.
67666
67667 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
67668 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
67669
67670 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
67671 [HAVE_MMAP].
67672
67673 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
67674 Add multiple inclusion protection.
67675
67676 2012-07-27 David S. Miller <davem@davemloft.net>
67677
67678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67679
67680 2012-07-27 Gary Benson <gbenson@redhat.com>
67681
67682 [BZ #14298]
67683 * elf/rtld.c: Include <stap-probe.h>.
67684 (dl_main): Added static probes "init_start" and "init_complete".
67685 * elf/dl-load.c: Include <stap-probe.h>.
67686 (lose): Take new parameter "nsid".
67687 Added static probe "map_failed".
67688 (_dl_map_object_from_fd): Pass namespace id to lose.
67689 Added static probe "map_start".
67690 (open_verify): Pass namespace id to lose.
67691 * elf/dl-open.c: Include <stap-probe.h>.
67692 (dl_open_worker) Added static probes "map_complete", "reloc_start"
67693 and "reloc_complete".
67694 * elf/dl-close.c: Include <stap-probe.h>.
67695 (_dl_close_worker): Added static probes "unmap_start" and
67696 "unmap_complete".
67697 * elf/rtld-debugger-interface.txt: New file documenting the above.
67698
67699 2012-07-26 Roland McGrath <roland@hack.frob.com>
67700
67701 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
67702 rather than a string variable.
67703 * sunrpc/rpc_main.c (h_output): Likewise.
67704 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
67705
67706 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
67707
67708 * inet/check_native.c: New file.
67709
67710 2012-07-26 Joseph Myers <joseph@codesourcery.com>
67711
67712 [BZ #13629]
67713 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
67714 if larger part has absolute value 1.0.
67715 * math/s_clog10.c (__clog10): Likewise.
67716 * math/s_clog10f.c (__clog10f): Likewise.
67717 * math/s_clog10l.c (__clog10l): Likewise.
67718 * math/s_clogf.c (__clogf): Likewise.
67719 * math/s_clogl.c (__clogl): Likewise.
67720 * math/libm-test.inc (clog_test): Add more tests.
67721 (clog10_test): Likewise.
67722 * sysdeps/i386/fpu/libm-test-ulps: Update.
67723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67724
67725 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
67726 (pltexit): Likewise.
67727 (La_regs): Likewise.
67728 (La_retval): Likewise.
67729 (int_retval): Likewise.
67730 Update #error for removed macros to refer only to definitions in
67731 tst-audit.h.
67732 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
67733 macro.
67734 (pltexit): Likewise.
67735 (La_regs): Likewise.
67736 (La_retval): Likewise.
67737 (int_retval): Likewise.
67738 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
67739 macro.
67740 (pltexit): Likewise.
67741 (La_regs): Likewise.
67742 (La_retval): Likewise.
67743 (int_retval): Likewise.
67744 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
67745 macro.
67746 (pltexit): Likewise.
67747 (La_regs): Likewise.
67748 (La_retval): Likewise.
67749 (int_retval): Likewise.
67750 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
67751 macro.
67752 (pltexit): Likewise.
67753 (La_regs): Likewise.
67754 (La_retval): Likewise.
67755 (int_retval): Likewise.
67756 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
67757 macro.
67758 (pltexit): Likewise.
67759 (La_regs): Likewise.
67760 (La_retval): Likewise.
67761 (int_retval): Likewise.
67762 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
67763 macro.
67764 (pltexit): Likewise.
67765 (La_regs): Likewise.
67766 (La_retval): Likewise.
67767 (int_retval): Likewise.
67768 * sysdeps/generic/tst-audit.h: Update comment to refer only to
67769 macro definitions in tst-audit.h.
67770 * sysdeps/i386/tst-audit.h: New file.
67771 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
67772 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
67773 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
67774 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
67775 * sysdeps/sh/tst-audit.h: Likewise.
67776 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
67777 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
67778 * sysdeps/x86_64/tst-audit.h: Likewise.
67779
67780 2012-07-26 Andreas Jaeger <aj@suse.de>
67781
67782 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
67783 ptrace.
67784
67785 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
67786 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
67787 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
67788 PTRACE_O_MASK.
67789 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
67790 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
67791 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
67792
67793 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
67794 value.
67795
67796 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
67797 _sigsys.
67798 (si_call_addr, si_syscall, si_arch): Define new macro.
67799 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
67800 _sigsys.
67801 (si_call_addr, si_syscall, si_arch): Define new marcro.
67802 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
67803 _sigsys.
67804 (si_call_addr, si_syscall, si_arch): Define new macro.
67805 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
67806 _sigsys.
67807 (si_call_addr, si_syscall, si_arch): Define new macro.
67808
67809 2012-07-25 Joseph Myers <joseph@codesourcery.com>
67810
67811 [BZ #13717]
67812 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67813 Change to 2.4.21 where previously 2.4.1.
67814 * sysdeps/unix/sysv/linux/configure: Regenerated.
67815 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
67816 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
67817 Linux kernel version.
67818 (__ASSUME_STD_AUXV): Remove.
67819 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
67820 kernel version.
67821 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
67822 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
67823 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
67824 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
67825 (__ASSUME_NETLINK_SUPPORT): Likewise.
67826 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
67827 (__no_netlink_support): Remove conditional definition.
67828 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
67829 Remove.
67830 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67831 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
67832 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
67833 (if_nameindex_ioctl): Remove.
67834 (if_nameindex_netlink): Do not handle __no_netlink_support.
67835 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67836 code.
67837 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
67838 Remove conditional code.
67839 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67840 code.
67841 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
67842 unconditional.
67843 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67844 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
67845 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
67846 Remove.
67847 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
67848 [!__ASSUME_STD_AUXV]: Remove conditional code.
67849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
67850 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
67851 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
67852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
67853 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
67854 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67855 code.
67856 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
67858 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
67859 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67860 conditional code.
67861 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
67863 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67864 code.
67865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
67866 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67867 conditional code.
67868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
67869 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67870 code unconditional.
67871 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67872 conditional code.
67873 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67874 unconditional.
67875 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67876 conditional code.
67877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67878 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67879 unconditional.
67880 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67881 conditional code.
67882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
67883 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67884 code unconditional.
67885 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67886 conditional code.
67887 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67888 unconditional.
67889 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67890 conditional code.
67891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
67892 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67893 code unconditional.
67894 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67895 conditional code.
67896 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67897 unconditional.
67898 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67899 conditional code.
67900
67901 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
67902
67903 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
67904 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
67905 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
67906 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
67907 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
67908 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
67909 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
67910 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
67911 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
67912 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
67913 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
67914 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
67915 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
67916 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67917 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
67918 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
67919 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
67920 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
67921 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
67922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
67923 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
67924 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
67925 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67926
67927 2012-07-25 Florian Weimer <fweimer@redhat.com>
67928
67929 * Versions.def: Add GLIBC_2.17.
67930 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
67931 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
67932 Introduce __libc_secure_getenv.
67933 * stdlib/Versions (2.17): Add secure_getenv
67934 (GLIBC_PRIVATE): Add __libc_secure_getenv.
67935 * stdlib/secure-getenv.c: Rename __secure_getenv to
67936 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
67937 symbol __secure_getenv for GLIBC_2.0.
67938 * stdlib/tst-secure-getenv.c: New.
67939 * stdlib/Makefile (tests): Add testcase.
67940 * manual/startup.texi (Environment Access): Document
67941 secure_getenv.
67942 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
67943 __libc_secure_getenv.
67944 * inet/ruserpass.c (ruserpass): Likewise.
67945 * malloc/mtrace.c (mtrace): Likewise.
67946 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
67947 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
67948 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
67949 * sysdeps/posix/tempname.c: Likewise. Evaluate
67950 HAVE_SECURE_GETENV.
67951 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
67952 __secure_getenv to __libc_secure_getenv.
67953 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
67954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67955 Likewise.
67956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67957 Likewise.
67958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67960 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67965
67966 2012-07-25 Joseph Myers <joseph@codesourcery.com>
67967
67968 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67969 (struct La_i86_retval): Likewise.
67970 (struct La_x86_64_regs): Likewise.
67971 (struct La_x86_64_retval): Likewise.
67972 (struct La_x32_regs): Likewise.
67973 (struct La_x32_retval): Likewise.
67974 (struct La_ppc32_regs): Likewise.
67975 (struct La_ppc32_retval): Likewise.
67976 (struct La_ppc64_regs): Likewise.
67977 (struct La_ppc64_retval): Likewise.
67978 (struct La_sh_regs): Likewise.
67979 (struct La_sh_retval): Likewise.
67980 (struct La_s390_32_regs): Likewise.
67981 (struct La_s390_32_retval): Likewise.
67982 (struct La_s390_64_regs): Likewise.
67983 (struct La_s390_64_retval): Likewise.
67984 (struct La_sparc32_regs): Likewise.
67985 (struct La_sparc32_retval): Likewise.
67986 (struct La_sparc64_regs): Likewise.
67987 (struct La_sparc64_retval): Likewise.
67988 (struct audit_ifaces): Remove architecture-specific pltenter and
67989 pltexit members.
67990 * sysdeps/i386/ldsodefs.h: New file.
67991 * sysdeps/powerpc/ldsodefs.h: Likewise.
67992 * sysdeps/s390/ldsodefs.h: Likewise.
67993 * sysdeps/sh/ldsodefs.h: Likewise.
67994 * sysdeps/sparc/ldsodefs.h: Likewise.
67995 * sysdeps/x86_64/ldsodefs.h: Likewise.
67996
67997 2012-07-25 Marek Polacek <polacek@redhat.com>
67998
67999 [BZ #6808]
68000 * math/libm-test.inc (yn_test): Add another test.
68001 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68002 to ERANGE when the result is +-Inf.
68003 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68004 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68005 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68006 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68007
68008 2012-07-24 Joseph Myers <joseph@codesourcery.com>
68009
68010 * conform/data/time.h-data (NULL): Use macro-constant. Require
68011 equal to 0.
68012 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
68013 clock_t.
68014 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
68015
68016 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
68017
68018 * configure.in <sysdeps resolving>: Correct printing
68019 Implies_before.
68020 * configure: Regenerate.
68021
68022 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
68023
68024 * math/w_ilogb.c: Include <limits.h>.
68025 * math/w_ilogbl.c: Likewise.
68026
68027 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68028
68029 * manual/lang.texi (__va_copy): Document primarily as ISO C99
68030 va_copy. Document allowing for unavailable va_copy only as
68031 pre-C99 compatibility.
68032 * manual/string.texi (Copying and Concatenation): Use va_copy
68033 instead of __va_copy in concat example.
68034
68035 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
68036
68037 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68038 (__sendto): Use create_address_port. Initialize APORT and deallocate
68039 it if not null.
68040
68041 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68042 with O_NOLINK passed to __file_name_lookup.
68043
68044 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68045 with O_NOLINK passed to __file_name_lookup.
68046
68047 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68048 negative N or less than NGIDS.
68049
68050 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68051 type to string_t. Set ERANGE as errno and return it if NAME is not big
68052 enough. Use memcpy instead of strncpy.
68053
68054 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68055
68056 * elf/Makefile (check-data): Remove.
68057 (localplt.data): New vpath directive.
68058 ($(objpfx)check-localplt.out): Use localplt.data from vpath
68059 instead of $(check-data).
68060 * scripts/data/localplt-generic.data: Move to ...
68061 * sysdeps/generic/localplt.data: ... here.
68062 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68063 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68064 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68066 ... here.
68067 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68069 ... here.
68070 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68072 ... here.
68073 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68075 ... here.
68076 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68078 ... here.
68079 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68081 ... here.
68082
68083 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68084
68085 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68086 PPC32 and PPC64 files.
68087 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68088 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68089
68090 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68091
68092 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68093 __makecontext_ret to ...
68094 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68095 ... here and call exit if uc_link is NULL. New file.
68096 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68097 __makecontext_ret.S.
68098 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68099 __makecontext_ret to ...
68100 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68101 ... here and call exit if uc_link is NULL. New file.
68102 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68103 __makecontext_ret.S.
68104
68105 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68106
68107 * elf/elf.h (R_390_IRELATIVE): New definition.
68108 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68109 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
68110 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68111 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68112 (elf_machine_lazy_rel): Likewise.
68113 * sysdeps/s390/dl-irel.h: New file.
68114 * sysdeps/s390/s390-64/memcpy.S: New asm code.
68115 * sysdeps/s390/s390-64/memset.S: New asm code.
68116 * sysdeps/s390/s390-64/memcmp.S: New asm code.
68117 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68118 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68119 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68120 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68121 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68122 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68123 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68124 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68125 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68126 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68127 * sysdeps/s390/s390-32/memcpy.S: New asm code.
68128 * sysdeps/s390/s390-32/memset.S: New asm code.
68129 * sysdeps/s390/s390-32/memcmp.S: New asm code.
68130
68131 2012-07-17 Marek Polacek <polacek@redhat.com>
68132
68133 [BZ #14349]
68134 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68135 * sysdeps/s390/s390-64/configure.in: Likewise.
68136 * sysdeps/sparc/configure.in: Likewise.
68137 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68138 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68139 * sysdeps/i386/configure.in: Likewise.
68140 * sysdeps/x86_64/configure.in: Likewise.
68141 * sysdeps/sh/configure.in: Likewise.
68142 * sysdeps/s390/s390-32/configure: Regenerated.
68143 * sysdeps/s390/s390-64/configure: Likewise.
68144 * sysdeps/x86_64/configure: Likewise.
68145 * sysdeps/sh/configure: Likewise.
68146 * sysdeps/powerpc/powerpc64/configure: Likewise.
68147 * sysdeps/powerpc/powerpc32/configure: Likewise.
68148 * sysdeps/sparc/configure: Likewise.
68149 * sysdeps/i386/configure: Likewise.
68150
68151 * elf/dl-open.c: Comment fixes.
68152
68153 2012-07-17 Joseph Myers <joseph@codesourcery.com>
68154
68155 * Makefile [CXX] (check-data): Remove.
68156 [CXX] (c++-types.data): New vpath directive.
68157 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68158 vpath. Do not allow for C++ type data being missing.
68159 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68160 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68161 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68162 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68163 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68164 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68165 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68167 ... here.
68168 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68170 ... here.
68171 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68173 ... here.
68174 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68176 ... here.
68177 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68179 ... here.
68180 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68182 ... here.
68183 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68185 ... here.
68186 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68188
68189 * elf/tls-macros.h (TLS_LE): Move architecture-specific
68190 definitions to architecture-specific files.
68191 (TLS_IE): Likewise.
68192 (TLS_LD): Likewise.
68193 (TLS_GD): Likewise.
68194 * sysdeps/i386/tls-macros.h: New file.
68195 * sysdeps/powerpc/tls-macros.h: Likewise.
68196 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68197 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68198 * sysdeps/sh/tls-macros.h: Likewise.
68199 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68200 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68201 * sysdeps/x86_64/tls-macros.h: Likewise.
68202
68203 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68204
68205 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68206 zero value for regular exit case.
68207
68208 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68209 (__start_context): Preserve zero value for regular exit case.
68210
68211 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68212 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68213
68214 * manual/setjmp.texi (setcontext): Clarify normal process
68215 termination when uc_link is the null pointer.
68216 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68217 exit call.
68218
68219 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
68220
68221 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68222 preprocessor. Test for each exception mask separately.
68223
68224 2012-07-16 Andreas Jaeger <aj@suse.de>
68225
68226 * po/ru.po: Update from translation team.
68227
68228 2012-07-15 Joseph Myers <joseph@codesourcery.com>
68229
68230 * conform/data/string.h-data (NULL): Use macro-constant. Require
68231 equal to 0.
68232 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68233 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68234 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68235 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68236 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68237
68238 2012-07-13 Andreas Jaeger <aj@suse.de>
68239
68240 * po/fr.po: Update from translation team.
68241
68242 2012-07-12 Marek Polacek <polacek@redhat.com>
68243
68244 [BZ #14173]
68245 * math/libm-test.inc (yn_test): Add test for BZ #14173.
68246 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68247 loop condition.
68248
68249 2012-07-12 Joseph Myers <joseph@codesourcery.com>
68250
68251 [BZ #13717]
68252 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68253 Change to 2.4.1 where previously 2.4.0.
68254 * sysdeps/unix/sysv/linux/configure: Regenerated.
68255 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68256 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68257 version.
68258 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68259 (__ASSUME_AT_CLKTCK): Remove.
68260 (__ASSUME_AT_PAGESIZE): Likewise.
68261 (__ASSUME_AT_XID): Likewise.
68262 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68263 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68264 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68265 unconditionally.
68266 (HAVE_AUX_PAGESIZE): Likewise.
68267 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68268 [__ASSUME_AT_CLKTCK]: Make code unconditional.
68269 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68270
68271 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
68272
68273 [BZ #14307]
68274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68275 the temporary buffer used to invoke __gethostbyname2_r,
68276 __gethostbyaddr_r and gethostbyname4_r to make room for struct
68277 host_data / struct gaih_addrtuple.
68278 * resolv/nss_dns/dns-host.c (global scope): Move definition of
68279 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68280 header file nss/nsswitch.h.
68281 * nss/nsswitch.h (global scope): Add definition of implementation
68282 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68283 resolv/nss_dns/dns-host.c).
68284
68285 2012-07-11 Andreas Jaeger <aj@suse.de>
68286
68287 * po/fr.po: Update from translation team.
68288
68289 * po/sv.po: Update from translation team
68290 * po/fr.po: Another update from translation team.
68291
68292 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68293
68294 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68295 for subnormals or multiply small sinh result by itself.
68296 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68298
68299 2012-07-11 David S. Miller <davem@davemloft.net>
68300
68301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68302
68303 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
68304
68305 [BZ #14347]
68306 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68307 (INTERNAL_MARK): Shift it here.
68308
68309 2012-07-10 Marek Polacek <polacek@redhat.com>
68310
68311 [BZ #14151]
68312 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
68313 libc_cv_asm_global_directive with .globl.
68314 * configure: Regenerated.
68315 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68316 with .globl.
68317 * sysdeps/i386/configure: Regenerated.
68318 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68319 with .globl.
68320 * sysdeps/x86_64/configure: Regenerated.
68321 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68322 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68323 * elf/tst-unique2mod2.c: Likewise.
68324 * elf/tst-unique2mod1.c: Likewise.
68325 * elf/tst-unique1mod2.c: Likewise.
68326 * elf/tst-unique1mod1.c: Likewise.
68327 * sysdeps/s390/s390-32/sysdep.h: Likewise.
68328 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68329 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68330 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68331 * sysdeps/mach/sysdep.h: Likewise.
68332 * sysdeps/i386/sysdep.h: Likewise.
68333 * sysdeps/i386/i386-mcount.S: Likewise.
68334 * sysdeps/x86_64/_mcount.S: Likewise.
68335 * sysdeps/x86_64/sysdep.h: Likewise.
68336 * sysdeps/sh/_mcount.S: Likewise.
68337 * sysdeps/sh/sysdep.h: Likewise.
68338 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68339 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68340 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68341 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68342 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68343 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68344 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68345 * locale/localeinfo.h: Likewise.
68346 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68347 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68348
68349 2012-07-09 Roland McGrath <roland@hack.frob.com>
68350
68351 [BZ #14336]
68352 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68353 system".
68354 * manual/message.texi (The Uniforum approach): Likewise.
68355 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68356 (glibc iconv Implementation): Likewise.
68357
68358 2012-07-09 Joseph Myers <joseph@codesourcery.com>
68359
68360 [BZ #14337]
68361 * math/s_clog.c (__clog): Avoid scaling a value down where that
68362 could result in underflow.
68363 * math/s_clog10.c (__clog10): Likewise.
68364 * math/s_clog10f.c (__clog10f): Likewise.
68365 * math/s_clog10l.c (__clog10l): Likewise.
68366 * math/s_clogf.c (__clogf): Likewise.
68367 * math/s_clogl.c (__clogl): Likewise.
68368 * math/libm-test.inc (clog_test): Add more tests.
68369 (clog10_test): Likewise.
68370 * sysdeps/i386/fpu/libm-test-ulps: Update.
68371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68372
68373 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
68374
68375 [BZ #14283]
68376 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68377 by 7 not 8 to examine high bit of fractional part.
68378
68379 [BZ #14042]
68380 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68381 for call to __mcount_internal.
68382 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68383 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68384 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68385
68386 2012-07-06 Joseph Myers <joseph@codesourcery.com>
68387
68388 [BZ #14154]
68389 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68390 approximation for values within 0x1p-13f of an odd multiple of
68391 pi/4.
68392 * math/libm-test.inc (tan_test): Do not allow spurious underflow
68393 exception. Add more tests.
68394 * sysdeps/i386/fpu/libm-test-ulps: Update.
68395
68396 [BZ #6778]
68397 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68398 inputs and return -1 for them. Do not check for +Inf in case not
68399 reachable for +Inf.
68400 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68401 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68402 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68403 and return -1 for them. Do not check for +Inf in case not
68404 reachable for +Inf.
68405 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68406 define.
68407 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68408 and return -1 for them. Do not check for +Inf in case not
68409 reachable for +Inf.
68410 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
68411 spurious underflow.
68412 * sysdeps/i386/fpu/libm-test-ulps: Update.
68413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68414
68415 2012-07-06 Mike Frysinger <vapier@gentoo.org>
68416
68417 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68418
68419 2012-07-05 Joseph Myers <joseph@codesourcery.com>
68420
68421 [BZ #14157]
68422 [BZ #14331]
68423 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68424 could result in spurious underflow. Scale down values above
68425 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68426 * math/s_csqrtf.c (__csqrtf): Likewise.
68427 * math/s_csqrtl.c (__csqrtl): Likewise.
68428 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
68429 spurious underflow.
68430 * sysdeps/i386/fpu/libm-test-ulps: Update.
68431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68432
68433 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
68434
68435 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68436 xopen-msg.sed.
68437 * catgets/xopen-msg.awk: New file.
68438 * catgets/xopen-msg.sed: Removed.
68439
68440 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
68441 po2text.sed.
68442 * intl/po2test.awk: New file.
68443 * intl/po2test.sed: Removed.
68444
68445 2012-07-04 Joseph Myers <joseph@codesourcery.com>
68446
68447 [BZ #14328]
68448 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
68449 or multiply small sinh result by itself.
68450 * math/s_ctanf.c (__ctanf): Likewise.
68451 * math/s_ctanh.c (__ctanh): Likewise.
68452 * math/s_ctanhf.c (__ctanhf): Likewise.
68453 * math/s_ctanhl.c (__ctanhl): Likewise.
68454 * math/s_ctanl.c (__ctanl): Likewise.
68455 * math/libm-test.inc (ctan_test_tonearest): New function.
68456 (ctan_test_towardzero): Likewise.
68457 (ctan_test_downward): Likewise.
68458 (ctan_test_upward): Likewise.
68459 (ctanh_test_tonearest): Likewise.
68460 (ctanh_test_towardzero): Likewise.
68461 (ctanh_test_downward): Likewise.
68462 (ctanh_test_upward): Likewise.
68463 (main): Call these new functions.
68464 * sysdeps/i386/fpu/libm-test-ulps: Update.
68465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68466
68467 2012-07-03 Mike Frysinger <vapier@gentoo.org>
68468
68469 * .gitignore: Delete /ports entry.
68470
68471 2012-07-03 Andreas Jaeger <aj@suse.de>
68472
68473 * po/bg.po: Update from translation team.
68474 * po/cs.po: Likewise.
68475 * po/de.po: Likewise.
68476 * po/hr.po: Likewise.
68477 * po/nl.pl: Likewise.
68478 * po/pl.po: Likewise.
68479 * po/vi.po: Likewise.
68480
68481 2012-07-03 Joseph Myers <joseph@codesourcery.com>
68482
68483 * Makeconfig [!+link] (+link-before-libc): New variable.
68484 [!+link] (+link-after-libc): Likewise.
68485 [!+link] (+link-tests): Likewise.
68486 [!+link] (+link): Define in terms of $(+link-before-libc) and
68487 $(+link-after-libc).
68488 [!+link-static] (+link-static-before-libc): New variable.
68489 [!+link-static] (+link-static-after-libc): Likewise.
68490 [!+link-static] (+link-static-tests): Likewise.
68491 [!+link-static] (+link-static): Define in terms of
68492 $(+link-static-before-libc) and $(+link-static-after-libc).
68493 [build-shared] (link-libc-before-gnulib): New variable.
68494 [build-shared] (link-libc-tests): Likewise.
68495 [build-shared] (link-libc): Define in terms of
68496 $(link-libc-before-gnulib).
68497 [!build-shared] (link-libc-tests): New variable.
68498 (link-libc-static-tests): New variable.
68499 [!gnulib] (gnulib-arch): New variable.
68500 [!gnulib] (gnulib-tests): Likewise.
68501 [!gnulib] (static-gnulib-arch): Likewise.
68502 [!gnulib] (static-gnulib-tests): Likewise.
68503 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
68504 Define with "=" instead of ":=".
68505 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
68506 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
68507 * Rules (binaries-all-notests): New variable.
68508 (binaries-all-tests): Likewise.
68509 (binaries-static-notests): Likewise.
68510 (binaries-static-tests): Likewise.
68511 (binaries-all): Define using $(binaries-all-notests) and
68512 $(binaries-all-tests).
68513 (binaries-static): Define using $(binaries-static-notests) and
68514 $(binaries-static-tests).
68515 (binaries-shared-tests): New variable.
68516 (binaries-shared-notests): Likewise.
68517 (binaries-shared): Remove variable.
68518 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
68519 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
68520 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
68521 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
68522 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
68523 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
68524 * elf/Makefile (sln-modules): New variable.
68525 (extra-objs): Add $(sln-modules:=.o).
68526 (ldconfig-modules): Add static-stubs.
68527 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
68528 * elf/static-stubs.c: New file.
68529
68530 [BZ #14283]
68531 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
68532 by 7 not 8 to examine high bit of fractional part. Use volatile
68533 variables when splitting into final array of floats if
68534 __FLT_EVAL_METHOD__ != 0.
68535 * math/libm-test.inc (cos_test): Add another test.
68536 (sin_test): Likewise.
68537 * sysdeps/i386/fpu/libm-test-ulps: Update.
68538
68539 [BZ #14273]
68540 * math/libm-test.inc (cosh_test): Add more tests.
68541
68542 * version.h (RELEASE): Set to "development".
68543 (VERSION): Set to "2.16.90".
68544
68545 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
68546
68547 * NEWS: Update copyright. Remove last-updated date.
68548 Mention math library bug fixes and timezone data changes.
68549 * README: Mention GNU/Hurd, x32, and HPPA support status.
68550
68551 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
68552
68553 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
68554
68555 2012-06-27 Andreas Jaeger <aj@suse.de>
68556
68557 * manual/contrib.texi (Contributors): Add Samuel Thibault.
68558
68559 2012-06-25 Andreas Jaeger <aj@suse.de>
68560
68561 * sysdeps/s390/fpu/libm-test-ulps: Update.
68562
68563 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
68564 Thomas Schwinge <thomas@codesourcery.com>
68565
68566 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
68567 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
68568 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
68569 fanotify_mark.
68570
68571 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
68572
68573 * sysdeps/mach/start.c: Remove file.
68574 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
68575 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
68576 * sysdeps/sh/init-first.c: Likewise.
68577
68578 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
68579 registers for frame unwinding purposes, add CFI directives.
68580 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68581 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
68582 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
68583 Likewise.
68584
68585 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
68586 __fortify_fail returning.
68587 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68588
68589 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
68590 sysdeps/sh/____longjmp_chk.S.
68591 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
68592 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
68593 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
68594 (gen-as-const-headers): Append sigaltstack-offsets.sym.
68595
68596 * sysdeps/sh/abort-instr.h: New file.
68597 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
68598 process in case exit returns.
68599
68600 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
68601 initialize the GOT register before use.
68602
68603 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
68604 calculation of ARGC > 4.
68605
68606 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
68607 meaningful names to some local labels.
68608
68609 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
68610 Kaz Kojima <kkojima@rr.iij4u.or.jp>
68611
68612 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
68613 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
68614 (__arch_compare_and_exchange_val_16_acq): Likewise.
68615 (__arch_compare_and_exchange_val_32_acq): Likewise.
68616 (atomic_exchange_and_add): Fix gUSA sequence.
68617 (atomic_add): Likewise.
68618 (atomic_add_negative): Likewise.
68619 (atomic_add_zero): Likewise.
68620 (atomic_bit_test_set): Likewise.
68621
68622 2012-06-22 Andreas Schwab <schwab@redhat.com>
68623
68624 [BZ #13579]
68625 * include/link.h (struct link_map): Add l_free_initfini.
68626 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
68627 l_initfini.
68628 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
68629 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
68630 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
68631 set.
68632
68633 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
68634
68635 * configure.in: Use AC_LANG_SOURCE.
68636 * configure: Regenerate.
68637
68638 2012-06-22 Roland McGrath <roland@hack.frob.com>
68639
68640 * configure.in (libc_cv_localstatedir): New substituted variable.
68641 * configure: Regenerated.
68642 * config.make.in (localstatedir): New variable, substituted from
68643 libc_cv_localstatedir.
68644 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
68645 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
68646 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
68647 * sysdeps/gnu/configure: Regenerated.
68648
68649 2012-06-21 Jeff Law <law@redhat.com>
68650
68651 [BZ #14277]
68652 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
68653 free. Simplify list management for _LIBC case.
68654
68655 2012-06-21 Joseph Myers <joseph@codesourcery.com>
68656
68657 [BZ #14273]
68658 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
68659 Clear sign bit of 64-bit integer value before comparing against
68660 overflow value.
68661
68662 * sysdeps/mach/configure: Regenerated.
68663
68664 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
68665
68666 [BZ #14278]
68667 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
68668
68669 2012-06-21 Jeff Law <law@redhat.com>
68670
68671 [BZ #13882]
68672 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
68673 uint16_t for elements in the "seen" array to avoid char overflows.
68674 * elf/dl-fini.c (_dl_sort_fini): Likewise.
68675 * elf/dl-open.c (dl_open_worker): Likewise.
68676
68677 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
68678
68679 * scripts/list-sources.sh: Scan PORTS for translations.
68680 * po/libc.pot: Regenerated.
68681
68682 2012-06-21 Andreas Jaeger <aj@suse.de>
68683
68684 [BZ #12194]
68685 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
68686 warning.
68687 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
68688 * bits/byteswap-16.h (__bswap_16): Likewise.
68689 * bits/byteswap.h (__bswap_constant_16): Likewise.
68690
68691 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
68692
68693 [BZ #14117]
68694 * sysdeps/i386/fpu_control.h: Removed.
68695 * sysdeps/x86_64/fpu_control.h: Moved to ...
68696 * sysdeps/x86/fpu_control.h: Here.
68697
68698 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
68699 (_FPU_SETCW): Likewise.
68700
68701 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
68702
68703 [BZ #14117]
68704 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
68705 * sysdeps/x86/fpu/bits/mathinline.h: This.
68706 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
68707
68708 [BZ #14050]
68709 [BZ #14117]
68710 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
68711 functions if __x86_64__ is defined.
68712
68713 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
68714
68715 * string/endian.h: Add !__ASSEMBLER__ condition for including
68716 conversion interfaces.
68717
68718 2012-06-15 Joseph Myers <joseph@codesourcery.com>
68719
68720 [BZ #14241]
68721 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
68722 of ABS(x) in calculating zero to negative powers other than odd
68723 integers.
68724 * math/libm-test.inc (pow_test): Add more tests.
68725
68726 2012-06-15 Andreas Jaeger <aj@suse.de>
68727
68728 * manual/contrib.texi (Contributors): Update entry of Liubov
68729 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
68730 Machado Filho.
68731
68732 2012-06-15 Cyril Hrubis <metan@ucw.cz>
68733
68734 * string/string.h: Add __wur to GNU version of strerror_r.
68735
68736 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
68737
68738 [BZ #14229]
68739 * string/Makefile (tests): Add tst-strtok_r.
68740 * string/tst-strtok_r.c: New file.
68741 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
68742 RAX_LP/RDX_LP on SAVE_PTR.
68743
68744 2012-06-14 Roland McGrath <roland@hack.frob.com>
68745
68746 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
68747
68748 2012-06-14 Joseph Myers <joseph@codesourcery.com>
68749
68750 * libm_test.inc (csqrt_test): Allow more spurious underflow
68751 exceptions.
68752 (j0_test): Likewise.
68753 (j1_test): Likewise.
68754 (y0_test): Likewise.
68755 (y1_test): Likewise.
68756
68757 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
68758
68759 * po/Makefile (libc.pot): Use UTF-8 charset.
68760
68761 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
68762
68763 [BZ #14210]
68764 Suppress sign-conversion warning from FD_SET.
68765 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
68766 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
68767 not unsigned long int.
68768 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
68769
68770 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
68771
68772 [BZ #14050]
68773 [BZ #14117]
68774 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
68775 __extern_always_inline instead of __extern_inline.
68776 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
68777 (__signbit): Likewise.
68778 (__signbitl): Support C++ namespace.
68779 (lrintf): New inline function.
68780 (lrint): Likewise.
68781 (llrintf): Likewise.
68782 (llrint): Likewise.
68783 (fmaxf): Likewise.
68784 (fmax): Likewise.
68785 (fminf): Likewise.
68786 (fmin): Likewise.
68787 (rint): Likewise.
68788 (rintf): Likewise.
68789 (ceil): Likewise.
68790 (ceilf): Likewise.
68791 (floor): Likewise.
68792 (floorf): Likewise.
68793 (nearbyint): Likewise.
68794 (nearbyintf): Likewise.
68795
68796 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
68797
68798 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
68799 non-default versions.
68800
68801 2012-06-11 Roland McGrath <roland@hack.frob.com>
68802
68803 [BZ #14218]
68804 * manual/argp.texi (Argp): Reword argp_parse description slightly.
68805
68806 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
68807
68808 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
68809 (FE_UPWARD, FE_DOWNWARD): Don't define.
68810 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
68811 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68812
68813 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
68814 reading it.
68815 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68816 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68817
68818 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
68819
68820 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68821 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
68822 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
68823 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
68824
68825 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
68826
68827 [BZ #14117]
68828 * sysdeps/i386/fpu/bits/fenv.h: Removed.
68829 * sysdeps/i386/fpu/Implies: New file.
68830 * sysdeps/x86_64/fpu/Implies: Likewise.
68831 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
68832 * sysdeps/x86/fpu/bits/fenv.h: This.
68833
68834 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
68835 __SSE_MATH__.
68836
68837 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
68838
68839 [BZ #14134]
68840 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
68841 character 0xffff that matches the last element of the
68842 conversion table.
68843
68844 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68845
68846 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
68847 fmodl commit.
68848
68849 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68850
68851 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
68852 values higher than 25.6283.
68853
68854 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68855
68856 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
68857 subnormal exponent extraction and add some __builtin_expect.
68858 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
68859 Fix for subnormal mantissa calculation.
68860
68861 2012-06-04 Mike Frysinger <vapier@gentoo.org>
68862
68863 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
68864 cpu2 is -1 and errno is not ENOSYS.
68865
68866 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
68867
68868 [BZ #14117]
68869 * sysdeps/i386/i486/bits/string.h: Renamed to ...
68870 * sysdeps/x86/bits/string.h: This.
68871 * sysdeps/x86_64/bits/string.h: Removed.
68872
68873 * sysdeps/i386/i486/bits/string.h: Define inline functions only
68874 if not compiling for x86-64, but compiling for >= i486.
68875
68876 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
68877 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68878
68879 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
68880 New macro from Linux kernel 3.4.0.
68881 (FP_XSTATE_MAGIC2): Likewise.
68882 (FP_XSTATE_MAGIC2_SIZE): Likewise.
68883 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
68884 (struct _fpx_sw_bytes): New struct.
68885 (struct _xsave_hdr): Likewise.
68886 (struct _ymmh_state): Likewise.
68887 (struct _xstate): Likewise.
68888
68889 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
68890 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
68891 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68892 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
68893 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
68894 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
68895
68896 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
68897 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68898 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
68899 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
68900 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
68901 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
68902
68903 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68904
68905 [BZ #13743]
68906 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
68907 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
68908 (sysdep_headers): Include sys/platform/ppc.h.
68909 * sysdeps/powerpc/test-gettimebase.c: Test for
68910 __ppc_get_timebase() to catch future ISA opcode/insn changes.
68911 * manual/Makefile (appendices): Include platform.texi.
68912 * manual/contrib.texi (Contributors): Update @node pointers.
68913 * manual/maint.texi (Maintenance): Likewise.
68914 (Platform): New node.
68915 * manual/platform.texi: New file. Document the new features.
68916
68917 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
68918 Jakub Jelinek <jakub@redhat.com>
68919
68920 [BZ #14188]
68921 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
68922 where __builtin_expect is unavailable.
68923
68924 2012-06-03 David S. Miller <davem@davemloft.net>
68925
68926 * stdlib/longlong.h: Updated from GCC.
68927
68928 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
68929
68930 [BZ #14042]
68931 * sysdeps/powerpc/powerpc32/mcount.c: New file.
68932 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
68933 __mcount_internal.
68934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68935 (GLIBC_2.16): Likewise.
68936
68937 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68938
68939 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
68940
68941 2012-06-01 Joseph Myers <joseph@codesourcery.com>
68942
68943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
68944 (default-abi): New variable.
68945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
68946 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
68947 variable.
68948 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
68949 Likewise.
68950 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
68951 Likewise.
68952 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68953 Likewise.
68954
68955 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
68956 definition. Document in comment.
68957
68958 2012-06-01 David S. Miller <davem@davemloft.net>
68959
68960 * stdlib/longlong.h: Updated from GCC.
68961
68962 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68963
68964 [BZ #14117]
68965 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
68966 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
68967 sys/debugreg.h sys/io.h here.
68968 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
68969 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
68970 sys/io.h.
68971 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
68972 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
68973 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
68974 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
68975 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
68976 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
68977
68978 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
68979 Define only if __x86_64__ is defined.
68980
68981 2012-06-01 Joseph Myers <joseph@codesourcery.com>
68982
68983 [BZ #14048]
68984 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
68985 Use int64_t for variable i.
68986 * math/libm-test.inc (fmod_test): Add more tests.
68987
68988 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
68989 z computation is not scheduled after fetestexcept.
68990 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
68991 Use math_force_eval instead of asm to ensure calculation scheduled
68992 before exception test.
68993 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
68994 Ensure a1 + u.d computation is not scheduled after fetestexcept.
68995
68996 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
68997
68998 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
68999 computation is not scheduled after fetestexcept.
69000
69001 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69002
69003 [BZ #14117]
69004 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69005 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69006
69007 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69008
69009 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69010 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69011
69012 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69013
69014 [BZ #14117]
69015 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69016 <bits/wordsize.h>.
69017 (__WCHAR_MIN): Support __WORDSIZE == 64.
69018 (__WCHAR_MAX): Likewise.
69019
69020 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69021 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69022
69023 [BZ #14183]
69024 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69025 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69026
69027 [BZ #14117]
69028 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69029 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69030
69031 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69032 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69033
69034 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69035 Defined to 1 if __x86_64__ isn't defined.
69036 (_STAT_VER_LINUX_OLD): New.
69037 (st_atime): Remove duplicate.
69038 (st_mtime): Likewise.
69039 (st_ctime): Likewise.
69040
69041 2012-05-31 David S. Miller <davem@davemloft.net>
69042
69043 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69044 entries.
69045
69046 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
69047
69048 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69049 gen-libm-test.pl.
69050
69051 [BZ #14132]
69052 * elf/dl-reloc.c: Include <_itoa.h>.
69053 (_dl_reloc_bad_type): Remove use of INTUSE.
69054 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69055 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69056 * stdio-common/psiginfo.c (psiginfo): Likewise.
69057 * stdio-common/psignal.c (psignal): Likewise.
69058 * string/strsignal.c (strsignal): Likewise.
69059 * include/signal.h (_sys_siglist): Declare hidden proto.
69060 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
69061 INTVARDEF with libc_hidden_data_def.
69062 * stdio-common/itoa-udigits.c: Likewise.
69063 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69064 (_itoa_lower_digits_internal): Remove declaration.
69065 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69066 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69067 (_sys_sigabbrev_internal): Remove aliases.
69068 (_sys_siglist): Define hidden alias.
69069
69070 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
69071
69072 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69073 bits/sysctl.h.
69074
69075 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69076
69077 [BZ #14117]
69078 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69079 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69080
69081 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69082 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69083 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69084 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69085 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69086 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69087
69088 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69089 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69090 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69091
69092 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69093 with __addr.
69094 (insw): Likewise.
69095 (insl): Likewise.
69096 (outsb): Likewise.
69097 (outsw): Likewise.
69098 (outsl): Likewise.
69099
69100 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69101 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69102 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69103
69104 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69105 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69106 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69107 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69108 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69109 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69110
69111 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69112 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69113
69114 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69115 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69116
69117 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69118 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69119 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69120
69121 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69122 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69123 to ...
69124 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69125
69126 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69127 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69128 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69129
69130 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69131 for x86-64.
69132 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69133
69134 2012-05-31 Joseph Myers <joseph@codesourcery.com>
69135
69136 * math/math.h (M_El): Use two more decimal places.
69137 (M_LOG2El): Likewise.
69138 (M_LOG10El): Likewise.
69139 (M_LN2l): Likewise.
69140 (M_LN10l): Likewise.
69141 (M_PIl): Likewise.
69142 (M_PI_2l): Likewise.
69143 (M_PI_4l): Likewise.
69144 (M_1_PIl): Likewise.
69145 (M_2_PIl): Likewise.
69146 (M_2_SQRTPIl): Likewise.
69147 (M_SQRT2l): Likewise.
69148 (M_SQRT1_2l): Likewise.
69149
69150 2012-05-31 David S. Miller <davem@davemloft.net>
69151
69152 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69153 values between float registers.
69154 * sysdeps/sparc/sparc64/memset.S: Likewise.
69155 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69156
69157 2012-05-31 Mike Frysinger <vapier@gentoo.org>
69158
69159 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69160 -D_FORTIFY_SOURCE=1.
69161 (CPPFLAGS-tst-longjmp_chk.c): Define.
69162 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69163 (CPPFLAGS-tst-longjmp_chk2.c): Define.
69164 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69165 CFLAGS-tst-wchar-h.c.
69166
69167 2012-05-31 Marek Polacek <polacek@redhat.com>
69168
69169 [BZ #14132]
69170 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69171 __endmntent_internal): Remove declaration.
69172 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69173 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69174 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69175
69176 2012-05-30 David S. Miller <davem@davemloft.net>
69177
69178 * sysdeps/sparc/sparc32/soft-fp/q_util.c
69179 (___Q_simulate_exceptions): Use real FP ops rather than writing
69180 into the %fsr.
69181 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69182 Likewise.
69183
69184 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69185
69186 [BZ #14117]
69187 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69188 * sysdeps/x86/bits/xtitypes.h: This.
69189
69190 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69191 * sysdeps/x86/bits/wordsize.h: This.
69192
69193 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69194 * sysdeps/x86/bits/huge_vall.h: This.
69195
69196 * sysdeps/i386/bits/select.h: Removed.
69197 * sysdeps/x86_64/bits/select.h: Renamed to ...
69198 * sysdeps/x86/bits/select.h: This.
69199
69200 * sysdeps/i386/bits/setjmp.h: Removed.
69201 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69202 * sysdeps/x86/bits/setjmp.h: This.
69203
69204 * sysdeps/i386/bits/mathdef.h: Removed.
69205 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69206 * sysdeps/x86/bits/mathdef.h: This.
69207
69208 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
69209
69210 [BZ #14132]
69211 * include/sys/socket.h (__connect_internal)
69212 (__libc_sa_len_internal): Remove declaration.
69213 (__connect, __libc_sa_len): Declare hidden_proto.
69214 (SA_LEN): Remove use of INTUSE.
69215 * socket/connect.c: Add libc_hidden_def.
69216 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69217 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69218 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69219 alias.
69220 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69221 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69222 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69223 of adding _internal alias.
69224
69225 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69226
69227 [BZ #14117]
69228 * sysdeps/i386/bits/link.h: Removed.
69229 * sysdeps/i386/bits/linkmap.h: Likewise.
69230 * sysdeps/x86_64/bits/link.h: Renamed to ...
69231 * sysdeps/x86/bits/link.h: This.
69232 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69233 * sysdeps/x86/bits/linkmap.h: This.
69234
69235 * sysdeps/i386/bits/endian.h: Removed.
69236 * sysdeps/x86_64/bits/endian.h: Renamed to ...
69237 * sysdeps/x86/bits/endian.h: This.
69238
69239 * sysdeps/i386/bits/byteswap.h: Removed.
69240 * sysdeps/i386/bits/byteswap-16.h: Likewise.
69241 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69242 * sysdeps/x86/bits/byteswap.h: This.
69243 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69244 * sysdeps/x86/bits/byteswap-16.h: This.
69245 * sysdeps/i386/Implies: Add x86.
69246 * sysdeps/x86_64/Implies: Likewise.
69247
69248 2012-05-30 David S. Miller <davem@davemloft.net>
69249
69250 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69251 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69252 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69253 (FP_TRAPPING_EXCEPTIONS): Define.
69254 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69255 (FP_TRAPPING_EXCEPTIONS): Define.
69256 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69257 subnormals only when inexact has been signalled or underflow
69258 exceptions are enabled.
69259 (_FP_PACK_CANONICAL): Likewise.
69260
69261 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69262
69263 [BZ #14183]
69264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69265 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69266
69267 2012-05-30 Richard Henderson <rth@twiddle.net>
69268
69269 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69270 with #ifndef NOT_IN_libc.
69271
69272 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
69273 marked to avoid plt entry.
69274
69275 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69276
69277 [BZ #14112]
69278 * Makeconfig (default-abi): New macro.
69279 (abi-includes): Likewise.
69280 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
69281 $(abi-$(default-abi)-lib-soname) for soname if defined.
69282 ($(common-objpfx)gnu/lib-names.stmp): Generate from
69283 abi-variants.
69284 * Makefile (installed-stubs): Likewise.
69285 * include/stubs-biarch.h: Removed.
69286 * scripts/lib-names.awk: Only handle one library at a time.
69287 * scripts/soversions.awk: Remove WORDSIZE support.
69288 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69289 entries.
69290 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69291 Removed.
69292 (syscall-list-default-condition): Likewise.
69293 (syscall-list-default-condition): Likewise.
69294 (syscall-list-includes): Likewise.
69295 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69296 syscall-list-* with abi-*. Handle undefined abi-variants.
69297 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69298 * sysdeps/unix/sysv/linux/i386/Implies: New file.
69299 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69300 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69301 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69302 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69303 Removed.
69304 (syscall-list-32-options): Likewise.
69305 (syscall-list-32-condition): Likewise.
69306 (syscall-list-64-options): Likewise.
69307 (syscall-list-64-condition): Likewise.
69308 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69309 macro.
69310 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69311 Renamed to ...
69312 (abi-*): This.
69313 (abi-64-ld-soname): New macro.
69314 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69315 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69316 Renamed to ...
69317 (abi-*): This.
69318 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69319 * sysdeps/x86_64/x32/shlib-versions: Likewise.
69320
69321 2012-05-30 Joseph Myers <joseph@codesourcery.com>
69322
69323 * sysdeps/unix/sysv/linux/kernel-features.h
69324 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69325 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69326 include <kernel-features.h>.
69327 [!__NR_ftruncate64]: Remove conditional code.
69328 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69329 [__NR_ftruncate64]: Make code unconditional.
69330 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69331 * sysdeps/unix/sysv/linux/truncate64.c: Do not
69332 include <kernel-features.h>.
69333 [!__NR_ftruncate64]: Remove conditional code.
69334 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69335 [__NR_ftruncate64]: Make code unconditional.
69336 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69338 include <kernel-features.h>.
69339 [!__NR_ftruncate64]: Remove conditional code.
69340 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69341 [__NR_ftruncate64]: Make code unconditional.
69342 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69344 include <kernel-features.h>.
69345 [!__NR_ftruncate64]: Remove conditional code.
69346 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69347 [__NR_ftruncate64]: Make code unconditional.
69348 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69349
69350 * configure.in (libc_cv_fpie): Weaken to a compile test using
69351 LIBC_TRY_CC_OPTION.
69352 * configure: Regenerated.
69353
69354 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69355
69356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69360 Refreshed.
69361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69367 Refreshed.
69368
69369 2012-05-27 David S. Miller <davem@davemloft.net>
69370
69371 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69372 (___Q_zero): New.
69373 (__Q_simulate_exceptions): Return void. Change to simulate
69374 exceptions by writing into the %fsr.
69375 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69376 (__Qp_handle_exceptions): Likewise.
69377 (numbers): Delete.
69378 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69379 __Qp_handle_exceptions.
69380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69381 __Qp_handle_exceptions.
69382 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69383 as unused and give dummy FP_RND_NEAREST initializer.
69384 (FP_INHIBIT_RESULTS): Define.
69385 (___Q_simulate_exceptions): Update declaration.
69386 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69387 formatting.
69388 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69389 as unused and give dummy FP_RND_NEAREST initializer.
69390 (__Qp_handle_exceptions): Update declaration.
69391 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69392 formatting.
69393
69394 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
69395
69396 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69397 the temporary FPU control word.
69398 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69399 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69400 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69401 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69402 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69403 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69404 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69405 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69406 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69407 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69408 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69409
69410 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69411
69412 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69413 fields.
69414
69415 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
69416
69417 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69418 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69419 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69420 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69421 Likewise.
69422 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69423 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69424 Likewise.
69425
69426 2012-05-27 Ulrich Drepper <drepper@gmail.com>
69427
69428 * po/h.po: Update from translation team.
69429
69430 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
69431
69432 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69433
69434 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69435 handling of denormals.
69436 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69437 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69438 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69439 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69440 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
69442 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
69443 Likewise.
69444
69445 2012-05-26 Marek Polacek <polacek@redhat.com>
69446
69447 [BZ #14152]
69448 * math/libm-test.inc (fma_test): Don't always expect underflow
69449 exception.
69450
69451 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69452
69453 [BZ #12416]
69454 * elf/tst-execstack.c: Include stackinfo.h.
69455 (do_test): Adjust test case to ensure that pthread_getattr_np
69456 behaviour remains the same after marking stack executable.
69457
69458 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69459
69460 * sysdeps/unix/sysv/linux/kernel-features.h
69461 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69462 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
69463 kernel-features.h.
69464 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69465 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69466 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
69467 kernel-features.h.
69468 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69469 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69470
69471 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
69472
69473 * configure.in: Define the default includes to being none.
69474 * configure: Regenerated.
69475
69476 2012-05-25 Roland McGrath <roland@hack.frob.com>
69477
69478 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
69479 * sysdeps/x86_64/setjmp.S: Likewise.
69480 * sysdeps/i386/bsd-setjmp.S: Likewise.
69481 * sysdeps/i386/bsd-_setjmp.S: Likewise.
69482 * sysdeps/i386/setjmp.S: Likewise.
69483 * sysdeps/i386/__longjmp.S: Likewise.
69484 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69485 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
69486
69487 * include/stap-probe.h: New file.
69488 * configure.in: Handle --enable-systemtap.
69489 * configure: Regenerated.
69490 * config.h.in (USE_STAP_PROBE): New #undef.
69491 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
69492 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
69493 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
69494
69495 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69496
69497 [BZ #13717]
69498 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69499 to 2.4.0 where earlier.
69500 * sysdeps/unix/sysv/linux/configure: Regenerated.
69501 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69502 <kernel-features.h>.
69503 [__ASSUME_32BITUIDS]: Make code unconditional.
69504 [!__ASSUME_32BITUIDS]: Remove conditional code.
69505 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
69506 <kernel-features.h>.
69507 [__ASSUME_32BITUIDS]: Make code unconditional.
69508 [!__ASSUME_32BITUIDS]: Remove conditional code.
69509 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
69510 [__ASSUME_32BITUIDS]: Make code unconditional.
69511 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
69512 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
69513 <kernel-features.h>.
69514 [__ASSUME_32BITUIDS]: Make code unconditional.
69515 [!__ASSUME_32BITUIDS]: Remove conditional code.
69516 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
69517 <kernel-features.h>.
69518 [__ASSUME_32BITUIDS]: Make code unconditional.
69519 [!__ASSUME_32BITUIDS]: Remove conditional code.
69520 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
69521 <kernel-features.h>.
69522 [__ASSUME_32BITUIDS]: Make code unconditional.
69523 [!__ASSUME_32BITUIDS]: Remove conditional code.
69524 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
69525 <kernel-features.h>.
69526 [__ASSUME_32BITUIDS]: Make code unconditional.
69527 [!__ASSUME_32BITUIDS]: Remove conditional code.
69528 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69529 <kernel-features.h>.
69530 [__ASSUME_32BITUIDS]: Make code unconditional.
69531 [!__ASSUME_32BITUIDS]: Remove conditional code.
69532 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69533 <kernel-features.h>.
69534 [__ASSUME_32BITUIDS]: Make code unconditional.
69535 [!__ASSUME_32BITUIDS]: Remove conditional code.
69536 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
69537 <kernel-features.h>.
69538 [__ASSUME_32BITUIDS]: Make code unconditional.
69539 [!__ASSUME_32BITUIDS]: Remove conditional code.
69540 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69541 <kernel-features.h>.
69542 [__ASSUME_32BITUIDS]: Make code unconditional.
69543 [!__ASSUME_32BITUIDS]: Remove conditional code.
69544 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69545 <kernel-features.h>.
69546 [__ASSUME_32BITUIDS]: Make code unconditional.
69547 [!__ASSUME_32BITUIDS]: Remove conditional code.
69548 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
69549 <kernel-features.h>.
69550 [__ASSUME_32BITUIDS]: Make code unconditional.
69551 [!__ASSUME_32BITUIDS]: Remove conditional code.
69552 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
69553 <kernel-features.h>.
69554 [__NR_setresgid] (__setresgid): Do not declare.
69555 [__ASSUME_32BITUIDS]: Make code unconditional.
69556 [!__ASSUME_32BITUIDS]: Remove conditional code.
69557 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
69558 <kernel-features.h>.
69559 [__NR_setresuid] (__setresuid): Do not declare.
69560 [__ASSUME_32BITUIDS]: Make code unconditional.
69561 [!__ASSUME_32BITUIDS]: Remove conditional code.
69562 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
69563 <kernel-features.h>.
69564 [__ASSUME_32BITUIDS]: Make code unconditional.
69565 [!__ASSUME_32BITUIDS]: Remove conditional code.
69566 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
69567 <kernel-features.h>.
69568 [__ASSUME_32BITUIDS]: Make code unconditional.
69569 [!__ASSUME_32BITUIDS]: Remove conditional code.
69570 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
69571 <kernel-features.h>.
69572 [__ASSUME_32BITUIDS]: Make code unconditional.
69573 [!__ASSUME_32BITUIDS]: Remove conditional code.
69574 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
69575 <kernel-features.h>.
69576 [__ASSUME_32BITUIDS]: Make code unconditional.
69577 [!__ASSUME_32BITUIDS]: Remove conditional code.
69578 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
69579 <kernel-features.h>.
69580 [__ASSUME_32BITUIDS]: Make code unconditional.
69581 [!__ASSUME_32BITUIDS]: Remove conditional code.
69582 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
69583 <kernel-features.h>.
69584 [__ASSUME_32BITUIDS]: Make code unconditional.
69585 [!__ASSUME_32BITUIDS]: Remove conditional code.
69586 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
69587 <kernel-features.h>.
69588 [__ASSUME_32BITUIDS]: Make code unconditional.
69589 [!__ASSUME_32BITUIDS]: Remove conditional code.
69590 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
69591 <kernel-features.h>.
69592 [__ASSUME_32BITUIDS]: Make code unconditional.
69593 [!__ASSUME_32BITUIDS]: Remove conditional code.
69594 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
69595 <kernel-features.h>.
69596 [__ASSUME_32BITUIDS]: Make code unconditional.
69597 [!__ASSUME_32BITUIDS]: Remove conditional code.
69598 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69599 <kernel-features.h>.
69600 [__ASSUME_32BITUIDS]: Make code unconditional.
69601 [!__ASSUME_32BITUIDS]: Remove conditional code.
69602 * sysdeps/unix/sysv/linux/kernel-features.h
69603 (__ASSUME_SETRESUID_SYSCALL): Remove.
69604 (__ASSUME_SETRESGID_SYSCALL): Likewise.
69605 (__ASSUME_32BITUIDS): Likewise.
69606 (__ASSUME_LDT_WORKS): Likewise.
69607 (__ASSUME_O_DIRECTORY): Likewise.
69608 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
69609 architecture but not kernel version.
69610 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
69611 (__ASSUME_MMAP2_SYSCALL): Likewise.
69612 (__ASSUME_STAT64_SYSCALL): Likewise.
69613 (__ASSUME_IPC64): Likewise.
69614 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
69615 <kernel-features.h>.
69616 [__ASSUME_32BITUIDS]: Make code unconditional.
69617 [!__ASSUME_32BITUIDS]: Remove conditional code.
69618 * sysdeps/unix/sysv/linux/opendir.c: Do not include
69619 <kernel-features.h>.
69620 [__ASSUME_O_DIRECTORY]: Make code unconditional.
69621 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
69622 132096]: Remove conditional code.
69623 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
69624 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69625 <kernel-features.h>.
69626 [__ASSUME_32BITUIDS]: Make code unconditional.
69627 [!__ASSUME_32BITUIDS]: Remove conditional code.
69628 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69629 <kernel-features.h>.
69630 [__ASSUME_32BITUIDS]: Make code unconditional.
69631 [!__ASSUME_32BITUIDS]: Remove conditional code.
69632 * sysdeps/unix/sysv/linux/setegid.c: Do not include
69633 <kernel-features.h>.
69634 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
69635 unconditional.
69636 (__setresgid): Do not declare.
69637 [__ASSUME_32BITUIDS]: Make code unconditional.
69638 [!__ASSUME_32BITUIDS]: Remove conditional code.
69639 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
69640 <kernel-features.h>.
69641 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
69642 unconditional.
69643 (__setresuid): Do not declare.
69644 [__ASSUME_32BITUIDS]: Make code unconditional.
69645 [!__ASSUME_32BITUIDS]: Remove conditional code.
69646 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69647 <kernel-features.h>.
69648 [__ASSUME_32BITUIDS]: Make code unconditional.
69649 [!__ASSUME_32BITUIDS]: Remove conditional code.
69650 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
69651 <kernel-features.h>.
69652 [__ASSUME_32BITUIDS]: Make code unconditional.
69653 [!__ASSUME_32BITUIDS]: Remove conditional code.
69654
69655 2012-05-25 Richard Henderson <rth@twiddle.net>
69656
69657 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
69658 dl_hwcap to ifunc resolver.
69659 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
69660 elf_ifunc_invoke.
69661 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
69662 dl_hwcap to ifunc resolver.
69663 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
69664
69665 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69666
69667 [BZ #14153]
69668 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
69669 for |x| <= 2**-26, not 2**-57.
69670 * math/libm-test.inc (acos_test): Do not allow spurious underflow
69671 exception.
69672
69673 2012-05-24 Jeff Law <law@redhat.com>
69674
69675 * stdio-common/Makefile (tests): Add bug25.
69676 * stdio-common/bug25.c: New test.
69677
69678 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
69679
69680 [BZ #13576]
69681 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
69682 multiple of MALLOC_ALIGNMENT in size.
69683 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
69684
69685 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69686
69687 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
69688 Require >= 256.
69689 (FILENAME_MAX): Use macro-int-constant.
69690 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
69691 (_IOFBF): Use macro-int-constant.
69692 (_IOLBF): Likewise.
69693 (_IONBF): Likewise.
69694 (SEEK_CUR): Likewise.
69695 (SEEK_END): Likewise.
69696 (SEEK_SET): Likewise.
69697 (TMP_MAX): Likewise.
69698 (EOF): Use macro-int-constant. Require < 0.
69699 (NULL): Use macro-constant. Require == 0.
69700 (stdin): Require type to be FILE *.
69701 (stdout): Likewise.
69702 (stderr): Likewise.
69703 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
69704 macro-int-constant.
69705 (EXIT_SUCCESS): Likewise.
69706 (NULL): Use macro-constant. Require == 0.
69707 (RAND_MAX): Use macro-int-constant.
69708 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
69709 [C99-based standards] (strtof): Require function.
69710 [C99-based standards] (strtold): Likewise.
69711 [C99-based standards] (strtoll): Likewise.
69712 [C99-based standards] (strtoull): Likewise.
69713 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69714 [ISO || ISO99 || ISO11] (limits.h): Likewise.
69715 [ISO || ISO99 || ISO11] (math.h): Likewise.
69716 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
69717 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69718 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69719
69720 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
69721
69722 [BZ #14132]
69723 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
69724 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
69725 * intl/dgettext.c (DCGETTEXT): Likewise.
69726 * intl/gettext.c (DCGETTEXT): Likewise.
69727 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
69728 * posix/regex_internal.h (gettext): Likewise.
69729 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
69730 Remove declaration.
69731 * include/argz.h (__argz_count_internal)
69732 (__argz_stringify_internal): Remove declaration.
69733 (__argz_count, __argz_stringify): Declare hidden proto.
69734 * intl/dcgettext.c: Remove use of INTDEF.
69735 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
69736 * string/argz-stringify.c: Likewise.
69737 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69738 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69739 Declare hidden proto.
69740 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69741 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69742 Declare hidden proto.
69743 * include/stdio.h (__asprintf_internal): Don't declare.
69744 (__asprintf): Don't define as macro. Declare hidden proto.
69745 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
69746 (__fsetlocking): Declare hidden proto.
69747 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
69748 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
69749 hidden proto.
69750 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
69751 (_IO_setlinebuf): Remove use of INTUSE.
69752 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
69753 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
69754 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
69755 Remove declaration.
69756 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
69757 (_IO_do_flush): Remove use of INTUSE.
69758 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
69759 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
69760 (_IO_adjust_column, _IO_least_wmarker)
69761 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
69762 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
69763 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
69764 (_IO_default_doallocate, _IO_wdefault_doallocate)
69765 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
69766 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
69767 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
69768 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
69769 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
69770 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
69771 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
69772 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
69773 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
69774 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
69775 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
69776 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
69777 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
69778 proto.
69779 (_IO_flush_all_internal, _IO_adjust_column_internal)
69780 (_IO_default_uflow_internal, _IO_default_finish_internal)
69781 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
69782 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
69783 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
69784 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
69785 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
69786 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
69787 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
69788 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
69789 (_IO_file_close_internal, _IO_file_close_it_internal)
69790 (_IO_file_underflow_internal, _IO_file_overflow_internal)
69791 (_IO_file_init_internal, _IO_file_attach_internal)
69792 (_IO_file_fopen_internal, _IO_file_read_internal)
69793 (_IO_file_sync_internal, _IO_file_seek_internal)
69794 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
69795 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
69796 (_IO_str_underflow_internal, _IO_str_overflow_internal)
69797 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
69798 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
69799 (_IO_list_all_internal, _IO_link_in_internal)
69800 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
69801 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
69802 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
69803 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
69804 (_IO_do_write_internal, _IO_padn_internal)
69805 (_IO_getline_info_internal, _IO_getline_internal)
69806 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
69807 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
69808 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
69809 (_IO_vfscanf_internal, _IO_vfprintf_internal)
69810 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
69811 (_IO_init_internal, _IO_un_link_internal): Don't declare.
69812 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
69813 with libc_hidden_ver, remove use of INTUSE.
69814 * libio/genops.c: Likewise.
69815 * libio/freopen.c: Likewise.
69816 * libio/freopen64.c: Likewise.
69817 * libio/iofclose.c: Likewise.
69818 * libio/iofdopen.c: Likewise.
69819 * libio/iofflush.c: Likewise.
69820 * libio/iofflush_u.c: Likewise.
69821 * libio/iofgets.c: Likewise.
69822 * libio/iofgets_u.c: Likewise.
69823 * libio/iofopen.c: Likewise.
69824 * libio/iofopncook.c: Likewise.
69825 * libio/iofread.c: Likewise.
69826 * libio/iofread_u.c: Likewise.
69827 * libio/ioftell.c: Likewise.
69828 * libio/iofwrite.c: Likewise.
69829 * libio/iogetline.c: Likewise.
69830 * libio/iogets.c: Likewise.
69831 * libio/iogetwline.c: Likewise.
69832 * libio/iopadn.c: Likewise.
69833 * libio/iopopen.c: Likewise.
69834 * libio/ioseekoff.c: Likewise.
69835 * libio/ioseekpos.c: Likewise.
69836 * libio/iosetbuffer.c: Likewise.
69837 * libio/iosetvbuf.c: Likewise.
69838 * libio/ioungetc.c: Likewise.
69839 * libio/ioungetwc.c: Likewise.
69840 * libio/iovdprintf.c: Likewise.
69841 * libio/iovsprintf.c: Likewise.
69842 * libio/iovsscanf.c: Likewise.
69843 * libio/memstream.c: Likewise.
69844 * libio/obprintf.c: Likewise.
69845 * libio/oldfileops.c: Likewise.
69846 * libio/oldiofclose.c: Likewise.
69847 * libio/oldiofdopen.c: Likewise.
69848 * libio/oldiofopen.c: Likewise.
69849 * libio/oldiopopen.c: Likewise.
69850 * libio/oldstdfiles.c: Likewise.
69851 * libio/putc.c: Likewise.
69852 * libio/setbuf.c: Likewise.
69853 * libio/setlinebuf.c: Likewise.
69854 * libio/stdfiles.c: Likewise.
69855 * libio/strops.c: Likewise.
69856 * libio/vasprintf.c: Likewise.
69857 * libio/vscanf.c: Likewise.
69858 * libio/vsnprintf.c: Likewise.
69859 * libio/vswprintf.c: Likewise.
69860 * libio/wfiledoalloc.c: Likewise.
69861 * libio/wfileops.c: Likewise.
69862 * libio/wgenops.c: Likewise.
69863 * libio/wmemstream.c: Likewise.
69864 * libio/wstrops.c: Likewise.
69865 * libio/__fpurge.c: Likewise.
69866 * libio/__fsetlocking.c: Likewise.
69867 * assert/assert.c: Likewise.
69868 * debug/fgets_chk.c: Likewise.
69869 * debug/fgets_u_chk.c: Likewise.
69870 * debug/fread_chk.c: Likewise.
69871 * debug/fread_u_chk.c: Likewise.
69872 * debug/gets_chk.c: Likewise.
69873 * debug/obprintf_chk.c: Likewise.
69874 * debug/vasprintf_chk.c: Likewise.
69875 * debug/vdprintf_chk.c: Likewise.
69876 * debug/vsnprintf_chk.c: Likewise.
69877 * debug/vsprintf_chk.c: Likewise.
69878 * malloc/mtrace.c: Likewise.
69879 * misc/error.c: Likewise.
69880 * misc/syslog.c: Likewise.
69881 * stdio-common/asprintf.c: Likewise.
69882 * stdio-common/fxprintf.c: Likewise.
69883 * stdio-common/getw.c: Likewise.
69884 * stdio-common/isoc99_fscanf.c: Likewise.
69885 * stdio-common/isoc99_scanf.c: Likewise.
69886 * stdio-common/isoc99_vfscanf.c: Likewise.
69887 * stdio-common/isoc99_vscanf.c: Likewise.
69888 * stdio-common/isoc99_vsscanf.c: Likewise.
69889 * stdio-common/printf-prs.c: Likewise.
69890 * stdio-common/printf_fp.c: Likewise.
69891 * stdio-common/printf_fphex.c: Likewise.
69892 * stdio-common/printf_size.c: Likewise.
69893 * stdio-common/putw.c: Likewise.
69894 * stdio-common/scanf.c: Likewise.
69895 * stdio-common/sprintf.c: Likewise.
69896 * stdio-common/tmpfile.c: Likewise.
69897 * stdio-common/vfprintf.c: Likewise.
69898 * stdio-common/vfscanf.c: Likewise.
69899 * stdlib/strfmon_l.c: Likewise.
69900 * sunrpc/openchild.c: Likewise.
69901 * sunrpc/xdr_stdio.c: Likewise.
69902 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
69903 * sysdeps/mach/hurd/tmpfile.c: Likewise.
69904
69905 2012-05-24 Roland McGrath <roland@hack.frob.com>
69906
69907 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69908
69909 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
69910 in the third column, to generate for the shared library an IFUNC
69911 that uses _dl_vdso_vsym.
69912 * Makerules (COMPILE.c, compile-stdin.c): New variables.
69913 * Makeconfig (object-suffixes-noshared): New variable.
69914
69915 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
69916 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
69917 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
69918 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
69919
69920 [BZ #14132]
69921 * include/sys/time.h (__gettimeofday): Remove macro.
69922 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
69923 * time/gettimeofday.c (__gettimeofday): Remove #undef.
69924 Remove INTDEF.
69925 (__gettimeofday): Add libc_hidden_def.
69926 (gettimeofday): Add libc_hidden_weak.
69927 * sysdeps/mach/gettimeofday.c: Likewise.
69928 * sysdeps/posix/gettimeofday.c: Likewise.
69929 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
69930 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
69931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
69932 (__gettimeofday_internal): Remove strong_alias.
69933 (__gettimeofday): Add libc_hidden_def.
69934 (gettimeofday): Add libc_hidden_weak.
69935 * sysdeps/unix/syscalls.list (gettimeofday):
69936 Remove __gettimeofday_internal alias.
69937
69938 2012-05-24 Daniel Jacobowitz <drow@false.org>
69939 H.J. Lu <hongjiu.lu@intel.com>
69940
69941 [BZ #12495]
69942 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
69943 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
69944 (largebin_index_32_big): New.
69945 (largebin_index): Use it for 16-byte alignment.
69946 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
69947 correction with front_misalign.
69948
69949 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
69950
69951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
69952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
69953 Likewise.
69954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
69955 Likewise.
69956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69957 Likewise.
69958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
69959 Likewise.
69960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
69961 Likewise.
69962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
69963 Likewise.
69964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
69965 Likewise.
69966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
69967 Likewise.
69968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
69969 Likewise.
69970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
69971 Likewise.
69972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69973 Likewise.
69974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
69975 Likewise.
69976
69977 * scripts/data/c++-types-x32-linux-gnu.data: New file.
69978 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
69979
69980 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69981
69982 [BZ #10846]
69983 [BZ #14036]
69984 * math/libm-test.inc (exp_test): Add test from bug 14036.
69985 (pow_test): Add test from bug 10846.
69986
69987 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
69988 and other flags.
69989 (special_function): Do not include flags in test name.
69990 (parse_args): Likewise.
69991 * sysdeps/i386/fpu/libm-test-ulps: Update.
69992 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69993 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
69994 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
69995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69996
69997 * math/gen-libm-test.pl (%beautify): Add entries for underflow
69998 exceptions.
69999 * math/libm-test.inc ("Philosophy"): Update comment about
70000 exception testing.
70001 (UNDERFLOW_EXCEPTION): New macro.
70002 (UNDERFLOW_EXCEPTION_OK): Likewise.
70003 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70004 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70005 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70006 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70007 (INVALID_EXCEPTION_OK): Update value.
70008 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70009 (OVERFLOW_EXCEPTION_OK): Likewise.
70010 (IGNORE_ZERO_INF_SIGN): Likewise.
70011 (test_exceptions): Handle underflow exceptions.
70012 (acos_test): Update for underflow exception expectations.
70013 (cexp_test): Likewise.
70014 (clog_test): Likewise.
70015 (clog10_test): Likewise.
70016 (csqrt_test): Likewise.
70017 (ctan_test): Likewise.
70018 (ctanh_test): Likewise.
70019 (exp_test): Likewise.
70020 (exp10_test): Likewise.
70021 (exp2_test): Likewise.
70022 (expm1_test): Likewise.
70023 (fma_test): Likewise.
70024 (j0_test): Likewise.
70025 (jn_test): Likewise.
70026 (nexttoward_test): Likewise.
70027 (pow_test): Likewise.
70028 (scalbn_test): Likewise.
70029 (scalbln_test): Likewise.
70030 (tan_test): Likewise.
70031 (y1_test): Likewise.
70032 * sysdeps/i386/fpu/libm-test-ulps: Update.
70033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70034
70035 2012-05-23 David S. Miller <davem@davemloft.net>
70036
70037 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70038 (__libc_sigaction): Remove unused local variables.
70039
70040 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70041
70042 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70043
70044 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
70045
70046 mktime: avoid signed integer overflow
70047 * time/mktime.c (__mktime_internal): Do not mishandle the case
70048 where diff == INT_MIN.
70049
70050 mktime: simplify computation of average
70051 * time/mktime.c (ranged_convert): Use new time_t_avg function
70052 instead of rolling our own (probably-slower) code.
70053
70054 mktime: do not assume signed right shift propagates sign bit
70055 * time/mktime.c (isdst_differ): New static function.
70056 (__mktime_internal): No need to normalize tm_isdst now.
70057 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70058 tm_isdst values.
70059
70060 mktime: merge another wrapv change from gnulib
70061 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70062 from some compilers.
70063
70064 mktime: remove incorrect attempt at unusual arithmetics
70065 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70066 The code didn't really work on such machines anyway.
70067 (TYPE_MINIMUM): Assume two's complement.
70068 (twos_complement_arithmetic): Verify that long_int and time_t
70069 are two's complement (or unsigned, in the latter case).
70070
70071 mktime: check signed shifts on long_int and time_t, too
70072 * time/mktime.c (SHR): Check that shifts work as desired
70073 on the types long_int and time_t too, as SHR is used on
70074 such types.
70075
70076 mktime: do not assume 'long' is wide enough
70077 * time/mktime.c (verify): Move decl up.
70078 (long_int): New type.
70079 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70080 to remove assumption in the code that 'long' is wide enough to
70081 store year values. This assumption is not true on x32 and on
70082 some non-glibc platforms.
70083
70084 mktime: merge wrapv change from gnulib
70085 * time/mktime.c (WRAPV): New macro.
70086 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70087 (guess_time_tm, __mktime_internal): Do not assume that signed
70088 integer overflow wraps around; modern compilers generate code
70089 where this assumption is no longer valid.
70090
70091 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70092
70093 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70094 Replace "jmp L(pseudo_end)" with "ret".
70095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70096 Likewise.
70097
70098 2012-05-23 Andreas Jaeger <aj@suse.de>
70099
70100 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70101 * sysdeps/unix/sysv/linux/poll.c: Remove file.
70102
70103 2012-05-23 Andreas Jaeger <aj@suse.de>
70104 Maximilian Attems <max@stro.at>
70105
70106 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70107 New macros.
70108
70109 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70110
70111 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70112 code so that pseudo_end is just ret and the stack pointer is
70113 correct also for static library in error case.
70114
70115 2012-05-23 Joseph Myers <joseph@codesourcery.com>
70116
70117 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70118 move to syscalls.list.
70119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70123
70124 * manual/install.texi (Running make install): Do not mention Linux
70125 kernel version for which pt_chown is not needed.
70126 (Linux): Do not mention problems with nscd with 2.0 kernels.
70127 * INSTALL: Regenerated.
70128
70129 2012-05-23 Andreas Jaeger <aj@suse.de>
70130
70131 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70132 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70133 macro.
70134 * sysdeps/unix/sysv/linux/s390/bits/mman.h
70135 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70136 * sysdeps/unix/sysv/linux/sh/bits/mman.h
70137 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70138 * sysdeps/unix/sysv/linux/i386/bits/mman.h
70139 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70140 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70141 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70142 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70143 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70144 * sysdeps/unix/sysv/linux/bits/in.h
70145 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70146
70147 2012-05-22 Roland McGrath <roland@hack.frob.com>
70148
70149 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70150 (PREPARE_VERSION): Just use assert instead, it will be elided
70151 under [NDEBUG] anyway.
70152
70153 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70154
70155 * sysdeps/unix/sysv/linux/Makefile: Include
70156 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70157 (sysdep_routines): Remove sysctl.
70158 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70159 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70160 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70161 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70162 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70163
70164 2012-05-22 Andreas Jaeger <aj@suse.de>
70165
70166 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70167 that pseudo_end is just ret and the stack pointer is correct also
70168 for static library in error case.
70169
70170 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
70171
70172 [BZ #14122]
70173 * nss/nsswitch.c (defconfig_entries): New variable.
70174 (__nss_database_lookup): Don't leak defconfig entries.
70175 (nss_parse_service_list): Don't leak on error paths.
70176 (free_database_entries): New function.
70177 (free_defconfig): New function.
70178 (free_mem): Move common code to free_database_entries.
70179
70180 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70181
70182 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70183 Add arch_prctl.
70184 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70185
70186 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70187 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70188 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70189 New macro.
70190 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70191 (INTERNAL_SYSCALL_TYPES): Likewise.
70192 (LOAD_ARGS_TYPES_[1-6]): Likewise.
70193 (LOAD_REGS_TYPES_[1-6]): Likewise.
70194 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70195 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70196
70197 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70198
70199 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70200 copysignl for GLIBC_2_0.
70201 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70202 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70204 logbl for GLIBC_2_0.
70205 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70206 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70207
70208 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70209
70210 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70211 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70212
70213 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70214 Use "neg %eax".
70215
70216 * time/mktime.c: Update copyright years.
70217
70218 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
70219
70220 mktime: merge comment-quoting-style change from gnulib
70221 * time/mktime.c: Quote 'like this' in comments.
70222 The GNU coding standards suggest that we no longer quote `like this',
70223 as "`" and "'" are typically rendered asymmetrically nowadays.
70224 The typical gnulib style is to quote 'like this' when quoting
70225 code, and "like this" when quoting English.
70226
70227 * time/mktime.c (compile-command): Add "-I.".
70228
70229 mktime: merge mktime-internal.h change from gnulib
70230 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70231
70232 mktime: merge time_r change from gnulib
70233 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70234
70235 mktime: merge DEBUG change from gnulib
70236 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70237 case system <time.h> has a #define.
70238
70239 mktime: merge <sys/types.h> change from gnulib
70240 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70241 since <time.t> is now guaranteed to define time_t.
70242
70243 mktime: merge HAVE_CONFIG_H change from gnulib
70244 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70245
70246 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70247
70248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70249 Use "neg %eax".
70250
70251 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70252 __rlim_t cast.
70253 (struct rusage): Use anonymous union to pad each field to
70254 __syscall_slong_t.
70255
70256 2012-05-21 David S. Miller <davem@davemloft.net>
70257
70258 * Makefules (o-iterator): Remove .s cases.
70259 (compile-command.s): Delete.
70260 (COMPILE.s): Delete.
70261 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70262
70263 2012-05-21 Joseph Myers <joseph@codesourcery.com>
70264
70265 * configure.in (libc_cv_predef_stack_protector): Only consider
70266 "foobar" and "__stack_chk_fail" lines in libc_undefs.
70267 * configure: Regenerated.
70268
70269 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70270
70271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70272 New macro. Use R*LP on int and pointer.
70273 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70274 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70275 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70276 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70277
70278 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70279 [__WORDSIZE_TIME64_COMPAT32] instead of
70280 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70281 (struct utmp): Likewise.
70282 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70283 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70284 Renamed to ...
70285 (__WORDSIZE_TIME64_COMPAT32): This.
70286 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70287 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70288 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70289 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70290 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70291 (__WORDSIZE_TIME64_COMPAT32): New macro.
70292
70293 2012-05-21 Andreas Jaeger <aj@suse.de>
70294
70295 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70296 only if [SHARED]. Add prototype for __wcschr_ia32.
70297
70298 2012-05-21 Roland McGrath <roland@hack.frob.com>
70299
70300 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70301 of %rbp unmolested in the jmp_buf while mangling the low bits.
70302 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70303 unmolested high bits of %rbp while demangling the low bits.
70304 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70305
70306 2012-05-21 Andreas Jaeger <aj@suse.de>
70307
70308 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70309 * sunrpc/svc_simple.c: Use it for registerrpc.
70310 * sunrpc/xcrypt.c: Use it for passwd2des.
70311
70312 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70313
70314 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70315
70316 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70317 Don't define if [__SYSCALL_WORDSIZE != 32].
70318 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70319 New macro.
70320
70321 2012-05-21 Bruno Haible <bruno@clisp.org>
70322 Andreas Jaeger <aj@suse.de>
70323
70324 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70325 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70326 inptr and inend for must_buffer_ch.
70327 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70328 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70329 * stdio-common/Makefile (tests): Remove bug15.
70330 (bug15-ENV): Remove macro.
70331 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70332 anymore.
70333
70334 2012-05-19 Andreas Jaeger <aj@suse.de>
70335 Roland McGrath <roland@hack.frob.com>
70336
70337 * manual/contrib.texi: Completely rewritten. It contains now an
70338 alphabetical list of contributors and their contributions.
70339
70340 2012-05-21 Richard Henderson <rth@twiddle.net>
70341
70342 * misc/getauxval.c (__getauxval): Use unsigned long int.
70343 * misc/sys/auxv.h: Include <sys/cdefs.h>.
70344 (getauxval): Use unsigned long int.
70345
70346 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70347
70348 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70349
70350 2012-05-21 Roland McGrath <roland@hack.frob.com>
70351
70352 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70353 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70354 __alignof__ (long double).
70355
70356 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70357
70358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70359
70360 2012-05-20 Richard Henderson <rth@twiddle.net>
70361
70362 * misc/getauxval.c: New file.
70363 * misc/sys/auxv.h: New file.
70364 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70365 (routines): Add getauxval.
70366 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70367 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70368 * elf/dl-sysdep.c (_dl_auxv): Remove.
70369 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70370 * elf/dl-support.c (_dl_auxv): New variable.
70371 (_dl_aux_init): Initialize it.
70372 * manual/startup.texi (Auxiliary Vector): New node.
70373 * sysdeps/generic/bits/hwcap.h: New file.
70374 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70375 * sysdeps/powerpc/sysdep.h: ... here. Include it.
70376 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70377 * sysdeps/sparc/sysdep.h: ... here. Include it.
70378 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70379 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70381 Update.
70382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70385 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70390
70391 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70392
70393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70394
70395 2012-05-19 David S. Miller <davem@davemloft.net>
70396
70397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70398
70399 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70400
70401 [BZ #14123]
70402 * math/s_ccosh.c: Include <float.h>
70403 (__ccosh): Avoid internal overflow calculating sinh and cosh
70404 values before multiplying by sin and cos values.
70405 * math/s_ccoshf.c: Likewise.
70406 * math/s_ccoshl.c: Likewise.
70407 * math/s_csin.c: Likewise.
70408 * math/s_csinf.c: Likewise.
70409 * math/s_csinl.c: Likewise.
70410 * math/s_csinh.c: Likewise.
70411 * math/s_csinhf.c: Likewise.
70412 * math/s_csinhl.c: Likewise.
70413 * math/libm-test.inc (ccos_test): Add more tests.
70414 (ccosh_test): Likewise.
70415 (csin_test): Likewise.
70416 (csinh_test): Likewise.
70417 * sysdeps/i386/fpu/libm-test-ulps: Update.
70418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70419
70420 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
70421
70422 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70423 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70424
70425 * sysdeps/x86_64/x32/_itoa.h: Add comment.
70426
70427 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70428
70429 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70430 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70431 * sysdeps/powerpc/soft-fp/Versions: Likewise.
70432 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70433 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70434 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70435 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70436 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70437 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70438 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70439 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70440 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
70441 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
70442 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
70443 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
70444 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
70445 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
70446 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
70447 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
70448 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
70449 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
70450 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
70451 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
70452 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
70453 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
70454 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
70455 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
70456 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
70457 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
70458 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
70459 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70460
70461 2012-05-18 Andreas Jaeger <aj@suse.de>
70462
70463 * csu/.gitignore: Delete.
70464
70465 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70466
70467 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
70468 (timex): Use __syscall_slong_t.
70469
70470 2012-05-18 Andreas Jaeger <aj@suse.de>
70471 Carlos O'Donell <carlos_odonell@mentor.com>
70472
70473 * manual/install.texi (Configuring and compiling): Update
70474 description about files modified in the source directory.
70475 * INSTALL: Regenerated.
70476
70477 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70478
70479 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
70480 value. Use "or" to set return value to -1.
70481 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
70482 negate return value.
70483
70484 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70485
70486 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
70487 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
70488 failure if the compiler has Graphite support disabled.
70489 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
70490 Likewise.
70491 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
70492 (CFLAGS-memmove.c): Likewise.
70493 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
70494 Likewise.
70495
70496 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70497
70498 * sysdeps/x86_64/x32/_itoa.h: New file.
70499
70500 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70501 getdents system call only if kernel and user dirents have the
70502 same d_ino and d_off.
70503
70504 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70505 LLONG_MAX != LONG_MAX.
70506 (_itoa_word): Use _ITOA_WORD_TYPE on value.
70507 (_fitoa_word): Likewise.
70508
70509 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
70510 years.
70511 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
70512 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
70513 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
70514
70515 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
70516 include <bits/wordsize.h>. Check __x86_64__ instead of
70517 __WORDSIZE.
70518 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
70519 if __x86_64__ is defined. Use anonymous union on fpstate.
70520
70521 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
70522 anonymous union.
70523
70524 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
70525
70526 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
70527 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
70528 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
70529 Refer to _rtld_local_ro instead of _rtld_global_ro.
70530 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
70531 Likewise.
70532 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
70533 Likewise.
70534 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
70535 Likewise.
70536 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
70537 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
70538 of _rtld_global, and rtld_progname instead of _dl_argv[0].
70539
70540 [BZ #10882]
70541 * sysdeps/powerpc/powerpc32/dl-machine.c
70542 (__elf_machine_runtime_setup) [PROF]: Don't reference
70543 _dl_prof_resolve.
70544
70545 2012-05-18 Andreas Jaeger <aj@suse.de>
70546
70547 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
70548 function only available for GCCs before 3.4 since GCC 3.4
70549 introduced a builtin.
70550 (lrint): Likewise.
70551 (llrintf): Likewise.
70552 (llrint): Likewise.
70553 (fmaxf): Likewise.
70554 (fmax): Likewise.
70555 (fminf): Likewise.
70556 (fmin): Likewise.
70557 (rint): Likewise.
70558 (rintf): Likewise.
70559 (nearbyint): Likewise.
70560 (nearbyintf): Likewise.
70561 (ceil): Likewise.
70562 (ceilf): Likewise.
70563 (floor): Likewise.
70564 (floorf): Likewise.
70565
70566 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70567
70568 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
70569 on both fields and cast pointer to __syscall_ulong_t.
70570
70571 * bits/types.h (__fsword_t): New type.
70572 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
70573 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
70574 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70575 (__FSWORD_T_TYPE): Likewise.
70576 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70577 (__FSWORD_T_TYPE): Likewise.
70578 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70579 (__FSWORD_T_TYPE): Likewise.
70580 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
70581 (__FSWORD_T_TYPE): Likewise.
70582 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
70583 __SWORD_TYPE with __fsword_t.
70584 (statfs64): Likewise.
70585
70586 2012-05-17 David S. Miller <davem@davemloft.net>
70587
70588 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
70589
70590 2012-05-17 Andreas Jaeger <aj@suse.de>
70591
70592 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
70593 warning.
70594
70595 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70596
70597 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
70598
70599 2012-05-17 Andreas Jaeger <aj@suse.de>
70600
70601 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
70602 when it is used.
70603
70604 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
70605
70606 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
70607
70608 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70609
70610 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
70611 * sysdeps/x86_64/tst-mallocalign1.c: New file.
70612
70613 2012-05-17 Andreas Jaeger <aj@suse.de>
70614 Carlos O'Donell <carlos_odonell@mentor.com>
70615
70616 [BZ #14059]
70617 * sysdeps/x86_64/multiarch/init-arch.h
70618 (bit_YMM_Usable): Rename to...
70619 (bit_AVX_Usable): ... this.
70620 (bit_FMA4_Usable): New macro.
70621 (bit_XMM_state): New macro.
70622 (bit_YMM_state): New macro.
70623 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
70624 [__ASSEMBLER__] (index_AVX_Usable): ... this.
70625 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
70626 (CPUID_OSXSAVE): New macro.
70627 (CPUID_AVX): New macro.
70628 (CPUID_FMA4): New macro.
70629 (index_YMM_Usable): Rename to...
70630 (index_AVX_Usable): ... this.
70631 (HAS_AVX): Use HAS_ARCH_FEATURE.
70632 (HAS_FMA4): Likewise.
70633 (HAS_YMM_USABLE): Remove.
70634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70635 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
70636 are present.
70637 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
70638 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
70639 * sysdeps/x86_64/multiarch/Makefile: Likewise.
70640 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
70641 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
70642
70643 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
70644
70645 * math/libm-test.c: Support platforms without multiple rounding modes.
70646 * math/bug-nextafter.c: Support platforms without FP exceptions.
70647 * math/bug-nexttoward.c: Likewise.
70648 * math/test-fenv.c: Likewise.
70649 * math/test-misc.c: Likewise.
70650 * stdlib/bug-getcontext.c: Likewise.
70651
70652 2012-05-17 Andreas Jaeger <aj@suse.de>
70653
70654 * manual/examples/search.c (critter_cmp): Change signature to
70655 avoid warnings.
70656 * manual/string.texi (Collation Functions): Likewise.
70657
70658 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70659
70660 * bits/types.h: Fold copyright years.
70661 * bits/typesizes.h: Likewise.
70662 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
70663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
70664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
70665 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
70666 * time/time.h: Likewise.
70667
70668 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
70669
70670 [BZ #208]
70671 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
70672 in instead of returning them. Return void.
70673 (__libc_mallinfo): Accumulate over all arenas.
70674 (__malloc_stats): Adjust for change in int_mallinfo interface.
70675
70676 2012-05-16 Roland McGrath <roland@hack.frob.com>
70677
70678 [BZ #10375]
70679 * configure.in (NM): Add AC_CHECK_TOOL for it.
70680 (libc_extra_cflags): New substituted variable.
70681 Check for -fstack-protector being used implicitly.
70682 * configure: Regenerated.
70683 * config.make.in (config-extra-cflags): New variable,
70684 gets @libc_extra_cflags@.
70685 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
70686
70687 [BZ #10375]
70688 * configure.in: Check for _FORTIFY_SOURCE being predefined.
70689 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
70690 * configure: Regenerated.
70691 * config.make.in (CPPUNDEFS): New substituted variable.
70692 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
70693 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
70694 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
70695
70696 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70697
70698 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
70699 (mq_attr): Use __syscall_slong_t.
70700
70701 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70702
70703 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
70704 Check __x86_64__ instead of __WORDSIZE.
70705 (_STAT_VER_LINUX): Likewise.
70706 (stat): Check __x86_64__ instead of __WORDSIZE. Use
70707 __syscall_ulong_t and __syscall_slong_t.
70708 (stat64): Likewise.
70709
70710 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70711
70712 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
70713
70714 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70715
70716 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
70717
70718 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70719
70720 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
70721 __syscall_ulong_t.
70722
70723 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
70724 include <bits/wordsize.h>. Check __x86_64__ instead of
70725 __WORDSIZE.
70726 (greg_t): Use "__extension__ long long int" if __x86_64__ is
70727 defined.
70728 (mcontext_t): Replace "unsigned long" with "unsigned long long".
70729
70730 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
70731 include <bits/wordsize.h>. Check __x86_64__ instead of
70732 __WORDSIZE.
70733 (user_regs_struct): Use "__extension__ unsigned long long"
70734 instead of "unsigned long" if __x86_64__ is defined.
70735 (user): Likewise. Pad after pointer field if __ILP32__ is
70736 defined.
70737
70738 2012-05-16 Joseph Myers <joseph@codesourcery.com>
70739
70740 * configure.in (makeinfo): Require version 4.5 or later. Allow
70741 versions 5 to 9.
70742 * configure: Regenerated.
70743 * manual/install.texi (texinfo): Increase version requirement to
70744 4.5 or later.
70745 * INSTALL: Regenerated.
70746
70747 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
70748
70749 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70750
70751 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
70752
70753 * sysdeps/x86_64/x32/ffs.c: New file.
70754
70755 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
70756 __syscall_ulong_t.
70757 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
70758 defined. Use __syscall_ulong_t.
70759 (shminfo): Use __syscall_ulong_t.
70760 (shm_info): Likewise.
70761
70762 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
70763 __syscall_ulong_t.
70764
70765 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
70766 <bits/wordsize.h>.
70767 (msgqnum_t): Use __syscall_ulong_t.
70768 (msglen_t): Likewise.
70769 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
70770 __syscall_ulong_t.
70771
70772 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
70773 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70774
70775 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
70776
70777 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
70778 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
70779
70780 * sysvipc/sys/msg.h (msgbuf): Replace long int with
70781 __syscall_slong_t.
70782
70783 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
70784 include <bits/wordsize.h>. Check __x86_64__ instead of
70785 __WORDSIZE.
70786
70787 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
70788 "unsigned long long int" if __x86_64__ is defined.
70789 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
70790
70791 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
70792 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70793 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
70794
70795 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
70796 <stdint.h>.
70797 (GET_PC): Cast to uintptr_t first.
70798 (GET_FRAME): Likewise.
70799 (GET_STACK): Likewise.
70800
70801 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
70802 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
70803 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
70804 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
70805 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
70806 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
70807 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
70808 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
70809 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
70810 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
70811 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
70812 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
70813 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70814 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
70815 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
70816 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
70817 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
70818 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
70819 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
70820 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
70821 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
70822 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
70823 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
70824 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
70825 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
70826 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
70827 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
70828 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
70829 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
70830
70831 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
70832
70833 * Makerules (+depfiles): Also collect depfiles from .oS in
70834 $(extra-objs).
70835 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
70836 .oS, $(libnldbl-routines)).
70837
70838 * Makerules (native-compile-mkdep-flags): Define.
70839 * sunrpc/Makefile (extra-objs): Add $(addprefix
70840 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
70841 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
70842 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
70843 calling $(make-target-directory).
70844
70845 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70846
70847 * bits/types.h (__snseconds_t): Removed.
70848 * time/time.h (struct timespec): Replace __snseconds_t with
70849 __syscall_slong_t.
70850 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
70851 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
70852 Likewise.
70853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70854 (__SNSECONDS_T_TYPE): Likewise.
70855 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70856 (__SNSECONDS_T_TYPE): Likewise.
70857 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70858 (__SNSECONDS_T_TYPE): Likewise.
70859
70860 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70861
70862 * sysdeps/mach/hurd/bits/typesizes.h
70863 (__SYSCALL_SLONG_TYPE): New macro.
70864 (__SYSCALL_ULONG_TYPE): Likewise.
70865
70866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70867
70868 * bits/types.h (__syscall_slong_t): New type.
70869 (__syscall_ulong_t): Likewise.
70870
70871 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
70872 (__SYSCALL_ULONG_TYPE): Likewise.
70873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70874 (__SYSCALL_SLONG_TYPE): Likewise.
70875 (__SYSCALL_ULONG_TYPE): Likewise.
70876 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70877 (__SYSCALL_SLONG_TYPE): Likewise.
70878 (__SYSCALL_ULONG_TYPE): Likewise.
70879 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70880 (__SYSCALL_SLONG_TYPE): Likewise.
70881 (__SYSCALL_ULONG_TYPE): Likewise.
70882
70883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70884
70885 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
70886 Add sigaltstack-offsets.sym.
70887 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
70888 <sigaltstack-offsets.h>.
70889 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
70890 longjmp_msg pointer.
70891 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
70892 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
70893 signal stack.
70894 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
70895
70896 2012-05-15 Joseph Myers <joseph@codesourcery.com>
70897
70898 * elf/stackguard-macros.h: Remove file.
70899 * sysdeps/generic/stackguard-macros.h: New file.
70900 * sysdeps/i386/stackguard-macros.h: Likewise.
70901 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
70902 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
70903 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
70904 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
70905 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
70906 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
70907 * sysdeps/x86_64/stackguard-macros.h: Likewise.
70908 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
70909 <elf/stackguard-macros.h>.
70910
70911 [BZ #14109]
70912 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
70913 __aligned__ in attribute.
70914 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
70915 (gregset_t): Likewise.
70916
70917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70918
70919 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
70920 * sysdeps/x86_64/64/Implies-after: Here. New file.
70921 * sysdeps/x86_64/x32/Implies-after: New file.
70922
70923 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70924
70925 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
70926 and access return value for _dl_profile_fixup. Use R10_LP to
70927 load frame size.
70928
70929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70930
70931 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
70932
70933 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70934
70935 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
70936 * sysdeps/x86_64/x32/sysdep.h: New file.
70937
70938 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70939
70940 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
70941 * sysdeps/x86_64/setjmp.S: Likewise.
70942
70943 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70944
70945 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
70946 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
70947 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
70948 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
70949 remove unused global constant.
70950
70951 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
70952
70953 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
70954 include of <not-cancel.h>.
70955
70956 2012-05-15 Roland McGrath <roland@hack.frob.com>
70957
70958 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
70959
70960 2012-05-15 Jeff Law <law@redhat.com>
70961 Andreas Jaeger <aj@suse.de>
70962
70963 [BZ #13594]
70964 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
70965 out from...
70966 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
70967 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
70968 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
70969 code changing __hst_map_handle.map.
70970
70971 2012-05-15 Roland McGrath <roland@hack.frob.com>
70972
70973 * configure.in (sysnames): Look for Implies-before and Implies-after
70974 files.
70975 * configure: Regenerated.
70976
70977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70978
70979 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
70980 8-byte data alignment with LP_SIZE alignment.
70981
70982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70983
70984 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
70985 into R10_LP.
70986
70987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70988
70989 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
70990
70991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70992
70993 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
70994 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
70995 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
70996 Likewise.
70997 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70998
70999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71000
71001 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71002 (stackinfo_sub_sp): Likewise.
71003
71004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71005
71006 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71007 RAX_LP.
71008
71009 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71010
71011 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71012 into R*_LP.
71013
71014 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71015
71016 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71017 sizes into R*_LP.
71018
71019 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71020
71021 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71022
71023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71024
71025 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71026 into R11_LP and load __x86_64_shared_cache_size_half into
71027 R8_LP.
71028
71029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71030
71031 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71032 R8_LP.
71033
71034 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71035
71036 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71037 logb for POWER7.
71038 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71039 logbf for POWER7.
71040 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71041 logbl for POWER7.
71042 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71043 powerpc32/power7/fpu/s_logb.c via #include.
71044 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71045 powerpc32/power7/fpu/s_logbf.c via #include.
71046 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71047 powerpc32/power7/fpu/s_logbl.c via #include.
71048
71049 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71050
71051 * README.libm: Remove file.
71052
71053 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71054
71055 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71056 count for x32. Use R*_LP and omit operand-size suffix.
71057
71058 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71059
71060 * shlib-versions: Move x86_64-.*-linux.* entries to ...
71061 * sysdeps/x86_64/64/shlib-versions: Here. New file.
71062 * sysdeps/x86_64/x32/shlib-versions: New file.
71063
71064 2012-05-14 Roland McGrath <roland@hack.frob.com>
71065
71066 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71067 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71068 Use _dl_fatal_printf instead.
71069
71070 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71071
71072 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71073 set if not set by the user. Do not allow for being unset.
71074 * sysdeps/unix/sysv/linux/configure: Regenerated.
71075
71076 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71077
71078 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71079 the `q' suffix from lea and replace .quad with ASM_ADDR.
71080
71081 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71082
71083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71084 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
71085 instead of $17.
71086 (PTR_DEMANGLE): Likewise.
71087
71088 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71089
71090 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71091 (LP_OP): Likewise.
71092 (ASM_ADDR): Likewise.
71093 (RAX_LP): Likewise.
71094 (RBP_LP): Likewise.
71095 (RBX_LP): Likewise.
71096 (RCX_LP): Likewise.
71097 (RDI_LP): Likewise.
71098 (RSI_LP): Likewise.
71099 (RSP_LP): Likewise.
71100 (R8_LP): Likewise.
71101 (R9_LP): Likewise.
71102 (R10_LP): Likewise.
71103 (R10_LP): Likewise.
71104 (R11_LP): Likewise.
71105 (R12_LP): Likewise.
71106 (R13_LP): Likewise.
71107 (R14_LP): Likewise.
71108 (R15_LP): Likewise.
71109
71110 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71111
71112 * sysdeps/x86_64/x32/dl-machine.h: New file.
71113
71114 2012-05-14 Andreas Jaeger <aj@suse.de>
71115
71116 * manual/Makefile (subdir): Remove export of subdir.
71117 (all): Remove target.
71118 (.PHONY): Remove all from list.
71119 (mkinstalldirs): Remove.
71120 (.PHONY): Remove installdirs from list.
71121 ($(inst_infodir)/libc.info): Use make-target-directory.
71122 (installdirs): Remove.
71123 (subdir_%): Remove.
71124 (glibc-targets): Remove.
71125 (lib): Remove.
71126 (stubs): Remove.
71127 ($(objpfx)stubs ../po/manual.pot): Remove.
71128 ($(objpfx)stamp%): Remove.
71129 (make-target-directory): Remove.
71130 (subdir_install): Remove.
71131 (routines): Remove.
71132 (aux): Remove.
71133 (sources): Remove.
71134 (objects): Remove.
71135 (headers): Remove.
71136
71137 [BZ #13750]
71138 * manual/.gitignore: Remove, it's not needed anymore.
71139 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71140 all files in it.
71141 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71142 directory.
71143 (texis): Renamed to $(objpfx)texis.
71144 (texis-path): New, contains path to generated files.
71145 (chapters.%): Use texis-path for complete path, add extra argument
71146 libc-texinfo.sh.
71147 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71148 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71149 (summary,texi, stamp-summary): Use complete path of
71150 files. Generate files in build dir.
71151 (dir-add.texi): Build in build dir.
71152 (libm-err.texi,stamp-libm-err): Likewise.
71153 (version.texi, stamp-version): Likewise.
71154 (.%c.texi): Likewise.
71155 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71156 (mostlyclean): Remove target.
71157 (realclean): Remove target.
71158 (generated): Add new variable with contents from mostlyclean and
71159 realclean, remove entries duplicated in common-mostlyclean, add
71160 stamp-libm-err and stamp-version.
71161 (generated-dirs): Add libc directory.
71162 ($(inst_infodir)/libc.info): Install files from build dir.
71163
71164 * manual/install.texi (Configuring and compiling): Adjust since
71165 the info files are not part of the tar ball anymore.
71166
71167 2012-05-14 Andreas Jaeger <aj@suse.de>
71168
71169 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71170 variable.
71171
71172 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71173
71174 [BZ #13717]
71175 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71176 to 2.2.0 where earlier.
71177 * sysdeps/unix/sysv/linux/configure: Regenerated.
71178 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71179 Remove conditional code.
71180 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71181 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71182 Remove conditional code.
71183 [!__NR_lchown]: Likewise.
71184 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71185 [__NR_lchown]: Likewise.
71186 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71187 comment referencing __ASSUME_LCHOWN_SYSCALL.
71188 * sysdeps/unix/sysv/linux/i386/sigaction.c
71189 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71190 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71191 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71192 Remove conditional code.
71193 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71194 (__protocol_available): Remove #if 0 code.
71195 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71196 conditional code.
71197 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71198 * sysdeps/unix/sysv/linux/kernel-features.h
71199 (__ASSUME_GETCWD_SYSCALL): Don't define.
71200 (__ASSUME_REALTIME_SIGNALS): Likewise.
71201 (__ASSUME_PREAD_SYSCALL): Likewise.
71202 (__ASSUME_PWRITE_SYSCALL): Likewise.
71203 (__ASSUME_POLL_SYSCALL): Likewise.
71204 (__ASSUME_LCHOWN_SYSCALL): Likewise.
71205 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71206 non-SPARC.
71207 (__ASSUME_SIOCGIFNAME): Don't define.
71208 (__ASSUME_MSG_NOSIGNAL): Likewise.
71209 (__ASSUME_SENDFILE): Define unconditionally.
71210 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71211 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71212 conditional code.
71213 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71214 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71215 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71216 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71217 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71218 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71219 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71221 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71222 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71224 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71227 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71228 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71230 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71233 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71234 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71236 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71239 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71240 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71242 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71243 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71244 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71245 Remove conditional code.
71246 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71247 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71248 Remove conditional code.
71249 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71250 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71251 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71252 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71253 Remove conditional code.
71254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71255 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71256 Remove conditional code.
71257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71258 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71259 Remove conditional code.
71260 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71261 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71262 Remove conditional code.
71263 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71264 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71265 Remove conditional code.
71266 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71267 * sysdeps/unix/sysv/linux/sh/pwrite64.c
71268 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71269 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71270 * sysdeps/unix/sysv/linux/sigaction.c
71271 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71272 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71273 * sysdeps/unix/sysv/linux/sigpending.c
71274 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71275 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71276 * sysdeps/unix/sysv/linux/sigprocmask.c
71277 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71278 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71279 * sysdeps/unix/sysv/linux/sigsuspend.c
71280 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71281 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71282 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71283 (__libc_missing_rt_sigs): Remove.
71284 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71285 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71286 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71287 Remove conditional code.
71288 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71289 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71290 return 1.
71291 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71292 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71293 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71294 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71295
71296 2012-05-14 Andreas Jaeger <aj@suse.de>
71297
71298 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71299 it's not used in glibc.
71300 (__coshm1): Likewise.
71301 (__acosh1p): Likewise.
71302 (__sgn): Likewise.
71303
71304 * manual/string.texi (Copying and Concatenation): Add missing
71305 variable in concat example.
71306 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71307
71308 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71309
71310 [BZ #14103]
71311 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71312 __builtin_clzl with __builtin_clzll.
71313
71314 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71315
71316 [BZ #14104]
71317 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71318 libc_freeres_ptr.
71319
71320 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71321
71322 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71323 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71324 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71325 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71326
71327 2012-05-14 Mike Frysinger <vapier@gentoo.org>
71328
71329 * NEWS: Update ia64 info.
71330
71331 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
71332
71333 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71334 used as bcopy.
71335
71336 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
71337
71338 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71339 * sysdeps/unix/syscalls.list (dup3): Likewise.
71340 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71341 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71342
71343 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71344
71345 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71346 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71347
71348 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71349
71350 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71351 thread pointer.
71352 (TLS_IE): Use mov/add instead of movq/addq to load thread
71353 pointer.
71354 (TLS_GD_PREFIX): New.
71355 (TLS_GD): Use it.
71356
71357 2012-05-11 David S. Miller <davem@davemloft.net>
71358
71359 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71360 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71361 (_FPU_SETCW): Likewise.
71362
71363 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71364
71365 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71366 is 32-byte aligned.
71367
71368 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
71369
71370 [BZ #11837]
71371 * iconvdata/gb18030.c: Update tables.
71372 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
71373 characters specially.
71374 (BODY for TO_LOOP): Add encoding of missing ranges.
71375
71376 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
71377
71378 [BZ #13673]
71379 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71380 * sysdeps/mach/hurd/dup3.c: Likewise.
71381 * sysdeps/mach/hurd/readlinkat.c: Likewise.
71382 * sysdeps/powerpc/memmove.c:: Likewise.
71383
71384 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71385
71386 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71387 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71388
71389 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71390
71391 * elf/elf.h (R_X86_64_RELATIVE64): New.
71392 (R_X86_64_NUM): Updated.
71393 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71394 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
71395 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71396 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71397 tst-quad1pie tst-quad2pie
71398 (modules-names): Add tst-quadmod1 tst-quadmod2.
71399 ($(objpfx)tst-quad1): New dependency.
71400 ($(objpfx)tst-quad2): Likewise.
71401 ($(objpfx)tst-quad1pie): Likewise.
71402 ($(objpfx)tst-quad2pie): Likewise.
71403 * sysdeps/x86_64/tst-quad1.c: New file.
71404 * sysdeps/x86_64/tst-quad1pie.c: New file.
71405 * sysdeps/x86_64/tst-quad2.c: Likewise.
71406 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71407 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71408 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71409 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71410 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71411
71412 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71413
71414 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71415 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71416 * streams/stropts.h (t_scalar_t): Define type.
71417
71418 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71419 (_PATH_PRESERVE): Set to "/var/lib".
71420 (_PATH_RWHODIR): Set to "/var/spool/rwho".
71421
71422 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71423 instead of int.
71424
71425 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71426 if __dir_mkfile succeeded.
71427
71428 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71429 checking for _hurd_dtablesize. Unlock it right after having
71430 finished _hurd_dtable allocation.
71431
71432 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71433
71434 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71435 * sysdeps/mach/hurd/configure: Regenerated.
71436 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71437 special-casing to...
71438 * sysdeps/gnu/configure.in: ... this new file.
71439 * sysdeps/unix/sysv/linux/configure: Regenerated.
71440 * sysdeps/gnu/configure: New generated file.
71441
71442 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
71443 for Linux: use nsec instead of usec, as well as:
71444 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
71445 members of type struct timespec.
71446 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
71447 New macros.
71448 (struct stat64): Likewise.
71449 (_STATBUF_ST_NSEC): New macro.
71450 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
71451
71452 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71453 __strtoul_internal rather than strtoul.
71454
71455 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71456
71457 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
71458 and reject them.
71459
71460 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71461
71462 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
71463 which preserves existing values.
71464 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
71465
71466 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71467
71468 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
71469 TIMEOUT values. Return EINVAL for NFDS values either negative or
71470 greater than FD_SETSIZE.
71471
71472 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71473
71474 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
71475 allocated, call __vm_protect to finish enabling the existing space, and
71476 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
71477 allocate the remainder.
71478
71479 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71480
71481 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
71482 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
71483
71484 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71485
71486 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
71487 sysdeps/mach/hurd/readlink.c.
71488
71489 * posix/tst-sysconf.c (posix_options): Only use
71490 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
71491 _POSIX_SYNCHRONIZED_IO when they are defined
71492 * sysdeps/mach/hurd/bits/posix_opt.h:
71493 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
71494 (_XOPEN_REALTIME): Undefine macro.
71495 (_XOPEN_REALTIME_THREADS): Undefine macro.
71496 (_XOPEN_SHM): Undefine macro.
71497 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
71498 macro to -1.
71499 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
71500 macro to -1.
71501 (_POSIX_ASYNC_IO): Undefine macro.
71502 (_POSIX_PRIORITIZED_IO): Undefine macro.
71503 (_POSIX_SPIN_LOCKS): Define macro to -1.
71504
71505 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
71506 SA_NODEFER, SA_RESETHAND.
71507 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
71508 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
71509 F_DUPFD_CLOEXEC.
71510
71511 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71512
71513 * elf/Makefile (pldd-modules): Define unconditionally.
71514
71515 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71516
71517 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
71518
71519 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71520
71521 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
71522 Return ENOENT when name is empty.
71523 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
71524
71525 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71526
71527 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
71528
71529 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
71530
71531 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71532
71533 Fix mlock in all cases except non-readable pages.
71534 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
71535 instead of VM_PROT_ALL as parameter to __vm_wire function.
71536
71537 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
71538 (__mkdir): When path is `/', just fail with EEXIST.
71539 * sysdeps/mach/hurd/mkdirat.c: Likewise.
71540
71541 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71542
71543 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
71544 <sys/uio.h> (for writev).
71545 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
71546 and <sys/param.h> (for MIN).
71547
71548 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71549
71550 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
71551 REQUESTED_TIME. Properly set the remaining time and return EINTR
71552 if interrupted.
71553
71554 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71555
71556 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
71557 Depend on against $(link-rpcuserlibs).
71558
71559 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71560
71561 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
71562 (__libc_stack_end): Do not use attribute_relro.
71563 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
71564 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
71565 to libthread-provided value.
71566 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
71567 attribute_relro.
71568
71569 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71570
71571 [BZ #3748]
71572 * bits/libc-lock.h (__libc_once_get): New macro.
71573 * sysdeps/mach/bits/libc-lock.h: Likewise.
71574 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
71575 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
71576 instead of using implementation details.
71577
71578 * libio/fileops.c: Unconditionally include <kernel-features.h>.
71579 * libio/freopen.c: Likewise.
71580 * libio/freopen64.c: Likewise.
71581 * misc/syslog.c: Likewise.
71582 * nscd/connections.c: Likewise.
71583 * nscd/netgroupcache.c: Likewise.
71584 * sysdeps/posix/getcwd.c: Likewise.
71585
71586 2012-05-10 Roland McGrath <roland@hack.frob.com>
71587
71588 * math/w_ilogbf.c: Add #include <limits.h>.
71589
71590 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71591
71592 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
71593 path instead of returning without unlocking.
71594
71595 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
71596 immediate-write ioctls.
71597 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
71598
71599 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71600
71601 * sysdeps/mach/hurd/i386/init-first.c (init): Use
71602 __builtin_frame_address instead of making assumptions about the
71603 location of the return address relative to DATA. Force early load of
71604 the return address.
71605 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
71606 __builtin_frame_address.
71607
71608 dup3 for GNU Hurd.
71609 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
71610 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
71611 implement dup3 and do some further code clean-ups.
71612 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
71613 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
71614
71615 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71616
71617 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
71618
71619 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
71620 HURD_CRITICAL_END around holding _hurd_dtable_lock.
71621 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
71622 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
71623 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
71624 d->port.lock.
71625
71626 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
71627 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
71628 when handler == SIG_ERR, not when handler != SIG_ERR.
71629
71630 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71631
71632 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
71633 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
71634 definitions.
71635
71636 accept4 for GNU Hurd.
71637 * include/sys/socket.h (__libc_accept4): New prototype.
71638 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
71639 to implement __libc_accept4.
71640 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
71641 __libc_accept4.
71642 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
71643
71644 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
71645 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
71646 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
71647 signal-defines.sym.
71648
71649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71650
71651 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
71652
71653 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71654
71655 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
71656 assertion on O_CLOEXEC flag.
71657 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
71658 * hurd/intern-fd.c: Likewise.
71659 * hurd/port2fd.c: Likewise.
71660
71661 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71662
71663 [BZ #3906]
71664 * bits/in.h (IPV6_PKTINFO): Define new macro.
71665 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
71666
71667 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71668
71669 [BZ #13954]
71670 [BZ #13955]
71671 [BZ #13956]
71672 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
71673 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71674 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
71675 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71676 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71677 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71678 * math/libm-test.inc (logb_test) : Additional logb tests.
71679
71680 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
71681 Andreas Jaeger <aj@suse.de>
71682
71683 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
71684 * configure: Regenerated.
71685 * config.h.in (LINK_OBSOLETE_RPC): New macro.
71686 * config.make.in (link-obsolete-rpc): New substituted variable.
71687 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
71688 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
71689 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71690 (shared-only-routines): Don't set it under [link-obsolete-rpc],
71691 so that libc.a contains the symbols.
71692 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71693 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
71694 * sunrpc/auth_none.c: Likewise.
71695 * sunrpc/auth_unix.c: Likewise.
71696 * sunrpc/authdes_prot.c: Likewise.
71697 * sunrpc/authuxprot.c: Likewise.
71698 * sunrpc/clnt_gen.c: Likewise.
71699 * sunrpc/clnt_perr.c: Likewise.
71700 * sunrpc/clnt_raw.c: Likewise.
71701 * sunrpc/clnt_simp.c: Likewise.
71702 * sunrpc/clnt_tcp.c: Likewise.
71703 * sunrpc/clnt_udp.c: Likewise.
71704 * sunrpc/clnt_unix.c: Likewise.
71705 * sunrpc/des_crypt.c: Likewise.
71706 * sunrpc/des_soft.c: Likewise.
71707 * sunrpc/get_myaddr.c: Likewise.
71708 * sunrpc/key_call.c: Likewise.
71709 * sunrpc/key_prot.c: Likewise.
71710 * sunrpc/netname.c: Likewise.
71711 * sunrpc/pm_getmaps.c: Likewise.
71712 * sunrpc/pm_getport.c: Likewise.
71713 * sunrpc/pmap_clnt.c: Likewise.
71714 * sunrpc/pmap_prot.c: Likewise.
71715 * sunrpc/pmap_prot2.c: Likewise.
71716 * sunrpc/pmap_rmt.c: Likewise.
71717 * sunrpc/publickey.c: Likewise.
71718 * sunrpc/rpc_cmsg.c: Likewise.
71719 * sunrpc/rpc_common.c: Likewise.
71720 * sunrpc/rpc_dtable.c: Likewise.
71721 * sunrpc/rpc_prot.c: Likewise.
71722 * sunrpc/rpc_thread.c: Likewise.
71723 * sunrpc/rtime.c: Likewise.
71724 * sunrpc/svc.c: Likewise.
71725 * sunrpc/svc_auth.c: Likewise.
71726 * sunrpc/svc_raw.c: Likewise.
71727 * sunrpc/svc_run.c: Likewise.
71728 * sunrpc/svc_tcp.c: Likewise.
71729 * sunrpc/svc_udp.c: Likewise.
71730 * sunrpc/svc_unix.c: Likewise.
71731 * sunrpc/svcauth_des.c: Likewise.
71732 * sunrpc/xcrypt.c: Likewise.
71733 * sunrpc/xdr.c: Likewise.
71734 * sunrpc/xdr_array.c: Likewise.
71735 * sunrpc/xdr_float.c: Likewise.
71736 * sunrpc/xdr_intXX_t.c: Likewise.
71737 * sunrpc/xdr_mem.c: Likewise.
71738 * sunrpc/xdr_rec.c: Likewise.
71739 * sunrpc/xdr_ref.c: Likewise.
71740 * sunrpc/xdr_sizeof.c: Likewise.
71741 * sunrpc/xdr_stdio.c: Likewise.
71742
71743 2012-05-10 Roland McGrath <roland@hack.frob.com>
71744
71745 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
71746 change. Update copyright years.
71747
71748 2012-05-10 Joseph Myers <joseph@codesourcery.com>
71749
71750 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
71751
71752 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
71753 Joseph Myers <joseph@codesourcery.com>
71754 Paul Pluzhnikov <ppluzhnikov@google.com>
71755
71756 [BZ #14012]
71757 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
71758 requiring rpcgen.
71759 [cross-compiling] (extra-libs): Likewise.
71760 [cross-compiling] (extra-libs-others): Likewise.
71761 [cross-compiling] (librpcsvc-routines): Likewise.
71762 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
71763 [cross-compiling] (omit-deps): Likewise.
71764 (sunrpc-CPPFLAGS): New variable.
71765 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
71766 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
71767 (cross-rpcgen-objs): New variable.
71768 (extra-objs): Append $(cross-rpcgen-objs).
71769 ($(cross-rpcgen-objs)): New rule.
71770 ($(objpfx)cross-rpcgen): Likewise.
71771 (rpcgen-cmd): Define to use $(built-program-file). Expand
71772 comment.
71773 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
71774 ($(objpfx)x%.stmp): Likewise.
71775 * sunrpc/proto.h [IS_IN_build] (_): Define.
71776 [IS_IN_build] (_libc_intl_domainname): Likewise.
71777
71778 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71779
71780 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
71781 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
71782 and R_X86_64_TPOFF64.
71783
71784 2012-05-10 Joseph Myers <joseph@codesourcery.com>
71785
71786 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
71787 sysdeps/unix/sysv/syscalls.list.
71788 (stime): Likewise.
71789 (utime): Likewise.
71790 * sysdeps/unix/sysv/syscalls.list: Remove file.
71791
71792 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
71793
71794 [BZ #3440]
71795 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
71796 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
71797 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
71798 (__LC_IDENTIFICATION): Make these macros useful in #if
71799 expressions, as required by C99.
71800
71801 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
71802
71803 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
71804 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
71805 after this.
71806
71807 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
71808
71809 * stdlib/longlong.h: Updated from GCC.
71810
71811 2012-05-09 Andreas Jaeger <aj@suse.de>
71812
71813 * nscd/nscd.c (run_modes): Make named enum, reorder so that
71814 default is first entry.
71815 (run_mode): Set type.
71816 (main): Remove informal message about syslog.
71817 (options): Fix typo.
71818
71819 [BZ #14053]
71820 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
71821 to asm.
71822 (lrint): Likewise.
71823 (llrintf): Likewise.
71824 (llrint): Likewise.
71825 (rint): Likewise.
71826 (rintf): Likewise.
71827 (nearbyint): Likewise.
71828 (nearbyintf): Likewise.
71829
71830 2012-05-09 Andreas Jaeger <aj@suse.de>
71831 Pedro Alves <palves@redhat.com>
71832
71833 * nscd/nscd.c (run_mode): Use enum.
71834 (main): Cleanup coding style issue.
71835
71836 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
71837 Andreas Jaeger <aj@suse.de>
71838
71839 * nscd/nscd.c (go_background): Replaced with...
71840 (run_mode): ... this.
71841 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
71842 (options): Add -F --foreground.
71843 (main): Implement it.
71844 (parse_opt): Parse it.
71845
71846 2012-05-09 Andreas Jaeger <aj@suse.de>
71847
71848 [BZ #14083]
71849 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
71850 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
71851 -Wconversion warning.
71852 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
71853 Likewise.
71854
71855 2012-05-09 Joseph Myers <joseph@codesourcery.com>
71856
71857 * conform/data/locale.h-data (NULL): Use macro-constant. Require
71858 == 0.
71859 (LC_ALL): Use macro-int-constant.
71860 (LC_COLLATE): Likewise.
71861 (LC_CTYPE): Likewise.
71862 (LC_MESSAGES): Likewise.
71863 (LC_MONETARY): Likewise.
71864 (LC_NUMERIC): Likewise.
71865 (LC_TIME): Likewise.
71866 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
71867 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71868 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71869 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
71870 Specify type.
71871 [C99-based standards] (float_t): Expect type.
71872 [C99-based standards] (double_t): Expect type.
71873 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
71874 type.
71875 [C99-based standards] (HUGE_VALL): Likewise.
71876 [C99-based standards] (INFINITY): Likewise.
71877 [C99-based standards] (NAN): Likewise.
71878 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
71879 [C99-based standards] (FP_NAN): Likewise.
71880 [C99-based standards] (FP_NORMAL): Likewise.
71881 [C99-based standards] (FP_SUBNORMAL): Likewise.
71882 [C99-based standards] (FP_ZERO): Likewise.
71883 [C99-based standards] (FP_FAST_FMA): Use
71884 optional-macro-int-constant. Specify type. Require == 1.
71885 [C99-based standards] (FP_FAST_FMAF): Likewise.
71886 [C99-based standards] (FP_FAST_FMAL): Likewise.
71887 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
71888 [C99-based standards] (FP_ILOGBNAN): Likewise.
71889 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
71890 Specify type.
71891 [C99-based standards] (MATH_ERREXCEPT): Likewise.
71892 [C99-based standards] (math_errhandling): Specify type.
71893 [ISO99 || ISO11] (signgam): Do not allow.
71894 [non-C99-based standards] (copysignf): Do not allow.
71895 [non-C99-based standards] (exp2f): Likewise.
71896 [non-C99-based standards] (log2f): Likewise.
71897 [non-C99-based standards] (modff): Allow.
71898 [non-C99-based standards] (erff): Do not allow.
71899 [non-C99-based standards] (erfcf): Likewise.
71900 [non-C99-based standards] (gammaf): Likewise.
71901 [non-C99-based standards] (hypotf): Likewise.
71902 [non-C99-based standards] (j0f): Likewise.
71903 [non-C99-based standards] (j1f): Likewise.
71904 [non-C99-based standards] (jnf): Likewise.
71905 [non-C99-based standards] (lgammaf): Likewise.
71906 [non-C99-based standards] (tgammaf): Likewise.
71907 [non-C99-based standards] (y0f): Likewise.
71908 [non-C99-based standards] (y1f): Likewise.
71909 [non-C99-based standards] (ynf): Likewise.
71910 [non-C99-based standards] (isnanf): Likewise.
71911 [non-C99-based standards] (acoshf): Likewise.
71912 [non-C99-based standards] (asinhf): Likewise.
71913 [non-C99-based standards] (atanhf): Likewise.
71914 [non-C99-based standards] (cbrtf): Likewise.
71915 [non-C99-based standards] (expm1f): Likewise.
71916 [non-C99-based standards] (ilogbf): Likewise.
71917 [non-C99-based standards] (log1pf): Likewise.
71918 [non-C99-based standards] (logbf): Likewise.
71919 [non-C99-based standards] (nextafterf): Likewise.
71920 [non-C99-based standards] (remainderf): Likewise.
71921 [non-C99-based standards] (rintf): Likewise.
71922 [non-C99-based standards] (scalbf): Likewise.
71923 [non-C99-based standards] (copysignl): Likewise.
71924 [non-C99-based standards] (exp2l): Likewise.
71925 [non-C99-based standards] (log2l): Likewise.
71926 [non-C99-based standards] (modfl): Allow.
71927 [non-C99-based standards] (erfl): Do not allow.
71928 [non-C99-based standards] (erfcl): Likewise.
71929 [non-C99-based standards] (gammal): Likewise.
71930 [non-C99-based standards] (hypotl): Likewise.
71931 [non-C99-based standards] (j0l): Likewise.
71932 [non-C99-based standards] (j1l): Likewise.
71933 [non-C99-based standards] (jnl): Likewise.
71934 [non-C99-based standards] (lgammal): Likewise.
71935 [non-C99-based standards] (tgammal): Likewise.
71936 [non-C99-based standards] (y0l): Likewise.
71937 [non-C99-based standards] (y1l): Likewise.
71938 [non-C99-based standards] (ynl): Likewise.
71939 [non-C99-based standards] (isnanl): Likewise.
71940 [non-C99-based standards] (acoshl): Likewise.
71941 [non-C99-based standards] (asinhl): Likewise.
71942 [non-C99-based standards] (atanhl): Likewise.
71943 [non-C99-based standards] (cbrtl): Likewise.
71944 [non-C99-based standards] (expm1l): Likewise.
71945 [non-C99-based standards] (ilogbl): Likewise.
71946 [non-C99-based standards] (log1pl): Likewise.
71947 [non-C99-based standards] (logbl): Likewise.
71948 [non-C99-based standards] (nextafterl): Likewise.
71949 [non-C99-based standards] (remainderl): Likewise.
71950 [non-C99-based standards] (rintl): Likewise.
71951 [non-C99-based standards] (scalbl): Likewise.
71952 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71953 [non-C99-based standards] (FP_*): Do not allow.
71954 [C99-based standards] (FP_*): Change to
71955 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71956 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71957 allow.
71958 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
71959 (SIG_ERR): Likewise.
71960 [X/Open-based standards] (SIG_HOLD): Likewise.
71961 (SIG_IGN): Likewise.
71962 (SIGABRT): Use macro-int-constant. Specify type. Require
71963 positive value.
71964 (SIGFPE): Likewise.
71965 (SIGILL): Likewise.
71966 (SIGINT): Likewise.
71967 (SIGSEGV): Likewise.
71968 (SIGTER): Likewise.
71969 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
71970 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
71971 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
71972 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
71973 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
71974 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
71975 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
71976 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
71977 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
71978 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
71979 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
71980 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
71981 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
71982 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
71983 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
71984 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
71985 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
71986 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
71987 [X/Open-based standards] (SIGTRAP): Likewise.
71988 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
71989 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
71990 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
71991 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
71992 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71993 allow.
71994
71995 2012-05-08 Ian Wienand <ianw@vmware.com>
71996
71997 [BZ #14080]
71998 * time/tzset.c (__tzset_parse_tz): Update default rules for
71999 daylight time changes in the Energy Policy Act of 2005.
72000
72001 2012-05-09 Andreas Jaeger <aj@suse.de>
72002
72003 [BZ #13983]
72004 * elf/ldconfig.c (parse_conf): Change string to make clear that
72005 ldconfig only issued a warning if ld.so.conf does not exist.
72006
72007 2012-05-08 David S. Miller <davem@davemloft.net>
72008
72009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72010 movxtod instead of popping the value on the stack.
72011
72012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72013
72014 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
72015
72016 * config.h.in: Add HAVE_ARM_PCS_VFP.
72017
72018 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
72019
72020 [BZ #13979]
72021 * include/features.h: Warn if user requests __FORTIFY_SOURCE
72022 checking but the checks are disabled for any reason.
72023
72024 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
72025
72026 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72027 and ELF64_R_TYPE with ELFW(R_TYPE).
72028
72029 2012-05-08 Joseph Myers <joseph@codesourcery.com>
72030
72031 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72032 (ulimit): Likewise.
72033
72034 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72035 (settimeofday): Likewise.
72036
72037 2012-05-08 Mike Frysinger <vapier@gentoo.org>
72038
72039 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
72040 a struct th_u2 inside the union, and move tu_block/tu_code into
72041 a new th_u3 union of tu_block/tu_code inside of that. Move
72042 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
72043 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
72044 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72045 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72046 (th_stuff): Change to th_u1.tu_stuff.
72047 (th_data): Define.
72048 (th_msg): Change to th_u1.th_u2.tu_data.
72049
72050 2012-05-07 David S. Miller <davem@davemloft.net>
72051
72052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72053
72054 [BZ #14074]
72055 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72056 (SETUP_PIC_REG): Use it.
72057 (SETUP_PIC_REG_LEAF): Use it.
72058
72059 2012-05-07 Joseph Myers <joseph@codesourcery.com>
72060
72061 [BZ #13885]
72062 [BZ #13923]
72063 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72064 USE_AS_EXPM1L.
72065 (EXPL_FINITE): Likewise.
72066 (FLDLOG): Likewise.
72067 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72068 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72069 e_expl.S.
72070 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72071 USE_AS_EXPM1L.
72072 (EXPL_FINITE): Likewise.
72073 (FLDLOG): Likewise.
72074 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72075 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72076 e_expl.S.
72077 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
72078 test of -max_value argument for long double.
72079 * sysdeps/i386/fpu/libm-test-ulps: Update.
72080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72081
72082 2012-05-06 David S. Miller <davem@davemloft.net>
72083
72084 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72085 quad soft-float symbols whose references which are compiler
72086 generated.
72087 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72088
72089 2012-05-06 Joseph Myers <joseph@codesourcery.com>
72090
72091 [BZ #13884]
72092 [BZ #13914]
72093 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72094 USE_AS_EXP10L.
72095 (EXPL_FINITE): Likewise.
72096 (FLDLOG): Likewise.
72097 (c0): Likewise.
72098 (c1): Likewise.
72099 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72100 Adjust comments for base varying.
72101 (__expl_finite): Change alias to EXPL_FINITE.
72102 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72103 e_expl.S.
72104 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72105 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72106 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72107 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72108 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72109 USE_AS_EXP10L.
72110 (EXPL_FINITE): Likewise.
72111 (FLDLOG): Likewise.
72112 (c0): Likewise.
72113 (c1): Likewise.
72114 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72115 Adjust comments for base varying.
72116 (__expl_finite): Change alias to EXPL_FINITE.
72117 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
72118 tests for bugs.
72119 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72120
72121 [BZ #14064]
72122 * math/libm-test.inc (check_float_internal): Correct ulp
72123 calculation for subnormal expected results.
72124
72125 2012-05-06 Andreas Jaeger <aj@suse.de>
72126
72127 * Makeconfig (+math-flags): New, set to -frounding-math.
72128 (+cflags): Add +math-flags so that all of glibc gets compiled with
72129 it.
72130
72131 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72132
72133 2012-05-05 Joseph Myers <joseph@codesourcery.com>
72134
72135 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72136 Disable one test.
72137
72138 [BZ #13787]
72139 [BZ #13922]
72140 [BZ #14036]
72141 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72142 (__ieee754_expl): Allow for and saturate large arguments.
72143 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72144 (u_threshold): Likewise.
72145 (__exp): Call __ieee754_exp before checking for overflow and
72146 underflow.
72147 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72148 (u_threshold): Likewise.
72149 (__expf): Call __ieee754_expf before checking for overflow and
72150 underflow.
72151 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72152 (u_threshold): Likewise.
72153 (__expl): Call __ieee754_expl before checking for overflow and
72154 underflow.
72155 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72156 (__ieee754_expl): Allow for and saturate large arguments.
72157 * math/libm-test.inc (exp_test): Add another test. Do not allow
72158 missing overflow exception on overflow.
72159 (expm1_test): Do not allow missing overflow exception on overflow.
72160
72161 * sysdeps/i386/fpu/e_expl.c: Move to ...
72162 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
72163 rather than using inline asm.
72164 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72165 * sysdeps/x86_64/fpu/e_expl.S: Copy from
72166 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72167
72168 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72169 (nice): Likewise.
72170 (poll): Likewise.
72171 (signal): Likewise.
72172 (time): Likewise.
72173 (times): Likewise.
72174
72175 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72176
72177 * sysdeps/unix/syscalls.list (adjtime): Add entry from
72178 sysdeps/unix/common/syscalls.list.
72179 (fchmod): Likewise.
72180 (fchown): Likewise.
72181 (ftruncate): Likewise.
72182 (getrusage): Likewise.
72183 (gettimeofday): Likewise.
72184 (setpgid): Likewise.
72185 (setregid): Likewise.
72186 (setreuid): Likewise.
72187 (sigaction): Likewise.
72188 (truncate): Likewise.
72189 (vhangup): Likewise.
72190 * sysdeps/unix/common/syscalls.list: Remove file.
72191 * sysdeps/unix/bsd/Implies: Don't include unix/common.
72192 * sysdeps/unix/sysv/linux/Implies: Likewise.
72193
72194 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
72195
72196 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72198 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72199 Moved to ...
72200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72201 Here.
72202 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72203 to ...
72204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72205 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72206 to ...
72207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72208 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72209 to ...
72210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72211 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72212 to ...
72213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72214 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72215 to ...
72216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72217 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72218 to ...
72219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72220 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72221 to ...
72222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72223 Here.
72224 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72225 to ...
72226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72227 Here.
72228 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72229 to ...
72230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72231 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72232 Moved to ...
72233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72234 Here.
72235 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72236 to ...
72237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72238
72239 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72240
72241 * sysdeps/unix/common/bits/dirent.h: Remove file.
72242 * sysdeps/unix/common/bits/fcntl.h: Likewise.
72243
72244 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72245 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72246 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72247 * sysdeps/unix/bsd/isatty.c: Likewise.
72248 * sysdeps/unix/bsd/tcdrain.c: Likewise.
72249 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72250 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72251
72252 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72253
72254 [BZ #13563]
72255 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72256 long double comparison inaccuracies.
72257 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72259
72260 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
72261
72262 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72263 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72264
72265 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72266
72267 [BZ #14049]
72268 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72269 nonzero digits before rounding a hex value.
72270 * stdlib/tst-strtod.c (tests): Add another test.
72271
72272 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72273
72274 * sysdeps/s390/fpu/libm-test-ulps: Update.
72275
72276 2012-05-03 Andreas Jaeger <aj@suse.de>
72277
72278 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72279 does not get optimized out.
72280 (malloc_opt_barrier): New.
72281
72282 2012-05-03 Andreas Jaeger <aj@suse.de>
72283 Roland McGrath <roland@hack.frob.com>
72284
72285 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72286 intermediate file deletion.
72287 (generated): Add .symlist files.
72288
72289 2012-05-03 Joseph Myers <joseph@codesourcery.com>
72290
72291 [BZ #13775]
72292 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72293 Redirect under this condition.
72294 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72295 [__USE_GNU] (__dprintf_chk): Not under this condition.
72296 [__USE_GNU] (__vdprintf_chk): Likewise.
72297 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72298 under this condition.
72299 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72300 [__USE_XOPEN2K8] (dprintf): Define under this condition.
72301 [__USE_XOPEN2K8] (vdprintf): Likewise.
72302 [__USE_GNU] (__dprintf_chk): Not under this condition.
72303 [__USE_GNU] (__vdprintf_chk): Likewise.
72304 [__USE_GNU] (dprintf): Likewise.
72305 [__USE_GNU] (vdprintf): Likewise.
72306
72307 2012-05-03 Roland McGrath <roland@hack.frob.com>
72308
72309 * elf/Makefile (common-generated): Set this instead of generated for
72310 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
72311 $(all-built-dso)-derived lists.
72312
72313 2012-05-03 Andreas Jaeger <aj@suse.de>
72314
72315 * sysdeps/i386/fpu/libm-test-ulps: Update.
72316
72317 * FAQ: Removed.
72318 * FAQ.in: Likewise.
72319 * scripts/gen-FAQ.pl: Likewise.
72320 * manual/install.texi (Installation): Point to online location of
72321 FAQ.
72322 * Makefile (files-for-dist): Remove FAQ.
72323 (FAQ): Remove.
72324
72325 2012-05-02 Allan McRae <allan@archlinux.org>
72326
72327 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72328 (LDFLAGS-reldepmod5.so): Likewise.
72329 (LDFLAGS-reldep6mod1.so): Likewise.
72330 (LDFLAGS-reldep6mod4.so): Likewise.
72331 (LDFLAGS-reldep8mod3.so): Likewise.
72332 (LDFLAGS-unload4mod1.so): Likewise.
72333 (LDFLAGS-unload4mod2.so): Likewise.
72334 (LDFLAGS-tst-initorder): Likewise.
72335 (LDFLAGS-tst-initordera2.so): Likewise.
72336 (LDFLAGS-tst-initordera3.so): Likewise.
72337 (LDFLAGS-tst-initordera4.so): Likewise.
72338 (LDFLAGS-tst-initorderb2.so): Likewise.
72339 (LDFLAGS-noload): Likewise.
72340 (LDFLAGS-next): Likewise.
72341 (LDFLAGS-order2mod1.so): Likewise.
72342 (LDFLAGS-order2mod2.so): Likewise.
72343 (LDFLAGS-tst-initorder2): Likewise.
72344 (LDFLAGS-tst-initorder2a.so): Likewise.
72345 (LDFLAGS-tst-initorder2b.so): Likewise.
72346 (LDFLAGS-tst-initorder2c.so): Likewise.
72347 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72348
72349 2012-05-02 David S. Miller <davem@davemloft.net>
72350
72351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72352
72353 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
72354
72355 [BZ #14055]
72356 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72357
72358 2012-05-02 Andreas Jaeger <aj@suse.de>
72359
72360 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72361 since we manipulate rounding mode.
72362 (CPPFLAGS-test-idouble.c): Likewise.
72363 (CPPFLAGS-test-ifloat.c): Likewise.
72364 (CFLAGS-test-ldouble.c): Likewise.
72365 (CFLAGS-test-double.c): Likewise.
72366 (CFLAGS-test-float.c): Likewise.
72367 (CFLAGS-test-misc.c): Likewise.
72368 (CFLAGS-test-test-fenv.c): Likewise.
72369
72370 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72371
72372 [BZ #2550]
72373 [BZ #2570]
72374 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72375 comparisons to determine direction to adjust input.
72376
72377 2012-05-01 Roland McGrath <roland@hack.frob.com>
72378
72379 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72380 output to the target.
72381
72382 * scripts/localplt.awk: New file.
72383 * elf/Makefile ($(objpfx)check-localplt): Target removed.
72384 (check-localplt-CFLAGS): Variable removed.
72385 ($(all-built-dso:=.jmprel)): New static pattern rule.
72386 (generated): Add those targets.
72387 (localplt-built-dso): New variable.
72388 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72389
72390 * elf/check-localplt.c: File removed.
72391
72392 * scripts/check-execstack.awk: New file.
72393 * elf/Makefile ($(objpfx)check-execstack): Target removed.
72394 (check-execstack-CFLAGS): Variable removed.
72395 ($(objpfx)check-execstack.h): Target removed.
72396 ($(objpfx)execstack-default): New target.
72397 (generated): Add that instead of check-execstack.h.
72398 ($(all-built-dso:=.phdr)): New static pattern rule.
72399 (generated): Add those targets.
72400 * elf/check-execstack.c: File removed.
72401
72402 * scripts/check-textrel.awk: New file.
72403 * elf/Makefile ($(objpfx)check-textrel): Target removed.
72404 (check-textrel-CFLAGS): Variable removed.
72405 (all-built-dso): Use := to define.o
72406 ($(all-built-dso:=.dyn)): New static pattern rule.
72407 (generated): Add those targets.
72408 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72409 * config.make.in (READELF): New substituted variable.
72410 * elf/check-textrel.c: File removed.
72411
72412 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72413
72414 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72415 allow.
72416 * conform/data/ctype.h-data [C99-based standards] (isblank):
72417 Expect function.
72418 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72419 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72420 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72421 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72422 Specify type. Require positive value.
72423 (EILSEQ): Likewise.
72424 (ERANGE): Likewise.
72425 [ISO || POSIX] (EILSEQ): Do not expect.
72426 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72427 Specify type. Require positive value.
72428 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72429 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72430 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72431 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72432 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72433 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72434 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72435 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72436 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72437 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72438 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72439 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72440 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72441 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
72442 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
72443 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
72444 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
72445 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
72446 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
72447 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
72448 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
72449 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
72450 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
72451 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
72452 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
72453 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
72454 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
72455 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
72456 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
72457 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
72458 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
72459 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
72460 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
72461 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
72462 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
72463 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
72464 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
72465 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
72466 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
72467 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
72468 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
72469 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
72470 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
72471 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
72472 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
72473 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
72474 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
72475 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
72476 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
72477 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
72478 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
72479 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
72480 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
72481 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
72482 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72483 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
72484 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
72485 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
72486 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
72487 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
72488 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
72489 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
72490 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
72491 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
72492 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
72493 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
72494 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
72495 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
72496 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
72497 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
72498 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
72499 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
72500 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
72501 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
72502 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
72503 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
72504 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
72505 Require >= 2.
72506 (FLT_ROUNDS): Expect as macro, not constant.
72507 (FLT_MANT_DIG): Use macro-int-constant.
72508 (DBL_MANT_DIG): Likewise.
72509 (LDBL_MANT_DIG): Likewise.
72510 (FLT_DIG): Likewise.
72511 (DBL_DIG): Likewise.
72512 (LDBL_DIG): Likewise.
72513 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
72514 (DBL_MIN_EXP): Likewise.
72515 (LDBL_MIN_EXP): Likewise.
72516 (FLT_MAX_EXP): Use macro-int-constant.
72517 (DBL_MAX_EXP): Likewise.
72518 (LDBL_MAX_EXP): Likewise.
72519 (FLT_MAX_10_EXP): Likewise.
72520 (DBL_MAX_10_EXP): Likewise.
72521 (LDBL_MAX_10_EXP): Likewise.
72522 (FLT_MAX): Use macro-constant.
72523 (DBL_MAX): Likewise.
72524 (LDBL_MAX): Likewise.
72525 (FLT_EPSILON): Use macro-constant. Give upper bound.
72526 (DBL_EPSILON): Likewise.
72527 (LDBL_EPSILON): Likewise.
72528 (FLT_MIN): Likewise.
72529 (DBL_MIN): Likewise.
72530 (LDBL_MIN): Likewise.
72531 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
72532 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
72533 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
72534 [ISO11] (FLT_HAS_SUBNORM): Likewise.
72535 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
72536 [ISO11] (DBL_DECIMAL_DIG): Likewise.
72537 [ISO11] (FLT_DECIMAL_DIG): Likewise.
72538 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
72539 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
72540 [ISO11] (FLT_TRUE_MIN): Likewise.
72541 [ISO11] (LDBL_TRUE_MIN): Likewise.
72542 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72543 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
72544 (SCHAR_MIN): Use macro-int-constant. Specify type.
72545 (SCHAR_MAX): Likewise.
72546 (UCHAR_MAX): Likewise.
72547 (CHAR_MIN): Likewise.
72548 (CHAR_MAX): Likewise.
72549 (MB_LEN_MAX): Use macro-int-constant.
72550 (SHRT_MIN): Use macro-int-constant. Specify type.
72551 (SHRT_MAX): Likewise.
72552 (USHRT_MAX): Likewise.
72553 (INT_MAX): Likewise.
72554 (INT_MIN): Use macro-int-constant. Specify type. Make upper
72555 bound negative.
72556 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
72557 bound with "U".
72558 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
72559 bound with "L".
72560 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
72561 bound negative. Suffix upper bound with "L".
72562 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
72563 bound with "UL".
72564 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
72565 Specify type.
72566 [C99-based standards] (LLONG_MAX): Likewise.
72567 [C99-based standards] (ULLONG_MAX): Likewise.
72568 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
72569 == 0.
72570 [ISO11] (max_align_t): Require type.
72571 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72572
72573 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
72574 from $CFLAGS, without defining away __attribute__ calls.
72575 (checknamespace): Use $CFLAGS_namespace.
72576
72577 * conform/conformtest.pl (@keywords): Only include C99 keywords
72578 for standards based on C99 or C11.
72579
72580 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
72581 Disable tests.
72582 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
72583 UNIX98]: Likewise.
72584
72585 * conform/conformtest.pl: Handle "macro-int-constant" and test for
72586 usability of symbols in #if.
72587
72588 * conform/conformtest.pl: If macro or constant types start
72589 "promoted:", expect the symbol to be of the following type
72590 promoted by the integer promotions.
72591
72592 * conform/conformtest.pl: Parse all "constant" and "macro" lines
72593 in one place. Also handle "macro-constant".
72594
72595 * conform/conformtest.pl: Only accept expected macro values with
72596 "==". Parse all "macro" lines in one place.
72597 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
72598
72599 * conform/conformtest.pl: Handle braced types on "constant" lines
72600 instead of handling "typed-constant".
72601 * conform/data/signal.h-data: Use "constant" instead of
72602 "typed-constant".
72603
72604 * conform/conformtest.pl: Handle "optional-" at start of lines in
72605 one place rather than duplicating several cases. Handle each
72606 format of "macro" line with initial "optional-".
72607
72608 * conform/conformtest.pl: Only accept expected constant or
72609 optional-constant values with "==". Parse all "constant" lines in
72610 one place. Parse all "optional-constant" lines in one place.
72611 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
72612 * conform/data/fmtmsg.h-data: Likewise.
72613 * conform/data/netinet/in.h-data: Likewise.
72614 * conform/data/tar.h-data: Likewise.
72615 * conform/data/limits.h-data: Use "==" form on "constant" and
72616 "optional-constant" lines.
72617
72618 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
72619 Use -std=c99 for XOPEN2K.
72620 (@knownproblems): Remove.
72621 (newtoken): Don't check %isknown.
72622
72623 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
72624 Do not expect macro.
72625 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
72626 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
72627 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
72628 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
72629 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
72630 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
72631 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
72632 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
72633 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
72634 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
72635 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
72636 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
72637 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
72638 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
72639 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
72640 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
72641 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
72642 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
72643 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
72644 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
72645 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
72646 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
72647 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
72648 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
72649 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
72650 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
72651 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
72652 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
72653 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
72654 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
72655 [XPG3] (acosh): Likewise.
72656 [XPG3] (asinh): Likewise.
72657 [XPG3] (atanh): Likewise.
72658 [XPG3] (cbrt): Likewise.
72659 [XPG3] (expm1): Likewise.
72660 [XPG3] (ilogb): Likewise.
72661 [XPG3] (log1p): Likewise.
72662 [XPG3] (logb): Likewise.
72663 [XPG3] (nextafter): Likewise.
72664 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
72665 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
72666 [XPG3] (remainder): Likewise.
72667 [XPG3] (rint): Likewise.
72668 [XPG3 || XPG4 || UNIX98] (round): Likewise.
72669 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
72670 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
72671 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
72672 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
72673 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
72674 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
72675 [UNIX98 || XOPEN2K] (scalb): Expect.
72676 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
72677 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
72678 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
72679 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
72680 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
72681 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
72682 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
72683 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
72684 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
72685 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
72686 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
72687 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
72688 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
72689 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
72690 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
72691 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
72692 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
72693 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
72694 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
72695 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
72696 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
72697 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
72698 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
72699 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
72700 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
72701 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
72702 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
72703 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
72704 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
72705 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
72706 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
72707 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
72708 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
72709 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
72710 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
72711 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
72712 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
72713 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
72714 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
72715 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
72716 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
72717 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
72718 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
72719 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
72720 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
72721 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
72722 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
72723 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
72724 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
72725 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
72726 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
72727 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
72728 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
72729 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
72730 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
72731 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
72732 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
72733 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
72734 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
72735 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
72736 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
72737 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
72738 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
72739 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
72740 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
72741 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
72742 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
72743 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
72744 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
72745 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
72746 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
72747 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
72748 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
72749 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
72750 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
72751 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
72752 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
72753 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
72754 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
72755 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
72756 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
72757 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
72758 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
72759 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
72760 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
72761 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
72762 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
72763 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
72764 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
72765 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
72766 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
72767 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
72768 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
72769 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
72770 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
72771 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
72772 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
72773 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
72774 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
72775 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
72776 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
72777 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
72778 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
72779 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
72780 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
72781 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
72782 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
72783 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
72784 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
72785 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
72786 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
72787 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
72788 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
72789 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
72790 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
72791 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
72792 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
72793 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
72794 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
72795 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
72796 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
72797 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
72798 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
72799 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
72800 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
72801 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
72802 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
72803 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
72804 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
72805 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
72806 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
72807 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
72808 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
72809 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
72810 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
72811 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
72812 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
72813
72814 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
72815 _XOPEN_SOURCE_EXTENDED for XPG4.
72816
72817 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
72818
72819 * Makeconfig (localtime): Remove variable.
72820 (inst_localtime-file): Likewise.
72821
72822 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
72823
72824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
72825 Update.
72826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72827 Update.
72828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
72829 Update.
72830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
72831 Update.
72832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
72833 Update.
72834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
72835 Update.
72836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72837 Update.
72838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
72839 Update.
72840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72841 Update.
72842
72843 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72844
72845 [BZ #2550]
72846 [BZ #2570]
72847 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
72848 comparisons to determine direction to adjust input.
72849 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
72850 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
72851 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
72852 Likewise.
72853 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
72854 Likewise.
72855 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
72856 Likewise.
72857 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
72858 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
72859 Likewise.
72860 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
72861 Likewise.
72862 * math/libm-test.inc (nexttoward_test): Add more tests.
72863
72864 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
72865
72866 [BZ #14040]
72867 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
72868 in version GLIBC_2.1, not GLIBC_2.0.
72869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
72870 Likewise.
72871
72872 2012-04-30 Joseph Myers <joseph@codesourcery.com>
72873
72874 [BZ #13942]
72875 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
72876 (1 - x) * (1 + x).
72877 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72878 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
72879 * math/libm-test.inc (acos_test): Add more tests.
72880 (asin_test): Likewise.
72881 * sysdeps/i386/fpu/libm-test-ulps: Update.
72882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72883
72884 [BZ #14034]
72885 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72886 of square root.
72887 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72888 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72889 * math/libm-test.inc (acos_test_tonearest): New function.
72890 (acos_test_towardzero): Likewise.
72891 (acos_test_downward): Likewise.
72892 (acos_test_upward): Likewise.
72893 (asin_test_tonearest): Likewise.
72894 (asin_test_towardzero): Likewise.
72895 (asin_test_downward): Likewise.
72896 (asin_test_upward): Likewise.
72897 (main): Call the new functions.
72898 * sysdeps/i386/fpu/libm-test-ulps: Update.
72899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72900
72901 [BZ #13884]
72902 [BZ #13924]
72903 * math/e_exp10.c: Include <float.h>.
72904 (__ieee754_exp10): Handle underflow here rather than multiplying
72905 large negative argument by M_LN10.
72906 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
72907 of __ieee754_expf.
72908 * math/e_exp10l.c: Include <float.h>.
72909 (__ieee754_exp10l): Handle underflow here rather than multiplying
72910 large negative argument by M_LN10l.
72911 * math/libm-test.inc (exp10_test): Add another test. Do not allow
72912 spurious overflow exception on underflow.
72913
72914 2012-04-29 Marek Polacek <polacek@redhat.com>
72915
72916 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
72917 (__fortify_function): New macro.
72918 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
72919 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
72920 __extern_always_inline.
72921 * libio/bits/stdio2.h: Likewise.
72922 * libio/bits/stdio.h: Likewise.
72923 * string/string.h: Likewise.
72924 * string/bits/string3.h: Likewise.
72925 * include/stdio.h: Likewise.
72926 * stdlib/bits/stdlib.h: Likewise.
72927 * stdlib/stdlib.h: Likewise.
72928 * rt/bits/mqueue2.h: Likewise.
72929 * rt/mqueue.h: Likewise.
72930 * posix/bits/unistd.h: Likewise.
72931 * posix/unistd.h: Likewise.
72932 * io/bits/poll2.h: Likewise.
72933 * io/bits/fcntl2.h: Likewise.
72934 * io/fcntl.h: Likewise.
72935 * io/sys/poll.h: Likewise.
72936 * misc/bits/syslog.h: Likewise.
72937 * misc/bits/syslog-ldbl.h: Likewise.
72938 * misc/sys/syslog.h: Likewise.
72939 * socket/bits/socket2.h: Likewise.
72940 * socket/sys/socket.h: Likewise.
72941 * debug/tst-chk1.c: Likewise.
72942 * wcsmbs/bits/wchar2.h: Likewise.
72943 * wcsmbs/bits/wchar-ldbl.h: Likewise.
72944 * wcsmbs/wchar.h: Likewise.
72945
72946 2012-04-29 Andreas Jaeger <aj@suse.de>
72947
72948 * Makerules (tests): Remove enable-check-abi protection.
72949 (check-abi-warn): Remove.
72950 (check-abi-%): Remove check-abi-warn usage.
72951
72952 * configure.in: Remove check-abi configure option.
72953 * configure: Regenerated.
72954 * config.make.in (enable-check-abi): Remove.
72955
72956 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
72957
72958 [BZ #14033]
72959 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
72960 double functions to double *_finite functions.
72961
72962 [BZ #13941]
72963 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
72964 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
72965 LDBL_MIN_EXP.
72966 * stdio-common/Makefile (tests): Add tst-sprintf3.
72967 * stdio-common/tst-sprintf3.c: New file.
72968
72969 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
72970 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
72971
72972 2012-04-28 Joseph Myers <joseph@codesourcery.com>
72973
72974 * conform/conformtest.pl: Remove duplicate typed-constant
72975 handling.
72976
72977 2012-04-28 David S. Miller <davem@davemloft.net>
72978
72979 * Makerules (%.abilist): Add vpath on sysdep_dirs.
72980 (check-abi-%): Remove AWK script prerequisite and explicit
72981 abilist directory.
72982 (check-abi): Rewrite to just diff the symlist with the abilist.
72983 (config-tls, config-abi-config): Delete, no longer used.
72984 (update-abi-%): Remove AWK script and explicit abilist directory.
72985 (update-abi): Rewrite to simply compare and conditionally copy the
72986 symlist and the sysdep abilist file. Remove update-abi-config
72987 checks.
72988 * abilist/ld.abilist: Remove.
72989 * abilist/libBrokenLocale.abilist: Remove.
72990 * abilist/libanl.abilist: Remove.
72991 * abilist/libcrypt.abilist: Remove.
72992 * abilist/libdl.abilist: Remove.
72993 * abilist/librt.abilist: Remove.
72994 * abilist/libthread_db.abilist: Remove.
72995 * abilist/libutil.abilist: Remove.
72996 * scripts/extract-abilist.awk: Remove.
72997 * scripts/merge-abilist.awk: Remove.
72998 * sysdeps/generic/libcidn.abilist: New file.
72999 * sysdeps/generic/libnss_compat.abilist: New file.
73000 * sysdeps/generic/libnss_db.abilist: New file.
73001 * sysdeps/generic/libnss_dns.abilist: New file.
73002 * sysdeps/generic/libnss_files.abilist: New file.
73003 * sysdeps/generic/libnss_hesiod.abilist: New file.
73004 * sysdeps/generic/libnss_nis.abilist: New file.
73005 * sysdeps/generic/libnss_nisplus.abilist: New file.
73006 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73007 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73008 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73009 file.
73010 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73011 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73012 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73013 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73014 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73015 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73016 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73017 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73018 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73019 file.
73020 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73021 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73022 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73023 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73024 file.
73025 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73026 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73027 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73028 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73029 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73030 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73031 file.
73032 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73033 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73034 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73035 file.
73036 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73038 New file.
73039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73040 New file.
73041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73042 New file.
73043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73044 New file.
73045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73046 New file.
73047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73048 New file.
73049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73050 New file.
73051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73052 New file.
73053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73054 New file.
73055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73056 New file.
73057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73058 New file.
73059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73060 New file.
73061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73062 New file.
73063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73064 file.
73065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73066 New file.
73067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73068 New file.
73069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73070 file.
73071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73072 New file.
73073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73074 New file.
73075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73076 file.
73077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73078 New file.
73079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73080 New file.
73081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73082 New file.
73083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73084 New file.
73085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73086 New file.
73087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73088 New file.
73089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73091 file.
73092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73093 New file.
73094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73095 file.
73096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73097 file.
73098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73099 file.
73100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73101 file.
73102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73103 file.
73104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73105 New file.
73106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73107 file.
73108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73109 file.
73110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73111 New file.
73112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73113 file.
73114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73116 file.
73117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73118 New file.
73119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73120 file.
73121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73122 file.
73123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73124 file.
73125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73126 file.
73127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73128 file.
73129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73130 New file.
73131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73132 file.
73133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73134 file.
73135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73136 New file.
73137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73138 file.
73139 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73140 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73141 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73142 file.
73143 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73144 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73145 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73146 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73147 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73148 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73149 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73150 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73151 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73152 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73155 file.
73156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73157 New file.
73158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73159 file.
73160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73161 file.
73162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73163 file.
73164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73165 file.
73166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73167 file.
73168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73169 New file.
73170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73171 New file.
73172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73173 file.
73174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73175 New file.
73176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73177 file.
73178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73180 file.
73181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73182 New file.
73183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73184 file.
73185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73186 file.
73187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73188 file.
73189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73190 file.
73191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73192 file.
73193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73194 New file.
73195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73196 New file.
73197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73198 file.
73199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73200 New file.
73201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73202 file.
73203
73204 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73205
73206 * conform/conformtest.pl: Fix typo in handling typed-constant from
73207 allow-header.
73208
73209 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73210
73211 * README: Cut down references to pre-2.6 Linux kernels and
73212 Linuxthreads. Update lists of configurations in libc and ports
73213 and sort alphabetically. Say "or newer" with Linux kernel version
73214 requirements.
73215
73216 * config.h.in [IS_IN_build]: Allow compiling without optimization.
73217
73218 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
73219
73220 [BZ #887]
73221 * math/libm-test.inc (logb_test_downward): New test to expose
73222 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73223 rounding mode.
73224
73225 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73226
73227 [BZ #14027]
73228 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73229 to be done.
73230 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73231 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73232
73233 2012-04-26 Joseph Myers <joseph@codesourcery.com>
73234
73235 * sysdeps/unix/i386/brk.S: Remove file.
73236 * sysdeps/unix/i386/dl-brk.S: Likewise.
73237 * sysdeps/unix/i386/pipe.S: Likewise.
73238 * sysdeps/unix/i386/sigreturn.S: Likewise.
73239 * sysdeps/unix/i386/syscall.S: Likewise.
73240 * sysdeps/unix/i386/vfork.S: Likewise.
73241 * sysdeps/unix/i386/wait.S: Likewise.
73242
73243 * sysdeps/unix/common/tcsendbrk.c: Move to ...
73244 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73245
73246 * configure.in (arm*-none*): Do not allow without
73247 --enable-hacker-mode.
73248 (netbsd*): Remove case setting base_os.
73249 (386bsd*): Likewise.
73250 (freebsd*): Likewise.
73251 (bsdi*): Likewise.
73252 (osf*): Likewise.
73253 (sunos*): Likewise.
73254 (ultrix*): Likewise.
73255 (newsos*): Likewise.
73256 (dynix*): Likewise.
73257 (*bsd*): Likewise.
73258 (sysv*): Likewise.
73259 (isc*): Likewise.
73260 (esix*): Likewise.
73261 (sco*): Likewise.
73262 (minix*): Likewise.
73263 (irix4*): Likewise.
73264 (irix6*): Likewise.
73265 (solaris[2-9]*): Likewise.
73266 (none): Likewise.
73267 * configure: Regenerated.
73268
73269 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73270
73271 [BZ #11521]
73272 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73273 overflow or cancellation in calculating denominator.
73274 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73275 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73276 down expression to avoid unexpected rounding in newer GCCs.
73277 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73278
73279 2012-04-26 David S. Miller <davem@davemloft.net>
73280
73281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73282 long-double compat symbols.
73283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73296
73297 2012-04-25 David S. Miller <davem@davemloft.net>
73298
73299 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73300 HWCAP_* values only after the memory barriers have been defined.
73301 (atomic_full_barrier): Define.
73302 (atomic_read_barrier): Define.
73303 (atomic_write_barrier): Define.
73304
73305 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
73306
73307 * shlib-versions: Add libgcc_s version information.
73308 * sysdeps/generic/libgcc_s.h: Remove.
73309 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73310 libgcc_s.h.
73311 * sysdeps/gnu/unwind-resume.c: Likewise.
73312 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73313
73314 2012-04-25 David S. Miller <davem@davemloft.net>
73315
73316 * sysdeps/unix/sparc/brk.S: Delete.
73317 * sysdeps/unix/sparc/dl-brk.S: Delete.
73318 * sysdeps/unix/sparc/pipe.S: Delete.
73319 * sysdeps/unix/sparc/sysdep.S: Delete.
73320 * sysdeps/unix/sparc/sysdep.h: Delete.
73321 * sysdeps/unix/sparc/vfork.S: Delete.
73322 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73323 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73324 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73325 (ret_ERRVAL, r0, r1, MOVE): Define.
73326 (JUMPTARGET): Remove.
73327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73328 sysdeps/unix/sparc/sysdep.h
73329 (ENTRY, END): Remove.
73330 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73331
73332 2012-04-25 Joseph Myers <joseph@codesourcery.com>
73333
73334 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73335 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73336 -DIS_IN_build.
73337
73338 * timezone/README: Update upstream location and email address for
73339 tzcode and tzdata.
73340 * timezone/zdump.c: Update from tzcode 2012b.
73341 * timezone/zic.c: Likewise.
73342
73343 * configure.in (libc_cv_as_needed): Remove test.
73344 * configure: Regenerated.
73345 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73346 conditional definition.
73347 [$(have-as-needed) != yes] (no-as-needed): Likewise.
73348 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73349 * config.make.in (have-as-needed): Remove variable.
73350
73351 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
73352 Paul Pluzhnikov <ppluzhnikov@google.com>
73353
73354 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73355 strings correctly.
73356
73357 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
73358
73359 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73360 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73361 * sysdeps/sh/strlen.S: Likewise.
73362
73363 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73364
73365 * sysdeps/unix/fork.S: Remove file.
73366 * sysdeps/unix/i386/fork.S: Likewise.
73367 * sysdeps/unix/sparc/fork.S: Likewise.
73368
73369 * sysdeps/unix/system.c: Remove file.
73370 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73371
73372 * sysdeps/unix/getegid.S: Remove file.
73373 * sysdeps/unix/geteuid.S: Likewise.
73374
73375 2012-04-24 Roland McGrath <roland@hack.frob.com>
73376
73377 * scripts/check-localplt.awk: New file.
73378 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73379 of diff.
73380 * scripts/data/localplt-generic.data: Add a comment.
73381
73382 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73383 NODE when __dir_mkfile failed.
73384 * sysdeps/mach/hurd/symlinkat.c: Likewise.
73385 Reported by Ludovic Courtès <ludo@gnu.org>.
73386
73387 2012-04-24 Andreas Jaeger <aj@suse.de>
73388
73389 * Makerules (common-clean): Also remove gen-as-const-headers
73390 files.
73391
73392 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73393
73394 * Makerules (native-compile): Do not change working directory for
73395 build. Use $(OUTPUT_OPTION) in command.
73396 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73397
73398 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73399
73400 [BZ #13886]
73401 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73402 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73403 * math/libm-test.inc (floor_test): Add more tests.
73404 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73405
73406 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73407
73408 * sysdeps/unix/getdents.c: Remove file.
73409 * sysdeps/unix/sysv/getdents.c: Likewise.
73410 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73411
73412 * sysdeps/unix/syscalls.list (madvise): Add syscall from
73413 sysdeps/unix/mman/syscalls.list.
73414 (mmap): Likewise.
73415 (mprotect): Likewise.
73416 (msync): Likewise.
73417 (munmap): Likewise.
73418 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73419 * sysdeps/unix/mman/syscalls.list: Remove.
73420 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73421
73422 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73423 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73424 * configure: Regenerated.
73425 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73426 $(libgcc_s_suffix).
73427 * config.make.in (libgcc_s_suffix): Remove variable.
73428
73429 2012-04-23 Joseph Myers <joseph@codesourcery.com>
73430
73431 * sysdeps/unix/sysv/gethostname.c: Move to ...
73432 * sysdeps/posix/gethostname.c: ... here.
73433
73434 * sysdeps/unix/execve.S: Remove file.
73435
73436 * sysdeps/unix/_exit.S: Remove file.
73437
73438 2012-04-23 Andreas Jaeger <aj@suse.de>
73439
73440 [BZ #13739]
73441 * manual/Makefile: Remove make dist support, there's no
73442 need for a stand-alone documentation tar ball.
73443 (TEXI2DVI): Define always, it's not in Makeconfig.
73444 (dist): Removed.
73445 (tar-it): Removed.
73446 (edition): Removed.
73447 (glibc-doc-$(edition).tar): Removed
73448 (%.Z): Removed.
73449 (%.gz): Removed.
73450 (%.uu): Removed.
73451 (ETAGS): Remove, it's in Makeconfig.
73452 (move-if-change): Remove, it's in Makeconfig.
73453
73454 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
73455
73456 [BZ #13970]
73457 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
73458 (strtod, strtof, strtold, strtol, strtoul, strtoq)
73459 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
73460 (strtod_l, strtof_l, strtold_l): Remove __wur.
73461 It is not necessarily an error to ignore strtol's return value.
73462 One can reliably look at the stored endptr to decide whether
73463 the number had valid syntax.
73464
73465 2012-04-21 Andreas Jaeger <aj@suse.de>
73466
73467 [BZ #13739]
73468 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
73469
73470 2012-04-21 Joseph Myers <joseph@codesourcery.com>
73471
73472 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
73473 * sysdeps/unix/sysv/Versions: Remove file.
73474
73475 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
73476
73477 [BZ #13927]
73478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73479
73480 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
73481
73482 [BZ #7064]
73483 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
73484 version from __vm86.
73485
73486 2012-04-20 Joseph Myers <joseph@codesourcery.com>
73487
73488 * sysdeps/unix/common/lxstat.c: Remove file.
73489 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
73490
73491 * sysdeps/unix/sysv/Makefile: Remove file.
73492
73493 * sysdeps/unix/sysv/direct.h: Remove file.
73494
73495 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
73496 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
73497 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
73498 * sysdeps/unix/sysv/bits/signum.h: Likewise.
73499 * sysdeps/unix/sysv/bits/stat.h: Likewise.
73500 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
73501 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
73502
73503 * sysdeps/unix/sysv/setrlimit.c: Remove file.
73504
73505 * sysdeps/unix/xmknod.c: Remove file.
73506 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
73507
73508 * sysdeps/unix/sysv/settimeofday.c: Remove file.
73509
73510 * sysdeps/unix/sysv/i386/time.S: Remove file.
73511
73512 * sysdeps/unix/fxstat.c: Remove file.
73513 * sysdeps/unix/xstat.c: Likewise.
73514 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
73515
73516 * sysdeps/unix/sysv/sigaction.c: Remove file.
73517
73518 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
73519 (sysdep_headers): Remove variable.
73520 [termio.h not in sysdep_headers] (generated): Likewise.
73521 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
73522 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
73523 * sysdeps/unix/sysv/tcdrain.c: Likewise.
73524 * sysdeps/unix/sysv/tcflow.c: Likewise.
73525 * sysdeps/unix/sysv/tcflush.c: Likewise.
73526 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
73527 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
73528 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
73529 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
73530 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
73531
73532 * sysdeps/unix/siglist.c: Remove file.
73533
73534 * sysdeps/unix/getppid.S: Remove file.
73535
73536 * sysdeps/unix/mkdir.c: Remove file.
73537 * sysdeps/unix/rmdir.c: Likewise.
73538
73539 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
73540
73541 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
73542 ERR_MAX value.
73543 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
73544 errlist-compat value.
73545
73546 2012-04-18 David S. Miller <davem@davemloft.net>
73547
73548 * sysdeps/generic/memcopy.h (reg_char): Delete.
73549 * debug/strcat_chk.c: Use char, not reg_char.
73550 * debug/strcpy_chk.c: Likewise.
73551 * debug/strncat_chk.c: Likewise.
73552 * debug/strncpy_chk.c: Likewise.
73553 * string/memchr.c: Likewise.
73554 * string/memrchr.c: Likewise.
73555 * string/rawmemchr.c: Likewise.
73556 * string/strcat.c: Likewise.
73557 * string/strchr.c: Likewise.
73558 * string/strchrnul.c: Likewise.
73559 * string/strcmp.c: Likewise.
73560 * string/strcpy.c: Likewise.
73561 * string/strncat.c: Likewise.
73562 * string/strncmp.c: Likewise.
73563 * string/strncpy.c: Likewise.
73564
73565 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73566
73567 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
73568 __builtin_memcopy is called when src and dest ranges are known to not
73569 overlap.
73570
73571 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73572
73573 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
73574 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
73575 fwd_align_merge macro call.
73576 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
73577 bwd_align_merge macro call.
73578 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73579
73580 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73581
73582 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
73583 bwd_align_merge macros.
73584 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
73585 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
73586 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73587
73588 2012-04-18 David S. Miller <davem@davemloft.net>
73589
73590 * sysdeps/sparc/sparc64/memcopy.h: Delete.
73591
73592 2012-04-18 Andreas Jaeger <aj@suse.de>
73593
73594 [BZ# 6794]
73595 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
73596 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
73597 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73598
73599 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
73600 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
73601 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73602
73603 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
73604 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
73605 Adjust for changed ldbl-128 files.
73606
73607 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
73608 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
73609 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73610
73611 2012-04-17 David S. Miller <davem@davemloft.net>
73612
73613 * sysdeps/sparc/sparc32/memcopy.h: Delete.
73614
73615 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
73616
73617 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
73618 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
73619 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
73620 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
73621 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
73622 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
73623
73624 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73625
73626 [BZ #6794]
73627 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
73628 * math/libm-test.inc: Add ilogb errno and exception tests.
73629 * math/w_ilogb.c: New file: ilogb wrapper.
73630 * math/w_ilogbf.c: New file: ilogbf wrapper.
73631 * math/w_ilogbl.c: New file: ilogbl wrapper.
73632 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
73633 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
73634 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
73635 exception being thrown with 0.0 as argument.
73636 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
73637 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
73638 exception being thrown with 0.0 as argument.
73639 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
73640 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73641 exception being thrown with 0.0 as argument.
73642 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
73643 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73644 exception being thrown with 0.0 as argument.
73645 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
73646 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
73647 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
73648 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
73649 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
73650 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
73651 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
73652 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
73653 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
73654
73655 2012-04-17 Petr Baudis <pasky@ucw.cz>
73656
73657 * include/sys/uio.h: Change __vector to __iovec to avoid clash
73658 with altivec.
73659
73660 2012-04-16 Marek Polacek <polacek@redhat.com>
73661
73662 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
73663
73664 2012-04-16 Marek Polacek <polacek@redhat.com>
73665
73666 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
73667 operands of fdivp instruction.
73668
73669 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
73670
73671 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
73672 * elf/tst-auditmod3b.c: Likewise.
73673 * elf/tst-auditmod4b.c: Likewise.
73674 * elf/tst-auditmod5b.c: Likewise.
73675 * elf/tst-auditmod6b.c: Likewise.
73676 * elf/tst-auditmod6c.c: Likewise.
73677 * elf/tst-auditmod7b.c: Likewise.
73678 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
73679 * sysdeps/x86_64/preconfigure.in: Likewise.
73680 * sysdeps/x86_64/preconfigure: Regenerated.
73681
73682 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
73683
73684 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
73685 __ILP32__.
73686
73687 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
73688
73689 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73690 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
73691
73692 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
73693
73694 [BZ #13973]
73695 * locale/iso-639.def: Fix gl language name. Spotted by
73696 Yaron Shahrabani.
73697
73698 2012-04-12 Roland McGrath <roland@hack.frob.com>
73699
73700 [BZ #2074]
73701 * libio/libio.h (__io_write_fn): Update comment.
73702
73703 2012-04-12 Petr Baudis <pasky@ucw.cz>
73704
73705 [BZ #2074]
73706 * stdio.texi (Hook Functions): The user provided writer function
73707 is not allowed to return -1.
73708
73709 2012-04-11 David S. Miller <davem@davemloft.net>
73710
73711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73712
73713 2012-04-11 Mike Frysinger <vapier@gentoo.org>
73714
73715 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
73716 Add a leading slash to rtkaio.
73717
73718 2012-04-11 Jim Meyering <meyering@redhat.com>
73719
73720 [BZ #11959]
73721 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
73722 It is not necessarily an error to ignore fwrite's return
73723 value. One can reliably use ferror to test for errors after
73724 the fact.
73725
73726 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
73727
73728 * bits/types.h (__snseconds_t): New type.
73729 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
73730
73731 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
73732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73733 (__SNSECONDS_T_TYPE): Likewise.
73734 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73735 (__SNSECONDS_T_TYPE): Likewise.
73736 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73737 (__SNSECONDS_T_TYPE): Likewise.
73738
73739 2012-04-10 Andreas Jaeger <aj@suse.de>
73740
73741 [BZ #2636]
73742 * manual/time.texi (Processor Time): Return type of times is
73743 elapsed real time since an arbitrary point in the past.
73744 (CPU Time): Move CLK_TCK from here...
73745 (Processor Time): ...to here. Correct description.
73746 * manual/conf.texi (Constants for Sysconf): Correct description of
73747 _SC_CLK_TCK.
73748
73749 2012-04-10 David S. Miller <davem@davemloft.net>
73750
73751 [BZ #13967]
73752 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
73753 where the is a gap between DT_REL(A) and DT_JMPREL.
73754
73755 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
73756
73757 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
73758 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73759 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73760
73761 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
73762
73763 * elf/dl-support.c (_dl_inhibit_cache): New variable.
73764 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
73765 (dl_main): Handle --inhibit-cache.
73766 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
73767 _dl_inhibit_cache.
73768 * elf/dl-load.c (_dl_map_object): Use it.
73769 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
73770
73771 2012-04-09 Joseph Myers <joseph@codesourcery.com>
73772
73773 [BZ #13872]
73774 * sysdeps/i386/fpu/e_powl.S (p78): New object.
73775 (__ieee754_powl): Saturate large exponents rather than testing for
73776 overflow of y*log2(x).
73777 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73778 * math/libm-test.inc (pow_test): Do not permit spurious overflow
73779 exceptions.
73780
73781 [BZ #11521]
73782 * math/s_ctan.c: Include <float.h>.
73783 (__ctan): Avoid internal overflow or cancellation in calculating
73784 denominator.
73785 * math/s_ctanf.c: Likewise.
73786 * math/s_ctanl.c: Likewise.
73787 * math/s_ctanh.c: Likewise.
73788 * math/s_ctanhf.c: Likewise.
73789 * math/s_ctanhl.c: Likewise.
73790 * math/libm-test.inc (ctan_test): Add more tests.
73791 (ctanh_test): Likewise.
73792 * sysdeps/i386/fpu/libm-test-ulps: Update.
73793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73794
73795 2012-04-09 Andreas Jaeger <aj@suse.de>
73796
73797 [BZ #6894]
73798 * manual/filesys.texi (Directory Entries): Mention that d_namlen
73799 is an optional BSD extension.
73800
73801 [BZ #10254]
73802 * manual/stdio.texi (Opening Streams): Document additional fopen
73803 parameters.
73804
73805 2012-04-09 Roland McGrath <roland@hack.frob.com>
73806
73807 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
73808 %eax without telling the compiler.
73809
73810 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
73811
73812 [BZ # 13963]
73813 * manual/install.texi: Use sourceware.org.
73814
73815 2012-04-09 Joseph Myers <joseph@codesourcery.com>
73816
73817 [BZ #13873]
73818 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
73819 (__ieee754_pow): Generate overflow and underflow using huge*huge
73820 and tiny*tiny rather than just returning constant infinity or zero
73821 for large exponents.
73822 * math/libm-test.inc (pow_test): Require overflow exceptions for
73823 applicable cases of large exponents.
73824
73825 [BZ #706]
73826 * sysdeps/i386/fpu/e_pow.S (p10): New object.
73827 (__ieee754_pow): Use iterative multiplication algorithm only for
73828 integer exponents with absolute value below 1024. Check for odd
73829 integer exponents when using algorithm for real exponents.
73830 * math/libm-test.inc (pow_test): Add more tests.
73831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73832
73833 2012-04-08 Joseph Myers <joseph@codesourcery.com>
73834
73835 [BZ #13705]
73836 * math/libm-test.inc (exp_test): Do not allow overflow exception
73837 on underflow test.
73838
73839 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
73840
73841 [BZ #13705]
73842 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
73843 instead of __kernel_standard_f.
73844
73845 2012-04-08 Mike Frysinger <vapier@gentoo.org>
73846
73847 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
73848 * sysdeps/x86_64/memset_chk.S: Likewise.
73849
73850 2012-04-08 Andreas Jaeger <aj@suse.de>
73851
73852 [BZ #10153]
73853 * manual/startup.texi (Environment Access): Describe return value
73854 for putenv and setenv.
73855
73856 [BZ #6895]
73857 * manual/filesys.texi (Directory Entries): Add description for
73858 DT_LNK.
73859
73860 [BZ #6890]
73861 * manual/filesys.texi (Directory Entries): Clarify that it's file
73862 system not operating system in the description of DT_UNKNOWN.
73863
73864 [BZ #6578]
73865 * manual/syslog.texi (closelog): Fix reference, it's openlog.
73866
73867 2012-04-08 Stephen Compall <s11@member.fsf.org>
73868
73869 [BZ #6649]
73870 * manual/llio.texi (Opening and Closing Files): Add cross
73871 reference to explain mode argument.
73872
73873 2012-04-07 Mike Frysinger <vapier@gentoo.org>
73874
73875 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
73876 * sysdeps/x86_64/memset_chk.S: Likewise.
73877
73878 2012-04-07 David S. Miller <davem@davemloft.net>
73879
73880 * elf/elf.h (R_SPARC_WDISP10): Define.
73881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
73882 R_SPARC_SIZE32.
73883 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
73884 R_SPARC_SIZE64 and R_SPARC_H34.
73885
73886 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
73887
73888 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
73889 conditions and remove no longer applicable assertion.
73890
73891 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
73892
73893 * bits/byteswap.h: Include <features.h>.
73894 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73895 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73896
73897 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
73898
73899 * bits/byteswap.h (__bswap_16): Removed.
73900 Include <bits/byteswap-16.h> to get __bswap_16.
73901 * sysdeps/i386/bits/byteswap.h: Likewise.
73902 * sysdeps/s390/bits/byteswap.h: Likewise.
73903 * sysdeps/x86_64/bits/byteswap.h: Likewise.
73904 * bits/byteswap-16.h: New file.
73905 * sysdeps/i386/bits/byteswap-16.h: Likewise.
73906 * sysdeps/s390/bits/byteswap-16.h: Likewise.
73907 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
73908 * string/Makefile (headers): Add bits/byteswap-16.h.
73909
73910 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
73911
73912 [BZ #13895]
73913 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
73914 extra indirection.
73915 * nss/Makefile (tests-static, tests): Add tst-nss-static.
73916 * nss/tst-nss-static.c: New.
73917
73918 2012-04-06 Robert Millan <rmh@gnu.org>
73919
73920 [BZ #6486]
73921 * manual/llio.texi (File Position Primitive): lseek
73922 refers to WHENCE when it really means OFFSET.
73923
73924 2012-04-06 Andreas Jaeger <aj@suse.de>
73925
73926 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
73927 strncmp declarations.
73928
73929 * abilist/libc.abilist: Add __poll and __ppoll.
73930
73931 2012-04-05 David S. Miller <davem@davemloft.net>
73932
73933 * scripts/check-local-headers.sh: Accept a host triplet in the
73934 path matched by the exclude regexp.
73935
73936 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
73937 definition.
73938 * sysdeps/powerpc/powerpc32/dl-machine.h
73939 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
73940 * sysdeps/s390/s390-32/dl-machine.h
73941 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73942 * sysdeps/sparc/sparc32/dl-machine.h
73943 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73944 * sysdeps/sparc/sparc64/dl-machine.h
73945 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73946
73947 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
73948 lazy binding.
73949 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
73950 undefined symbol errors.
73951
73952 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
73953 DT_NEEDED entries.
73954
73955 2012-04-05 Michael Matz <matz@suse.de>
73956
73957 [BZ #13592]
73958 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
73959
73960 2012-04-05 Andreas Jaeger <aj@suse.de>
73961
73962 [BZ #13908]
73963 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
73964 comment.
73965
73966 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73967
73968 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73969 which ROUND is no valid rounding mode.
73970
73971 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73972
73973 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
73974 read again.
73975 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
73976
73977 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73978
73979 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
73980 an exception using FPU order intentionally.
73981
73982 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73983
73984 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
73985 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
73986 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
73987 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
73988
73989 2012-04-05 Simon Josefsson <simon@josefsson.org>
73990
73991 [BZ #12340]
73992 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
73993 EINVAL when BUFLEN is too smal.
73994
73995 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
73996
73997 [BZ #13553]
73998 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
73999 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74000
74001 2012-04-03 Andreas Jaeger <aj@suse.de>
74002
74003 [BZ #13938]
74004 * manual/setjmp.texi (System V contexts): Fix sentence.
74005
74006 [BZ #13926]
74007 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74008 New macro for this case.
74009 [!__GNUC__] (__bswap_64): New inline function for this case.
74010 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74011 * bits/byteswap.h: Likewise.
74012 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74013 ull, guard with __GLIBC_HAVE_LONG_LONG.
74014
74015 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74016 __GLIBC_HAVE_LONG_LONG.
74017
74018 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74019 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74020
74021 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74022
74023 [BZ #13691]
74024 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74025 inptr and inend, rather than using last_ch.
74026
74027 2012-04-02 David S. Miller <davem@davemloft.net>
74028
74029 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74030 * stdio-common/printf-parse.h (read_int): Change return type to
74031 'int', return -1 on INT_MAX overflow.
74032 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74033 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
74034 overflows INT_MAX. Check for overflow of in-format-string precision
74035 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
74036 SIZE_MAX not INT_MAX for integer overflow test.
74037 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74038 skip the construct in the format string but do not record anything.
74039 * stdio-common/bug22.c: Adjust to test both width/prevision
74040 INT_MAX overflow as well as total length INT_MAX overflow. Check
74041 explicitly for proper errno values.
74042
74043 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
74044
74045 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74046 CHAR_MAX.
74047 * string/test-strcmp.c [! WIDE]: Likewise.
74048 * time/tst-mktime2.c: Likewise for INT_MAX.
74049 * string/test-string.h: #include <sys/param.h> for MIN.
74050
74051 * csu/init-first.c (__libc_init_first): Call __ctype_init.
74052 * sysdeps/i386/init-first.c (init): Likewise.
74053 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74054 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74055 * sysdeps/sh/init-first.c (init): Likewise.
74056
74057 2012-04-01 Ulrich Drepper <drepper@gmail.com>
74058
74059 * po/ru.po: Update from translation team.
74060 * po/vi.po: Likewise.
74061
74062 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
74063
74064 * resolv/nss_dns/dns-host.c: Merge copyright years.
74065
74066 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74067
74068 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74069 Optimize memcpy with prefetch if
74070 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
74071 src, dst pointers have unequal 16 byte alignments.
74072
74073 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
74074
74075 [BZ #13928]
74076 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74077 from a CNAME entry and return the minimum ttl for the query.
74078 (gaih_getanswer_slice): Likewise.
74079
74080 2012-03-30 Jeff Law <law@redhat.com>
74081
74082 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74083 due to long keys.
74084 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74085 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74086
74087 * resolv/nss_dns/dns-host.c: Update copyright year.
74088
74089 2012-03-30 Ulrich Drepper <drepper@gmail.com>
74090
74091 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74092 requests to save a system call. Fix check that all bytes are sent.
74093
74094 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74095 comments for sendmmsg.
74096
74097 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74098
74099 [BZ #13691]
74100 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74101 with only 1 character between 0x0041 and 0x01b0.
74102 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74103 * wcsmbs/tst-mbsnrtowcs.c: New file.
74104
74105 2012-03-29 David S. Miller <davem@davemloft.net>
74106
74107 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74108 small copies by hand.
74109
74110 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74111
74112 [BZ #13761]
74113 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74114 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74115 group memberships.
74116
74117 2012-03-28 David S. Miller <davem@davemloft.net>
74118
74119 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74120 that branches into memcpy.
74121 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74122 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74124 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74126 bits.
74127 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74128 implementation too.
74129 * sysdeps/sparc/mempcpy.S: New file.
74130
74131 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74132 the IFUNC routine in the libc case.
74133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74134
74135 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74136 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74137 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74138 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74139 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74140 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74141 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74142 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74143
74144 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74145 loop to 256 bytes instead of 64 bytes and fix test signedness.
74146
74147 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74148 * sysdeps/sparc/sparc32/Makefile: rather than here...
74149 * sysdeps/sparc/sparc64/Makefile: and here.
74150
74151 2012-03-28 Ulrich Drepper <drepper@gmail.com>
74152
74153 * malloc/mallocbug.c: Avoid warnings about unused variables.
74154
74155 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
74156
74157 [BZ #13760]
74158 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74159 in the right place. Discard and retry query if response is
74160 larger than input buffer size.
74161
74162 2012-03-28 Joseph Myers <joseph@codesourcery.com>
74163
74164 [BZ #369]
74165 [BZ #2678]
74166 [BZ #3866]
74167 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74168 x for large integer exponent.
74169 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74170 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
74171 sign of result as needed afterwards.
74172 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74173 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74174 result for underflowing pow the same as for overflow.
74175 (__kernel_standard_l): Handle powl overflow and underflow here
74176 rather than calling __kernel_standard.
74177 * math/libm-test.inc (pow_test): Add more tests.
74178
74179 [BZ #3868]
74180 [BZ #13879]
74181 [BZ #13910]
74182 [BZ #13911]
74183 [BZ #13912]
74184 [BZ #13913]
74185 [BZ #13915]
74186 [BZ #13916]
74187 [BZ #13917]
74188 [BZ #13918]
74189 [BZ #13919]
74190 [BZ #13920]
74191 [BZ #13921]
74192 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74193 * sysdeps/ieee754/k_standard.c: Include <float.h>.
74194 (__kernel_standard_l): New function.
74195 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74196 __kernel_standard.
74197 * math/w_acosl.c (__acosl): Likewise.
74198 * math/w_asinl.c (__asinl): Likewise.
74199 * math/w_atan2l.c (__atan2l): Likewise.
74200 * math/w_atanhl.c (__atanhl): Likewise.
74201 * math/w_coshl.c (__coshl): Likewise.
74202 * math/w_exp10l.c (__exp10l): Likewise.
74203 * math/w_exp2l.c (__exp2l): Likewise.
74204 * math/w_fmodl.c (__fmodl): Likewise.
74205 * math/w_hypotl.c (__hypotl): Likewise.
74206 * math/w_j0l.c (__j0l, __y0l): Likewise.
74207 * math/w_j1l.c (__j1l, __y1l): Likewise.
74208 * math/w_jnl.c (__jnl, __ynl): Likewise.
74209 * math/w_lgammal.c (__lgammal): Likewise.
74210 * math/w_log10l.c (__log10l): Likewise.
74211 * math/w_log2l.c (__log2l): Likewise.
74212 * math/w_logl.c (__logl): Likewise.
74213 * math/w_powl.c (__powl): Likewise.
74214 * math/w_remainderl.c (__remainderl): Likewise.
74215 * math/w_scalbl.c (sysv_scalbl): Likewise.
74216 * math/w_sinhl.c (__sinhl): Likewise.
74217 * math/w_sqrtl.c (__sqrtl): Likewise.
74218 * math/w_tgammal.c (__tgammal): Likewise.
74219 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74220 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74221 * math/libm-test.inc (acos_test): Add more tests.
74222 (acosh_test): Likewise.
74223 (asin_test): Likewise.
74224 (atanh_test): Likewise.
74225 (exp_test): Likewise.
74226 (exp10_test): Likewise.
74227 (exp2_test): Likewise.
74228 (expm1_test): Likewise.
74229 (lgamma_test): Likewise.
74230 (log_test): Likewise.
74231 (log10_test): Likewise.
74232 (log1p_test): Likewise.
74233 (log2_test): Likewise.
74234 (pow_test): Do not allow some spurious overflow exceptions.
74235 (sqrt_test): Add more tests.
74236 (tgamma_test): Likewise.
74237 (y0_test): Likewise.
74238 (y1_test): Likewise.
74239 (yn_test): Likewise.
74240
74241 2012-03-27 Anton Blanchard <anton@samba.org>
74242
74243 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74244 MAP_HUGETLB.
74245 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74246 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74247 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74248
74249 2012-03-27 David S. Miller <davem@davemloft.net>
74250
74251 * conform/Makefile: Run run-conformtest.sh using $(BASH).
74252
74253 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74254 have-as-vis3 check.
74255
74256 2012-03-27 Andreas Jaeger <aj@suse.de>
74257
74258 * sysdeps/x86_64/elf/configure.in: Moved to ...
74259 * sysdeps/x86_64/configure.in: ... here.
74260 * sysdeps/x86_64/elf/start.S: Moved to ...
74261 * sysdeps/x86_64/start.S: ... here.
74262 * sysdeps/x86_64/elf/configure: Delete.
74263
74264 * sysdeps/x86_64/configure.in: Merge contents from
74265 sysdeps/i386/configure.in (without i686 check).
74266
74267 * sysdeps/i386/elf/Versions: Merge into ...
74268 * sysdeps/i386/Versions: ... this.
74269 * sysdeps/i386/elf/Versions: Delete file.
74270 * sysdeps/i386/elf/start.S: Moved to ...
74271 * sysdeps/i386/start.S: ...here.
74272 * sysdeps/i386/elf/configure.in: Merge into...
74273 * sysdeps/i386/configure.in: ...here.
74274 * sysdeps/i386/elf/configure.in: Delete file.
74275 * sysdeps/i386/elf/configure: Delete file.
74276
74277 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74278 * debug/backtracesyms.c: ... here.
74279 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74280 * debug/backtracesymsfd.c: ... here.
74281 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74282 * sysdeps/generic/ifunc-sel.h: ... here.
74283
74284 * sysdeps/unix/i386/start.c: Delete file.
74285 * sysdeps/unix/sparc/start.c: Delete file.
74286 * sysdeps/unix/start.c: Delete file.
74287
74288 * sysdeps/sh/elf/configure.in: Moved to ...
74289 * sysdeps/sh/configure.in: ... here.
74290 * sysdeps/sh/elf/start.S: Moved to ...
74291 * sysdeps/sh/start.S: ... here.
74292 * sysdeps/sh/elf/configure: Delete file.
74293
74294 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74295 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74296 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74297 * sysdeps/powerpc/powerpc64/entry.h: ... here.
74298 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74299 * sysdeps/powerpc/powerpc64/start.S: here.
74300 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74301 * sysdeps/powerpc/powerpc64/Makefile: ... this.
74302 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74303 * sysdeps/powerpc/powerpc64/configure.in: ... this.
74304 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74305
74306 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74307 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74308 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74309 * sysdeps/powerpc/powerpc32/start.S: ... here.
74310 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74311 * sysdeps/powerpc/powerpc32/configure.in: ... this.
74312 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74313
74314 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74315 * sysdeps/powerpc/ifunc-sel.h: ... here.
74316 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74317 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74318
74319 * sysdeps/sparc/elf/configure.in: Moved to ...
74320 * sysdeps/sparc/configure.in: ... here.
74321 * sysdeps/sparc/elf/configure: Delete file.
74322 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74323 * sysdeps/sparc/sparc32/start.S: ... here.
74324 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74325 * sysdeps/sparc/sparc64/start.S: ... here.
74326 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74327 * sysdeps/sparc/sparc32/Makefile: ... this.
74328 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74329 * sysdeps/sparc/sparc64/Makefile: ... this.
74330
74331 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74332 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74333 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74334 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74335 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74336 * sysdeps/s390/s390-32/setjmp.S: ... here.
74337 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74338 * sysdeps/s390/s390-32/configure.in: ... here.
74339 * sysdeps/s390/s390-32/elf/configure: Delete file.
74340 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74341 * sysdeps/s390/s390-32/start.S: ... here.
74342
74343 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74344 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74345 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74346 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74347 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74348 * sysdeps/s390/s390-64/setjmp.S: ... here.
74349 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74350 * sysdeps/s390/s390-64/configure.in: ... here
74351 * sysdeps/s390/s390-64/elf/configure: Delete file.
74352 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74353 * sysdeps/s390/s390-64/start.S: ... here.
74354 * sysdeps/s390/s390-64/elf/configure: Delete.
74355
74356 * configure.in: Remove support for elf directories in sysdeps.
74357
74358 * configure: Regenerated.
74359 * sysdeps/i386/configure: Regenerated.
74360 * sysdeps/powerpc/powerpc32/configure: Regenerated.
74361 * sysdeps/powerpc/powerpc64/configure: Regenerated.
74362 * sysdeps/s390/s390-32/configure: Regenerated.
74363 * sysdeps/s390/s390-64/configure: Regenerated.
74364 * sysdeps/sh/configure: Regenerated.
74365 * sysdeps/sparc/configure: Regenerated.
74366 * sysdeps/x86_64/configure: Regenerated.
74367
74368 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
74369
74370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74371
74372 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74373 denormal result into account.
74374
74375 2012-03-25 Roland McGrath <roland@hack.frob.com>
74376
74377 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74378 Reported by Allan McRae <allan@archlinux.org>.
74379
74380 2012-03-23 Jeff Law <law@redhat.com>
74381
74382 * nss/getnssent.c (__nss_getent): Fix typo.
74383
74384 2012-03-23 David S. Miller <davem@davemloft.net>
74385
74386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74387
74388 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
74389
74390 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74391 to pad to uint64_t for each field.
74392 (dl_tls_index): Replace unsigned long with uint64_t.
74393
74394 2012-03-23 Daniel Jacobowitz <dmj@google.com>
74395 Paul Pluzhnikov <ppluzhnikov@google.com>
74396
74397 [BZ #6528]
74398 * grp/Makefile (otherlibs): Don't set it.
74399 * inet/Makefile (otherlibs): Likewise.
74400 * login/Makefile (otherlibs): Likewise.
74401 * nscd/Makefile (otherlibs): Likewise.
74402 * posix/Makefile (otherlibs): Likewise.
74403 * pwd/Makefile (otherlibs): Likewise.
74404 * rt/Makefile (otherlibs): Likewise.
74405 * sunrpc/Makefile (otherlibs): Likewise.
74406 * nss/Makefile (otherlibs): Likewise.
74407 Add libnss_files to routines and static-only-routines.
74408 ($(objpfx)getent): Remove rule.
74409 * resolv/Makefile: Add libnss_dns and libresolv to routines and
74410 static-only-routines.
74411
74412 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74413
74414 [BZ #13892]
74415 * math/s_cexp.c: Include <float.h>.
74416 (__cexp): Handle exp result overflowing not necessarily
74417 overflowing both real and imaginary parts of result.
74418 * math/s_cexpf.c: Likewise.
74419 * math/s_cexpl.c: Likewise.
74420 * math/libm-test.inc (cexp_test): Add more tests.
74421 * sysdeps/i386/fpu/libm-test-ulps: Update.
74422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74423
74424 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74425
74426 * include/link.h (ELFW): New macro.
74427 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74428 Replace ELF64_R_TYPE with ELFW(R_TYPE).
74429
74430 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74431
74432 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74433 with uint64_t.
74434
74435 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74436
74437 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74438 declaration.
74439 (struct La_x32_retval): Likewise.
74440
74441 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74442
74443 * sysdeps/x86_64/preconfigure.in: New file.
74444 * sysdeps/x86_64/preconfigure: New generated file.
74445
74446 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74447
74448 [BZ #13824]
74449 * math/e_exp2l.c: Include <float.h>.
74450 (__ieee754_exp2l): Handle overflow and underflow cases
74451 separately. Only pass fractional part of argument to
74452 __ieee754_expl.
74453 * math/libm-test.inc (exp2_test): Add more tests.
74454
74455 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
74456 negating x to take absolute value.
74457 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
74458 Likewise.
74459 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
74460 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
74461 Likewise.
74462 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
74463 computing low part if x was negated.
74464 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
74465
74466 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74467
74468 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
74469 la_x32_gnu_pltexit.
74470 (pltexit): Cast int_retval to ptrdiff_t.
74471 * elf/tst-auditmod3b.c: Likewise.
74472 * elf/tst-auditmod4b.c: Likewise.
74473 * elf/tst-auditmod5b.c: Likewise.
74474 * elf/tst-auditmod6b.c: Likewise.
74475 * elf/tst-auditmod6c.c: Likewise.
74476 * elf/tst-auditmod7b.c: Likewise.
74477
74478 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
74479 and x32_gnu_pltexit.
74480
74481 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
74482 __ELF_NATIVE_CLASS.
74483 (La_x32_regs): New macro.
74484 (La_x32_retval): Likewise.
74485 (la_x32_gnu_pltenter): New function prototype.
74486 (la_x32_gnu_pltexit): Likewise.
74487
74488 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
74489
74490 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
74491 exponent.
74492
74493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74494
74495 * configure.in (libc_cv_cc_nofma): Check for option to disable
74496 generation of FMA instructions.
74497 * configure: Regenerate.
74498 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
74499 * sysdeps/ieee754/dbl-64/Makefile: New file.
74500 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
74501 Remove brandred-fma4.
74502 (CFLAGS-brandred-fma4.c): Remove.
74503 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
74504 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
74505 define.
74506 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
74507 define.
74508
74509 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74510
74511 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74512 LLONG_MAX != LONG_MAX.
74513 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74514 (_fitoa_word): Likewise.
74515 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
74516 LLONG_MAX != LONG_MAX.
74517 * stdio-common/_itowa.h: Include <_itoa.h>.
74518 (_itowa_word): Use _ITOA_WORD_TYPE on value.
74519 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
74520 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
74521 only if not defined.
74522 (_ITOA_WORD_TYPE): Likewise.
74523 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74524 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
74525
74526 2012-03-21 David S. Miller <davem@davemloft.net>
74527
74528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74529
74530 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74531
74532 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
74533 of x86_64 when setting libc_cv_slibdir, libdir and
74534 libc_cv_localedir.
74535 * sysdeps/unix/sysv/linux/configure: Regenerated.
74536
74537 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74538
74539 * manual/lang.texi (Old Varargs): Remove section.
74540 (How Variadic): Update menu.
74541 (va_start): Do not mention varargs.h.
74542
74543 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74544 Joseph Myers <joseph@codesourcery.com>
74545
74546 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
74547 link test.
74548 * configure: Regenerated.
74549
74550 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74551
74552 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
74553 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
74554 conformtest.pl
74555
74556 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74557
74558 * NOTES: Remove.
74559 * Makefile (files-for-dist): Remove NOTES.
74560 (NOTES): Remove rule.
74561 * README: Don't refer to NOTES.
74562 * manual/creature.texi: Don't include macros.texi.
74563 * manual/intro.texi (creature.texi): Remove comment referring to
74564 NOTES.
74565
74566 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
74567 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
74568 * configure: Regenerated.
74569 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
74570 LIBC_TRY_CC_OPTION.
74571 (libc_cv_as_i686): Likewise.
74572 (libc_cv_cc_avx): Likewise.
74573 (libc_cv_cc_sse2avx): Likewise.
74574 (libc_cv_cc_fma4): Likewise.
74575 (libc_cv_cc_novzeroupper): Likewise.
74576 * sysdeps/i386/configure: Regenerated.
74577
74578 [BZ #13883]
74579 * sysdeps/i386/fpu/s_cexp.S: Remove.
74580 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74581 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74582 * math/libm-test.inc (cexp_test): Add more tests.
74583 * sysdeps/i386/fpu/libm-test-ulps: Update.
74584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74585
74586 2012-03-21 Allan McRae <allan@archlinux.org>
74587
74588 * timezone/Makefile: Do not install iso3166.tab and zone.tab
74589
74590 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74591
74592 [BZ #13871]
74593 * math/w_exp2.c: Do not include <float.h>.
74594 (o_threshold, u_threshold): Remove.
74595 (__exp2): Calculate result before checking finiteness and calling
74596 __kernel_standard.
74597 * math/w_exp2f.c: Likewise.
74598 * math/w_exp2l.c: Likewise.
74599 * math/libm-test.inc (exp2_test): Require overflow exception for
74600 1e6 input.
74601
74602 [BZ #3866]
74603 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
74604 range of signed 64-bit integers before using fistpll. Remove
74605 checks for whether integers fit in mantissa bits.
74606 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
74607 the range of signed 32-bit integers before using fistpl. Remove
74608 checks for whether integers fit in mantissa bits.
74609 * sysdeps/i386/fpu/e_powl.S (p64): New object.
74610 (__ieee754_powl): Test for y outside the range of signed 64-bit
74611 integers before using fistpll. Reduce 64-bit values to 63-bit
74612 ones as needed.
74613 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
74614 divide-by-zero is raised for zero to large negative powers.
74615 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
74616 (__ieee754_powl): Test for y outside the range of signed 64-bit
74617 integers before using fistpll. Reduce 64-bit values to 63-bit
74618 ones as needed.
74619 * math/libm-test.inc (pow_test): Add more tests.
74620
74621 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74622
74623 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
74624 <stdio-common/_itoa.h>.
74625 * debug/segfault.c: Likewise.
74626 * elf/dl-cache.c: Likewise.
74627 * elf/dl-minimal.c: Likewise.
74628 * elf/dl-misc.c: Likewise.
74629 * elf/dl-sysdep.c: Likewise.
74630 * elf/dl-version.c: Likewise.
74631 * elf/rtld.c: Likewise.
74632 * hurd/hurdsock.c: Likewise.
74633 * hurd/lookup-retry.c: Likewise.
74634 * malloc/malloc.c: Likewise.
74635 * malloc/mtrace.c: Likewise.
74636 * nscd/nscd_getgr_r.c: Likewise.
74637 * nscd/nscd_getpw_r.c: Likewise.
74638 * nscd/nscd_getserv_r.c: Likewise.
74639 * posix/getopt_init.c: Likewise.
74640 * posix/wordexp.c: Likewise.
74641 * stdio-common/_itoa.c: Likewise.
74642 * stdio-common/printf_fphex.c: Likewise.
74643 * stdio-common/vfprintf.c: Likewise.
74644 * string/_strerror.c: Likewise.
74645 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
74646 * sysdeps/i386/i686/hp-timing.h: Likewise.
74647 * sysdeps/mach/_strerror.c: Likewise.
74648 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
74649 * sysdeps/mach/hurd/sethostid.c: Likewise.
74650 * sysdeps/mach/hurd/xmknodat.c: Likewise.
74651 * sysdeps/mach/xpg-strerror.c: Likewise.
74652 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
74653 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
74654 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
74655 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
74656 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
74657 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
74658 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
74659 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
74660 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
74661 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
74662 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
74663 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
74664 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
74665 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
74666 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
74667 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
74668 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
74669 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
74670 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
74671 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
74672 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
74673
74674 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
74675
74676 * stdio-common/_itoa.h: Moved to ...
74677 * sysdeps/generic/_itoa.h: Here.
74678
74679 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
74680
74681 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
74682 instead of "_itoa.h" and "_itowa.h".
74683 * stdio-common/vfprintf.: Likewise.
74684
74685 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74686
74687 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
74688 <bits/wordsize.h>.
74689 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
74690 (__signbit): Likewise.
74691 (llrintf): Likewise.
74692 (llrint): Likewise.
74693
74694 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74695
74696 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
74697 __WORDSIZE != 64.
74698
74699 2012-03-20 Joseph Myers <joseph@codesourcery.com>
74700
74701 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
74702 OVERFLOW_EXCEPTION_OK.
74703 * math/libm-test.inc ("Philosophy"): Update comment about
74704 exception testing.
74705 (OVERFLOW_EXCEPTION): Define.
74706 (OVERFLOW_EXCEPTION_OK): Likewise.
74707 (INVALID_EXCEPTION_OK): Renumber.
74708 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74709 (IGNORE_ZERO_INF_SIGN): Likewise.
74710 (test_exceptions): Handle FE_OVERFLOW.
74711 (exp10_test): Expect overflow exceptions.
74712 (exp2_test): Likewise.
74713 (expm1_test): Likewise.
74714 (nextafter_test): Likewise.
74715 (pow_test): Likewise.
74716 (scalbn_test): Likewise.
74717 (scalbln_test): Likewise.
74718
74719 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74720
74721 * sysdeps/x86_64/bits/atomic.h
74722 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
74723 64bit integer.
74724 (atomic_exchange_acq): Likewise.
74725 (__arch_exchange_and_add_body): Likewise.
74726 (__arch_add_body): Likewise.
74727 (atomic_add_negative): Likewise.
74728 (atomic_add_zero): Likewise.
74729
74730 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74731
74732 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
74733 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
74734
74735 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74736
74737 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
74738 Check __x86_64__ instead of __WORDSIZE.
74739
74740 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74741
74742 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
74743
74744 2012-03-19 David S. Miller <davem@davemloft.net>
74745
74746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74747
74748 * sysdeps/sparc/fpu/fenv_private.h: New file.
74749 * sysdeps/sparc/fpu/math_private.h: Use it.
74750 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
74751 Remove.
74752 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
74753 (libc_feholdexcept_setroundl): Remove.
74754 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
74755 Remove.
74756 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
74757 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
74758
74759 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74760
74761 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
74762 int64_t instead of long int.
74763 (INSERT_WORDS64): Likewise.
74764
74765 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74766
74767 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
74768 _Unwind_GetCFA return to _Unwind_Ptr first.
74769
74770 2012-03-19 Joseph Myers <joseph@codesourcery.com>
74771
74772 [BZ #13629]
74773 * math/s_clog.c: Include <float.h>.
74774 (__clog): Scale large or subnormal inputs.
74775 * math/s_clogf.c: Likewise.
74776 * math/s_clogl.c: Likewise.
74777 * math/s_clog10.c: Include <float.h>.
74778 (M_LOG10_2): Define.
74779 (__clog10): Scale large or subnormal inputs.
74780 * math/s_clog10f.c: Likewise.
74781 * math/s_clog10l.c: Likewise.
74782 * math/libm-test.inc (clog_test): Add more tests.
74783 (clog10_test): Likewise.
74784 * sysdeps/i386/fpu/libm-test-ulps: Update.
74785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74786
74787 [BZ #11451]
74788 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
74789 x and y.
74790 * math/libm-test.inc (atan2_test): Add another test.
74791
74792 * Makerules (common-objdir-compile): Remove.
74793 * sysdeps/unix/Makefile (config-generated): Do not add
74794 $(unix-generated) to variable.
74795 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
74796 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
74797 Remove rule.
74798 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
74799 Likewise.
74800 [generic bits/local_lim.h] (before-compile): Do not append to
74801 variable.
74802 [generic bits/local_lim.h] (common-generated): Likewise.
74803 [generic sys/param.h] (before-compile): Do not append to variable.
74804 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
74805 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
74806 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
74807 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
74808 include.
74809 [generic sys/param.h] (sys/param.h-includes): Remove variable.
74810 [generic sys/param.h] (sys/param.h-includes): Remove rule.
74811 [generic sys/param.h] ($(addprefix
74812 $(common-objpfx),$(sys/param.h-includes))): Likewise.
74813 [generic sys/param.h] (common-generated): Do not append to
74814 variable.
74815 [generic sys/param.h] (sysdep_headers): Likewise.
74816 [generic bits/errno.h] (before-compile): Do not append to
74817 variable.
74818 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
74819 rule.
74820 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
74821 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
74822 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
74823 [generic bits/errno.h] (common-generated): Do not append to
74824 variable.
74825 [generic bits/ioctls.h] (before-compile): Do not append to
74826 variable.
74827 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
74828 rule.
74829 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
74830 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
74831 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
74832 rule.
74833 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
74834 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
74835 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
74836 [generic bits/ioctls.h] (common-generated): Do not append to
74837 variable.
74838 [generic sys/syscall.h] (syscall.h): Remove variable.
74839 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
74840 rule.
74841 [generic sys/syscall.h] (before-compile): Do not append to
74842 variable.
74843 [generic sys/syscall.h] (common-generated): Likewise.
74844 * sysdeps/unix/errnos-tmpl.c: Remove file.
74845 * sysdeps/unix/errnos.awk: Likewise.
74846 * sysdeps/unix/ioctls-tmpl.c: Likewise.
74847 * sysdeps/unix/ioctls.awk: Likewise.
74848 * sysdeps/unix/mk-local_lim.c: Likewise.
74849 * sysdeps/unix/snarf-ioctls: Likewise.
74850
74851 2012-03-19 Richard Henderson <rth@twiddle.net>
74852
74853 * sysdeps/i386/fpu/fenv_private.h: New file.
74854 * sysdeps/i386/fpu/math_private.h: Use it.
74855 (math_opt_barrier, math_force_eval): Remove.
74856 (libc_feholdexcept_setround_53bit): Remove.
74857 (libc_feupdateenv_53bit): Remove.
74858 * sysdeps/x86_64/fpu/math_private.h: Likewise.
74859 (math_opt_barrier, math_force_eval): Remove.
74860 (libc_feholdexcept): Remove.
74861 (libc_feholdexcept_setround): Remove.
74862 (libc_fetestexcept, libc_fesetenv): Remove.
74863 (libc_feupdateenv_test): Remove.
74864 (libc_feupdateenv, libc_feholdsetround): Remove.
74865 (libc_feresetround): Remove.
74866
74867 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
74868 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
74869
74870 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
74871 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
74872 (libc_feupdateenv_testl): New.
74873 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
74874 (libc_feupdateenv_testf): New.
74875 (libc_feupdateenv): Use libc_feupdateenv_test.
74876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
74877 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
74878
74879 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
74880 (libc_feholdsetroundf, libc_feholdsetroundl): New.
74881 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
74882 (libc_feresetround_noex): New.
74883 (libc_feresetround_noexf): New.
74884 (libc_feresetround_noexl): New.
74885 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
74886 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
74887 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
74888 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
74889 SET_RESTORE_ROUND.
74890 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
74891 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
74892 (__cos): Likewise.
74893 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
74894 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
74895 SET_RESTORE_ROUND_NOEX.
74896 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
74897 SET_RESTORE_ROUND_NOEXF.
74898 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
74899 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
74900 (libc_feholdsetroundf): New.
74901 (libc_feresetround, libc_feresetroundf): New.
74902
74903 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
74904 (libc_feholdexcept_setround_53bit): Convert from macro to function.
74905 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
74906
74907 * sysdeps/generic/math_private.h: Include <fenv.h>.
74908 (default_libc_feholdexcept): New.
74909 (default_libc_feholdexcept_setround): New.
74910 (default_libc_fesetenv, default_libc_feupdateenv): New.
74911 (libc_feholdexcept): Only define if undefined.
74912 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
74913 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
74914 (libc_feholdexcept_setroundl): Likewise.
74915 (libc_feholdexcept_setround_53bit): Likewise.
74916 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
74917 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
74918 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
74919 (libc_feupdateenv_53bit): Likewise.
74920 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
74921 (libc_feholdexcept): Convert from macro to inline function.
74922 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
74923 (libc_fesetenv, libc_feupdateenv): Likewise.
74924
74925 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
74926 not previously defined.
74927 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
74928 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
74929 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
74930 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
74931 * sysdeps/ieee754/flt-32/math_private.h: New file.
74932 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
74933 math_private.h below SET_FLOAT_WORD.
74934 (__isnan, __isinf_ns, __finite): Remove.
74935 (__isnanf, __isinf_nsf, __finitef): Remove.
74936
74937 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
74938
74939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74940
74941 2012-03-17 David S. Miller <davem@davemloft.net>
74942
74943 [BZ #6471]
74944 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
74945 for 2.16.
74946
74947 2012-03-16 David S. Miller <davem@davemloft.net>
74948
74949 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74950 warnings.
74951
74952 [BZ #6471]
74953 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
74954 properly.
74955 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
74956 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
74957 sysdep_routines when subdir is sysvipc.
74958 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
74959 __getshmlba helper.
74960
74961 * sysdeps/sparc/fpu/libm-test/ulps: Update.
74962
74963 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74964
74965 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
74966 [__LP64__].
74967
74968 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74969
74970 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
74971 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
74972 (__lround): Renamed to ...
74973 (__llround): This. Replace long int with long long int.
74974 Define lround functions as aliases of llround functions.
74975 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
74976
74977 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74978
74979 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
74980 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
74981 adresses to uintptr_t. Replace "long int" and "unsigned long
74982 int" with "greg_t" on va_arg.
74983
74984 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74985
74986 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
74987 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
74988
74989 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
74990 Move e_machine check before EI_CLASS check. Handle x32
74991 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
74992 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
74993 SKIP_EM_IA_64 and include
74994 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
74995
74996 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
74997 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
74998 (add_system_dir): New macro.
74999
75000 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75001 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75002
75003 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75004
75005 [BZ #2551]
75006 [BZ #2552]
75007 [BZ #2553]
75008 [BZ #2554]
75009 [BZ #2562]
75010 [BZ #2563]
75011 [BZ #2565]
75012 [BZ #2566]
75013 [BZ #2576]
75014 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75015 (y0): Likewise.
75016 * math/w_j0f.c (j0f): Likewise.
75017 (y0f): Likewise.
75018 * math/w_j0l.c (__j0l): Likewise.
75019 (__y0l): Likewise.
75020 * math/w_j1.c (j1): Likewise.
75021 (y1): Likewise.
75022 * math/w_j1f.c (j1f): Likewise.
75023 (y1f): Likewise.
75024 * math/w_j1l.c (__j1l): Likewise.
75025 (__y1l): Likewise.
75026 * math/w_jn.c (jn): Likewise.
75027 (yn): Likewise.
75028 * math/w_jnf.c (jnf): Likewise.
75029 (ynf): Likewise.
75030 * math/w_jnl.c (__jnl): Likewise.
75031 (__ynl): Likewise.
75032 * math/libm-test.inc (j0_test): Add more tests.
75033 (j1_test): Likewise.
75034 (jn_test): Likewise. Add trailing semicolon to existing test.
75035 (y0_test): Likewise.
75036 (y1_test): Likewise.
75037 * sysdeps/i386/fpu/libm-test-ulps: Update.
75038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75039
75040 [BZ #13851]
75041 [BZ #13854]
75042 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75043 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75044 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75045 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75046 (__tanl): Set errno for infinite argument.
75047 * sysdeps/i386/fpu/mptan.c: Remove.
75048 * sysdeps/i386/fpu/s_tan.S: Likewise.
75049 * sysdeps/i386/fpu/s_tanl.S: Likewise.
75050 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75051 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75052 * math/libm-test.inc (tan_test): Add more tests and enable more
75053 tests for double and long double.
75054 * sysdeps/i386/fpu/libm-test-ulps: Update.
75055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75056
75057 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
75058
75059 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75060 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75061
75062 2012-03-16 Roland McGrath <roland@hack.frob.com>
75063
75064 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75065 * configure.in: Use it for both main tree and add-ons.
75066 * configure: Regenerated.
75067
75068 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75069
75070 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75071
75072 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75073
75074 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75075 in comment.
75076
75077 [BZ #13851]
75078 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75079 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75080 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75081 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75082 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75083 infinite argument.
75084 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75085 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75086 != 0 for prec == 2.
75087 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75088 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75089 * sysdeps/i386/fpu/s_cosl.S: Likewise.
75090 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75091 * sysdeps/i386/fpu/s_sinl.S: Likewise.
75092 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75093 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75094 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75095 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75096 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75097 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75098 * math/libm-test.inc (cos_test): Add more tests and enable more
75099 tests for long double.
75100 (sin_test): Likewise.
75101 (sincos_test): Likewise.
75102 * sysdeps/i386/fpu/libm-test-ulps: Update.
75103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75104
75105 2012-03-16 David S. Miller <davem@davemloft.net>
75106
75107 * sysdeps/sparc/fpu/math_private.h: New file.
75108
75109 2012-03-15 David S. Miller <davem@davemloft.net>
75110
75111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75112 file.
75113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75115 file.
75116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75121 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75122 sysdep routines.
75123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75124
75125 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75126 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75127
75128 * sysdeps/sparc/sparc-ifunc.h: New file.
75129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75130 sparc-ifunc.h
75131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75133 Likewise.
75134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75135 Likewise.
75136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75140 Likewise.
75141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75146 Likewise.
75147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75148 Likewise.
75149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75155 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75156 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75169 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75170 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75173
75174 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75175
75176 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75177 scaling.
75178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75179
75180 2012-03-15 Andreas Jaeger <aj@suse.de>
75181
75182 [BZ #13852]
75183 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75184 ieee754/flt-32 implementation for sin, cos and sincos.
75185 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75186 * sysdeps/i386/fpu/s_cosf.S: Likewise.
75187 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75188 * sysdeps/i386/fpu/s_sinf.S: Likewise.
75189 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75190 ieee754/flt-32 implementation for tan.
75191
75192 * math/libm-test.inc (cos_test): Enable some large input tests for
75193 float as well
75194 (sin_test): Likewise.
75195 (sincos_test): Likewise.
75196 (tan_test): Add tests for large input.
75197
75198 * sysdeps/i386/fpu/libm-test-ulps: Update.
75199
75200 2012-03-15 Andreas Jaeger <aj@suse.de>
75201
75202 [BZ #13658]
75203 * math/libm-test.inc (cos_test): Add more test cases.
75204 (sin_test): Likewise.
75205 (sincos_test): Likewise.
75206
75207 2012-03-15 Andreas Jaeger <aj@suse.de>
75208
75209 [BZ #13837]
75210 * math/libm-test.inc (cos_test): Add a test case for large input
75211 value.
75212 (sin_test): Likewise.
75213 (sincos_test): Likewise.
75214
75215 2012-03-15 Andreas Jaeger <aj@suse.de>
75216 Joseph Myers <joseph@codesourcery.com>
75217
75218 [BZ #13658]
75219 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75220 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75221 * sysdeps/i386/fpu/branred.c: Likewise.
75222 * sysdeps/i386/fpu/dosincos.c: Likewise.
75223 * sysdeps/i386/fpu/mpa.c: Likewise.
75224 * sysdeps/i386/fpu/s_cos.S: Likewise.
75225 * sysdeps/i386/fpu/s_sin.S: Likewise.
75226 * sysdeps/i386/fpu/s_sincos.S: Likewise.
75227 * sysdeps/i386/fpu/sincos32.c: Likewise.
75228
75229 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75230 Define.
75231 (libc_feupdateenv_53bit): Define.
75232 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75233 Define.
75234 (libc_feupdateenv_53bit): Define.
75235
75236 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75237 53 bit (without extend i386 double precision).
75238
75239 * math/libm-test.inc (sincos_test): Add tests for large input.
75240 (sin): Likewise.
75241 (cos): Likewise.
75242
75243 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75244
75245 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75246
75247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75248
75249 2012-03-15 David S. Miller <davem@davemloft.net>
75250
75251 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75252 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75253 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75254 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75267 file.
75268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75270 file.
75271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75273 file.
75274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75276 file.
75277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75278 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75279 fmin/fmax sysdep routines.
75280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75281
75282 2012-03-14 David S. Miller <davem@davemloft.net>
75283
75284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75290 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75291 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75306 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75307 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75309 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75310 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75311 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75312 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75313 routines.
75314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75315 file.
75316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75318 file.
75319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75321 file.
75322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75324 file.
75325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75327 file.
75328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75330 file.
75331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75332 file.
75333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75334 file.
75335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75336 file.
75337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75338 New file.
75339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75340 file.
75341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75342 file.
75343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75345 file.
75346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75348 file.
75349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75351 file.
75352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75354 VIS3 routines.
75355
75356 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75357 New file.
75358
75359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75360
75361 * sysdeps/sparc/configure.in: New file.
75362 * sysdeps/sparc/configure: Generate.
75363 * configure.in (libc_cv_sparc_as_vis3): Substitute.
75364 * configure: Regenerate.
75365 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75366 * config.make.in (have-as-vis3): New.
75367 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75368 available use -Av9d instead of -Av9a.
75369 * sysdeps/sparc/sparc64/Makefile: Likewise.
75370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75372 New file.
75373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75374 file.
75375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75376 New file.
75377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75378 file.
75379 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75381 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75384
75385 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75386 fzeros/fnegs to load 0x80000000 into a float register instead of
75387 using the stack.
75388 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75389
75390 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75391
75392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75393 bits/syscall.h.
75394 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75395 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75396 ($(inst_includedir)/bits/syscall.h): Remove rule.
75397 ($(objpfx)bits/syscall.d): Include instead of
75398 $(objpfx)syscall-list.d.
75399 (generated): Change syscall-list.h and syscall-list.d to
75400 bits/syscall.h and bits/syscall.d.
75401
75402 2012-03-14 Roland McGrath <roland@hack.frob.com>
75403
75404 [BZ #13846]
75405 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75406
75407 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75408
75409 [BZ #13841]
75410 * math/s_csqrt.c: Include <float.h>.
75411 (__csqrt): Scale large or subnormal inputs.
75412 * math/s_csqrtf.c: Likewise.
75413 * math/s_csqrtl.c: Likewise.
75414 * math/libm-test.inc (csqrt_test): Add more tests.
75415 * sysdeps/i386/fpu/libm-test-ulps: Update.
75416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75417
75418 [BZ #13840]
75419 * math/libm-test.inc (hypot_test): Add more tests.
75420
75421 2012-03-13 David S. Miller <davem@davemloft.net>
75422
75423 [BZ #13840]
75424 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75425 double-precision for the calculation instead of scaling.
75426
75427 2012-03-13 Joseph Myers <joseph@codesourcery.com>
75428
75429 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75430 manipulate bits before adding and subtracting TWO52[sx].
75431 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75432 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75433 Likewise.
75434 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75435
75436 2012-03-13 David S. Miller <davem@davemloft.net>
75437
75438 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75439 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75440 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
75441 rtld-global-offsets.h
75442 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75443
75444 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
75445 large parameters.
75446
75447 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
75448
75449 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
75450 'err' in the ifdef scope in which it is actually used.
75451
75452 * nss/nss_db/db-init.c: Include string.h
75453
75454 2012-03-12 David S. Miller <davem@davemloft.net>
75455
75456 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75457 masking out of the most significant byte of random value used.
75458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75459 Fix coding style in previous change.
75460
75461 * sysdeps/unix/sysv/linux/kernel-features.h
75462 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
75463 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
75464 expression.
75465 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
75466 later.
75467
75468 2012-03-11 David S. Miller <davem@davemloft.net>
75469
75470 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
75471 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
75472 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
75473 for 'resultvar' otherwise things get truncated on 64-bit.
75474
75475 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75476 Fix masking out of the most significant byte of random value used.
75477
75478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75479
75480 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
75481
75482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75483
75484 2012-03-09 David S. Miller <davem@davemloft.net>
75485
75486 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
75487 variables with appropriate CPP guards.
75488 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
75489 from the frame pointer, not the stack pointer. Correct layout
75490 comments. Fix test on resulting framesize and the management of
75491 the outregs buffer for pltexit. Preserve floating point return
75492 values across _dl_call_pltexit call.
75493 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
75494 framesize and the management of the outregs buffer for pltexit.
75495 Preserve floating point return values across _dl_call_pltexit
75496 call.
75497 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
75498 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
75499 (la_sparc64_gnu_pltexit): New functions.
75500 (print_exit): Fix format string for return register value.
75501
75502 2012-03-10 Joseph Myers <joseph@codesourcery.com>
75503
75504 * sunrpc/Makefile (others): Add rpcgen.
75505 ($(objpfx)rpcgen): Remove special build rule and dependency on
75506 libc.
75507 * sunrpc/rpcgen.c: New file.
75508
75509 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
75510
75511 [BZ #13673]
75512 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
75513 * stdio-common/bug-vfprintf-nargs.c: Likewise.
75514 * sysdeps/i386/crti.S: Likewise.
75515 * sysdeps/i386/crtn.S: Likewise.
75516 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
75517 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
75518 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
75519 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
75520 * sysdeps/sh/crti.S: Likewise.
75521 * sysdeps/sh/crtn.S: Likewise.
75522 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75523
75524 [BZ #13673]
75525 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
75526 with URL.
75527 * locale/programs/locfile-kw.gperf: Likewise.
75528 * locale/programs/charmap-kw.h: Regenerated.
75529 * locale/programs/locfile-kw.h: Likewise.
75530
75531 [BZ #13673]
75532 * intl/plural.y: Replace FSF snail mail address with URL.
75533 * intl/plural.c: Regenerated.
75534
75535 2012-03-09 Richard Henderson <rth@twiddle.net>
75536
75537 * include/math_private.h: Remove file.
75538 * math/math_private.h: Move file ...
75539 * sysdeps/generic/math_private.h: ... here.
75540
75541 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
75542 * sysdeps/powerpc/fpu/math_private.h: Likewise.
75543 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75544
75545 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
75546 and <math_private.h>.
75547 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75548 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75549 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75550 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75551 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75552 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
75553 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75554 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75555 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75556 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75557 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75558 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75559 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75560 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75561 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75562 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75563 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75564 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75565 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75566 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75567 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75568 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75569 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75570 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75571 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
75572 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75573 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75574 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75575 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75576 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75577 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75578 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75579 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
75580 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75581 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75582 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75583 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75584 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75585 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75586 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75587 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
75588 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75589 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75590 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
75591 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
75592 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75593 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
75594 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
75595 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75596 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75597 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
75598 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
75599 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
75600 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75601 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
75602 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75603 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75604 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
75605 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
75606 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
75607 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75608 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
75609 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75610 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75611 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
75612 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75613 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75614 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75615 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
75616 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
75617 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
75618 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75619 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
75620 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75621 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
75622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
75623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
75624 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75625 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
75626 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
75627 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
75628 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
75629 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
75630 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75631 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75632 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
75633 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
75634 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
75635 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75636 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75637 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75638 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75639 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75640 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75641 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75642 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75643 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75644 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75645 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75646 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75647 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75648 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75649 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75650 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75651 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75652 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75653 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75654 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75655 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75656 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75657 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75658 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75659 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75660 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75661 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
75662 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75663 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75664 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75665 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75666 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75667 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75668 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75669 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75670 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
75671 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75672 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75673 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75674 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
75675 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75676 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
75677 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
75678 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75679 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75680 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
75681 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
75682 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75683 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75684 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75685 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
75686 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75687 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75688 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75689 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75690 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
75691 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
75692 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75693 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75694 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75695 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
75696 * sysdeps/ieee754/k_standard.c: Likewise.
75697 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75698 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75699 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75700 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75701 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75702 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75703 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75704 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75705 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75706 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75707 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75708 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75709 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75710 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75711 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75712 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75713 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
75714 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75715 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75716 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
75717 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
75718 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
75719 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75720 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75721 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
75722 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
75723 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75724 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75725 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75726 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75727 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
75728 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75729 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75730 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75731 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
75732 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75733 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75734 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
75735 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
75736 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75737 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
75738 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
75739 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
75740 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75741 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
75742 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
75743 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75744 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75745 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75746 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75747 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75748 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
75749 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75750 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
75751 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75752 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75753 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
75754 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
75755 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75756 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75757 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75758 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
75759 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75760 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75761 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75762 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75763 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75764 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75765 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75766 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75767 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75769 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75770 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75771 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75773 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
75774 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75775 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75776 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
75777 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
75778 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
75779 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75780 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75781 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
75782 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75783 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75784 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
75785 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75786 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75787 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
75788 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75789 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
75790 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
75791 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75792 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75793 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
75794 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
75795 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
75796 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
75797 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75798 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75799 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75800 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75801 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
75802 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75803 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75804 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
75805 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
75806 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75807 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75808 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75809 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75810 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75811 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75812 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75813 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75814 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75815 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75816 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75817 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75818 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75819 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75820 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75821 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75822 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
75823 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75824 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75825 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75826 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75827 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75828 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75829 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75830 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
75831 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75832 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75833 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
75834 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
75835 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75836 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
75837 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
75838 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75839 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
75840 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
75841 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75842 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75843 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75844 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75845 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75846 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
75847 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75848 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75849 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75850 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75851 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
75852 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
75853 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75854 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75855 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75856 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
75857 * sysdeps/ieee754/s_lib_version.c: Likewise.
75858 * sysdeps/ieee754/s_matherr.c: Likewise.
75859 * sysdeps/ieee754/s_signgam.c: Likewise.
75860 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75861 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75862 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
75863 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
75864 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
75865 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75866 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
75867 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
75868 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
75869 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
75870 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
75871 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
75872 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75873 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75874 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
75875 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
75876 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
75877 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
75878 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
75879 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75880 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75881
75882 2012-03-09 Joseph Myers <joseph@codesourcery.com>
75883
75884 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
75885 * sunrpc/rpc_main.c: Likewise.
75886 * sunrpc/rpc_svcout.c: Likewise.
75887
75888 2012-03-09 David S. Miller <davem@davemloft.net>
75889
75890 * include/math_private.h: New file.
75891
75892 2012-03-09 Joseph Myers <joseph@codesourcery.com>
75893
75894 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
75895 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
75896 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
75897 from <bits/socket_type.h>.
75898 (enum __socket_type): Don't define here.
75899 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
75900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75901 bits/socket_type.h.
75902
75903 [BZ #13566]
75904 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
75905 checking __USE_GNU.
75906
75907 * Makerules ($(inst_includedir)/%.h): New rule.
75908 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
75909 (install-others): Remove variable setting.
75910 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
75911
75912 2012-03-08 Richard Henderson <rth@twiddle.net>
75913
75914 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
75915 from macro to inline function; merge with the
75916 !__LIBC_INTERNAL_MATH_INLINES version.
75917 (__ieee754_sqrtf): Likewise.
75918
75919 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
75920 to inline function.
75921 (__rintf, __floor, __floorf): Likewise.
75922
75923 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
75924 macro to inline function.
75925 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
75926
75927 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
75928 not <math/math_private.h>.
75929
75930 2012-03-08 David S. Miller <davem@davemloft.net>
75931
75932 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
75933 copyright year.
75934 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
75935
75936 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
75937
75938 * resolv/gai_misc.c (handle_requests): Fix struct timespec
75939 normalization.
75940 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
75941 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
75942
75943 2012-03-08 Ulrich Drepper <drepper@gmail.com>
75944
75945 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
75946 be defined individually, they must be defined as a block. Define
75947 S for printing a string instead of hidint the different by using a
75948 macro for adding the 'l'.
75949 * stdio-common/tst-fphex-wide.c: Adjust.
75950
75951 2012-03-07 Marek Polacek <polacek@redhat.com>
75952
75953 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
75954
75955 2012-03-08 Marek Polacek <polacek@redhat.com>
75956
75957 [BZ #13806]
75958 * stdio-common/Makefile (tests): Add tst-fphex-wide.
75959 * stdio-common/tst-fphex.c: Define a few macros to make the
75960 test reusable. Use them.
75961 * stdio-common/tst-fphex-wide.c: New file.
75962
75963 2012-03-08 Joseph Myers <joseph@codesourcery.com>
75964
75965 [BZ #6911]
75966 * manual/macros.texi (gnusystems): New macro.
75967 (nongnusystems): Likewise.
75968 (gnulinuxhurdsystems): Likewise.
75969 (gnuhurdsystems): Likewise..
75970 (gnulinuxsystems): Likewise.
75971 * manual/charset.texi: Use new macros or @theglibc{} to refer to
75972 variants of the GNU system, not "GNU system".
75973 * manual/conf.texi: Likewise.
75974 * manual/errno.texi: Likewise. Update example of errno macro
75975 expansion.
75976 * manual/filesys.texi: Likewise.
75977 (getumask): Document as specific to GNU/Hurd.
75978 * manual/install.texi: Likewise. Reword some references to
75979 GNU/Linux.
75980 * manual/intro.texi: Likewise.
75981 * manual/io.texi: Likewise.
75982 (File Name Portability): Detail which constraints are inapplicable
75983 to all GNU systems and which are only inapplicable to GNU/Hurd.
75984 * manual/job.texi: Likewise.
75985 * manual/llio.texi: Likewise.
75986 (O_NOCTTY): Document as present on GNU/Linux.
75987 * manual/maint.texi: Likewise.
75988 * manual/memory.texi: Likewise.
75989 * manual/pattern.texi: Likewise.
75990 * manual/pipe.texi: Likewise.
75991 * manual/process.texi: Likewise.
75992 * manual/resource.texi: Likewise.
75993 (RUSAGE_CHILDREN): Remove statement about specifying a particular
75994 child on GNU/Hurd.
75995 * manual/setjmp.texi: Likewise.
75996 * manual/signal.texi: Likewise.
75997 * manual/startup.texi: Likewise.
75998 * manual/stdio.texi: Likewise.
75999 * manual/terminal.texi: Likewise.
76000 (ONLCR): Document as POSIX.
76001 (OXTABS): Document availability on GNU/Linux as XTABS.
76002 (ONOEOT): Document availability separately from other bits.
76003 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76004 * manual/time.texi: Likewise.
76005 * manual/users.texi: Likewise.
76006 * INSTALL: Regenerated.
76007 * sysdeps/gnu/errlist.c: Regenerated.
76008
76009 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76010 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76011 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
76012 puts.
76013 * configure: Regenerated.
76014
76015 2012-03-07 Joseph Myers <joseph@codesourcery.com>
76016
76017 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76018 default includes instead of AC_HEADER_CHECK.
76019 * sysdeps/i386/configure: Regenerated.
76020
76021 [BZ #10716]
76022 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76023 * math/s_cacoshf.c (__cacoshf): Likewise.
76024 * math/s_cacoshl.c (__cacoshl): Likewise.
76025 * math/s_casinh.c (__casinh): Set signs of result from argument.
76026 * math/s_casinhf.c (__casinhf): Likewise.
76027 * math/s_casinhl.c (__casinhl): Likewise.
76028 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76029 (casinh_test): Add more tests.
76030 * sysdeps/i386/fpu/libm-test-ulps: Update.
76031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76032
76033 2012-03-07 Ulrich Drepper <drepper@gmail.com>
76034
76035 * po/zh_TW.po: Update from translation team.
76036
76037 * login/Makefile (distribute): Remove variable.
76038 * catgets/Makefile: Likewise.
76039 * mach/Makefile: Likewise.
76040 * malloc/Makefile: Likewise.
76041 * misc/Makefile: Likewise.
76042 * iconv/Makefile: Likewise.
76043 * nscd/Makefile: Likewise.
76044 * hurd/Makefile: Likewise.
76045 * manual/Makefile: Likewise.
76046 * locale/Makefile: Likewise.
76047 * intl/Makefile: Likewise.
76048 * conform/Makefile: Likewise.
76049 * nss/Makefile: Likewise.
76050 * time/Makefile: Likewise.
76051 * soft-fp/Makefile: Likewise.
76052 * dirent/Makefile: Likewise.
76053 * gmon/Makefile: Likewise.
76054 * po/Makefile: Likewise.
76055 * rt/Makefile: Likewise.
76056 * socket/Makefile: Likewise.
76057 * math/Makefile: Likewise.
76058 * signal/Makefile: Likewise.
76059 * debug/Makefile: Likewise.
76060 * elf/Makefile: Likewise.
76061 * timezone/Makefile: Likewise.
76062 * stdlib/Makefile: Likewise.
76063 * iconvdata/Makefile: Likewise.
76064 * sunrpc/Makefile: Likewise.
76065 * io/Makefile: Likewise.
76066 * argp/Makefile: Likewise.
76067 * inet/Makefile: Likewise.
76068 * hesiod/Makefile: Likewise.
76069 * grp/Makefile: Likewise.
76070 * csu/Makefile: Likewise.
76071 * wctype/Makefile: Likewise.
76072 * crypt/Makefile: Likewise.
76073 * libio/Makefile: Likewise.
76074 * string/Makefile: Likewise.
76075 * nis/Makefile: Likewise.
76076 * resolv/Makefile: Likewise.
76077 * stdio-common/Makefile: Likewise.
76078 * wcsmbs/Makefile: Likewise.
76079 * dlfcn/Makefile: Likewise.
76080 * posix/Makefile: Likewise.
76081
76082 [BZ #6959]
76083 * timezone/Makefile: Don't install timezone files, just the programs
76084 and scripts.
76085
76086 2012-03-06 Ulrich Drepper <drepper@gmail.com>
76087
76088 * nss/databases.def: Add missing gshadow entry.
76089
76090 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
76091
76092 2012-03-06 Marek Polacek <polacek@redhat.com>
76093
76094 [BZ #13726]
76095 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76096 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76097 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76098 * stdio-common/tst-long-dbl-fphex.c: New file.
76099
76100 2012-03-06 David S. Miller <davem@davemloft.net>
76101
76102 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76103 (set_obp_int): New function.
76104 (get_obp_int): New function.
76105 (__get_clockfreq_via_dev_openprom): Likewise.
76106 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76107 Avoid unused variable warnings on 'val' and use builtin_expect.
76108 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76109 __builtin_expect.
76110 (INLINE_CLONE_SYSCALL): Likewise.
76111
76112 2012-03-05 David S. Miller <davem@davemloft.net>
76113
76114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76115
76116 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
76117
76118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76119
76120 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76121 only for |x| >= 40.
76122 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76123
76124 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
76125
76126 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76127 Replace gettimeofday with __vdso_gettimeofday.
76128
76129 * sysdeps/unix/sysv/linux/x86_64/init-first.c
76130 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76131 __vdso_clock_gettime and __vdso_getcpu.
76132
76133 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76134 time with __vdso_time.
76135
76136 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76137
76138 * manual/lang.texi (size_t): Note types to which size_t may be
76139 equivalent with the GNU C Library, but do not describe when
76140 differences between them are significant.
76141
76142 2012-03-05 Andreas Jaeger <aj@suse.de>
76143
76144 * sysdeps/i386/fpu/libm-test-ulps: Update.
76145
76146 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76147
76148 [BZ #3976]
76149 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76150 (__ieee754_pow): Save and restore rounding mode and use
76151 round-to-nearest for main computations.
76152 * math/libm-test.inc (pow_test_tonearest): New function.
76153 (pow_test_towardzero): Likewise.
76154 (pow_test_downward): Likewise.
76155 (pow_test_upward): Likewise.
76156 (main): Call the new functions.
76157 * sysdeps/i386/fpu/libm-test-ulps: Update.
76158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76159
76160 [BZ #3976]
76161 * math/libm-test.inc (cosh_test_tonearest): New function.
76162 (cosh_test_towardzero): Likewise.
76163 (cosh_test_downward): Likewise.
76164 (cosh_test_upward): Likewise.
76165 (sinh_test_tonearest): Likewise.
76166 (sinh_test_towardzero): Likewise.
76167 (sinh_test_downward): Likewise.
76168 (sinh_test_upward): Likewise.
76169 (main): Call the new functions.
76170 * sysdeps/i386/fpu/libm-test-ulps: Update.
76171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76172
76173 2012-03-05 Tom de Vries <tom@codesourcery.com>
76174
76175 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76176 default stack guard is set in last bytes.
76177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76178
76179 2012-03-05 Kees Cook <keescook@chromium.org>
76180
76181 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76182
76183 [BZ #13656]
76184 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76185 possibly allocate from heap instead of stack.
76186 * stdio-common/bug-vfprintf-nargs.c: New file.
76187 * stdio-common/Makefile (tests): Add nargs overflow test.
76188
76189 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
76190
76191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76192
76193 2012-03-03 Marek Polacek <polacek@redhat.com>
76194
76195 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76196 * math/math_private.h: Likewise.
76197 * stdlib/tst-strtod.c: Likewise.
76198 * sysdeps/i386/i486/bits/atomic.h: Likewise.
76199 * sysdeps/x86_64/bits/atomic.h: Likewise.
76200
76201 2012-03-02 David S. Miller <davem@davemloft.net>
76202
76203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76207 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76208 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76209 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76210 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76211
76212 2012-03-02 Roland McGrath <roland@hack.frob.com>
76213
76214 [BZ #13792]
76215 * manual/examples/README: New file, says the example source files
76216 can be used under GPL>=2.
76217 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76218 line containing just "*/".
76219 * manual/examples/add.c: Add copyright header (GPL>=2).
76220 * manual/examples/argp-ex1.c: Likewise.
76221 * manual/examples/argp-ex2.c: Likewise.
76222 * manual/examples/argp-ex3.c: Likewise.
76223 * manual/examples/argp-ex4.c: Likewise.
76224 * manual/examples/atexit.c: Likewise.
76225 * manual/examples/db.c: Likewise.
76226 * manual/examples/dir.c: Likewise.
76227 * manual/examples/dir2.c: Likewise.
76228 * manual/examples/execinfo.c: Likewise.
76229 * manual/examples/filecli.c: Likewise.
76230 * manual/examples/filesrv.c: Likewise.
76231 * manual/examples/fmtmsgexpl.c: Likewise.
76232 * manual/examples/genpass.c: Likewise.
76233 * manual/examples/inetcli.c: Likewise.
76234 * manual/examples/inetsrv.c: Likewise.
76235 * manual/examples/isockad.c: Likewise.
76236 * manual/examples/longopt.c: Likewise.
76237 * manual/examples/memopen.c: Likewise.
76238 * manual/examples/memstrm.c: Likewise.
76239 * manual/examples/mkfsock.c: Likewise.
76240 * manual/examples/mkisock.c: Likewise.
76241 * manual/examples/mygetpass.c: Likewise.
76242 * manual/examples/pipe.c: Likewise.
76243 * manual/examples/popen.c: Likewise.
76244 * manual/examples/rprintf.c: Likewise.
76245 * manual/examples/search.c: Likewise.
76246 * manual/examples/select.c: Likewise.
76247 * manual/examples/setjmp.c: Likewise.
76248 * manual/examples/sigh1.c: Likewise.
76249 * manual/examples/sigusr.c: Likewise.
76250 * manual/examples/stpcpy.c: Likewise.
76251 * manual/examples/strdupa.c: Likewise.
76252 * manual/examples/strftim.c: Likewise.
76253 * manual/examples/strncat.c: Likewise.
76254 * manual/examples/subopt.c: Likewise.
76255 * manual/examples/swapcontext.c: Likewise.
76256 * manual/examples/termios.c: Likewise.
76257 * manual/examples/testopt.c: Likewise.
76258 * manual/examples/testpass.c: Likewise.
76259 * manual/examples/timeval_subtract.c: Likewise.
76260
76261 [BZ #13792]
76262 * manual/time.texi (Elapsed Time): Move timeval_subtract example
76263 function to ...
76264 * manual/timeval_subtract.c.texi: ... here, new file.
76265
76266 2012-03-02 David S. Miller <davem@davemloft.net>
76267
76268 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76269
76270 2012-03-02 Joseph Myers <joseph@codesourcery.com>
76271
76272 [BZ #3976]
76273 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76274 (__sin): Save and restore rounding mode and use round-to-nearest
76275 for all computations.
76276 (__cos): Save and restore rounding mode and use round-to-nearest
76277 for all computations.
76278 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76279 <fenv.h>.
76280 (tan): Save and restore rounding mode and use round-to-nearest for
76281 all computations.
76282 * math/libm-test.inc (cos_test_tonearest): New function.
76283 (cos_test_towardzero): Likewise.
76284 (cos_test_downward): Likewise.
76285 (cos_test_upward): Likewise.
76286 (sin_test_tonearest): Likewise.
76287 (sin_test_towardzero): Likewise.
76288 (sin_test_downward): Likewise.
76289 (sin_test_upward): Likewise.
76290 (tan_test_tonearest): Likewise.
76291 (tan_test_towardzero): Likewise.
76292 (tan_test_downward): Likewise.
76293 (tan_test_upward): Likewise.
76294 (main): Call the new functions.
76295 * sysdeps/i386/fpu/libm-test-ulps: Update.
76296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76297
76298 [BZ #10135]
76299 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76300 small n, then large n, before computing and testing k+n.
76301 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76303 Likewise.
76304 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76305 Likewise.
76306 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76307 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76308 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76309 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76310 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76311 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76312 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76313 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76314 * math/libm-test.inc (scalbn_test): Add more tests.
76315 (scalbln_test): Likewise.
76316
76317 * manual/filesys.texi (mode_t): Describe constraints on size and
76318 signedness, not exact equivalence to a particular type.
76319 (ino_t): Likewise.
76320 (ino64_t): Likewise.
76321 (dev_t): Likewise.
76322 (nlink_t): Likewise.
76323 (blkcnt_t): Likewise.
76324 (blkcnt64_t): Likewise.
76325 * manual/llio.texi (off_t): Likewise.
76326
76327 [BZ #3976]
76328 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76329 (__ieee754_exp): Save and restore rounding mode and use
76330 round-to-nearest for all computations.
76331 * math/libm-test.inc (exp_test_tonearest): New function.
76332 (exp_test_towardzero): Likewise.
76333 (exp_test_downward): Likewise.
76334 (exp_test_upward): Likewise.
76335 (main): Call the new functions.
76336 * sysdeps/i386/fpu/libm-test-ulps: Update.
76337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76338
76339 2012-03-01 Chris Demetriou <cgd@google.com>
76340
76341 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76342 have predictable order.
76343
76344 2012-03-01 David S. Miller <davem@davemloft.net>
76345
76346 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76347
76348 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76349 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76350 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76351 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76352
76353 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76354 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76355 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76357 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76358 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76359 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76360 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76361 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76362
76363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76364
76365 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76366 * sysdeps/sparc/fpu/libm-test-ulps: to here.
76367 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76368
76369 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76370 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76371 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76372 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76373 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76374 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76375 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76376 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76377 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76378 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76379 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76380 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76382 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76383 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76384 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76385 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76386 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76387 * sysdeps/sparc/elf/configure: Regenerated.
76388
76389 2012-03-01 Joseph Myers <joseph@codesourcery.com>
76390
76391 * configure.in (AS, LD): Require binutils 2.20 or later.
76392 * configure: Regenerated.
76393 * manual/install.texi (Tools for Compilation): Give binutils 2.20
76394 as required minimum version.
76395 * INSTALL: Regenerated.
76396
76397 [BZ #2541]
76398 [BZ #4108]
76399 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76400 before squaring exponent.
76401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76402 bottom long double and 27 bits of top long double before squaring
76403 exponent.
76404 * math/libm-test.inc (erfc_test): Add more tests.
76405 * sysdeps/i386/fpu/libm-test-ulps: Update.
76406 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76408
76409 2012-03-01 Kai Tietz <ktietz@redhat.com>
76410
76411 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76412 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76413 containing bit-fields.
76414 * soft-fp/extended.h (_FP_UNION_E): Likewise.
76415 * soft-fp/single.h (_FP_UNION_S): Likewise.
76416 * soft-fp/double.h (_FP_UNION_D): Likewise.
76417
76418 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76419
76420 [BZ #13786]
76421 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76422 not include ../strcmp.S.
76423 [USE_AS_STRNCASECMP_L]: Likewise.
76424 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76425 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76426 * sysdeps/i386/i686/multiarch/strncase_l-c.c
76427 (__strncasecmp_l_ia32): Define as alias to
76428 __strncasecmp_l_nonascii.
76429
76430 [BZ #5794]
76431 * math/libm-test.inc (expm1_test): Add test for bug 5794.
76432 * sysdeps/i386/fpu/libm-test-ulps: Update.
76433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76434
76435 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76437
76438 2012-02-29 Jeff Law <law@redhat.com>
76439
76440 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
76441 out of bounds read.
76442
76443 2012-02-29 Marek Polacek <polacek@redhat.com>
76444
76445 [BZ #13706]
76446 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
76447 * elf/Makefile: Add rules to run tst-unused-dep.out.
76448
76449 2012-02-28 David S. Miller <davem@davemloft.net>
76450
76451 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
76452 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
76453 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
76454 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
76455 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
76456 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
76457
76458 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76459
76460 * math/libm-test.inc (llround_test): Move one test from
76461 lround_test. Use TEST_f_L in moved test.
76462 (lround_test): Move misplaced test to llround_test. Add testcase
76463 from bug 2561.
76464
76465 2012-02-28 Ulrich Drepper <drepper@gmail.com>
76466
76467 * sysdeps/x86_64/fpu/e_expf.S: New file.
76468 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
76469
76470 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
76471
76472 [BZ #13637]
76473 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
76474 of remain_len that may cause incomplete multi-byte character and
76475 false match.
76476 * posix/bug-regex33.c: New file.
76477 * posix/Makefile (tests): Add bug-regex33.
76478
76479 2012-02-28 Joseph Myers <joseph@codesourcery.com>
76480
76481 * manual/macros.texi: New file.
76482 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
76483 * manual/libc.texinfo: Include macros.texi.
76484 * manual/creatute.texi: Likewise.
76485 * manual/install.texi: Likewise.
76486 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
76487 @glibcadj{} in references to the GNU C Library.
76488 * manual/charset.texi: Likewise.
76489 * manual/conf.texi: Likewise.
76490 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
76491 when not using those macros.
76492 * manual/creature.texi: Likewise.
76493 * manual/crypt.texi: Likewise.
76494 * manual/errno.texi: Likewise.
76495 * manual/filesys.texi: Likewise.
76496 * manual/header.texi: Likewise.
76497 * manual/install.texi: Likewise.
76498 * manual/intro.texi: Likewise.
76499 * manual/io.texi: Likewise.
76500 * manual/job.texi: Likewise.
76501 * manual/lang.texi: Likewise.
76502 * manual/libc.texiinfo: Likewise.
76503 * manual/llio.texi: Likewise.
76504 * manual/locale.texi: Likewise.
76505 * manual/maint.texi: Likewise.
76506 * manual/math.texi: Likewise.
76507 * manual/memory.texi: Likewise.
76508 * manual/message.texi: Likewise.
76509 * manual/nss.texi: Likewise.
76510 * manual/pattern.texi: Likewise.
76511 * manual/process.texi: Likewise.
76512 * manual/resource.texi: Likewise.
76513 * manual/search.texi: Likewise.
76514 * manual/setjmp.texi: Likewise.
76515 * manual/signal.texi: Likewise.
76516 * manual/socket.texi: Likewise.
76517 * manual/startup.texi: Likewise.
76518 * manual/stdio.texi: Likewise.
76519 * manual/string.texi: Likewise.
76520 * manual/sysinfo.texi: Likewise.
76521 * manual/syslog.texi: Likewise.
76522 * manual/terminal.texi: Likewise.
76523 * manual/time.texi: Likewise.
76524 * manual/users.texi: Likewise.
76525 * INSTALL: Regenerated.
76526 * NOTES: Regenerated.
76527 * sysdeps/gnu/errlist.c: Regenerated.
76528
76529 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
76530
76531 * include/dirent.h: Include <dirstream.h> before
76532 <dirent/dirent.h>.
76533
76534 2012-02-28 David S. Miller <davem@davemloft.net>
76535
76536 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
76537 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
76538 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
76539 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
76540
76541 2012-02-27 David S. Miller <davem@davemloft.net>
76542
76543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
76544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
76545 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
76546 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
76547
76548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
76549 frame pointer instead of stack pointer relative arg slot.
76550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76553
76554 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
76555
76556 [BZ #3992]
76557 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
76558
76559 2012-02-27 David S. Miller <davem@davemloft.net>
76560
76561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
76562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
76565 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76566 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76567 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
76568 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
76569
76570 2012-02-27 Joseph Myers <joseph@codesourcery.com>
76571
76572 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
76573 later. Allow versions 5-9.
76574 * configure: Regenerated.
76575 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
76576 required minimum version and 4.6 as recommended version. Do not
76577 mention bugs in GCC 2.7 and 2.8.
76578 * INSTALL: Regenerated.
76579
76580 2012-02-27 David S. Miller <davem@davemloft.net>
76581
76582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
76583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
76584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
76585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
76586 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
76587 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
76588 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
76589 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
76590
76591 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
76592 manipulate bits before adding and subtracting TWO112[sx].
76593 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
76594
76595 2012-02-27 Roland McGrath <roland@hack.frob.com>
76596
76597 [BZ #13775]
76598 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
76599 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
76600 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
76601 being in POSIX, because they are in 1003.1-2008.
76602
76603 * rt/tst-aio.c: Include <fcntl.h>.
76604 * rt/tst-aio7.c: Likewise.
76605 * rt/tst-aio64.c: Likewise.
76606
76607 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
76608
76609 2012-02-27 Joseph Myers <joseph@codesourcery.com>
76610
76611 * manual/install.texi (--with-headers): Describe headers as
76612 interface headers, not private headers.
76613 (Specific advice for GNU/Linux systems): Describe use of headers
76614 from "make headers_install", not private headers from older
76615 kernels.
76616 * INSTALL: Regenerated.
76617 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
76618 Change to 2.6.19.
76619 * sysdeps/unix/sysv/linux/configure: Regenerated.
76620
76621 * manual/llio.texi (fclean): Remove documentation.
76622
76623 * manual/Makefile (libc-texi-generated): New variable. Include
76624 version.texi.
76625 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
76626 $(libc-texi-generated), not duplicated list of files.
76627 (version.texi, stamp-version): New rules.
76628 (realclean): Remove $(libc-texi-generated), not individual files
76629 from that list. Do not remove dir-add.texinfo.
76630 * manual/libc.texinfo: Comment out uses of edition numbers and
76631 references to printed manual. Remove last-updated dates.
76632 (EDITION): Comment out.
76633 (ISBN): Likewise.
76634 (VERSION, UPDATED): Remove.
76635 (version.texi): Include.
76636
76637 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
76638
76639 * sysdeps/posix/spawni.c: Include <signal.h>.
76640 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
76641 * sysdeps/pthread/aio_fsync.c: Likewise.
76642
76643 2012-02-26 Ulrich Drepper <drepper@gmail.com>
76644
76645 * conform/Makefile (tests): Run only when not cross-compiling and
76646 when fast-check is not defined.
76647
76648 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
76649 * conform/data/limits.h-data: Fixes for POSIX2008.
76650 * conform/run-conformtest.sh: Run all tests.
76651 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
76652 headers.
76653 * include/bits/dlfcn.h: Likewise.
76654 * include/langinfo.h: Likewise.
76655 * include/monetary.h: Likewise.
76656 * include/sys/poll.h: Likewise.
76657
76658 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
76659 for __USE_GNU.
76660 * posix/spawn.h: Define __need_sigset_t.
76661 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
76662 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
76663 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
76664 to get sigevent_t only.
76665 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
76666 only for __USE_GNU.
76667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76668 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76669 process_vm_writev only for __USE_GNU.
76670 * termios/termios.h: Declare tcgetsid also for POSIX2008.
76671
76672 * conform/Makefile: For now ignore errors from run-conformtest.
76673 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
76674 POSIX to avoid namespace pollution. Don't prepend headers.
76675 * conform/data/aio.h-data: Fixes for POSIX testing.
76676 * conform/data/fcntl.h-data: Likewise.
76677 * conform/data/glob.h-data: Likewise.
76678 * conform/data/grp.h-data: Likewise.
76679 * conform/data/pthread.h-data: Likewise.
76680 * conform/data/pwd.h-data: Likewise.
76681 * conform/data/signal.h-data: Likewise.
76682 * conform/data/spawn.h-data: Likewise.
76683 * conform/data/stdio.h-data: Likewise.
76684 * conform/data/stdlib.h-data: Likewise.
76685 * conform/data/stropts.h-data: Likewise.
76686 * conform/data/sys/mman.h-data: Likewise.
76687 * conform/data/sys/stat.h-data: Likewise.
76688 * conform/data/sys/types.h-data: Likewise.
76689 * conform/data/sys/wait.h-data: Likewise.
76690 * conform/data/time.h-data: Likewise.
76691 * conform/data/unistd.h-data: Likewise.
76692 * conform/data/utime.h-data: Likewise.
76693
76694 * io/sys/stat.h: fchmod was always in POSIX.
76695 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
76696 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
76697 * rt/aio.h: Define __need_timespec before including <time.h>.
76698 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
76699 struct. Add forward declaration of pthread_attr_t and use it in
76700 sigevent.
76701 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76702 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76703 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
76704 always remove CLK_TCK definition.
76705
76706 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
76707
76708 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
76709
76710 2012-02-25 Ulrich Drepper <drepper@gmail.com>
76711
76712 * conform/run-conformtest.sh: New file.
76713 * conform/Makefile: Run run-conformtest for tests.
76714 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
76715 support.
76716
76717 * conform/data/uchar.h-data: New file.
76718 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
76719 * conform/data/arpa/inet.h-data: Likewise.
76720 * conform/data/assert.h-data: Likewise.
76721 * conform/data/complex.h-data: Likewise.
76722 * conform/data/cpio.h-data: Likewise.
76723 * conform/data/ctype.h-data: Likewise.
76724 * conform/data/dirent.h-data: Likewise.
76725 * conform/data/dlfcn.h-data: Likewise.
76726 * conform/data/errno.h-data: Likewise.
76727 * conform/data/fcntl.h-data: Likewise.
76728 * conform/data/float.h-data: Likewise.
76729 * conform/data/fmtmsg.h-data: Likewise.
76730 * conform/data/fnmatch.h-data: Likewise.
76731 * conform/data/ftw.h-data: Likewise.
76732 * conform/data/glob.h-data: Likewise.
76733 * conform/data/grp.h-data: Likewise.
76734 * conform/data/iconv.h-data: Likewise.
76735 * conform/data/inttypes.h-data: Likewise.
76736 * conform/data/langinfo.h-data: Likewise.
76737 * conform/data/libgen.h-data: Likewise.
76738 * conform/data/limits.h-data: Likewise.
76739 * conform/data/locale.h-data: Likewise.
76740 * conform/data/math.h-data: Likewise.
76741 * conform/data/monetary.h-data: Likewise.
76742 * conform/data/mqueue.h-data: Likewise.
76743 * conform/data/ndbm.h-data: Likewise.
76744 * conform/data/net/if.h-data: Likewise.
76745 * conform/data/netdb.h-data: Likewise.
76746 * conform/data/netinet/in.h-data: Likewise.
76747 * conform/data/nl_types.h-data: Likewise.
76748 * conform/data/poll.h-data: Likewise.
76749 * conform/data/pthread.h-data: Likewise.
76750 * conform/data/pwd.h-data: Likewise.
76751 * conform/data/regex.h-data: Likewise.
76752 * conform/data/sched.h-data: Likewise.
76753 * conform/data/search.h-data: Likewise.
76754 * conform/data/semaphore.h-data: Likewise.
76755 * conform/data/setjmp.h-data: Likewise.
76756 * conform/data/signal.h-data: Likewise.
76757 * conform/data/spawn.h-data: Likewise.
76758 * conform/data/stdarg.h-data: Likewise.
76759 * conform/data/stdio.h-data: Likewise.
76760 * conform/data/stdlib.h-data: Likewise.
76761 * conform/data/string.h-data: Likewise.
76762 * conform/data/strings.h-data: Likewise.
76763 * conform/data/stropts.h-data: Likewise.
76764 * conform/data/sys/ipc.h-data: Likewise.
76765 * conform/data/sys/mman.h-data: Likewise.
76766 * conform/data/sys/msg.h-data: Likewise.
76767 * conform/data/sys/resource.h-data: Likewise.
76768 * conform/data/sys/select.h-data: Likewise.
76769 * conform/data/sys/sem.h-data: Likewise.
76770 * conform/data/sys/shm.h-data: Likewise.
76771 * conform/data/sys/socket.h-data: Likewise.
76772 * conform/data/sys/stat.h-data: Likewise.
76773 * conform/data/sys/statvfs.h-data: Likewise.
76774 * conform/data/sys/time.h-data: Likewise.
76775 * conform/data/sys/timeb.h-data: Likewise.
76776 * conform/data/sys/times.h-data: Likewise.
76777 * conform/data/sys/types.h-data: Likewise.
76778 * conform/data/sys/uio.h-data: Likewise.
76779 * conform/data/sys/un.h-data: Likewise.
76780 * conform/data/sys/utsname.h-data: Likewise.
76781 * conform/data/sys/wait.h-data: Likewise.
76782 * conform/data/syslog.h-data: Likewise.
76783 * conform/data/tar.h-data: Likewise.
76784 * conform/data/termios.h-data: Likewise.
76785 * conform/data/utime.h-data: Likewise.
76786 * conform/data/utmpx.h-data: Likewise.
76787 * conform/data/varargs.h-data: Likewise.
76788 * conform/data/wchar.h-data: Likewise.
76789 * conform/data/wctype.h-data: Likewise.
76790 * conform/data/wordexp.h-data: Likewise.
76791
76792 * include/stropts.h: New file.
76793 * include/uchar.h: New file.
76794 * include/aio.h: Changes to allow conformtest.pl to use the headers.
76795 * include/assert.h: Likewise.
76796 * include/ctype.h: Likewise.
76797 * include/dirent.h: Likewise.
76798 * include/dlfcn.h: Likewise.
76799 * include/fcntl.h: Likewise.
76800 * include/fnmatch.h: Likewise.
76801 * include/glob.h: Likewise.
76802 * include/grp.h: Likewise.
76803 * include/libio.h: Likewise.
76804 * include/locale.h: Likewise.
76805 * include/math.h: Likewise.
76806 * include/net/if.h: Likewise.
76807 * include/netdb.h: Likewise.
76808 * include/netinet/in.h: Likewise.
76809 * include/pthread.h: Likewise.
76810 * include/pwd.h: Likewise.
76811 * include/regex.h: Likewise.
76812 * include/sched.h: Likewise.
76813 * include/search.h: Likewise.
76814 * include/setjmp.h: Likewise.
76815 * include/signal.h: Likewise.
76816 * include/stdio.h: Likewise.
76817 * include/stdlib.h: Likewise.
76818 * include/string.h: Likewise.
76819 * include/sys/cdefs.h: Likewise.
76820 * include/sys/mman.h: Likewise.
76821 * include/sys/msg.h: Likewise.
76822 * include/sys/resource.h: Likewise.
76823 * include/sys/select.h: Likewise.
76824 * include/sys/socket.h: Likewise.
76825 * include/sys/stat.h: Likewise.
76826 * include/sys/statvfs.h: Likewise.
76827 * include/sys/time.h: Likewise.
76828 * include/sys/times.h: Likewise.
76829 * include/sys/uio.h: Likewise.
76830 * include/sys/utsname.h: Likewise.
76831 * include/sys/wait.h: Likewise.
76832 * include/termios.h: Likewise.
76833 * include/time.h: Likewise.
76834 * include/ulimit.h: Likewise.
76835 * include/unistd.h: Likewise.
76836 * include/utime.h: Likewise.
76837 * include/wchar.h: Likewise.
76838 * include/wctype.h: Likewise.
76839 * include/wordexp.h: Likewise.
76840
76841 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
76842
76843 * time/time.h: TIME_UTC must be a macro.
76844 Make timespec_get available for ISO C11 only as well.
76845
76846 2012-02-24 Ulrich Drepper <drepper@gmail.com>
76847
76848 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
76849 Reported by Peng Haitao <penght@cn.fujitsu.com>.
76850
76851 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76852
76853 * configure.in: Use -o not -a in test for unsupported multi-arch.
76854
76855 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76856
76857 * manual/texinfo.tex: Update to version 2012-01-19.16.
76858
76859 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76860
76861 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
76862
76863 2012-02-24 Roland McGrath <roland@hack.frob.com>
76864
76865 [BZ #13738]
76866 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
76867 * manual/fdl-1.3.texi: New file.
76868 * manual/fdl-1.1.texi: File removed.
76869
76870 [BZ #13738]
76871 * manual/libc.texinfo (FDL_VERSION): New @set.
76872 Use it for mention of FDL in cover text.
76873 (Documentation License): Use it in @include file name.
76874
76875 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76876 Roland McGrath <roland@hack.frob.com>
76877
76878 [BZ #5461]
76879 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
76880 (not LONG_LONG_MAX and LONG_LONG_MIN.
76881 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
76882 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
76883 name.
76884 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
76885
76886 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76887
76888 [BZ #2547]
76889 [BZ #11365]
76890 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
76891 manipulate bits before adding and subtracting TWO23[sx].
76892 * math/libm-test.inc (nearbyint_test): Add more tests.
76893
76894 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76895
76896 [BZ #2548]
76897 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
76898 bits before adding and subtracting TWO23[sx].
76899 * math/libm-test.inc (rint_test): Add more tests.
76900 (rint_test_tonearest): Likewise.
76901 (rint_test_towardzero): Likewise.
76902 (rint_test_downward): Likewise.
76903 (rint_test_upward: Likewise.
76904
76905 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76906
76907 [BZ #10110]
76908 * include/stdc-predef.h: New file. Extracted from features.h.
76909 * include/features.h: Include stdc-predef.h.
76910 * Makefile (headers): Add stdc-predef.h.
76911 * CONFORMANCE (Compiler limitations): Update.
76912
76913 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76914
76915 * manual/libc.texinfo (VERSION, UPDATED): Revert.
76916
76917 2012-02-21 David S. Miller <davem@davemloft.net>
76918
76919 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
76920 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76921
76922 2012-02-20 David S. Miller <davem@davemloft.net>
76923
76924 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
76925 using a normal save/restore sequence, rather than allocating a
76926 dummy stack frame just to store a frame pointer and restore.
76927 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76928
76929 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76930
76931 * manual/install.texi: Fix stray word in line-wrapped comment.
76932
76933 2012-02-20 David S. Miller <davem@davemloft.net>
76934
76935 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
76936 both binutils and gcc support GOTDATA.
76937
76938 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
76939 "rd %pc" in the PIC register setup sequences.
76940
76941 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
76942 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
76943 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76944 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
76945 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76947 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76948 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
76950 (SYSCALL_ERROR_HANDLER): Likewise.
76951 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76952 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76953 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
76954 (SYSCALL_ERROR_HANDLER): Likewise.
76955
76956 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
76957 (HAVE_GCC_GOTDATA): New.
76958 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
76959 relocation support in both binutils and gcc.
76960 * sysdeps/sparc/elf/configure: Regenerate.
76961
76962 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
76963 * sysdeps/sparc/sparc32/elf/configure: Delete.
76964 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
76965 * sysdeps/sparc/sparc64/elf/configure: Delete.
76966 * sysdeps/sparc/elf/configure.in: New file.
76967 * sysdeps/sparc/elf/configure: Generate.
76968
76969 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
76970 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
76971 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76972 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
76973 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
76974
76975 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76976
76977 * manual/install.texi: Do not mention specific glibc version
76978 numbers.
76979 * manual/libc.texinfo (VERSION, UPDATED): Update.
76980 (@copying): Use @copyright{} and range of years.
76981
76982 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76983
76984 [BZ #13695]
76985 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
76986 [crti.S not in sysdirs] (generated): Do not append.
76987 [crti.S not in sysdirs] (omit-deps): Likewise.
76988 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
76989 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
76990 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
76991 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
76992 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
76993 Likewise.
76994 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
76995 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
76996 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
76997 * csu/defs.awk: Remove file.
76998 * sysdeps/generic/initfini.c: Likewise.
76999 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77000 variable.
77001 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77002 Likewise.
77003
77004 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77005
77006 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77007 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77008 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77009 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77010 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77011 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77012 <bits/epoll.h>.
77013 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77014 (__EPOLL_PACKED): Define to empty if not defined by
77015 <bits/epoll.h>.
77016 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77018 bits/epoll.h.
77019
77020 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77021
77022 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77023 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77024 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77025 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77026 <bits/timerfd.h>.
77027 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77029 bits/timerfd.h.
77030
77031 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77032
77033 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77034 in C locale.
77035 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77036 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77037 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77039
77040 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
77041
77042 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77043 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77044
77045 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
77046
77047 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77048 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77049 defined.
77050 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77051 Likewise.
77052 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77053 entry for 2.16.
77054
77055 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
77056
77057 * math/w_acos.c: Use non-signaling floating-point comparisons.
77058 * math/w_acosf.c: Likewise.
77059 * math/w_acosh.c: Likewise.
77060 * math/w_acoshf.c: Likewise.
77061 * math/w_acoshl.c: Likewise.
77062 * math/w_acosl.c: Likewise.
77063 * math/w_asin.c: Likewise.
77064 * math/w_asinf.c: Likewise.
77065 * math/w_asinl.c: Likewise.
77066 * math/w_atanh.c: Likewise.
77067 * math/w_atanhf.c: Likewise.
77068 * math/w_atanhl.c: Likewise.
77069 * math/w_exp2.c: Likewise.
77070 * math/w_exp2f.c: Likewise.
77071 * math/w_exp2l.c: Likewise.
77072 * math/w_j0.c: Likewise.
77073 * math/w_j0f.c: Likewise.
77074 * math/w_j0l.c: Likewise.
77075 * math/w_j1.c: Likewise.
77076 * math/w_j1f.c: Likewise.
77077 * math/w_j1l.c: Likewise.
77078 * math/w_jn.c: Likewise.
77079 * math/w_jnf.c: Likewise.
77080 * math/w_log.c: Likewise.
77081 * math/w_log10.c: Likewise.
77082 * math/w_log10f.c: Likewise.
77083 * math/w_log10l.c: Likewise.
77084 * math/w_log2.c: Likewise.
77085 * math/w_log2f.c: Likewise.
77086 * math/w_log2l.c: Likewise.
77087 * math/w_logf.c: Likewise.
77088 * math/w_logl.c: Likewise.
77089 * math/w_sqrt.c: Likewise.
77090 * math/w_sqrtf.c: Likewise.
77091 * math/w_sqrtl.c: Likewise.
77092 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77093 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77094 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77095 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77096 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77097
77098 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77099
77100 [BZ #9739]
77101 * manual/string.texi (strnlen): Use correct parameter name in
77102 equivalent expression.
77103
77104 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77105
77106 [BZ #11174]
77107 * manual/users.texi (seteuid): Consistently use neweuid for
77108 argument name.
77109
77110 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77111
77112 [BZ #13704]
77113 * manual/nss.texi (Services in the NSS configuration): Correct
77114 list of services in example configuration file.
77115
77116 2012-02-19 Nick Bowler <nbowler@draconx.ca>
77117
77118 [BZ #11322]
77119 * manual/arith.texi: Remove statements about negative zero
77120 behaving identically to zero.
77121
77122 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77123
77124 [BZ #5993]
77125 * manual/install.texi: Do not document upgrading from libc5.
77126
77127 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77128
77129 [BZ #4596]
77130 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77131
77132 2012-02-18 David S. Miller <davem@davemloft.net>
77133
77134 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77135 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77136 %o7 across the call.
77137 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77138 instead.
77139 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77140 SETUP_PIC_REG_LEAF.
77141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77142 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77143 * sysdeps/sparc/crtn.S: Likewise.
77144
77145 2012-02-17 Ulrich Drepper <drepper@gmail.com>
77146
77147 * aout/Makefile: Remove.
77148
77149 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
77150
77151 [BZ #13058]
77152 * manual/examples/argp-ex1.c (main): Format definition in GNU
77153 style.
77154 * manual/examples/argp-ex2.c (main): Likewise.
77155 * manual/examples/argp-ex3.c (main): Likewise.
77156 * manual/examples/argp-ex4.c (main): Likewise.
77157 * manual/examples/longopt.c (main): Use new-style prototype
77158 definition.
77159 * manual/examples/strncat.c (main): Specify return type and use
77160 (void) for arguments.
77161 * manual/examples/subopt.c (main): Use char **argv argument.
77162
77163 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77164
77165 [BZ #5077]
77166 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77167 rounding modes.
77168
77169 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
77170
77171 [BZ #6907]
77172 * manual/string.texi (strchr): Change when strchrnul is
77173 recommended.
77174
77175 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
77176
77177 [BZ #174]
77178 * manual/locale.texi (setlocale): Document LOCPATH.
77179
77180 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77181
77182 [BZ #10210]
77183 * manual/process.texi (execle): Move @dots{} before last argument.
77184
77185 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
77186
77187 [BZ #12047]
77188 * manual/charset.texi (Generic Charset Conversion): Fix typo
77189 (LC_TYPE -> LC_CTYPE).
77190
77191 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
77192
77193 [BZ #5805]
77194 * manual/arith.texi (scalbn): Use @var{} on parameter names.
77195 (scalbnf): Likewise.
77196 (scalbnl): Likewise.
77197 (scalbln): Likewise.
77198 (scalblnf): Likewise.
77199 (scalblnl): Likewise.
77200 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77201 (vwarnx): Likewise.
77202 (verr): Likewise.
77203 (verrx): Likewise.
77204 * manual/filesys.texi (telldir): Use braces around return type.
77205 * manual/llio.texi (mmap): Add space after comma.
77206 (mmap64): Likewise.
77207 * manual/math.texi (jn): Use @var{} on parameter names.
77208 (jnf): Likewise.
77209 (jnl): Likewise.
77210 (yn): Likewise.
77211 (ynf): Likewise.
77212 (ynl): Likewise.
77213 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77214 line.
77215 * manual/resource.texi (ulimit): Use @dots{} instead of literal
77216 "...".
77217 (sched_get_priority_min): Remove semicolon on @deftypefun line.
77218 (sched_get_priority_max): Likewise.
77219 * manual/signal.texi (sigvec): Add space after comma.
77220 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77221 names.
77222 (if_indextoname): Likewise.
77223 (if_freenameindex): Likewise.
77224 (sendto): Use ',' instead of '.' in prototype.
77225 * manual/startup.texi (syscall): Use @dots{} instead of literal
77226 "...".
77227 * manual/stdio.texi (__fpending): Separate initial words of
77228 paragraph from @deftypefun line.
77229 * manual/syslog.texi (syslog): Use @dots{} instead of literal
77230 "...".
77231 (vsyslog): Use @var{} on parameter names.
77232 * manual/terminal.texi (stty): Use @var{} on parameter names.
77233 * manual/users.texi (getutmp): Use @var{} on parameter names.
77234 (getutmpx): Likewise.
77235
77236 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77237
77238 [BZ #6884]
77239 * manual/stdio.texi (fopen): Fix typos in description of
77240 ",ccs=STRING".
77241
77242 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
77243
77244 [BZ #4026]
77245 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77246 get clock_id definition.
77247
77248 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
77249
77250 [BZ #4822]
77251 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77252 (madvise): Cast every argument to void on its own.
77253
77254 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77255
77256 [BZ #9902]
77257 * manual/startup.texi (Exit Status): Fix typo.
77258
77259 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77260
77261 [BZ #10140]
77262 * manual/examples/argp-ex1.c: Include <stdlib.h>.
77263 * manual/examples/argp-ex2.c: Likewise.
77264 * manual/examples/argp-ex3.c: Likewise.
77265
77266 2012-02-16 Richard Henderson <rth@redhat.com>
77267
77268 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77269 * sysdeps/s390/s390-32/initfini.c: Remove.
77270 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77271 * sysdeps/s390/s390-64/initfini.c: Remove.
77272
77273 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
77274
77275 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77276 compiler output for sysdeps/generic/initfini.c.
77277 * sysdeps/sh/elf/initfini.c: Remove file.
77278
77279 2012-02-16 David S. Miller <davem@davemloft.net>
77280
77281 [BZ #11494]
77282 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77283
77284 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77285 * sysdeps/sparc/crti.S: New file.
77286 * sysdeps/sparc/crtn.S: New file.
77287 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77288 * sysdeps/sparc/sparc64/Makefile: Likewise.
77289
77290 2012-02-15 Mike Frysinger <vapier@gentoo.org>
77291
77292 [BZ #3335]
77293 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77294
77295 2012-02-15 Roland McGrath <roland@hack.frob.com>
77296
77297 [BZ #4822]
77298 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77299
77300 * mach/devstream.c (cookie_io_functions_t): Macro removed.
77301 (write, read, close): Likewise.
77302 Patch by Aurelien Jarno <aurelien@aurel32.net>.
77303
77304 2012-02-15 Joseph Myers <joseph@codesourcery.com>
77305
77306 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77307 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77308 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77309 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77310 <bits/signalfd.h>.
77311 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77313 bits/signalfd.h.
77314
77315 2012-02-14 Marek Polacek <polacek@redhat.com>
77316
77317 * sysdeps/x86_64/crti.S: New file.
77318 * sysdeps/x86_64/crtn.S: New file.
77319 * sysdeps/x86_64/elf/initfini.c: Remove file.
77320
77321 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77322
77323 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77324 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77325 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77326 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77327 <bits/inotify.h>.
77328 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77330 bits/inotify.h.
77331
77332 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77333
77334 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77335 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77336 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77337 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77338 <bits/eventfd.h>.
77339 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77341 bits/eventfd.h.
77342
77343 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
77344
77345 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77346 __feraiseexcept instead of feraiseexcept.
77347
77348 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77349 nanosleep invocations.
77350 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77351 strings, and add error checking for a nanosleep invocations.
77352
77353 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
77354
77355 Replace FSF snail mail address with URLs, as per GNU coding standards.
77356 Most of the snail mail addresses were wrong anyway, and omitting
77357 them makes the source code easier to maintain. Almost all of the
77358 changes are to license notices and to locale LC_IDENTIFICATION
77359 addresses, except for this one:
77360 * manual/libc.texinfo: In "Published by", give the FSF's URL,
77361 not its snail mail address.
77362
77363 2012-02-09 Richard Henderson <rth@twiddle.net>
77364
77365 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77366 of kernel-features.h.
77367
77368 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77369
77370 2012-02-08 Marek Polacek <polacek@redhat.com>
77371
77372 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77373 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77374 * sysdeps/gnu/_G_config.h: Likewise.
77375 * sysdeps/generic/_G_config.h: Likewise.
77376
77377 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
77378
77379 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77380 tests.
77381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77382
77383 * sysdeps/powerpc/powerpc32/crti.S: New file.
77384 * sysdeps/powerpc/powerpc32/crtn.S: New file.
77385 * sysdeps/powerpc/powerpc64/crti.S: New file.
77386 * sysdeps/powerpc/powerpc64/crtn.S: New file.
77387
77388 * Makeconfig (have-initfini): Don't set.
77389 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77390 * configure.in (nopic_initfini): Don't substitute.
77391 * config.h.in (HAVE_INITFINI): Don't #undef.
77392 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77393 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77394
77395 2012-02-08 Joseph Myers <joseph@codesourcery.com>
77396
77397 Support crti.S and crtn.S provided directly by architectures.
77398 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77399 [crti.S in sysdirs] (omit-deps): Likewise.
77400 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77401 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77402 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77403 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77404 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77405 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77406 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77407 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77408 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77409 compiler output for sysdeps/generic/initfini.c.
77410 * sysdeps/i386/elf/Makefile: Remove file.
77411 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77412
77413 2012-02-07 Marek Polacek <polacek@redhat.com>
77414
77415 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77416 * sysdeps/gnu/_G_config.h: Likewise.
77417 * sysdeps/mach/hurd/_G_config.h: Likewise.
77418
77419 2012-02-07 Marek Polacek <polacek@redhat.com>
77420
77421 * math/Makefile (tests): Add tst-CMPLX2.
77422 * math/tst-CMPLX2.c: New file.
77423
77424 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
77425
77426 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77427
77428 * math/libm-test.inc (jn_test): Add missing L suffix.
77429
77430 2012-02-06 Marek Polacek <polacek@redhat.com>
77431
77432 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77433 * sysdeps/i386/fpu/e_powf.S: Likewise.
77434 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77435 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77436 * sysdeps/i386/fpu/e_acosh.S: Likewise.
77437 * sysdeps/i386/fpu/e_pow.S: Likewise.
77438 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77439 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77440 * sysdeps/i386/fpu/s_expm1.S: Likewise.
77441 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77442 * sysdeps/i386/fpu/e_log2.S: Likewise.
77443 * sysdeps/i386/fpu/e_log2l.S: Likewise.
77444 * sysdeps/i386/fpu/e_scalb.S: Likewise.
77445 * sysdeps/i386/fpu/e_powl.S: Likewise.
77446 * sysdeps/i386/fpu/s_log1p.S: Likewise.
77447 * sysdeps/i386/fpu/e_log10f.S: Likewise.
77448 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77449 * sysdeps/i386/fpu/e_logl.S: Likewise.
77450 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77451 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
77452 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77453 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77454 * sysdeps/i386/fpu/e_log2f.S: Likewise.
77455 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77456 * sysdeps/i386/fpu/e_log.S: Likewise.
77457 * sysdeps/i386/fpu/s_cexp.S: Likewise.
77458 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77459 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
77460 * sysdeps/i386/fpu/e_logf.S: Likewise.
77461 * sysdeps/i386/fpu/e_log10l.S: Likewise.
77462 * sysdeps/i386/fpu/e_atanh.S: Likewise.
77463 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
77464 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77465 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77466 * sysdeps/i386/fpu/e_log10.S: Likewise.
77467 * sysdeps/i386/fpu/s_frexp.S: Likewise.
77468 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77469 * sysdeps/i386/fpu/s_asinh.S: Likewise.
77470 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77471 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77472 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77473 * sysdeps/i386/asm-syntax.h: Likewise.
77474 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77475 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77476 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77477 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
77478 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
77479 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77480 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77481 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77482 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77483 * sysdeps/powerpc/sysdep.h: Likewise.
77484 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
77485 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77486
77487 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77488
77489 [BZ #411]
77490 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
77491
77492 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77493
77494 * sysdeps/i386/sysdep.h: Include <features.h>.
77495 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
77496 version.
77497
77498 2012-02-05 Joseph Myers <joseph@codesourcery.com>
77499
77500 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
77501 Define.
77502 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
77503 LOAD_PIC_REG_STR.
77504
77505 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77506
77507 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
77508 (SETUP_PIC_REG): Use GET_PC_THUNK.
77509 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
77510 macro.
77511
77512 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77513
77514 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
77515 for non-PIC compilation.
77516 (SETUP_PIC_REG): Add .p2align directive.
77517 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
77518 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
77519 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
77520 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
77521 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
77522 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
77523 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
77524 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77525 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
77526 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
77527 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
77528 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
77529 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
77530 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
77531 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
77532 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
77533 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
77534 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
77535 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
77536 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
77537 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
77538 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
77539 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
77540 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
77541 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
77542 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
77543 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77544 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
77545 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
77546 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
77547 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
77548 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77549 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
77550 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
77551 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
77552 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
77553 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
77554 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
77555 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
77556 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
77557 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
77558
77559 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77560
77561 * math/tst-CMPLX.c: Include <stdio.h>.
77562
77563 2012-01-31 Joseph Myers <joseph@codesourcery.com>
77564
77565 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
77566 float.
77567 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77568 * sysdeps/sparc/bits/mathdef.h: Likewise.
77569
77570 2012-01-31 Marek Polacek <polacek@redhat.com>
77571
77572 * libio/libio.h: Don't define _PARAMS.
77573 * locale/programs/config.h: Don't define PARAMS.
77574 * stdlib/strtol_l.c: Likewise.
77575 (__strtol_l): Remove PARAMS from the prototype.
77576
77577 2012-01-31 Ulrich Drepper <drepper@gmail.com>
77578
77579 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
77580 names. Just use the correct names. Remove unnecessary wrapper
77581 functions.
77582 * malloc/arena.c: Likewise.
77583 * malloc/hooks.c: Likewise.
77584
77585 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
77586 ARENA_TEST says not to. Simplify test for creation of a new arena.
77587 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
77588
77589 2012-01-30 Ulrich Drepper <drepper@gmail.com>
77590
77591 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
77592 into tail calls.
77593 (update_get_addr): New function.
77594 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
77595 GET_ADDR_MODULE parameter.
77596
77597 2012-01-30 Joseph Myers <joseph@codesourcery.com>
77598
77599 * crypt/cert.c: Remove __STDC__ conditionals.
77600 * crypt/crypt-entry.c: Likewise.
77601 * crypt/crypt_util.c: Likewise.
77602 * libio/filedoalloc.c: Likewise.
77603 * libio/fileops.c: Likewise.
77604 * libio/genops.c: Likewise.
77605 * libio/iofclose.c: Likewise.
77606 * libio/iofdopen.c: Likewise.
77607 * libio/iofopen.c: Likewise.
77608 * libio/iofopen64.c: Likewise.
77609 * libio/iogetdelim.c: Likewise.
77610 * libio/iopopen.c: Likewise.
77611 * libio/obprintf.c: Likewise.
77612 * libio/oldfileops.c: Likewise.
77613 * libio/oldiofclose.c: Likewise.
77614 * libio/oldiofdopen.c: Likewise.
77615 * libio/oldiofopen.c: Likewise.
77616 * libio/oldiopopen.c: Likewise.
77617 * libio/wfiledoalloc.c: Likewise.
77618 * libio/wgenops.c: Likewise.
77619 * locale/programs/xmalloc.c: Likewise.
77620 * misc/syslog.c: Likewise.
77621 * stdio-common/xbug.c: Likewise.
77622 * string/memchr.c: Likewise.
77623 * string/memcmp.c: Likewise.
77624 * string/memrchr.c: Likewise.
77625 * string/rawmemchr.c: Likewise.
77626 * sysdeps/posix/getcwd.c: Likewise.
77627 * time/strftime_l.c: Likewise.
77628
77629 2012-01-30 Joseph Myers <joseph@codesourcery.com>
77630
77631 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
77632 * config.make.in (config-cflags-sse2avx): Define.
77633 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
77634 Fix typo.
77635
77636 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
77637
77638 * scripts/config.guess: Update from upstream config git repository.
77639 * scripts/config.sub: Likewise.
77640
77641 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
77642
77643 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
77644 (EM_NUM): Update.
77645 (R_TILEPRO_*, R_TILEGX_*): New macros.
77646
77647 * scripts/firstversions.awk: Fix bug in version range handling.
77648
77649 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
77650
77651 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
77652
77653 * include/sys/epoll.h: New file.
77654 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
77655 libc_hidden_def.
77656
77657 2012-01-28 Ulrich Drepper <drepper@gmail.com>
77658
77659 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
77660 Avoid unnecessary __WORDSIZE == 64 test.
77661 (fmaxf): Use VEX format if possible.
77662 (fmax): Likewise.
77663 (fminf): Likewise.
77664 (fmin): Likewise.
77665
77666 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
77667 * math/math_private.h: Remove libc_fegetround* and
77668 libc_fesetround*.
77669 * sysdeps/i386/configure.in: Check for -msse2avx.
77670 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
77671 also if SSE2AVX is defined.
77672 Remove libc_fegetround* and libc_fesetround*.
77673 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
77674 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
77675 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
77676 of HAS_YMM_USABLE.
77677 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77678 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77679 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77680 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77681 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77682
77683 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
77684
77685 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77686
77687 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
77688 size is not set.
77689 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77690
77691 2012-01-27 Ulrich Drepper <drepper@gmail.com>
77692
77693 [BZ #13618]
77694 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
77695 relocation.
77696 * Makeconfig (libm): Define.
77697 * elf/Makefile: Add rules to build and run tst-relsort1.
77698 * elf/tst-relsort1.c: New file.
77699 * elf/tst-relsort1mod1.c: New file.
77700 * elf/tst-relsort1mod2.c: New file.
77701
77702 2012-01-27 Joseph Myers <joseph@codesourcery.com>
77703
77704 * math/s_ldexp.c: Remove __STDC__ conditionals.
77705 * math/s_ldexpf.c: Likewise.
77706 * math/s_ldexpl.c: Likewise.
77707 * math/s_nextafter.c: Likewise.
77708 * math/s_nexttowardf.c: Likewise.
77709 * math/s_significand.c: Likewise.
77710 * math/s_significandf.c: Likewise.
77711 * math/s_significandl.c: Likewise.
77712 * math/w_jnl.c: Likewise.
77713 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77714 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77715 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77716 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77717 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77718 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77719 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
77720 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77721 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77722 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77723 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77724 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77725 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77726 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77727 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77728 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77729 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77730 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77731 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77732 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77733 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77734 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77735 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77736 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77737 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77738 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77739 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77740 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77741 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77742 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77743 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77744 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77745 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77746 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77747 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77748 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77749 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77750 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77751 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77752 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77753 * sysdeps/ieee754/k_standard.c: Likewise.
77754 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77755 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77756 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77757 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77758 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77759 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77760 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77761 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77762 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77763 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77764 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77765 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77766 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77767 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77768 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77769 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77770 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77771 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77772 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77773 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77774 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77775 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77776 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77777 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77778 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77779 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77780 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77781 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77782 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77783 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77784 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77785 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
77786 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77787 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77788 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77789 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77790 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
77791 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77792 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77793 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
77794 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
77795 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77796 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
77797 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
77798 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77799 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
77800 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
77801 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77802 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77803 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
77804 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
77805 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77806 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77807 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77808 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77809 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77810 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
77811 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77812 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77813 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77814 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77815 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77816 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77817 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77818 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77819 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77820 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77821 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77822 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77823 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77824 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77825 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77826 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77827 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77828 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77829 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77830 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77831 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77832 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77833 * sysdeps/ieee754/s_matherr.c: Likewise.
77834 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77835 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77838
77839 2012-01-26 Joseph Myers <joseph@codesourcery.com>
77840
77841 * crypt/md5.h: Remove __STDC__ conditionals.
77842 * libio/libioP.h: Likewise.
77843 * locale/programs/config.h: Likewise.
77844 * sysdeps/generic/sysdep.h: Likewise.
77845 * sysdeps/i386/asm-syntax.h: Likewise.
77846 * sysdeps/s390/asm-syntax.h: Likewise.
77847 * sysdeps/unix/sysdep.h: Likewise.
77848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
77849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77850
77851 2012-01-26 Joseph Myers <joseph@codesourcery.com>
77852
77853 * libio/libio.h: Remove __STDC__ conditionals.
77854 * malloc/obstack.h: Likewise.
77855 * math/complex.h: Likewise.
77856 * math/math.h: Likewise.
77857 * sysdeps/generic/_G_config.h: Likewise.
77858 * sysdeps/gnu/_G_config.h: Likewise.
77859 * sysdeps/mach/hurd/_G_config.h: Likewise.
77860 * sysdeps/powerpc/bits/mathdef.h: Likewise.
77861 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77862 * sysdeps/sparc/bits/mathdef.h: Likewise.
77863
77864 2012-01-26 Ulrich Drepper <drepper@gmail.com>
77865
77866 [BZ #13583]
77867 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
77868 Clean up HAS_* macros.
77869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
77870 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
77871 possible.
77872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
77873 HAS_AVX.
77874 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77875 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77876 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77877 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77878 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77879
77880 2012-01-25 Joseph Myers <joseph@codesourcery.com>
77881
77882 * elf/tst-unique3.cc (gets): Remove declaration.
77883 * elf/tst-unique3lib.cc (gets): Likewise.
77884 * elf/tst-unique3lib2.cc (gets): Likewise.
77885 * elf/tst-unique4.cc (gets): Likewise.
77886
77887 2012-01-24 Ulrich Drepper <drepper@gmail.com>
77888
77889 * include/stdio.h: Add C++ protection. Add gets declarations and
77890 definitions.
77891 * debug/tst-chk1.c: Don't declare gets here.
77892 * stdio-common/tst-gets.c: Likewise.
77893
77894 2012-01-24 Joseph Myers <joseph@codesourcery.com>
77895
77896 * posix/glob: Remove directory.
77897
77898 2012-01-24 Joseph Myers <joseph@codesourcery.com>
77899
77900 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
77901
77902 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
77903
77904 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
77905 of the non-standard EPFNOSUPPORT.
77906
77907 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
77908
77909 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
77910 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
77911 ANYWHERE set to 1 only on KERN_NO_SPACE error.
77912
77913 2012-01-21 Ulrich Drepper <drepper@gmail.com>
77914
77915 * wcsmbs/uchar.h: Test __STDC_VERSION__.
77916
77917 2012-01-20 Ulrich Drepper <drepper@gmail.com>
77918
77919 * nscd/aicache.c (addhstaiX): Do not cache negative results of
77920 transient errors.
77921 * nscd/grpcache.c (cache_addgr): Likewise.
77922 * nscd/hstcache.c (cache_addhst): Likewise.
77923 * nscd/initgrcache.c (addinitgroupsX): Likewise.
77924 * nscd/pwdcache.c (cache_addpw): Likewise.
77925 * nscd/servicescache.c (cache_addserv): Likewise.
77926
77927 2012-01-16 Ulrich Drepper <drepper@gmail.com>
77928
77929 * malloc/malloc.c: Various cleanups.
77930 * malloc/hooks.c: Likewise.
77931
77932 * stdlib/Makefile (tests): Add bug-fmtmsg1.
77933 * stdlib/bug-fmtmsg1.c: New file.
77934
77935 * stdlib/fmtmsg.c (init): Add missing unlock.
77936 Patch by Peng Haitao <penght@cn.fujitsu.com>.
77937
77938 2012-01-12 Marek Polacek <polacek@redhat.com>
77939
77940 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
77941 and _GNU_SOURCE.
77942
77943 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
77944
77945 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
77946 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
77947 macro to ensure uniqueness of label name.
77948 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77949 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77950
77951 2012-01-11 Ulrich Drepper <drepper@gmail.com>
77952
77953 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
77954
77955 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
77956 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77957 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
77959
77960 2012-01-10 Ulrich Drepper <drepper@gmail.com>
77961
77962 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
77963
77964 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
77965 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77966 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77967
77968 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
77969
77970 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
77971 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77972 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
77974
77975 * math/bits/math-finite.h: Add ldexp support.
77976
77977 2012-01-10 Marek Polacek <polacek@redhat.com>
77978
77979 * locale/programs/localedef.h (show_archive_content): Add noreturn
77980 attribute.
77981
77982 2012-01-09 Ulrich Drepper <drepper@gmail.com>
77983
77984 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
77985
77986 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77987
77988 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
77989
77990 * io/Makefile (headers): Add bits/poll2.h.
77991
77992 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
77993
77994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
77995 typo #include statement.
77996
77997 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77998
77999 * include/sys/cdefs.h: Define __attribute_alloc_size.
78000 * catgets/gencat.c: Add alloc_size attribute and apply consistently
78001 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78002 * elf/pldd.c: Likewise.
78003 * iconv/iconv_charmap.c: Likewise.
78004 * iconv/iconvconfig.c: Likewise.
78005 * iconv/strtab.c: Likewise.
78006 * locale/programs/locale.c: Likewise.
78007 * locale/programs/localedef.h: Likewise.
78008 * locale/programs/simple-hash.c: Likewise.
78009 * nscd/nscd.h: Likewise.
78010 * nss/makedb.c: Likewise.
78011 * sysdeps/generic/ldconfig.h: Likewise.
78012 * locale/programs/localedef.c: Remove xmalloc prototype.
78013 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78014
78015 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
78016
78017 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78018 appropriate.
78019
78020 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78021
78022 * math/Makefile (tests): Add tst-CMPLX.
78023 * math/tst-CMPLX.c: New file.
78024
78025 * math/complex.h (CMPLXL): Fix typo.
78026
78027 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78028 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78029 GLIBC_2.16.
78030 * debug/tst-chk1.c: Add poll and ppoll tests.
78031 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78032 * include/sys/poll.h: Add hidden proto for ppoll.
78033 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78034 * sysdeps/mach/hurd/ppoll.c: Likewise.
78035 * io/ppoll.c: Likewise.
78036 * debug/poll_chk.c: New file.
78037 * debug/ppoll_chk.c: New file.
78038 * include/bits/poll2.h: New file.
78039 * io/bits/poll2.h: New file.
78040
78041 [BZ #1350]
78042 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78043
78044 * configure.in: static is always set to yes. Remove.
78045 * config.make.in: Don't set build-static.
78046 * Makeconfig: Remove use of build-static.
78047 * dlfcn/Makefile: Likewise.
78048 * elf/Makefile: Likewise.
78049 * math/Makefile: Likewise.
78050 * misc/Makefile: Likewise.
78051 * nptl/Makefile: Likewise.
78052 * sysdeps/mach/hurd/Makefile: Likewise.
78053
78054 * configure.in: PWD_P is not used anymore.
78055 * config.make.in: Remove PWD_P entry.
78056
78057 * configure.in: Remove last remnants of RANLIB.
78058 No need to check for signed size_t anymore.
78059 Don't set libc_commonpagesize and libc_relro_required here for Alpha
78060 and IA-64.
78061 Remove __builtin_expect test because we require at least gcc 3.4.
78062 * aclocal.m4: Likewise.
78063
78064 * wcsmbs/mbrtoc16.c: Implement using towc function.
78065 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78066 * wcsmbs/wcsmbsload.c: Likewise.
78067 * iconv/gconv_simple.c: Likewise.
78068 * iconv/gconv_int.h: Likewise.
78069 * iconv/gconv_builtin.h: Likewise.
78070 * iconv/iconv_prog.c: Remove CHAR16 handling.
78071
78072 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78073
78074 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78075
78076 * configure.in: Remove --with-elf and --enable-bounded options.
78077 Dont set base_machine for ia64. More non-ELF conditions removed.
78078 Remove testing and setting of leading underscore information.
78079 * config.make.in (build-bounded): Set to no.
78080 * config.h.in: Remove NO_UNDERSCORES entry.
78081 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
78082 them.
78083 * csu/start.c: Remove !NO_UNDERSCORE code.
78084 * locale/localeinfo.h: Likewise.
78085 * sysdeps/generic/machine-gmon.h: Likewise.
78086 * sysdeps/generic/sysdep.h: Likewise.
78087 * sysdeps/i386/sysdep.h: Likewise.
78088 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78089 * sysdeps/mach/sysdep.h: Likewise.
78090 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78091 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78092 * sysdeps/sh/sysdep.h: Likewise.
78093 * sysdeps/sparc/sparc32/alloca.S: Likewise.
78094 * sysdeps/unix/i386/sysdep.S: Likewise.
78095 * sysdeps/unix/sparc/start.c: Likewise.
78096 * sysdeps/unix/sparc/sysdep.S: Likewise.
78097 * sysdeps/unix/sparc/sysdep.h: Likewise.
78098 * sysdeps/unix/start.c: Likewise.
78099 * sysdeps/unix/x86_64/sysdep.S: Likewise.
78100 * sysdeps/x86_64/sysdep.h: Likewise.
78101
78102 2012-01-07 Ulrich Drepper <drepper@gmail.com>
78103
78104 [BZ #13553]
78105 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78106 for non-gcc.
78107 * argp/argp-fmtstream.h: Use const instead __const.
78108 * argp/argp.h: Likewise.
78109 * assert/assert.h: Likewise.
78110 * bits/fenv.h: Likewise.
78111 * bits/sched.h: Likewise.
78112 * bits/sigset.h: Likewise.
78113 * bits/sigthread.h: Likewise.
78114 * catgets/nl_types.h: Likewise.
78115 * conform/data/pthread.h-data: Likewise.
78116 * crypt/crypt-private.h: Likewise.
78117 * crypt/crypt.h: Likewise.
78118 * crypt/crypt_util.c: Likewise.
78119 * ctype/ctype.h: Likewise.
78120 * debug/execinfo.h: Likewise.
78121 * debug/mbsnrtowcs_chk.c: Likewise.
78122 * debug/mbsrtowcs_chk.c: Likewise.
78123 * debug/wcsnrtombs_chk.c: Likewise.
78124 * debug/wcsrtombs_chk.c: Likewise.
78125 * debug/wcstombs_chk.c: Likewise.
78126 * dirent/dirent.h: Likewise.
78127 * dlfcn/dlfcn.h: Likewise.
78128 * elf/neededtest4.c: Likewise.
78129 * grp/grp.h: Likewise.
78130 * gshadow/gshadow.h: Likewise.
78131 * iconv/gconv.h: Likewise.
78132 * iconv/gconv_int.h: Likewise.
78133 * iconv/gconv_simple.c: Likewise.
78134 * iconv/iconv.h: Likewise.
78135 * iconv/loop.c: Likewise.
78136 * iconv/skeleton.c: Likewise.
78137 * include/aio.h: Likewise.
78138 * include/aliases.h: Likewise.
78139 * include/argz.h: Likewise.
78140 * include/arpa/inet.h: Likewise.
78141 * include/assert.h: Likewise.
78142 * include/dirent.h: Likewise.
78143 * include/dlfcn.h: Likewise.
78144 * include/execinfo.h: Likewise.
78145 * include/fcntl.h: Likewise.
78146 * include/fenv.h: Likewise.
78147 * include/glob.h: Likewise.
78148 * include/grp.h: Likewise.
78149 * include/libintl.h: Likewise.
78150 * include/mntent.h: Likewise.
78151 * include/netdb.h: Likewise.
78152 * include/pwd.h: Likewise.
78153 * include/rpc/netdb.h: Likewise.
78154 * include/sched.h: Likewise.
78155 * include/search.h: Likewise.
78156 * include/shadow.h: Likewise.
78157 * include/signal.h: Likewise.
78158 * include/stdio.h: Likewise.
78159 * include/stdlib.h: Likewise.
78160 * include/string.h: Likewise.
78161 * include/sys/socket.h: Likewise.
78162 * include/sys/stat.h: Likewise.
78163 * include/sys/statfs.h: Likewise.
78164 * include/sys/statvfs.h: Likewise.
78165 * include/sys/syslog.h: Likewise.
78166 * include/sys/time.h: Likewise.
78167 * include/sys/uio.h: Likewise.
78168 * include/time.h: Likewise.
78169 * include/unistd.h: Likewise.
78170 * include/utmp.h: Likewise.
78171 * include/wchar.h: Likewise.
78172 * include/wctype.h: Likewise.
78173 * inet/aliases.h: Likewise.
78174 * inet/arpa/inet.h: Likewise.
78175 * inet/netinet/ether.h: Likewise.
78176 * inet/netinet/in.h: Likewise.
78177 * intl/libintl.h: Likewise.
78178 * io/bits/fcntl2.h: Likewise.
78179 * io/fcntl.h: Likewise.
78180 * io/ftw.h: Likewise.
78181 * io/sys/poll.h: Likewise.
78182 * io/sys/stat.h: Likewise.
78183 * io/sys/statfs.h: Likewise.
78184 * io/sys/statvfs.h: Likewise.
78185 * io/utime.h: Likewise.
78186 * libio/bits/stdio.h: Likewise.
78187 * libio/bits/stdio2.h: Likewise.
78188 * libio/libio.h: Likewise.
78189 * libio/libioP.h: Likewise.
78190 * libio/stdio.h: Likewise.
78191 * locale/lc-ctype.c: Likewise.
78192 * locale/locale.h: Likewise.
78193 * login/utmp.h: Likewise.
78194 * malloc/arena.c: Likewise.
78195 * malloc/malloc.c: Likewise.
78196 * malloc/malloc.h: Likewise.
78197 * malloc/mcheck.c: Likewise.
78198 * malloc/mtrace.c: Likewise.
78199 * math/bits/mathcalls.h: Likewise.
78200 * math/fenv.h: Likewise.
78201 * math/math_private.h: Likewise.
78202 * misc/bits/error.h: Likewise.
78203 * misc/bits/syslog.h: Likewise.
78204 * misc/err.h: Likewise.
78205 * misc/error.h: Likewise.
78206 * misc/fstab.h: Likewise.
78207 * misc/mntent.h: Likewise.
78208 * misc/regexp.h: Likewise.
78209 * misc/search.h: Likewise.
78210 * misc/sgtty.h: Likewise.
78211 * misc/sys/mman.h: Likewise.
78212 * misc/sys/syslog.h: Likewise.
78213 * misc/sys/uio.h: Likewise.
78214 * misc/sys/xattr.h: Likewise.
78215 * misc/ttyent.h: Likewise.
78216 * nis/rpcsvc/ypclnt.h: Likewise.
78217 * nss/nss.h: Likewise.
78218 * posix/bits/unistd.h: Likewise.
78219 * posix/fnmatch.h: Likewise.
78220 * posix/glob.h: Likewise.
78221 * posix/sched.h: Likewise.
78222 * posix/spawn.h: Likewise.
78223 * posix/sys/wait.h: Likewise.
78224 * posix/unistd.h: Likewise.
78225 * posix/wordexp.h: Likewise.
78226 * pwd/pwd.h: Likewise.
78227 * resolv/netdb.h: Likewise.
78228 * resource/sys/resource.h: Likewise.
78229 * rt/aio.h: Likewise.
78230 * rt/bits/mqueue2.h: Likewise.
78231 * rt/mqueue.h: Likewise.
78232 * shadow/shadow.h: Likewise.
78233 * signal/signal.h: Likewise.
78234 * socket/send.c: Likewise.
78235 * socket/sendto.c: Likewise.
78236 * socket/sys/socket.h: Likewise.
78237 * stdio-common/printf.h: Likewise.
78238 * stdlib/bits/stdlib.h: Likewise.
78239 * stdlib/fmtmsg.h: Likewise.
78240 * stdlib/monetary.h: Likewise.
78241 * stdlib/stdlib.h: Likewise.
78242 * stdlib/ucontext.h: Likewise.
78243 * streams/stropts.h: Likewise.
78244 * string/argz.h: Likewise.
78245 * string/bits/string2.h: Likewise.
78246 * string/string.h: Likewise.
78247 * string/strings.h: Likewise.
78248 * sunrpc/rpc/auth.h: Likewise.
78249 * sunrpc/rpc/auth_des.h: Likewise.
78250 * sunrpc/rpc/clnt.h: Likewise.
78251 * sunrpc/rpc/netdb.h: Likewise.
78252 * sunrpc/rpc/pmap_clnt.h: Likewise.
78253 * sunrpc/rpc/xdr.h: Likewise.
78254 * sysdeps/generic/inttypes.h: Likewise.
78255 * sysdeps/generic/net/if.h: Likewise.
78256 * sysdeps/generic/sys/swap.h: Likewise.
78257 * sysdeps/gnu/net/if.h: Likewise.
78258 * sysdeps/gnu/utmpx.h: Likewise.
78259 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78260 * sysdeps/i386/i486/bits/string.h: Likewise.
78261 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78262 * sysdeps/s390/bits/string.h: Likewise.
78263 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78264 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78265 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78266 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78267 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78268 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78269 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78270 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78271 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78272 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78273 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78274 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78275 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78276 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78277 * sysdeps/unix/sysv/linux/readv.c: Likewise.
78278 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78279 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78281 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78282 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78283 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78284 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78285 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78286 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78287 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78288 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78289 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78290 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78291 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78292 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78293 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78294 * sysvipc/sys/ipc.h: Likewise.
78295 * sysvipc/sys/msg.h: Likewise.
78296 * sysvipc/sys/sem.h: Likewise.
78297 * sysvipc/sys/shm.h: Likewise.
78298 * termios/termios.h: Likewise.
78299 * time/sys/time.h: Likewise.
78300 * time/time.h: Likewise.
78301 * wcsmbs/bits/wchar2.h: Likewise.
78302 * wcsmbs/uchar.h: Likewise.
78303 * wcsmbs/wchar.h: Likewise.
78304 * wctype/wctype.h: Likewise.
78305
78306 [BZ #13551]
78307 * Makeconfig: Remove all but ELF support including AIX support.
78308 * Makerules: Likewise.
78309 * config.h.in: Likewise.
78310 * config.make.in: Likewise.
78311 * configure: Likewise.
78312 * configure.in: Likewise.
78313 * csu/Makefile: Likewise.
78314 * csu/version.c: Likewise.
78315 * debug/Makefile: Likewise.
78316 * dlfcn/Makefile: Likewise.
78317 * elf/Makefile: Likewise.
78318 * extra-lib.mk: Likewise.
78319 * iconv/Makefile: Likewise.
78320 * include/libc-symbols.h: Likewise.
78321 * include/shlib-compat.h: Likewise.
78322 * resolv/Makefile: Likewise.
78323 * resolv/res_libc.c: Likewise.
78324 * rt/Makefile: Likewise.
78325 * sysdeps/i386/asm-syntax.h: Likewise.
78326 * sysdeps/i386/sysdep.h: Likewise.
78327 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78328 * sysdeps/mach/sysdep.h: Likewise.
78329 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78330 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78331 * sysdeps/s390/asm-syntax.h: Likewise.
78332 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78333 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78334 * sysdeps/sh/sysdep.h: Likewise.
78335 * sysdeps/unix/sparc/sysdep.h: Likewise.
78336 * sysdeps/wordsize-32/divdi3.c: Likewise.
78337 * sysdeps/x86_64/sysdep.h: Likewise.
78338
78339 * argp/Versions: Remove _argp_unlock_xxx.
78340
78341 [BZ #13559]
78342 * abilist/ld.abilist: Update. Adjust for removal of tls option.
78343 * abilist/libBrokenLocale.abilist: Likewise.
78344 * abilist/libanl.abilist: Likewise.
78345 * abilist/libc.abilist: Likewise.
78346 * abilist/libcrypt.abilist: Likewise.
78347 * abilist/libdl.abilist: Likewise.
78348 * abilist/libm.abilist: Likewise.
78349 * abilist/libnsl.abilist: Likewise.
78350 * abilist/libpthread.abilist: Likewise.
78351 * abilist/libresolv.abilist: Likewise.
78352 * abilist/librt.abilist: Likewise.
78353 * abilist/libthread_db.abilist: Likewise.
78354 * abilist/libutil.abilist: Likewise.
78355 * abilist/libnss_db.abilist: New file.
78356
78357 * scripts/abilist.awk: Add support for indirect functions.
78358
78359 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78360
78361 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78362
78363 * shlib-versions: Remove entries for ports architectures.
78364
78365 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
78366 files in ports.
78367 * elf/stackguard-macros.h: Remove support for IA-64.
78368 * elf/tst-auditmod1.c: Likewise.
78369 * sysdeps/generic/ldsodefs.h: Likewise.
78370
78371 * sysdeps/unix/sysv/linux/configure.in: Ports should define
78372 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78373 configure files.
78374
78375 [BZ #13552]
78376 * configure.in: Remove --enable-omitfp support.
78377 * FAQ.in: Adjust.
78378 * config.make.in: Likewise.
78379 * Makeconfig: Likewise.
78380 * manual/install.texi: Likewise.
78381
78382 In case anyone cares, the IA-64 architecture could move to ports.
78383 * sysdeps/ia64/*: Removed.
78384 * sysdeps/unix/sysv/linux/ia64/*: Removed.
78385 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78386
78387 [BZ #13555]
78388 * configure.in: Remove entries for unsupported architectures.
78389
78390 [BZ #13533]
78391 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78392 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
78393 routines.
78394 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78395 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78396 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
78397 fall back to using wcrtomb.
78398 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78399 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
78400 renaming.
78401 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78402 * wcsmbs/tst-c16c32-1.c: New file.
78403
78404 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78405 local variable.
78406
78407 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78408
78409 * elf/tst-unique3.cc: Add explicit declaration of gets.
78410 * elf/tst-unique3lib.cc: Likewise.
78411 * elf/tst-unique3lib2.cc: Likewise.
78412 * elf/tst-unique4.cc: Likewise.
78413
78414 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78415
78416 2012-01-06 Joseph Myers <joseph@codesourcery.com>
78417
78418 [BZ #13566]
78419 * assert/assert.h (static_assert): Don't define for C++.
78420 * libio/stdio.h (gets): Do declare for C++ <= C++11.
78421 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78422
78423 2012-01-03 Ulrich Drepper <drepper@gmail.com>
78424
78425 * iconv/loop.c (single loop): Fix assertion in storing of
78426 remaining bytes.
78427
78428 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78429
78430 2012-01-01 Ulrich Drepper <drepper@gmail.com>
78431
78432 * posix/getconf.c: Update copyright year.
78433 * nss/getent.c: Likewise.
78434 * nss/makedb.c: Likewise.
78435 * iconv/iconvconfig.c: Likewise.
78436 * iconv/iconv_prog.c: Likewise.
78437 * elf/ldconfig.c: Likewise.
78438 * elf/pldd.c: Likewise.
78439 * elf/sotruss.ksh: Likewise.
78440 * catgets/gencat.c: Likewise.
78441 * csu/version.c: Likewise.
78442 * elf/ldd.bash.in: Likewise.
78443 * elf/sprof.c (print_version): Likewise.
78444 * locale/programs/locale.c: Likewise.
78445 * locale/programs/localedef.c: Likewise.
78446 * login/programs/pt_chown.c: Likewise.
78447 * nscd/nscd.c (print_version): Likewise.
78448 * debug/xtrace.sh: Likewise.
78449 * malloc/memusage.sh: Likewise.
78450 * malloc/mtrace.pl: Likewise.
78451 * debug/catchsegv.sh: Likewise.
78452
78453 2011-12-30 Jakub Jelinek <jakub@redhat.com>
78454
78455 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
78456 pure attribute.
78457
78458 2011-12-24 Ulrich Drepper <drepper@gmail.com>
78459
78460 [BZ #13533]
78461 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
78462 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
78463 transformations.
78464 * iconv/gconv_int.h: Likewise.
78465 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
78466 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
78467 from libc for GLIBC_2.16.
78468 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
78469 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
78470 * wcsmbs/uchar.h: Really define mbstate_t.
78471 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
78472 * wcsmbs/c16rtomb.c: New file.
78473 * wcsmbs/mbrtoc16.c: New file.
78474 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
78475 for C/POSIX locale.
78476 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
78477 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
78478
78479 * wcsmbs/wchar.h: Add missing __restrict.
78480
78481 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78482
78483 [BZ #13532]
78484 * time/Makefile (routines): Add timespec_get.
78485 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
78486 * time/time.h: Define TIME_UTC and declare timespec_get. Define
78487 timespec for ISO C11.
78488 * time/timespec_get.c: New file.
78489 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
78490 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
78491
78492 [BZ #13531]
78493 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
78494 * stdlib/stdlib.h: Declare aligned_alloc.
78495 * Versions.def: Add GLIBC_2.16 for libc.
78496 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
78497
78498 [BZ 13527]
78499 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
78500 ISO C11.
78501
78502 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
78503 code.
78504
78505 [BZ #13528]
78506 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
78507
78508 [BZ #13529]
78509 * assert/assert.h (static_assert): Define.
78510
78511 * version.h: Update for 2.16 development version.
78512
78513 [BZ #13526]
78514 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
78515 _ISOC11_SOURCE.
78516
78517 * version.h (RELEASE): Bump for 2.15 release.
78518 * include/features.h (__GLIBC_MINOR__): Bump to 15.
78519
78520 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
78521 Patch by Marek Polacek <mpolacek@redhat.com>.
78522
78523 * bits/byteswap.h: Protect long long constants with __extension__.
78524 * sysdeps/i386/bits/byteswap.h: Likewise.
78525 * sysdeps/ia64/bits/byteswap.h: Likewise.
78526 * sysdeps/s390/bits/byteswap.h: Likewise.
78527 * sysdeps/x86_64/bits/byteswap.h: Likewise.
78528
78529 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78530
78531 [BZ #13540]
78532 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
78533 destination buffer.
78534 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
78535
78536 2011-12-23 Marek Polacek <polacek@redhat.com>
78537
78538 * elf/dl-addr.c (determine_info): Add inline keyword.
78539 * elf/tst-auditmod4b.c (check_avx): Likewise.
78540 * elf/tst-auditmod6b.c (check_avx): Likewise.
78541 * elf/tst-auditmod6c.c (check_avx): Likewise.
78542 * elf/tst-auditmod7b.c (check_avx): Likewise.
78543
78544 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78545
78546 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
78547 !__SSE_MATH__.
78548
78549 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78550
78551 [BZ #13540]
78552 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
78553 processing for last bytes.
78554
78555 2011-08-06 Bruno Haible <bruno@clisp.org>
78556
78557 [BZ #13061]
78558 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
78559 U+0385, not to U+1FEE.
78560
78561 [BZ #13062]
78562 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
78563 entry for U+00A5 U+0301.
78564
78565 2011-12-22 Ulrich Drepper <drepper@gmail.com>
78566
78567 [BZ #13166]
78568 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
78569 buffer for the output is too small.
78570
78571 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
78572 optimization.
78573
78574 [BZ #13185]
78575 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
78576 SSE flags if possible.
78577
78578 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78579
78580 [BZ #13540]
78581 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
78582 processing for last bytes.
78583
78584 2011-12-22 Joseph Myers <joseph@codesourcery.com>
78585
78586 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
78587 (syscall-list-default-options, syscall-list-default-condition)
78588 (syscall-list-includes): Define.
78589 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
78590 list of ABIs and options and #if conditions for each ABI. Do not
78591 handle common syscalls between ABIs specially.
78592 * sysdeps/unix/sysv/linux/powerpc/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/s390/Makefile (64bit-predefine): Remove.
78598 (syscall-list-variants, syscall-list-32bit-options)
78599 (syscall-list-32bit-condition, syscall-list-64bit-options)
78600 (syscall-list-64bit-condition): Define.
78601 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
78602 Remove.
78603 (syscall-list-variants, syscall-list-32bit-options)
78604 (syscall-list-32bit-condition, syscall-list-64bit-options)
78605 (syscall-list-64bit-condition): Define.
78606 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
78607 Remove.
78608 (syscall-list-variants, syscall-list-32bit-options)
78609 (syscall-list-32bit-condition, syscall-list-64bit-options)
78610 (syscall-list-64bit-condition): Define.
78611
78612 2011-12-22 Ulrich Drepper <drepper@gmail.com>
78613
78614 * locale/iso-639.def: Add brx entry.
78615
78616 [BZ #13328]
78617 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
78618 Proposed by Mariusz_Cukr <marcukr@op.pl>.
78619
78620 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
78621 __feraiseexcept_renamed.
78622
78623 2011-12-21 Ulrich Drepper <drepper@gmail.com>
78624
78625 [BZ #13538]
78626 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
78627 EPOLLET with unsigned values.
78628 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78629 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78630
78631 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
78632 to large cancellation.
78633 * math/s_cacoshf.c: Likewise.
78634 * math/s_cacoshl.c: Likewise.
78635
78636 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
78637
78638 [BZ #13305]
78639 [BZ #12786]
78640 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
78641 * math/s_cacoshf.c: Likewise.
78642 * math/s_cacoshl.c: Likewise.
78643
78644 2011-12-21 Ulrich Drepper <drepper@gmail.com>
78645
78646 [BZ #13439]
78647 * iconv/gconv.h: Define __GCONV_SWAP.
78648 * iconvdata/unicode.c: The swap bit must be stored in __flags.
78649 * iconvdata/utf-16.c: Likewise.
78650 * iconvdata/utf-32.c: Likewise.
78651
78652 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
78653
78654 [BZ #13524]
78655 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
78656 numerator after shifting it by one limb.
78657
78658 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
78659
78660 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
78661 under [__USE_EXTERN_INLINES].
78662
78663 2011-12-17 Ulrich Drepper <drepper@gmail.com>
78664
78665 [BZ #13446]
78666 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
78667
78668 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78669
78670 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
78671 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
78672 optimized code.
78673 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
78674 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
78675 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
78676 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
78677 for strncasecmp/strncasecmp_l compilation.
78678 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
78679 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
78680
78681 2011-12-08 Marek Polacek <mpolacek@redhat.com>
78682
78683 [BZ #13484]
78684 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
78685 of __asm__.
78686
78687 2011-12-17 Ulrich Drepper <drepper@gmail.com>
78688
78689 [BZ #13506]
78690 * time/tzfile.c (__tzfile_read): Check values from file header.
78691
78692 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
78693
78694 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
78695 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
78696 * powerpc/powerpc32/dl-start.S: Likewise.
78697 * powerpc/powerpc32/elf/start.S: Likewise.
78698 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
78699 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
78700 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
78701 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
78702 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
78703 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
78704 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
78705 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
78706 * powerpc/powerpc32/fpu/s_round.S: Likewise.
78707 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
78708 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
78709 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
78710 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
78711 * powerpc/powerpc32/memset.S: Likewise.
78712 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
78713 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
78714 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
78715 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
78716 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
78717 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
78718 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
78719 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
78720 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
78721 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
78722 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
78723 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78724 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78725
78726 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78727
78728 * math/libm-test.inc: Added more nearbyint tests.
78729 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
78730 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
78731 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
78732 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
78733
78734 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
78735
78736 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
78737 FD_CLOEXEC.
78738
78739 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78740
78741 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
78742 Add wcscpy-ssse3 wcscpy-c.
78743 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
78744 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
78745 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
78746 * sysdeps/x86_64/wcschr.S: New file.
78747 * sysdeps/x86_64/wcsrchr.S: New file.
78748 * string/test-strcmp.c: Remove checking of wcscmp function for
78749 wrong alignments.
78750 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
78751 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
78752 wcsrchr-sse2 wcsrchr-c.
78753 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
78754 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
78755 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
78756 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
78757 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
78758 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
78759 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
78760 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
78761 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
78762 * wcsmbc/wcschr.c (WCSCHR): New macro.
78763
78764 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78765
78766 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
78767 * wcsmbs/test-wcsrchr.c: New file.
78768 * string/test-strrchr.c: Add wcsrchr support.
78769 (WIDE): New macro.
78770 * wcsmbs/test-wcscpy.c: New file.
78771 * string/test-strcpy.c: Add wcscpy support.
78772 (WIDE): New macro.
78773
78774 2011-12-10 Ulrich Drepper <drepper@gmail.com>
78775
78776 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
78777 the inner loop.
78778
78779 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
78780
78781 [BZ #13472]
78782 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
78783
78784 2011-12-04 Ulrich Drepper <drepper@gmail.com>
78785
78786 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
78787 Minor optimizations.
78788
78789 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
78790 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
78791 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
78792
78793 2011-12-03 Ulrich Drepper <drepper@gmail.com>
78794
78795 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
78796 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
78797 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
78798 for gcc to avoid warnings.
78799 * inet/Makefile (tests): Add tst-checks.
78800 * inet/tst-checks.c: New file.
78801
78802 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
78803 warning.
78804
78805 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
78806 __wmemcmp_sse2.
78807
78808 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
78809 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
78810
78811 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
78812
78813 2011-12-02 Ulrich Drepper <drepper@gmail.com>
78814
78815 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
78816 problem.
78817
78818 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
78819
78820 2011-11-29 Joseph Myers <joseph@codesourcery.com>
78821
78822 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
78823 conditional on GCC version.
78824 (__arch_compare_and_exchange_val_8_acq)
78825 (__arch_compare_and_exchange_val_16_acq)
78826 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
78827 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
78828 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
78829
78830 2011-12-02 Joseph Myers <joseph@codesourcery.com>
78831
78832 * sysdeps/sh/backtrace.c: New file.
78833
78834 2011-12-02 Andreas Schwab <schwab@redhat.com>
78835
78836 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
78837 parenthesis.
78838
78839 2011-12-01 Andreas Schwab <schwab@redhat.com>
78840
78841 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
78842 falling back to utime.
78843
78844 2011-11-30 Andreas Schwab <schwab@redhat.com>
78845
78846 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
78847 expectations for float.
78848
78849 2011-11-29 Andreas Schwab <schwab@redhat.com>
78850
78851 * locale/weight.h (findidx): Add parameter len.
78852 * locale/weightwc.h (findidx): Likewise.
78853 * posix/fnmatch_loop.c (FCT): Adjust caller.
78854 * posix/regcomp.c (build_equiv_class): Likewise.
78855 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
78856 * posix/regexec.c (check_node_accept_bytes): Likewise.
78857 * string/strcoll_l.c (STRCOLL): Likewise.
78858 * string/strxfrm_l.c (STRXFRM): Likewise.
78859
78860 2011-11-17 Ulrich Drepper <drepper@gmail.com>
78861
78862 * Makefile.in: Remove CVSOPT handling.
78863 * configure.in: Remove use of AC_REVISION.
78864 * iconvdata/Makefile (distribute): No need to filter out CVS.
78865 * scripts/list-sources.sh: Remove CVS, subversion and monotone
78866 handling.
78867
78868 2011-11-16 Andreas Schwab <schwab@redhat.com>
78869
78870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
78871 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
78872 [USE_AS_STRNCASECMP_L]: Likewise.
78873 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
78874 NO_TLS_DIRECT_SEG_REFS.
78875 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
78876 Fix argument offsets for non-PIC.
78877 [USE_AS_STRNCASECMP_L]: Likewise.
78878 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
78879 NO_TLS_DIRECT_SEG_REFS.
78880
78881 2011-11-15 Ulrich Drepper <drepper@gmail.com>
78882
78883 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
78884 O_CLOEXEC.
78885 * locale/loadlocale.c (_nl_load_locale): Likewise.
78886
78887 2011-11-15 Andreas Schwab <schwab@redhat.com>
78888
78889 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
78890 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
78891 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
78892 (SYSCALL_GETTIME): Set errno on error.
78893
78894 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
78895 count references to noai6ai_cached.
78896
78897 2011-11-15 Ulrich Drepper <drepper@gmail.com>
78898
78899 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
78900
78901 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
78902 FD_CLOEXEC for /proc/self/maps.
78903
78904 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
78905 FD_CLOEXEC for /proc/meminfo.
78906
78907 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
78908 gai.conf.
78909
78910 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
78911 FD_CLOEXEC for given file.
78912
78913 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
78914
78915 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
78916 FD_CLOEXEC for /etc/hosts.
78917 (_gethtent): Likewise.
78918
78919 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
78920
78921 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
78922 cancellation and set FD_CLOEXEC for /etc/netgroup.
78923
78924 * nss/nss_files/files-key.c (search): Don't allow cancellation when
78925 reading /etc/publickey.
78926
78927 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
78928 allow cancellation when reading /etc/group.
78929
78930 * nss/nss_files/files-alias.c (internal_setent): Don't allow
78931 cancellation.
78932 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
78933
78934 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
78935 when using data file.
78936
78937 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
78938
78939 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
78940 (write_nis_obj): Use "c" and "e" in fopen.
78941
78942 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
78943
78944 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
78945
78946 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
78947
78948 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
78949
78950 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
78951 locale.alias.
78952
78953 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
78954
78955 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
78956
78957 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
78958
78959 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
78960 file parsing and set FD_CLOEXEC.
78961
78962 2011-11-14 Ulrich Drepper <drepper@gmail.com>
78963
78964 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
78965
78966 2011-11-14 Andreas Schwab <schwab@redhat.com>
78967
78968 * malloc/arena.c (arena_get2): Don't call reused_arena when
78969 _int_new_arena failed.
78970
78971 2011-11-14 Ulrich Drepper <drepper@gmail.com>
78972
78973 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
78974 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
78975 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
78976 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78977 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78978 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
78979 to compile strcasecmp and strncasecmp.
78980 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
78981 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
78982
78983 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
78984
78985 2011-11-13 Ulrich Drepper <drepper@gmail.com>
78986
78987 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
78988 locale-defines.sym to gen-as-const-headers.
78989 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
78990 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
78991 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
78992 to compile strcasecmp and strncasecmp.
78993 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
78994 strcasecmp_l and strncasecmp_l.
78995 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
78996 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
78997 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
78998 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
78999 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79000 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79001 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79002 * sysdeps/i386/i686/multiarch/strncase.S: New file.
79003 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79004 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79005 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79006
79007 2011-11-12 Ulrich Drepper <drepper@gmail.com>
79008
79009 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79010 result of SYSDEP_GETTIME_CPU to retval.
79011 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79012 parameter list to macro. Remove trailing semicolon. Adjust users.
79013
79014 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79015 variable.
79016
79017 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79018 mantissa words.
79019 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79020
79021 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79022 from unused variable.
79023
79024 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79025 DWARF definitions.
79026 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79027 for assembling.
79028
79029 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79030 over namespaces.
79031
79032 * sunrpc/rpc_prot.c (rejected): Fix case value.
79033
79034 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79035 unsigned long long int to avoid warnings in shift.
79036
79037 * posix/regex_internal.c (re_string_reconstruct): Actually use result
79038 of use of trans.
79039 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79040 variable tmp.
79041
79042 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79043 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79044 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79045
79046 * nis/nis_table.c (nis_list): Use variable of correct type for
79047 result of __follow_path call.
79048
79049 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79050
79051 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79052 of math functions ceil, trunc, floor, round, and sqrt, when
79053 avaliable on the platform.
79054 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79055 name clash.
79056 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79057 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79058 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79059
79060 2011-10-30 Marek Polacek <mpolacek@redhat.com>
79061
79062 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79063 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79064
79065 2011-11-11 Roland McGrath <roland@hack.frob.com>
79066
79067 * include/unistd.h: Fix __readlink return type.
79068 Reported by Chris Metcalf <cmetcalf@tilera.com>.
79069
79070 2011-11-11 Ulrich Drepper <drepper@gmail.com>
79071
79072 * stdlib/ucontext.h: Undo last change for makecontext.
79073
79074 2011-11-11 Andreas Schwab <schwab@redhat.com>
79075
79076 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79077
79078 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79079 * setjmp/setjmp.h: Mark functions as non-leaf.
79080 * setjmp/bits/setjmp2.h: Likewise.
79081 * stdlib/ucontext.h: Likewise.
79082
79083 2011-11-10 Andreas Schwab <schwab@redhat.com>
79084
79085 * malloc/arena.c (_int_new_arena): Don't increment narenas.
79086 (reused_arena): Don't check arena limit.
79087 (arena_get2): Atomically check arena limit.
79088
79089 2011-11-08 Ulrich Drepper <drepper@gmail.com>
79090
79091 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79092 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79093
79094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79095 instructions.
79096
79097 2011-11-07 Andreas Schwab <schwab@redhat.com>
79098
79099 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79100 handler when locking.
79101
79102 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79103 Fix size of allocated buffer.
79104
79105 2011-11-04 Andreas Schwab <schwab@redhat.com>
79106
79107 [BZ #10103]
79108 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79109 declarations for long double functions.
79110 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79111
79112 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79113
79114 2011-11-03 Andreas Schwab <schwab@redhat.com>
79115
79116 * nscd/nscd.c (main): Don't start AVC thread until credentials are
79117 installed.
79118
79119 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79120 is disabled.
79121
79122 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
79123
79124 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79125
79126 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
79127
79128 * include/alloca.h (stackinfo_alloca_round): Define.
79129 (extend_alloca): Use it.
79130 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79131 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79132 here.
79133
79134 * scripts/check-local-headers.sh: Ignore libaudit.h.
79135
79136 * nscd/Makefile (extra-objs): Make recursively expanded.
79137
79138 2011-11-01 Ulrich Drepper <drepper@gmail.com>
79139
79140 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79141 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79142
79143 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79144 * posix/tst-rfc3484-2.c: Likewise.
79145 * posix/tst-rfc3484-3.c: Likewise.
79146
79147 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79148 process_vm_writev.
79149 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79150 process_vm_writev.
79151 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79152 process_vm_writev from libc using GLIBC_2.15 version.
79153
79154 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79155
79156 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
79157
79158 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79159 stack usage.
79160
79161 2011-10-31 Ulrich Drepper <drepper@gmail.com>
79162
79163 [BZ #13367]
79164 * nss/getent.c (initgroups_keys): Show error message in case no group
79165 names are given.
79166
79167 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79168 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79169 __bump_nl_timestamp.
79170 * nscd/connections (nscd_init): When host database is served open
79171 netlink socket and request notification about configuration changes.
79172 (main_loop_poll): Track netlink file descriptor and bump timestamp
79173 in case data becomes available.
79174 (main_loop_epoll): Likewise.
79175 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79176 (database_pers_head): Add extra_data fileds.
79177 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79178 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79179 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79180 Adjust caller.
79181 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79182 in6ai data, call __free_in6ai.
79183 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79184 Add -DHAVE_NETLINK.
79185 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
79186 interface information. Reuse previous data if netlink timestamp
79187 is not changed.
79188 (__bump_nl_timestamp): New function.
79189 (__free_in6ai): New function.
79190
79191 2011-10-30 Ulrich Drepper <drepper@gmail.com>
79192
79193 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79194 close_not_cancel_no_status here.
79195 (__check_pf): Reorganize code a bit to not call close twice if OOM.
79196
79197 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79198
79199 [BZ #13276]
79200 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79201 return value.
79202
79203 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79204 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79205 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79206
79207 2011-07-03 Andreas Jaeger <aj@suse.de>
79208
79209 [BZ #10709]
79210 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79211 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79212 * math/libm-test.inc (sin_test): Add test case.
79213
79214 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79215
79216 [BZ #13337]
79217 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79218 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79219
79220 * elf/chroot_canon.c (chroot_canon): Cleanups.
79221
79222 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79223
79224 [BZ #13335]
79225 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79226 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79227
79228 * string/test-strchr.c: Make usable for strchrnul testing.
79229 * string/test-strchrnul.c: New file.
79230 * string/Makefile (strop-tests): Add strchrnul.
79231
79232 * po/it.po: Update from translation team.
79233 * po/es.po: Likewise.
79234
79235 2011-10-28 Ulrich Drepper <drepper@gmail.com>
79236
79237 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79238 the three constants needed as parameters. Drop the others.
79239 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79240 __m128i_strloadu_tolower.
79241 Create and initialize variable zero and use it in all the places
79242 where _mm_setzero_si128 was used.
79243
79244 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79245 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79246 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79247 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79248 anymore.
79249 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79250 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79251 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79252 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79253 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79254 __mpranred, __mptan.
79255 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79256 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79257 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79258 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79259 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79260 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79261 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79262 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79263 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79264
79265 2011-10-28 Andreas Schwab <schwab@redhat.com>
79266
79267 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79268 redefine if SHARED.
79269 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79270
79271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79272 wide char related routines to wcsmbs subdir.
79273
79274 2011-10-27 Andreas Schwab <schwab@redhat.com>
79275
79276 [BZ #13344]
79277 * misc/sys/cdefs.h (__THROWNL): Define.
79278 * posix/unistd.h: Use __THREADNL instead of __THREAD
79279 for memory synchronization functions.
79280
79281 2011-10-26 Roland McGrath <roland@hack.frob.com>
79282
79283 [BZ #13349]
79284 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79285 doesn't exist.
79286 * manual/stdio.texi (Obstack Streams): Node removed.
79287
79288 2011-10-26 Andreas Schwab <schwab@redhat.com>
79289
79290 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79291 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79292 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79293
79294 * math/math_private.h (math_force_eval): Allow non-addressable
79295 arguments.
79296 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79297
79298 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79299
79300 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79301 file is not needed.
79302
79303 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79304 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79305 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79306 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79307 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79308 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79309 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79310 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79311 Add AVX variants.
79312 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79313 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79314 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79315 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79316 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79317 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79318 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79319 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79320 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79321 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79322 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79323 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79324 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79325 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79326 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79327 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79328 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79329 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79330 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79331
79332 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79333 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
79334
79335 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79336 place. Use VEX encoding when compiling for AVX.
79337
79338 2011-10-25 Andreas Schwab <schwab@redhat.com>
79339
79340 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79341 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79342
79343 * string/test-strchr.c (do_test): Don't generate NUL bytes.
79344
79345 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79346
79347 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79348 useless if() expression.
79349 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79350 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79351 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79352 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79353 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79354 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79355 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79356 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79357 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79358 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79359 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79360 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79361 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79362 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79363 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79364 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79365 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79366 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79367 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79368
79369 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79370
79371 2011-10-25 Andreas Schwab <schwab@redhat.com>
79372
79373 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79374 condition.
79375 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79376
79377 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79378
79379 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79380 .text section. Avoid duplicate constants.
79381 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79382 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79383 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79384 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79385 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79386 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79387 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79388 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79389 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79390 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79391 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79392 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79393 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79394 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79395 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79396 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79397 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79398 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79399 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79400 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79401 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79402 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79403 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79404 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79405 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79406 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79407 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79408 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79409 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79410 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79411 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79412 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79413 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79414 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79415 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79416 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79417 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79418 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79419 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79420 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79421 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79422 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79423 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79424 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79425 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79426
79427 2011-10-24 Ulrich Drepper <drepper@gmail.com>
79428
79429 * sysdeps/x86_64/dla.h: Move to ...
79430 * sysdeps/x86_64/fpu/dla.h: ...here.
79431 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79432 situations. Use __builtin_fma only for gcc 4.6 and up.
79433
79434 * config.make.in: Add have-mfma4 entry.
79435 * configure.in: Substitute libc_cv_cc_fma4.
79436 * math/Makefile (dbl-only-routines): Add sincostab.
79437 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79438 Use __sincostab not sincos.
79439 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79440 name is a macro.
79441 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79442 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79443 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
79445 using __copysign.
79446 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
79447 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
79448 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
79449 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
79450 and __inv.
79451 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
79452 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
79453 __copysign.
79454 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
79455 define aliases when function name is a macro.
79456 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
79457 sysdeps/ieee754/dbl-64/sincos.tbl.
79458 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
79459 fma4-enabled routines.
79460 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
79461 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
79462 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
79463 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
79464 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
79465 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
79466 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
79467 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
79468 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
79469 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
79470 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
79471 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
79472 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
79473 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
79474 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
79475 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
79476 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
79477 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
79478 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
79479 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
79480 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
79481 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
79482 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
79483 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
79484 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
79485 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
79486 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
79487 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
79488 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
79489 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
79490
79491 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
79492 rename.
79493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79494 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79495 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79499 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79501
79502 2011-10-24 Andreas Schwab <schwab@redhat.com>
79503
79504 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
79505
79506 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79507
79508 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
79509
79510 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
79511 prediction.
79512 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
79513
79514 * string/strnlen.c: Don't define STRNLEN, reverse logic.
79515 Remove unused variable magic_bits.
79516 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
79517
79518 * string/strnlen.c: Define and use STRNLEN macro.
79519 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
79520 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
79521 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
79522 * wcsmbs/wcslen.c: Define and use WCSLEN.
79523 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
79524 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
79525 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
79526 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
79527 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
79528 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
79529 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79530
79531 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79532
79533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79534 strnlen-sse2-no-bsf.
79535 Rename strlen-no-bsf to strlen-sse2-no-bsf.
79536 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
79537 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
79538 Add strnlen support.
79539 (USE_AS_STRNLEN): New macro.
79540 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
79541 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
79542 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
79543 * sysdeps/x86_64/wcslen.S: New file.
79544
79545 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
79546
79547 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79548 XMM-moves are used for copying on small sizes.
79549
79550 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79551
79552 * wcsmbs/Makefile (strop-tests): Add wcschr.
79553 * wcsmbs/test-wcschr.c: New file.
79554 * string/test-strchr.c: Update.
79555 Add wcschr support.
79556 (WIDE): New macro.
79557
79558 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79559
79560 * wcsmbs/Makefile (strop-tests): Add wcslen.
79561 * wcsmbs/test-wcslen.c: New file.
79562 * string/test-strlen.c: Update.
79563 Add wcslen support.
79564 (WIDE): New macro.
79565
79566 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79567
79568 * po/it.po: Update from translation team.
79569
79570 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79571
79572 * sysdeps/x86_64/wcscmp.S: Update.
79573 Fix wrong comparison semantics.
79574 wcscmp shall use signed comparison not unsigned.
79575 Don't use substraction to avoid overflow bug.
79576 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
79577 * wcsmbc/wcscmp.c: Likewise.
79578 * string/test-strcmp.c: Likewise.
79579 Add new tests to check cases with negative values.
79580
79581 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79582
79583 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
79584 * sysdeps/x86_64/dla.h: ...here. New file.
79585 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
79586 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79587 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79588 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79589 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79590 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79592 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79593 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79594
79595 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
79596
79597 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
79598 __ynl_finite aliases.
79599
79600 2011-10-22 Ulrich Drepper <drepper@gmail.com>
79601
79602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79603
79604 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
79605 define DLA_FMA.
79606 [DLA_FMA] (EMULV): Use DLA_FMA.
79607 [DLA_FMA] (MUL12): Use EMULV.
79608 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
79609 that are not needed.
79610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79612 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79613 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79615 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79617
79618 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
79619
79620 * math/s_nan.c: Undef __nan.
79621 * math/s_nanf.c: Undef __nanf.
79622 * math/s_nanl.c: Undef __nanl.
79623 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
79624 "math_private.h".
79625
79626 2011-10-22 Ulrich Drepper <drepper@gmail.com>
79627
79628 * math/s_catan.c: Add branch predictions.
79629 * math/s_catanf.c: Likewise.
79630 * math/s_catanh.c: Likewise.
79631 * math/s_catanhf.c: Likewise.
79632 * math/s_catanhl.c: Likewise.
79633 * math/s_catanl.c: Likewise.
79634 * math/s_cexp.c: Likewise.
79635 * math/s_cexpf.c: Likewise.
79636 * math/s_cexpl.c: Likewise.
79637 * math/s_clog.c: Likewise.
79638 * math/s_clog10.c: Likewise.
79639 * math/s_clog10f.c: Likewise.
79640 * math/s_clog10l.c: Likewise.
79641 * math/s_clogf.c: Likewise.
79642 * math/s_clogl.c: Likewise.
79643 * math/s_csqrt.c: Likewise.
79644 * math/s_csqrtf.c: Likewise.
79645 * math/s_csqrtl.c: Likewise.
79646 * math/s_ctanf.c: Likewise.
79647 * math/s_ctanh.c: Likewise.
79648 * math/s_ctanhf.c: Likewise.
79649 * math/s_ctanhl.c: Likewise.
79650 * math/s_ctanl.c: Likewise.
79651
79652 * math/math_private.h: Define __nan, __nanf, __nanl.
79653 * math/s_cacosh.c: Include <math_private.h>.
79654 * math/s_cacoshl.c: Likewise.
79655 * math/s_casinh.c: Likewise.
79656 * math/s_casinhf.c: Likewise.
79657 * math/s_casinhl.c: Likewise.
79658 * math/s_ccos.c: Rely entire on ccosh.
79659 * math/s_ccosf.c: Rely entire on ccoshf.
79660 * math/s_ccosl.c: Rely entirely on ccoshl.
79661 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
79662 Remove tests for FE_INVALID.
79663 * math/s_ccoshf.c: Likewise.
79664 * math/s_ccoshl.c: Likewise.
79665 * math/s_csin.c: Likewise.
79666 * math/s_csinf.c: Likewise.
79667 * math/s_csinh.c Likewise.
79668 * math/s_csinhf.c: Likewise.
79669 * math/s_csinhl.c: Likewise.
79670 * math/s_csinl.c: Likewise.
79671 * math/s_ctan.c: Likewise.
79672 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
79673 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
79674 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
79675
79676 2011-10-21 Ulrich Drepper <drepper@gmail.com>
79677
79678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
79679 compilation problems.
79680
79681 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
79682 __builtin_expect.
79683
79684 2011-10-20 Ulrich Drepper <drepper@gmail.com>
79685
79686 * sysdeps/i386/configure.in: Test for -mfma4 option.
79687 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
79688 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
79689 COMMON_CPUID_INDEX_80000001.
79690 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
79691 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
79692 use it if FMA3 is not supported.
79693 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
79694
79695 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
79696 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79697
79698 2011-10-20 Andreas Schwab <schwab@redhat.com>
79699
79700 [BZ #12892]
79701 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
79702 it would create a cycle with a link time dependency.
79703
79704 2011-10-19 Ulrich Drepper <drepper@gmail.com>
79705
79706 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
79707 instruction.
79708 * string/Makefile (strop-tests): Add rawmemchr.
79709 * string/test-rawmemchr.c: New file.
79710
79711 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
79712 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
79713 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
79714 when compiling str{,n}casecmp and when AVX is available. Hook up
79715 new optimized code in initializers.
79716
79717 2011-10-19 Andreas Schwab <schwab@redhat.com>
79718
79719 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
79720 __feraiseexcept instead of feraiseexcept.
79721
79722 2011-10-18 Ulrich Drepper <drepper@gmail.com>
79723
79724 * math/math_private.h: Define defaults for libc_fetestexcept and
79725 libc_feupdateenv.
79726 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
79727 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
79728 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79729 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79730 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79731 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79732 libc_fetestexcept and libc_feupdateenv.
79733
79734 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
79735 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
79736 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
79737 * sysdeps/x86_64/fpu/math_private.h: Define special version of
79738 libc_feholdexcept_setround.
79739
79740 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
79741 Add s_nearbyint-c and s_nearbyintf-c.
79742 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
79743 nearbyintf inlines.
79744 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
79745 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
79746 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
79747 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
79748
79749 * math/math_private.h: Define defaults for libc_fegetround,
79750 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
79751 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
79752 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
79753 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
79754 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
79755 standard functions.
79756 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79757 Remove comments and hacks for old compiler versions.
79758 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79759 libc_fegetround, libc_fesetround, libc_feholdexcept, and
79760 libc_feholdexceptl.
79761
79762 2011-10-18 Andreas Schwab <schwab@redhat.com>
79763
79764 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
79765 (__feraiseexcept_renamed): Add __NTH.
79766 (feraiseexcept): Add __NTH. Rename local variables to fix
79767 namespace violations.
79768
79769 2011-10-17 Ulrich Drepper <drepper@gmail.com>
79770
79771 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
79772
79773 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
79774
79775 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
79776 recently added interfaces.
79777 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
79778
79779 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
79780 about macro parameter expansion.
79781
79782 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
79783 __NO_MATH_INLINES is defined. Cleanups.
79784
79785 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
79786 and __floorf is target has SSE4.1.
79787 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
79788 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
79789 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
79790 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
79791
79792 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
79793 name.
79794 (floorf): Likewise.
79795
79796 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
79797
79798 2011-10-17 Andreas Schwab <schwab@redhat.com>
79799
79800 * misc/sys/cdefs.h: Fix last change.
79801
79802 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
79803 database lookup.
79804
79805 2011-10-16 Ulrich Drepper <drepper@gmail.com>
79806
79807 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
79808
79809 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
79810 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79811 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79812 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79813 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79814 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79815 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79816 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79817 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79818 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
79819 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
79820 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
79821 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
79822 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
79823 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
79824 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
79825 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
79826 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
79827 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
79828 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
79829 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
79830 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
79831
79832 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
79833 ceil, ceilf, floor, floorf.
79834
79835 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
79836 Perform IRELATIVE relocations last.
79837
79838 * elf/do-rel.h: Add another parameter nrelative, replacing the
79839 local variable with the same name. Change name of the function
79840 to end in Rel or Rela (uppercase).
79841 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
79842 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
79843 elf_dynamic_do_##reloc function.
79844
79845 2011-10-15 Ulrich Drepper <drepper@gmail.com>
79846
79847 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
79848 is sufficient, at least on modern CPUs.
79849
79850 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
79851
79852 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
79853 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
79854
79855 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
79856 __expl_finite.
79857 * math/bits/math-finite.h: Add entries for exp.
79858 * math/e_expl.c: Add __*_finite alias.
79859 * sysdeps/i386/fpu/e_exp.S: Likewise.
79860 * sysdeps/i386/fpu/e_expf.S: Likewise.
79861 * sysdeps/i386/fpu/e_expl.c: Likewise.
79862 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79863 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79864 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79865 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79866 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
79867 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79868 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79869
79870 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
79871 is sufficient, at least on modern CPUs.
79872
79873 * ctype/ctype-info.c (__ctype_init): Define.
79874 * include/ctype.h (__ctype_init): Declare.
79875 (__ctype_b_loc): The variable is always initialized.
79876 (__ctype_toupper_loc): Likewise.
79877 (__ctype_tolower_loc): Likewise.
79878 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
79879 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
79880
79881 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
79882
79883 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
79884
79885 * configure.in: Also look in $cxxmachine/include for C++ system
79886 headers.
79887
79888 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79889
79890 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
79891 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
79892 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
79893 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
79894 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
79895 (USE_AS_WMEMCMP): New macro.
79896 Fixing indents.
79897 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
79898 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
79899 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
79900 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
79901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79902 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
79903 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
79904 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
79905 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
79906 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
79907 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
79908 (USE_AS_WMEMCMP): New macro.
79909 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
79910 * sysdeps/string/test-memcmp.c: Update.
79911 Fix simple_wmemcmp.
79912 Add new tests.
79913 * wcsmbs/wmemcmp.c: Update.
79914 (WMEMCMP): New macro.
79915 Fix overflow bug.
79916
79917 2011-10-12 Andreas Jaeger <aj@suse.de>
79918
79919 [BZ #13268]
79920 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
79921
79922 2011-10-15 Ulrich Drepper <drepper@gmail.com>
79923
79924 * libio/iofwide.c (do_length): Avoid warning.
79925
79926 * ctype/ctype.h (__isctype_f): Add missing __THROW.
79927
79928 2011-10-14 Ulrich Drepper <drepper@gmail.com>
79929
79930 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
79931
79932 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
79933 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
79934 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
79935 * sysdeps/i386/i686/fpu/e_log.S: New file.
79936 * sysdeps/i386/i686/fpu/e_logf.S: New file.
79937 * sysdeps/i386/i686/fpu/e_logl.S: New file.
79938
79939 * ctype/ctype.h: Add support for inlined isXXX functions when
79940 compiling C++ code.
79941
79942 2011-10-14 Andreas Schwab <schwab@redhat.com>
79943
79944 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79945
79946 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
79947
79948 2011-10-13 Roland McGrath <roland@hack.frob.com>
79949
79950 [BZ #13291]
79951 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
79952
79953 2011-10-13 Andreas Schwab <schwab@redhat.com>
79954
79955 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
79956 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
79957 feraiseexcept.
79958
79959 * sysdeps/x86_64/memrchr.S: Check for zero size.
79960
79961 * string/stratcliff.c: Add memrchr tests.
79962
79963 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79964
79965 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79966 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
79967 rawmemchr-sse2 rawmemchr-sse2-bsf.
79968 * sysdeps/i386/i686/multiarch/memchr.S: New file.
79969 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
79970 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
79971 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
79972 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
79973 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
79974 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
79975 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
79976 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
79977 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
79978 * string/memrchr.c (MEMRCHR): New macro.
79979
79980 2011-10-12 Ulrich Drepper <drepper@gmail.com>
79981
79982 Add integration with gcc's -ffinite-math-only and optimize wrapper
79983 functions in libm.
79984 * Versions.def: Define GLIBC_2.15 version for libm.
79985 * math/Makefile (headers): Add bits/math-finite.h.
79986 * math/bits/math-finite.h: New file.
79987 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
79988 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
79989 * math/e_acoshl.c: Add __*_finite alias.
79990 * math/e_acosl.c: Likewise.
79991 * math/e_asinl.c: Likewise.
79992 * math/e_atan2l.c: Likewise.
79993 * math/e_atanhl.c: Likewise.
79994 * math/e_coshl.c: Likewise.
79995 * math/e_exp10.c: Likewise.
79996 * math/e_exp10f.c: Likewise.
79997 * math/e_exp10l.c: Likewise.
79998 * math/e_exp2l.c: Likewise.
79999 * math/e_fmodl.c: Likewise.
80000 * math/e_gammal_r.c: Likewise.
80001 * math/e_hypotl.c: Likewise.
80002 * math/e_j0l.c: Likewise.
80003 * math/e_j1l.c: Likewise.
80004 * math/e_jnl.c: Likewise.
80005 * math/e_lgammal_r.c: Likewise.
80006 * math/e_log10l.c: Likewise.
80007 * math/e_log2l.c: Likewise.
80008 * math/e_logl.c: Likewise.
80009 * math/e_powl.c: Likewise.
80010 * math/e_sinhl.c: Likewise.
80011 * math/e_sqrtl.c: Likewise.
80012 * math/e_scalb.c: Completely rewritten and optimized.
80013 * math/e_scalbf.c: Likewise.
80014 * math/e_scalbl.c: Likewise.
80015 * math/w_acos.c: Likewise.
80016 * math/w_acosf.c: Likewise.
80017 * math/w_acosl.c: Likewise.
80018 * math/w_acosh.c: Likewise.
80019 * math/w_acoshf.c: Likewise.
80020 * math/w_acoshl.c: Likewise.
80021 * math/w_asin.c: Likewise.
80022 * math/w_asinf.c: Likewise.
80023 * math/w_asinl.c: Likewise.
80024 * math/w_atan2.c: Likewise.
80025 * math/w_atan2f.c: Likewise.
80026 * math/w_atan2l.c: Likewise.
80027 * math/w_atanh.c: Likewise.
80028 * math/w_atanhf.c: Likewise.
80029 * math/w_atanhl.c: Likewise.
80030 * math/w_exp10.c: Likewise.
80031 * math/w_exp10f.c: Likewise.
80032 * math/w_exp10l.c: Likewise.
80033 * math/w_fmod.c: Likewise.
80034 * math/w_fmodf.c: Likewise.
80035 * math/w_fmodl.c: Likewise.
80036 * math/w_j0.c: Likewise.
80037 * math/w_j0f.c: Likewise.
80038 * math/w_j0l.c: Likewise.
80039 * math/w_j1.c: Likewise.
80040 * math/w_j1f.c: Likewise.
80041 * math/w_j1l.c: Likewise.
80042 * math/w_jn.c: Likewise.
80043 * math/w_jnf.c: Likewise.
80044 * math/w_log.c: Likewise.
80045 * math/w_logf.c: Likewise.
80046 * math/w_logl.c: Likewise.
80047 * math/w_log10.c: Likewise.
80048 * math/w_log10f.c: Likewise.
80049 * math/w_log10l.c: Likewise.
80050 * math/w_log2.c: Likewise.
80051 * math/w_log2f.c: Likewise.
80052 * math/w_log2l.c: Likewise.
80053 * math/w_pow.c: Likewise.
80054 * math/w_powf.c: Likewise.
80055 * math/w_powl.c: Likewise.
80056 * math/w_remainder.c: Likewise.
80057 * math/w_remainderf.c: Likewise.
80058 * math/w_remainderl.c: Likewise.
80059 * math/w_scalb.c: Likewise.
80060 * math/w_scalbf.c: Likewise.
80061 * math/w_scalbl.c: Likewise.
80062 * math/w_sqrt.c: Likewise.
80063 * math/w_sqrtf.c: Likewise.
80064 * math/w_sqrtl.c: Likewise.
80065 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80066 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
80067 used.
80068 * math/math_private.h: Declare __kernel_standard_f.
80069 * math/w_cosh.c: Remove cruft and optimize a bit.
80070 * math/w_coshf.c: Likewise.
80071 * math/w_coshl.c: Likewise.
80072 * math/w_exp2.c: Likewise.
80073 * math/w_exp2f.c: Likewise.
80074 * math/w_exp2l.c: Likewise.
80075 * math/w_hypot.c: Likewise.
80076 * math/w_hypotf.c: Likewise.
80077 * math/w_hypotl.c: Likewise.
80078 * math/w_lgamma.c: Likewise.
80079 * math/w_lgamma_r.c: Likewise.
80080 * math/w_lgammaf.c: Likewise.
80081 * math/w_lgammaf_r.c: Likewise.
80082 * math/w_lgammal.c: Likewise.
80083 * math/w_lgammal_r.c: Likewise.
80084 * math/w_sinh.c: Likewise.
80085 * math/w_sinhf.c: Likewise.
80086 * math/w_sinhl.c: Likewise.
80087 * math/w_tgamma.c: Likewise.
80088 * math/w_tgammaf.c: Likewise.
80089 * math/w_tgammal.c: Likewise.
80090 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80091 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80092 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80093 Minor optimizations. Pretty printing. Remove cruft.
80094 * sysdeps/i386/fpu/e_acosf.S: Likewise.
80095 * sysdeps/i386/fpu/e_acosh.S: Likewise.
80096 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80097 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80098 * sysdeps/i386/fpu/e_acosl.c: Likewise.
80099 * sysdeps/i386/fpu/e_asin.S: Likewise.
80100 * sysdeps/i386/fpu/e_asinf.S: Likewise.
80101 * sysdeps/i386/fpu/e_atan2.S: Likewise.
80102 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80103 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80104 * sysdeps/i386/fpu/e_atanh.S: Likewise.
80105 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80106 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80107 * sysdeps/i386/fpu/e_exp10.S: Likewise.
80108 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80109 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80110 * sysdeps/i386/fpu/e_exp2.S: Likewise.
80111 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80112 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80113 * sysdeps/i386/fpu/e_fmod.S: Likewise.
80114 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80115 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80116 * sysdeps/i386/fpu/e_hypot.S: Likewise.
80117 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80118 * sysdeps/i386/fpu/e_log.S: Likewise.
80119 * sysdeps/i386/fpu/e_log10.S: Likewise.
80120 * sysdeps/i386/fpu/e_log10f.S: Likewise.
80121 * sysdeps/i386/fpu/e_log10l.S: Likewise.
80122 * sysdeps/i386/fpu/e_log2.S: Likewise.
80123 * sysdeps/i386/fpu/e_log2f.S: Likewise.
80124 * sysdeps/i386/fpu/e_log2l.S: Likewise.
80125 * sysdeps/i386/fpu/e_logf.S: Likewise.
80126 * sysdeps/i386/fpu/e_logl.S: Likewise.
80127 * sysdeps/i386/fpu/e_pow.S: Likewise.
80128 * sysdeps/i386/fpu/e_powf.S: Likewise.
80129 * sysdeps/i386/fpu/e_powl.S: Likewise.
80130 * sysdeps/i386/fpu/e_remainder.S: Likewise.
80131 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80132 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80133 * sysdeps/i386/fpu/e_scalb.S: Likewise.
80134 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80135 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80136 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80137 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80138 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80139 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80140 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80142 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80143 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80144 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80145 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80146 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80147 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80148 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80149 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80150 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80152 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80153 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80155 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80156 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80157 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80159 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80160 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80161 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80162 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80163 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80164 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80165 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80166 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80167 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80168 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80169 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80170 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80171 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80172 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80173 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80174 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80175 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80176 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80177 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80178 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80179 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80180 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80181 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80182 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80183 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80184 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80185 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80186 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80187 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80188 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80189 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80190 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80191 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80192 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80193 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80194 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80195 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80196 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80197 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80198 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80199 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80200 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80201 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80202 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80203 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80204 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80205 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80206 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80207 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80208 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80209 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80210 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80211 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80212 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80213 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80214 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80215 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80216 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80217 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80218 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80219 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80220 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80221 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80222 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80223 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80224 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80225 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80226 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80227 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80228 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80229 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80230 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80231 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80232 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80233 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80234 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80235 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80236 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80237 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80238 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80239 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80240 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80241 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80242 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80243 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80244 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80245 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80246 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80247 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80248 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80249 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
80250 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80251 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80252 (__isnanf): Likewise.
80253 (__isinf_ns): Likewise.
80254 (__isinf_nsf): Likewise.
80255 (__finite): Likewise.
80256 (__finitef): Likewise.
80257 (__ieee754_sqrt): Define as macro.
80258 (__ieee754_sqrtf): Define as macro.
80259 (__ieee754_sqrtl): Define as macro.
80260 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80261 inlined copy.
80262 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80263 __FINITE_MATH_ONLY__ consistent.
80264 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80265
80266 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
80267
80268 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80269 of rawmemchr.
80270
80271 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80272
80273 2011-10-09 Ulrich Drepper <drepper@gmail.com>
80274
80275 * po/ja.po: Update from translation team.
80276
80277 2011-10-08 Roland McGrath <roland@hack.frob.com>
80278
80279 * locale/programs/locarchive.c (prepare_address_space): New function.
80280 (create_archive, enlarge_archive, open_archive): Use it.
80281
80282 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80283 inside [SHARED], where it is used.
80284
80285 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80286
80287 * nss/getent.c (netgroup_keys): Remove unused variable.
80288 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80289
80290 2011-10-08 Ulrich Drepper <drepper@gmail.com>
80291
80292 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80293 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80294 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80295 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80296 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80297 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80298 * math/Makefile (libm-calls): Add s_isinf_ns.
80299 * math/divtc3.c: Use __isinf_nsl instead of isinf.
80300 * math/multc3.c: Likewise.
80301 * math/s_casin.c: Likewise.
80302 * math/s_casinf.c: Likewise.
80303 * math/s_casinl.c: Likewise.
80304 * math/s_ccos.c: Likewise.
80305 * math/s_ccosf.c: Likewise.
80306 * math/s_ccosl.c: Likewise.
80307 * math/s_ctan.c: Likewise.
80308 * math/s_ctanf.c: Likewise.
80309 * math/s_ctanh.c: Likewise.
80310 * math/s_ctanhf.c: Likewise.
80311 * math/s_ctanhl.c: Likewise.
80312 * math/s_ctanl.c: Likewise.
80313 * math/w_fmod.c: Likewise.
80314 * math/w_fmodf.c: Likewise.
80315 * math/w_fmodl.c: Likewise.
80316 * math/w_remainder.c: Likewise.
80317 * math/w_remainderf.c: Likewise.
80318 * math/w_remainderl.c: Likewise.
80319 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80320 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80321 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80322 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80323 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80324 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80325 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80326 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80327
80328 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80329 of the number.
80330 * stdio-common/printf_fphex.c: Likewise.
80331 * stdio-common/printf_size.c: Likewise.
80332
80333 * math/e_exp10.c: Include math_private.h using <...> not "...".
80334 * math/e_exp10f.c: Likewise.
80335 * math/e_exp10l.c: Likewise.
80336 * math/e_exp2l.c: Likewise.
80337 * math/e_j0l.c: Likewise.
80338 * math/e_j1l.c: Likewise.
80339 * math/e_jnl.c: Likewise.
80340 * math/e_lgammal_r.c: Likewise.
80341 * math/e_rem_pio2l.c: Likewise.
80342 * math/e_scalb.c: Likewise.
80343 * math/e_scalbf.c: Likewise.
80344 * math/e_scalbl.c: Likewise.
80345 * math/k_cosl.c: Likewise.
80346 * math/k_sinl.c: Likewise.
80347 * math/k_tanl.c: Likewise.
80348 * math/s_cacoshf.c: Likewise.
80349 * math/s_catan.c: Likewise.
80350 * math/s_catanf.c: Likewise.
80351 * math/s_catanh.c: Likewise.
80352 * math/s_catanhf.c: Likewise.
80353 * math/s_catanhl.c: Likewise.
80354 * math/s_catanl.c: Likewise.
80355 * math/s_ccosh.c: Likewise.
80356 * math/s_ccoshf.c: Likewise.
80357 * math/s_ccoshl.c: Likewise.
80358 * math/s_cexp.c: Likewise.
80359 * math/s_cexpf.c: Likewise.
80360 * math/s_cexpl.c: Likewise.
80361 * math/s_clog.c: Likewise.
80362 * math/s_clog10.c: Likewise.
80363 * math/s_clog10f.c: Likewise.
80364 * math/s_clog10l.c: Likewise.
80365 * math/s_clogf.c: Likewise.
80366 * math/s_clogl.c: Likewise.
80367 * math/s_csin.c: Likewise.
80368 * math/s_csinf.c: Likewise.
80369 * math/s_csinh.c: Likewise.
80370 * math/s_csinhf.c: Likewise.
80371 * math/s_csinhl.c: Likewise.
80372 * math/s_csinl.c: Likewise.
80373 * math/s_csqrt.c: Likewise.
80374 * math/s_csqrtf.c: Likewise.
80375 * math/s_csqrtl.c: Likewise.
80376 * math/s_ctan.c: Likewise.
80377 * math/s_ctanf.c: Likewise.
80378 * math/s_ctanh.c: Likewise.
80379 * math/s_ctanhf.c: Likewise.
80380 * math/s_ctanhl.c: Likewise.
80381 * math/s_ctanl.c: Likewise.
80382 * math/s_ldexp.c: Likewise.
80383 * math/s_ldexpf.c: Likewise.
80384 * math/s_ldexpl.c: Likewise.
80385 * math/s_significand.c: Likewise.
80386 * math/s_significandf.c: Likewise.
80387 * math/s_significandl.c: Likewise.
80388 * math/w_acos.c: Likewise.
80389 * math/w_acosf.c: Likewise.
80390 * math/w_acosh.c: Likewise.
80391 * math/w_acoshf.c: Likewise.
80392 * math/w_acoshl.c: Likewise.
80393 * math/w_acosl.c: Likewise.
80394 * math/w_asin.c: Likewise.
80395 * math/w_asinf.c: Likewise.
80396 * math/w_asinl.c: Likewise.
80397 * math/w_atan2.c: Likewise.
80398 * math/w_atan2f.c: Likewise.
80399 * math/w_atan2l.c: Likewise.
80400 * math/w_atanh.c: Likewise.
80401 * math/w_atanhf.c: Likewise.
80402 * math/w_atanhl.c: Likewise.
80403 * math/w_cosh.c: Likewise.
80404 * math/w_coshf.c: Likewise.
80405 * math/w_coshl.c: Likewise.
80406 * math/w_dremf.c: Likewise.
80407 * math/w_exp10.c: Likewise.
80408 * math/w_exp10f.c: Likewise.
80409 * math/w_exp10l.c: Likewise.
80410 * math/w_exp2.c: Likewise.
80411 * math/w_exp2f.c: Likewise.
80412 * math/w_fmod.c: Likewise.
80413 * math/w_fmodf.c: Likewise.
80414 * math/w_fmodl.c: Likewise.
80415 * math/w_hypot.c: Likewise.
80416 * math/w_hypotf.c: Likewise.
80417 * math/w_hypotl.c: Likewise.
80418 * math/w_j0.c: Likewise.
80419 * math/w_j0f.c: Likewise.
80420 * math/w_j0l.c: Likewise.
80421 * math/w_j1.c: Likewise.
80422 * math/w_j1f.c: Likewise.
80423 * math/w_j1l.c: Likewise.
80424 * math/w_jn.c: Likewise.
80425 * math/w_jnf.c: Likewise.
80426 * math/w_jnl.c: Likewise.
80427 * math/w_lgamma.c: Likewise.
80428 * math/w_lgamma_r.c: Likewise.
80429 * math/w_lgammaf.c: Likewise.
80430 * math/w_lgammaf_r.c: Likewise.
80431 * math/w_lgammal.c: Likewise.
80432 * math/w_lgammal_r.c: Likewise.
80433 * math/w_log.c: Likewise.
80434 * math/w_log10.c: Likewise.
80435 * math/w_log10f.c: Likewise.
80436 * math/w_log10l.c: Likewise.
80437 * math/w_log2.c: Likewise.
80438 * math/w_log2f.c: Likewise.
80439 * math/w_log2l.c: Likewise.
80440 * math/w_logf.c: Likewise.
80441 * math/w_logl.c: Likewise.
80442 * math/w_pow.c: Likewise.
80443 * math/w_powf.c: Likewise.
80444 * math/w_powl.c: Likewise.
80445 * math/w_remainder.c: Likewise.
80446 * math/w_remainderf.c: Likewise.
80447 * math/w_remainderl.c: Likewise.
80448 * math/w_scalb.c: Likewise.
80449 * math/w_scalbf.c: Likewise.
80450 * math/w_scalbl.c: Likewise.
80451 * math/w_sinh.c: Likewise.
80452 * math/w_sinhf.c: Likewise.
80453 * math/w_sinhl.c: Likewise.
80454 * math/w_sqrt.c: Likewise.
80455 * math/w_sqrtf.c: Likewise.
80456 * math/w_sqrtl.c: Likewise.
80457 * math/w_tgamma.c: Likewise.
80458 * math/w_tgammaf.c: Likewise.
80459 * math/w_tgammal.c: Likewise.
80460
80461 * po/ja.po: Update from translation team.
80462
80463 2011-09-29 Andreas Jaeger <aj@suse.de>
80464
80465 [BZ #13179]
80466 * sunrpc/netname.c (netname2host): Fix logic.
80467
80468 [BZ #6779]
80469 [BZ #6783]
80470 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
80471 correctly.
80472 * math/w_remainder.c (__remainder): Likewise.
80473 * math/w_remainderf.c (__remainderf): Likewise.
80474 * math/libm-test.inc (remainder_test): Add test cases.
80475
80476 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80477
80478 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
80479 sdiv_qrnnd.
80480
80481 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80482
80483 * string/test-memcmp.c: Avoid unncessary #defines.
80484 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80485
80486 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80487
80488 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
80489 Use new sse2 version for core i3 - i7 as it's faster
80490 than sse42 version.
80491 (bit_Prefer_PMINUB_for_stringop): New.
80492 * sysdeps/x86_64/rawmemchr.S: Update.
80493 Replace with faster SSE2 version.
80494 * sysdeps/x86_64/memrchr.S: New file.
80495 * sysdeps/x86_64/memchr.S: Update.
80496 Replace with faster SSE2 version.
80497
80498 2011-09-12 Marek Polacek <mpolacek@redhat.com>
80499
80500 * elf/dl-load.c (lose): Add cast to avoid warning.
80501
80502 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80503
80504 * po/ca.po: Update from translation team.
80505
80506 * inet/getnetgrent_r.c: Hook up nscd.
80507 * nscd/Makefile (routines): Add nscd_netgroup.
80508 (nscd-modules): Add netgroupcache.
80509 (CFLAGS-netgroupcache.c): Define.
80510 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
80511 (cache_search): Add const to second parameter.
80512 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
80513 INNETGR.
80514 (dbs): Add netgrdb entry.
80515 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
80516 (verify_persistent_db): Handle netgrdb.
80517 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
80518 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
80519 GETFDNETGR.
80520 (netgroup_response_header): Define.
80521 (innetgroup_response_header): Define.
80522 (datahead): Add netgroup_response_header and innetgroup_response_header
80523 elements.
80524 * nscd/nscd.conf: Add entries for netgroup cache.
80525 * nscd/nscd.h (dbtype): Add netgrdb.
80526 (_PATH_NSCD_NETGROUP_DB): Define.
80527 (netgroup_iov_disabled): Declare.
80528 (xmalloc, xcalloc, xrealloc): Move declarations here.
80529 (cache_search): Adjust prototype.
80530 Add netgroup-related prototypes.
80531 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
80532 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
80533 (__nscd_innetgr): Declare.
80534 * nscd/selinux.c (perms): Use access_vector_t as element type and
80535 add netgroup-related initializers.
80536 * nscd/netgroupcache.c: New file.
80537 * nscd/nscd_netgroup.c: New file.
80538 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
80539 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
80540 For four parameters use innetgr.
80541 * nss/nss_files/files-init.c: Add definition and callback for netgr.
80542 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
80543 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
80544 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
80545
80546 * nscd/connections.c (register_traced_file): Don't register file
80547 for disabled databases.
80548
80549 2011-10-06 Ulrich Drepper <drepper@gmail.com>
80550
80551 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
80552
80553 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
80554 from tree and freeing node.
80555
80556 2011-09-25 Jiri Olsa <jolsa@redhat.com>
80557
80558 * nss/nsswitch.c (__nss_database_lookup): Handle
80559 nss_parse_service_list out of memory case.
80560
80561 2011-09-15 Jiri Olsa <jolsa@redhat.com>
80562
80563 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
80564 out of memory case.
80565
80566 2011-10-04 Andreas Schwab <schwab@redhat.com>
80567
80568 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
80569 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
80570 pass it down.
80571 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
80572 elf_machine_rela, elf_machine_lazy_rel.
80573 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
80574 (ELF_DYNAMIC_DO_REL): Likewise.
80575 (ELF_DYNAMIC_DO_RELA): Likewise.
80576 (ELF_DYNAMIC_RELOCATE): Likewise.
80577 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
80578 to ELF_DYNAMIC_DO_REL.
80579 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
80580 (dl_main): In trace mode always set __RTLD_NOIFUNC.
80581 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
80582 elf_machine_rela.
80583 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
80584 skip_ifunc, don't call ifunc function if non-zero.
80585 (elf_machine_rela): Likewise.
80586 (elf_machine_lazy_rel): Likewise.
80587 (elf_machine_lazy_rela): Likewise.
80588 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
80589 (elf_machine_lazy_rel): Likewise.
80590 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
80591 Likewise.
80592 (elf_machine_lazy_rel): Likewise.
80593 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80594 Likewise.
80595 (elf_machine_lazy_rel): Likewise.
80596 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
80597 (elf_machine_lazy_rel): Likewise.
80598 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
80599 (elf_machine_lazy_rel): Likewise.
80600 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
80601 (elf_machine_lazy_rel): Likewise.
80602 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
80603 (elf_machine_lazy_rel): Likewise.
80604 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
80605 (elf_machine_lazy_rel): Likewise.
80606 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
80607 (elf_machine_lazy_rel): Likewise.
80608
80609 2011-09-28 Ulrich Drepper <drepper@gmail.com>
80610
80611 * nss/nss_files/files-init.c (_nss_files_init): Use static
80612 initialization for all the *_traced_file variables.
80613
80614 2011-09-28 Andreas Schwab <schwab@redhat.com>
80615
80616 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80617
80618 2011-09-27 Roland McGrath <roland@hack.frob.com>
80619
80620 [BZ #13226]
80621 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
80622
80623 2011-09-27 Andreas Schwab <schwab@redhat.com>
80624
80625 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80626 Reread the line before reparsing it.
80627
80628 2011-09-26 Andreas Schwab <schwab@redhat.com>
80629
80630 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
80631
80632 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
80633 Maxim Kuvyrkov <maxim@codesourcery.com>
80634 Joseph Myers <joseph@codesourcery.com>
80635
80636 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
80637 if needed for __stack_chk_guard.
80638
80639 2011-09-19 Roland McGrath <roland@hack.frob.com>
80640
80641 * sysdeps/posix/spawni.c (script_execute): Always define it.
80642 It will be optimized away if unused.
80643 (maybe_script_execute): New function.
80644 (__spawni): Call it.
80645
80646 * Makerules: Don't include tls.make.
80647 (config-tls): Always set to thread.
80648 * tls.make.c: File removed.
80649
80650 2011-09-19 Mike Frysinger <vapier@gentoo.org>
80651
80652 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
80653 * config.make.in (CPPFLAGS-config): New substituted variable.
80654
80655 2011-09-15 Ulrich Drepper <drepper@gmail.com>
80656
80657 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
80658
80659 [BZ #13192]
80660 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
80661 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
80662
80663 2011-09-15 Roland McGrath <roland@hack.frob.com>
80664
80665 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
80666 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
80667 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80668 (CALL_FAIL): Likewise.
80669 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
80670 (CALL_FAIL): Macro removed.
80671 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
80672
80673 2011-09-15 Ulrich Drepper <drepper@gmail.com>
80674
80675 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
80676 for __FINITE_MATH_ONLY__ == 1.
80677
80678 2011-09-15 Andreas Schwab <schwab@redhat.com>
80679
80680 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
80681 __ieee754_sqrt instead of sqrt.
80682 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
80683 __ieee754_sqrtf instead of sqrtf.
80684 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
80685 __floorf instead of floorf.
80686 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
80687 __floorf, __truncf instead of floorf, truncf.
80688
80689 2011-09-14 Ulrich Drepper <drepper@gmail.com>
80690
80691 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
80692
80693 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
80694 __extern_always_inline.
80695 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
80696 32-bit.
80697
80698 2011-09-14 Andreas Schwab <schwab@redhat.com>
80699
80700 * elf/rtld.c (dl_main): Also relocate in dependency order when
80701 doing symbol dependency testing.
80702
80703 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
80704
80705 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80706 Always define `refsym'.
80707
80708 2011-09-13 Andreas Schwab <schwab@redhat.com>
80709
80710 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
80711 (__FD_ELT): Renamed from __FDELT.
80712 * misc/bits/select2.h (__FD_ELT): Likewise.
80713 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
80714 __FD_MASK instead of __FDELT, __FDMASK.
80715 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80716 Likewise.
80717 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80718 Likewise.
80719
80720 * elf/Makefile (gen-ldd): Fix pattern.
80721
80722 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
80723 (init_tls): Likewise.
80724
80725 2011-09-12 Ulrich Drepper <drepper@gmail.com>
80726
80727 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
80728
80729 2011-09-12 Andreas Schwab <schwab@redhat.com>
80730
80731 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
80732 `struct cmsghdr *' instead of `void *'.
80733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
80734 Likewise.
80735
80736 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
80737
80738 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
80739 if non-absolute.
80740 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
80741 ldd_rewrite_script.
80742
80743 2011-09-11 Ulrich Drepper <drepper@gmail.com>
80744
80745 * configure.in: Remove --with-tls option.
80746 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
80747 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
80748 out in case it is missing.
80749 * sysdeps/ia64/elf/configure.in: Likewise.
80750 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
80751 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
80752 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
80753 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
80754 * sysdeps/sh/elf/configure.in: Likewise.
80755 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
80756 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80757 * sysdeps/x86_64/elf/configure.in: Likewise.
80758 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
80759 * sysdeps/mach/hurd/tls.h: Likewise.
80760
80761 [BZ #13067]
80762 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
80763
80764 [BZ #13090]
80765 * configure.in: Fix use of AC_INIT.
80766
80767 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
80768
80769 2011-09-10 Ulrich Drepper <drepper@gmail.com>
80770
80771 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
80772 __set_errno.
80773 * malloc/hooks.c: Likewise.
80774
80775 [BZ #11929]
80776 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
80777 variables statically.
80778 (narenas): Initialize.
80779 (list_lock): Initialize.
80780 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
80781 initializtion of main_arena and list_lock. Small cleanups.
80782 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
80783 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
80784 Add initializers to main_arena and mp_.
80785 (malloc_state): Remove pagesize member. Change all users to use
80786 GLRO(dl_pagesize).
80787
80788 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
80789 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
80790 is always initialized.
80791
80792 * malloc/malloc.c: Removed unused configurations and dead code.
80793 * malloc/arena.c: Likewise.
80794 * malloc/hooks.c: Likewise.
80795 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
80796
80797 * include/tls.h: Removed. USE___THREAD must always be defined.
80798 * bits/libc-tsd.h: Don't handle !USE___THREAD.
80799 * elf/dl-libc.c: Likewise.
80800 * elf/dl-tsd.c: Likewise.
80801 * include/errno.h: Likewise.
80802 * include/netdb.h: Likewise.
80803 * include/resolv.h: Likewise.
80804 * inet/herrno-loc.c: Likewise.
80805 * inet/herrno.c: Likewise.
80806 * malloc/arena.c: Likewise.
80807 * malloc/hooks.c: Likewise.
80808 * malloc/malloc.c: Likewise.
80809 * resolv/res-state.c: Likewise.
80810 * resolv/res_libc.c: Likewise.
80811 * sysdeps/i386/dl-machine.h: Likewise.
80812 * sysdeps/ia64/dl-machine.h: Likewise.
80813 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
80814 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
80815 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
80816 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
80817 * sysdeps/sh/dl-machine.h: Likewise.
80818 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80819 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80820 * sysdeps/unix/i386/sysdep.S: Likewise.
80821 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
80822 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
80823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
80824 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
80825 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
80826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
80827 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
80828 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80829 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
80831 * sysdeps/unix/x86_64/sysdep.S: Likewise.
80832 * sysdeps/x86_64/dl-machine.h: Likewise.
80833 * tls.make.c: Likewise.
80834
80835 * configure.in: Remove --with-__thread option. Make tests for
80836 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
80837 tls_model attribute fail if no support is available. Remove
80838 USE_IN_LIBIO.
80839 * Makeconfig: Adjust for dropped configure option. All features are
80840 now mandatory.
80841 * Makerules: Likewise.
80842 * Versions.def: Likewise.
80843 * argp/argp-fmtstream.c: Likewise.
80844 * argp/argp-fmtstream.h: Likewise.
80845 * argp/argp-help.c: Likewise.
80846 * assert/assert.c: Likewise.
80847 * config.h.in: Likewise.
80848 * config.make.in: Likewise.
80849 * configure: Likewise.
80850 * configure.in: Likewise.
80851 * csu/Versions: Likewise.
80852 * csu/init.c: Likewise.
80853 * elf/tst-audit2.c: Likewise.
80854 * elf/tst-tls10.c: Likewise.
80855 * elf/tst-tls10.h: Likewise.
80856 * elf/tst-tls11.c: Likewise.
80857 * elf/tst-tls12.c: Likewise.
80858 * elf/tst-tls14.c: Likewise.
80859 * elf/tst-tlsmod11.c: Likewise.
80860 * elf/tst-tlsmod12.c: Likewise.
80861 * elf/tst-tlsmod13.c: Likewise.
80862 * elf/tst-tlsmod13a.c: Likewise.
80863 * elf/tst-tlsmod14a.c: Likewise.
80864 * elf/tst-tlsmod15b.c: Likewise.
80865 * elf/tst-tlsmod16a.c: Likewise.
80866 * elf/tst-tlsmod16b.c: Likewise.
80867 * elf/tst-tlsmod7.c: Likewise.
80868 * elf/tst-tlsmod8.c: Likewise.
80869 * elf/tst-tlsmod9.c: Likewise.
80870 * gmon/gmon.c: Likewise.
80871 * grp/fgetgrent_r.c: Likewise.
80872 * grp/putgrent.c: Likewise.
80873 * hurd/fopenport.c: Likewise.
80874 * include/libc-symbols.h: Likewise.
80875 * include/tls.h: Likewise.
80876 * intl/gettextP.h: Likewise.
80877 * intl/loadinfo.h: Likewise.
80878 * locale/global-locale.c: Likewise.
80879 * locale/localeinfo.h: Likewise.
80880 * mach/devstream.c: Likewise.
80881 * malloc/arena.c: Likewise.
80882 * malloc/set-freeres.c: Likewise.
80883 * misc/err.c: Likewise.
80884 * misc/getttyent.c: Likewise.
80885 * misc/mntent_r.c: Likewise.
80886 * posix/getopt.c: Likewise.
80887 * posix/wordexp.c: Likewise.
80888 * pwd/fgetpwent_r.c: Likewise.
80889 * resolv/Versions: Likewise.
80890 * resolv/res_hconf.c: Likewise.
80891 * shadow/fgetspent_r.c: Likewise.
80892 * shadow/putspent.c: Likewise.
80893 * stdio-common/printf_fphex.c: Likewise.
80894 * stdio-common/tmpfile.c: Likewise.
80895 * stdlib/abort.c: Likewise.
80896 * stdlib/fmtmsg.c: Likewise.
80897 * sunrpc/auth_unix.c: Likewise.
80898 * sunrpc/clnt_perr.c: Likewise.
80899 * sunrpc/clnt_tcp.c: Likewise.
80900 * sunrpc/clnt_udp.c: Likewise.
80901 * sunrpc/clnt_unix.c: Likewise.
80902 * sunrpc/openchild.c: Likewise.
80903 * sunrpc/svc_simple.c: Likewise.
80904 * sunrpc/svc_tcp.c: Likewise.
80905 * sunrpc/svc_udp.c: Likewise.
80906 * sunrpc/svc_unix.c: Likewise.
80907 * sunrpc/xdr.c: Likewise.
80908 * sunrpc/xdr_array.c: Likewise.
80909 * sunrpc/xdr_rec.c: Likewise.
80910 * sunrpc/xdr_ref.c: Likewise.
80911 * sunrpc/xdr_stdio.c: Likewise.
80912
80913 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80914
80915 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80916
80917 2011-07-03 Andreas Jaeger <aj@suse.de>
80918
80919 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
80920 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
80921 regenerate with gen-libm-tests.pl.
80922
80923 2010-05-12 Petr Baudis <pasky@suse.cz>
80924
80925 [BZ #11589]
80926 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
80927 around j0() zero points by switching to j1().
80928 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80929 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80930 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80931 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80932
80933 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80934
80935 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
80936 instead of 0.
80937 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
80938 instead of 0.
80939 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80940 Patch in part by Pavel Roskin <proski@gnu.org>.
80941
80942 [BZ #13138]
80943 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
80944 realloc.
80945 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
80946 Free memory block if necessary.
80947
80948 [BZ #12847]
80949 * libio/genops.c (INTDEF): For string streams the _lock pointer can
80950 be NULL. Don't lock in this case.
80951
80952 2011-09-09 Roland McGrath <roland@hack.frob.com>
80953
80954 * elf/elf.h (ELFOSABI_GNU): New macro.
80955 (ELFOSABI_LINUX): Define to that.
80956
80957 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
80958
80959 * string/strncat.c (strncat): Undef the symbol in case it has been
80960 defined in bits/string.h.
80961
80962 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80963
80964 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
80965
80966 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
80967 link map.
80968
80969 2011-08-17 Andreas Jaeger <aj@suse.de>
80970
80971 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
80972
80973 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
80974 Ian Lance Taylor <iant@google.com>
80975
80976 * math/libm-test.inc (lround_test): New testcase.
80977 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
80978
80979 2011-09-08 Ulrich Drepper <drepper@gmail.com>
80980
80981 * Makefile: Remove support for automatic cvs check-ins.
80982 * Makerules: Likewise.
80983 * config.make.in: Likewise.
80984 * configure.in: Likewise.
80985 * intl/Makefile: Likewise.
80986 * locale/Makefile: Likewise.
80987 * po/Makefile: Likewise.
80988 * posix/Makefile: Likewise.
80989 * sysdeps/gnu/Makefile: Likewise.
80990 * sysdeps/mach/hurd/Makefile: Likewise.
80991 * sysdeps/sparc/sparc32/Makefile: Likewise.
80992
80993 [BZ #13118]
80994 * posix/Makefile (bug-regex32-ENV): Define.
80995 Patch by John Stanley <jpsinthemix@verizon.net>.
80996
80997 * misc/Makefile (headers): Add bits/select2.h.
80998 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
80999 * misc/bits/select2.h: New file.
81000 * include/bits/select2.h: New file.
81001 * debug/Makefile (routines): Add fdelt_chk.
81002 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81003 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81004 FD_ISSET.
81005 * debug/fdelt_chk.c: New file.
81006
81007 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
81008 * wcsmbs/test-wmemcmp.c: Likewise.
81009 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81010 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81011
81012 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81013
81014 * string/Makefile (strop-tests): Add memcmp.
81015 * string/test-wmemcmp.c: New file.
81016 * string/test-memcmp.c: Add wmemcmp support.
81017
81018 2011-09-08 Roland McGrath <roland@hack.frob.com>
81019
81020 [BZ #13153]
81021 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81022 2011-07-19 change.
81023
81024 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81025 garbage value in a __mach_port_mod_refs call in the cases of the
81026 task-self and thread-self ports.
81027
81028 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
81029
81030 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81031
81032 2011-09-08 Andreas Schwab <schwab@redhat.com>
81033
81034 * elf/dl-load.c (lose): Check for non-null L.
81035
81036 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81037
81038 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81039
81040 * elf/dl-libc.c (dlerror_run): Pass back error code from
81041 dl_catch_error.
81042
81043 [BZ #13123]
81044 * elf/dl-load.c (lose): Free l_origin if it is valid.
81045
81046 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81047 names.
81048 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81049 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81051 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81052 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81053 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81054
81055 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81056
81057 * sysdeps/powerpc/fpu/e_hypot.c: New file.
81058 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81059 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81060 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81061 * sysdeps/powerpc/fpu/k_cosf.c: New file.
81062 * sysdeps/powerpc/fpu/k_sinf.c: New file.
81063 * sysdeps/powerpc/fpu/s_cosf.c: New file.
81064 * sysdeps/powerpc/fpu/s_sinf.c: New file.
81065 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81066 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81067
81068 2011-08-15 Alan Modra <amodra@gmail.com>
81069
81070 [BZ #13092]
81071 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81072 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81073 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
81074 ppc_mcount to static-only-routines.
81075 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81076 __mcount_internal.
81077 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81078 __mcount_internal with usual JUMPTARGET. Remove useless nop.
81079
81080 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
81081
81082 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81083 for finite and infinity parameters.
81084
81085 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
81086
81087 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81088 and add nop instructions for throughput optimization.
81089 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81090
81091 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
81092
81093 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81094 aligned copy for power7 with vector-scalar instructions.
81095 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81096
81097 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
81098
81099 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81100 AVX check.
81101
81102 2011-09-07 Andreas Schwab <schwab@redhat.com>
81103
81104 [BZ #13144]
81105 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81106 last change.
81107
81108 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81109
81110 * sysdeps/unix/sysv/linux/x86_64/init-first.c
81111 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81112 syscall wrapper around clock_gettime in __vdso_clock_gettime.
81113 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81114 clock_gettime.
81115
81116 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81117
81118 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81119 Forgot to demangle the pointer.
81120
81121 * sysdeps/i386/sysdep.h: Define atom_text_section.
81122 * sysdeps/x86_64/sysdep.h: Likewise.
81123 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81124 section with atom_text_section.
81125 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81126 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81127 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81128 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81129 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81130
81131 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81132 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81133 already be defined. Change to take two parameters and don't assign
81134 result to variable. Adjust all users.
81135 Define INTERNAL_GETTIME if not already defined.
81136 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81137 call.
81138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81139 HAVE_CLOCK_GETTIME_VSYSCALL.
81140 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81141
81142 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81143 gettimeofday vsyscall, just use time.
81144
81145 2011-09-06 Andreas Schwab <schwab@redhat.com>
81146
81147 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81148 <errno.h>.
81149
81150 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81151
81152 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81153 syscall on x86-64.
81154 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81155 syscall.
81156 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81157 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81158 syscall if possible.
81159
81160 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81161
81162 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81163 e_ident. Don't pass to find_mapsXX.
81164 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81165
81166 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81167
81168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81169 strchr-sse2-no-bsf strrchr-sse2-no-bsf
81170 * sysdeps/x86_64/multiarch/strchr.S: Update.
81171 Check bit_slow_BSF bit.
81172 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81173 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81174 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81175
81176 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81177
81178 [BZ #13134]
81179 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81180 before glibc 2.15.
81181 (tryshell): Define.
81182 (__spawni): Change last parameter to be flag. Test
81183 SPAWN_XFLAGS_USE_PATH flag to use path or not.
81184 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81185 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81186 * posix/spawni.c: Likewise.
81187 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81188 * posix/spawnp.c: Likewise. Change normal version to use
81189 SPAWN_XFLAGS_USE_PATH.
81190 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81191 SPAWN_XFLAGS_TRY_SHELL.
81192
81193 [BZ #13150]
81194 * posix/glob.h: Remove gcc 1.x support.
81195
81196 [BZ #13068]
81197 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81198
81199 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81200
81201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81202 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81203 strrchr-sse2-bsf
81204 * sysdeps/i386/i686/multiarch/strchr.S: New file.
81205 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81206 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81207 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81208 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81209 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81210
81211 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81212
81213 * sysdeps/x86_64/wcscmp.S: New file.
81214
81215 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81216 wcscmp-c wcscmp-sse2
81217 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81218 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81219 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81220 * wcsmbs/wcscmp.c: Allow renaming.
81221
81222 2011-09-05 David S. Miller <davem@davemloft.net>
81223
81224 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81225 stack slot, rather than the struct return pointer slot.
81226 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81227 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81229 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81230
81231 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81232
81233 * po/ja.po: Update from translation team.
81234
81235 [BZ #13144]
81236 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81237 kernel in 64-bit binaries.
81238
81239 2011-09-01 David S. Miller <davem@davemloft.net>
81240
81241 * elf/elf.h (HWCAP_SPARC_*): Move to..
81242 * sysdeps/sparc/sysdep.h: this new file and add new values.
81243 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81244 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81245 _DL_HWCAP_COUNT to 24.
81246 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81247 entries.
81248 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81249 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81250 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81252 instead of magic constants.
81253 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81254
81255 2011-08-31 David S. Miller <davem@davemloft.net>
81256
81257 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81259 Reimplement to do errno handling inline.
81260 (SYSCALL_ERROR_HANDLER): New macro.
81261 (__SYSCALL_STRING): Do not do errno handling in asm.
81262 (__CLONE_SYSCALL_STRING): Delete.
81263 (__INTERNAL_SYSCALL_STRING): Delete.
81264 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81265 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81266 (PSEUDO): Reimplement to do errno handling inline.
81267 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81268 (SYSCALL_ERROR_HANDLER): New macro.
81269 (__SYSCALL_STRING): Do not do errno handling in asm.
81270 (__CLONE_SYSCALL_STRING): Delete.
81271 (__INTERNAL_SYSCALL_STRING): Delete.
81272 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81273 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81274 i386.
81275 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81276 (inline_syscall*): Add 'err' argument.
81277 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81278 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81279 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81280 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81281
81282 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81283 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81284
81285 2011-08-30 Andreas Schwab <schwab@redhat.com>
81286
81287 * elf/rtld.c (dl_main): Relocate objects in dependency order.
81288
81289 2011-08-29 Jiri Olsa <jolsa@redhat.com>
81290
81291 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81292 directive.
81293
81294 2011-08-24 David S. Miller <davem@davemloft.net>
81295
81296 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81297
81298 2011-08-24 Andreas Schwab <schwab@redhat.com>
81299
81300 * elf/Makefile: Add rules to build and run unload8 test.
81301 * elf/unload8.c: New file.
81302 * elf/unload8mod1.c: New file.
81303 * elf/unload8mod1x.c: New file.
81304 * elf/unload8mod2.c: New file.
81305 * elf/unload8mod3.c: New file.
81306
81307 * elf/dl-close.c (_dl_close_worker): Reset private search list if
81308 it wasn't used.
81309
81310 2011-08-23 David S. Miller <davem@davemloft.net>
81311
81312 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81313 subtract stack bias.
81314 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81315 %sp not %fp in calculations.
81316 (_JMPBUF_UNWINDS_ADJ): Likewise.
81317
81318 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81319 (aio_suspend): Call it to force an exception region around the
81320 AIO_MISC_WAIT() invocation.
81321
81322 2011-08-23 Andreas Schwab <schwab@redhat.com>
81323
81324 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81325 backslash.
81326
81327 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
81328
81329 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81330 protection macro.
81331 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81332 and <dl-machine.h>.
81333 (Elf64_FuncDesc): Remove.
81334
81335 2011-08-22 David S. Miller <davem@davemloft.net>
81336
81337 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81338 sigaltstack check, add missing cfi directives.
81339 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81340 missing cfi directives, and sigaltstack handling.
81341
81342 2011-08-16 Andreas Schwab <schwab@redhat.com>
81343
81344 [BZ #11724]
81345 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81346 object is seen twice.
81347 * elf/dl-fini.c (_dl_sort_fini): Likewise.
81348
81349 * elf/Makefile (distribute): Add tst-initorder2.c.
81350 (tests): Add tst-initorder2.
81351 (modules-names): Add tst-initorder2a tst-initorder2b
81352 tst-initorder2c tst-initorder2d. Add rules to build them.
81353 ($(objpfx)tst-initorder2.out): New rule.
81354 * elf/tst-initorder2.c: New file.
81355 * elf/tst-initorder2.exp: New file.
81356
81357 2011-08-22 Andreas Schwab <schwab@redhat.com>
81358
81359 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81360
81361 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81362 dependencies back to end of function.
81363
81364 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81365 $(elfobjdir)/ld.so.
81366
81367 2011-08-21 Ulrich Drepper <drepper@gmail.com>
81368
81369 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81370 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81371 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81372 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81373 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81374 of __vdso_gettimeofday.
81375 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81376 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
81377 attribute_hidden.
81378 (_libc_vdso_platform_setup): Remove initialization of
81379 __vdso_gettimeofday and __vdso_time.
81380
81381 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81382
81383 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81384 and fgetc_unlocked.
81385 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81386 getc_unlocked.
81387
81388 * elf/dl-open.c (add_to_global): Report additions to the global scope
81389 for LD_DEBUG=scopes.
81390 (dl_open_worker): Also print scope of newly loaded dependencies.
81391 (_dl_show_scope): Indicate if there is no scope.
81392
81393 [BZ #13114]
81394 * stdio-common/Makefile (tests): Add bug24.
81395 * stdio-common/bug24.c: New file.
81396
81397 2011-08-19 Andreas Jaeger <aj@suse.de>
81398
81399 [BZ #13114]
81400 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81401 non-existant file when using close-on-exec mode.
81402
81403 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81404
81405 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81406 the very first instruction.
81407
81408 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81409 the CFI state in the end.
81410 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81411 inclusion of dl-trampoline.h.
81412 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81413
81414 2011-08-19 Andreas Schwab <schwab@redhat.com>
81415
81416 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81417 expectations for long double.
81418
81419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81420 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81421
81422 2011-08-14 David S. Miller <davem@davemloft.net>
81423
81424 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81425 artificual limit depends upon the system page size.
81426
81427 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81428
81429 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81430 * resolv/Makefile: Define CFLAGS-libresolv.
81431
81432 2011-08-17 Andreas Schwab <schwab@redhat.com>
81433
81434 * nss/makedb.c (compute_tables): Make variables used in nested
81435 function static.
81436
81437 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81438
81439 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81440 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
81441 if buffer was too small.
81442
81443 * elf/pldd.c (main): Attach to all threads in the process.
81444 Rewrite /proc handling to use *at functions.
81445
81446 2011-08-16 Ulrich Drepper <drepper@gmail.com>
81447
81448 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
81449 specifies first scope to show.
81450 (dl_open_worker): Update callers. Move printing scope of new
81451 object to before the relocation.
81452 * elf/rtld.c (dl_main): Update _dl_show_scope call.
81453 * sysdeps/generic/ldsodefs.h: Update declaration.
81454
81455 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
81456 string for the scope number.
81457
81458 2011-08-14 Ulrich Drepper <drepper@gmail.com>
81459
81460 * nscd/servicescache.c (cache_addserv): Make sure written is always
81461 initialized.
81462
81463 2011-08-14 Roland McGrath <roland@hack.frob.com>
81464
81465 * sysdeps/i386/i486/bits/atomic.h
81466 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
81467 statement expression, so as to suppress "set but not used" warning.
81468 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
81469
81470 * string/strncat.c (STRNCAT): Use prototype definition.
81471
81472 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
81473 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
81474 -Iprograms here.
81475 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
81476 (localedef-modules): Add localedef.
81477 (locale-modules): Add locale.
81478
81479 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
81480 * elf/rtld.c (dl_main): Invert order of assignment in last change,
81481 to avoid a warning.
81482
81483 2011-08-14 David S. Miller <davem@davemloft.net>
81484
81485 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
81486 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
81487
81488 2011-08-13 Ulrich Drepper <drepper@gmail.com>
81489
81490 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
81491 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
81492 * elf/rtld.c (dl_main): Set l_name of vDSO.
81493 Call _dl_show_scope when DL_DEBUG_SCOPES.
81494 (process_dl_debug): Recognize scopes flag and also set it for all.
81495 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
81496 Declare _dl_show_scope.
81497
81498 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
81499 (do_dlopen): Pass caller_dlopen to dl_open.
81500 (__libc_dlopen_mode): Initialize caller_dlopen.
81501
81502 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
81503 of libc. Make tolower call locale-independent. Optimize a bit by
81504 using isdigit instead of isalnum.
81505 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
81506
81507 2011-08-12 Ulrich Drepper <drepper@gmail.com>
81508
81509 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
81510 was a dependency or dynamically loaded.
81511
81512 2011-08-11 Ulrich Drepper <drepper@gmail.com>
81513
81514 * intl/l10nflist.c: Allow architecture-specific pop function.
81515 * sysdeps/x86_64/l10nflist.c: New file.
81516
81517 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
81518 classification.
81519
81520 2011-08-10 Andreas Schwab <schwab@redhat.com>
81521
81522 * include/dirent.h: Add libc_hidden_proto for scandirat and
81523 scandirat64. Don't declare __scandirat64.
81524 * dirent/scandirat.c: Add libc_hidden_def.
81525 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
81526 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
81527
81528 2011-08-10 David S. Miller <davem@davemloft.net>
81529
81530 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
81531 enum.
81532 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81533 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81534 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81535
81536 2011-08-09 Ulrich Drepper <drepper@gmail.com>
81537
81538 * Versions.def [libc]: Add GLIBC_2.15.
81539 * dirent/Makefile (routines): Add scandirat and scandirat64.
81540 * dirent/Versions [libc]: Export scandirat and scandirat64 for
81541 GLIBC_2.15.
81542 * dirent/dirent.h: Declare scandirat and scandirat64.
81543 * dirent/scandirat.c: New file.
81544 * dirent/scandirat64.c: New file.
81545 * sysdeps/wordsize-64/scandirat.c: New file.
81546 * sysdeps/wordsize-64/scandirat64.c: New file.
81547 * dirent/opendir.c: Define opendirat.
81548 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
81549 using scandirat.
81550 * dirent/scandir64.c: Adjust for scandir.c change.
81551 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
81552 __scandirat64, and __scandir_cancel_handler.
81553 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
81554 additional parameter and use openat instead of open (outside of ld.so).
81555 Add new __opendir as wrapper around __opendirat.
81556 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
81557 here without requiring old scandirat implementation.
81558
81559 2011-08-08 Ulrich Drepper <drepper@gmail.com>
81560
81561 * dirent/scandir.c (cancel_handler): Renamed to
81562 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
81563 defined. Adjust users.
81564 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
81565 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
81566
81567 2011-08-04 Ulrich Drepper <drepper@gmail.com>
81568
81569 * string/test-string.h (IMPL): Use __STRING to expand name and then
81570 stringify it.
81571
81572 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
81573 of cleanups.
81574
81575 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81576
81577 * string/Makefile: Update.
81578 (strop-tests): Append strncat.
81579 * string/test-wcscmp.c: New file.
81580 New comprehensive test for wcscmp.
81581 * string/test-strcmp.c: Update.
81582 (WIDE): New define.
81583
81584 2011-07-22 Andreas Schwab <schwab@redhat.com>
81585
81586 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
81587 line.
81588
81589 2011-07-26 Andreas Schwab <schwab@redhat.com>
81590
81591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81592 encoding to ACE if AI_IDN.
81593
81594 2011-08-01 Jakub Jelinek <jakub@redhat.com>
81595
81596 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
81597 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
81598
81599 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81600
81601 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
81602 Fix overflow bug in strncat.
81603 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
81604
81605 * string/test-strncat.c: Update.
81606 Add new tests for checking overflow bugs.
81607
81608 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81609
81610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81611 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
81612 * sysdeps/i386/i686/multiarch/strcat.S: New file.
81613 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
81614 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
81615 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
81616 * sysdeps/i386/i686/multiarch/strncat.S: New file.
81617 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
81618 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
81619
81620 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
81621 (USE_AS_STRCAT): Define.
81622 Add strcat and strncat support.
81623 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81624
81625 2011-07-25 Andreas Schwab <schwab@redhat.com>
81626
81627 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
81628 __n bigger than INT_MAX+1.
81629 (__strncmp_g): Likewise.
81630
81631 2011-07-23 Ulrich Drepper <drepper@gmail.com>
81632
81633 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
81634 * libio/stido.h: Likewise.
81635
81636 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
81637 (AF_NFC): Define.
81638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
81639 (AF_NFC): Define.
81640
81641 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
81642 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81643 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81644 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
81645 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81646
81647 [BZ #13021]
81648 * scripts/test-installation.pl: Don't expect libnss_test1 to be
81649 installed.
81650
81651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
81652 typo.
81653 (_dl_x86_64_save_sse): Likewise.
81654
81655 2011-07-22 Ulrich Drepper <drepper@gmail.com>
81656
81657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
81658 OSXSAVE.
81659 (_dl_x86_64_save_sse): Likewise.
81660
81661 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
81662
81663 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
81664
81665 2011-07-21 Andreas Schwab <schwab@redhat.com>
81666
81667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
81668 change.
81669 (_dl_x86_64_save_sse): Use correct AVX check.
81670
81671 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81672
81673 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
81674 bug in strncpy/strncat.
81675 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
81676
81677 2011-07-21 Ulrich Drepper <drepper@gmail.com>
81678
81679 * string/tester.c (test_strcat): Add tests for different alignments
81680 of source and destination.
81681 (test_strncat): Likewise.
81682
81683 2011-07-20 Ulrich Drepper <drepper@gmail.com>
81684
81685 [BZ #12852]
81686 * posix/glob.c (glob): Check passed in values before using them in
81687 expressions to avoid some overflows.
81688 (glob_in_dir): Likewise.
81689
81690 [BZ #13007]
81691 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
81692 check for AVX enablement so that we don't crash with old kernels and
81693 new hardware.
81694 * elf/tst-audit4.c: Add same checks here.
81695 * elf/tst-audit6.c: Likewise.
81696
81697 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
81698
81699 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
81700
81701 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
81702
81703 2011-07-20 Ulrich Drepper <drepper@gmail.com>
81704
81705 * po/cs.po: Update from translation team.
81706 * po/bg.po: Likewise.
81707
81708 2011-07-12 Marek Polacek <mpolacek@redhat.com>
81709
81710 * misc/sys/cdefs.h: Add support for const attribute.
81711 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
81712 to gnu_dev_{major,minor,makedev} functions.
81713
81714 2011-07-20 Marek Polacek <mpolacek@redhat.com>
81715
81716 * intl/dcigettext.c (get_output_charset): Add missing bracket.
81717
81718 2011-07-20 Andreas Schwab <schwab@redhat.com>
81719
81720 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
81721 strlen results.
81722
81723 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81724
81725 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
81726 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
81727 register in order to avoid conflicts with the soft frame pointer
81728 being held in r11 when necessary.
81729 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
81730 (INTERNAL_VSYSCALL_NCS): Likewise.
81731
81732 2011-07-14 Marek Polacek <mpolacek@redhat.com>
81733
81734 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
81735 * elf/dl-fini.c (_dl_fini): Adjust caller.
81736 * elf/dl-close.c (_dl_close_worker): Likewise.
81737 * sysdeps/generic/ldsodefs.h: Adjust declaration.
81738
81739 2011-07-15 Marek Polacek <mpolacek@redhat.com>
81740
81741 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
81742 "aux_cache->nlibs < 0".
81743
81744 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
81745 in the reload-count case.
81746
81747 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81748
81749 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81750 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
81751 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
81752 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
81753 * sysdeps/x86_64/multiarch/strcat.S: New file.
81754 * sysdeps/x86_64/multiarch/strncat.S: New file.
81755 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
81756 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
81757 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
81758 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
81759 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
81760 (USE_AS_STRCAT): Define.
81761 Add strcat and strncat support.
81762 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81763 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
81764 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
81765 * string/strncat.c: Update.
81766 (USE_AS_STRNCAT): Define.
81767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81768 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
81769 and i7.
81770 * sysdeps/x86_64/multiarch/init-arch.h
81771 (bit_Prefer_PMINUB_for_stringop): New.
81772 (index_Prefer_PMINUB_for_stringop): Likewise.
81773 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
81774 bit_Prefer_PMINUB_for_stringop.
81775
81776 2011-07-19 Ulrich Drepper <drepper@gmail.com>
81777
81778 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
81779 buffer64.
81780 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
81781 of casting of buffer.
81782 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
81783 buffer32 and buffer64.
81784 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
81785 writes instead of casting of buffer.
81786 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
81787 buffer32.
81788 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
81789 casting of buffer.
81790
81791 2011-07-19 Andreas Schwab <schwab@redhat.com>
81792
81793 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
81794
81795 2011-07-19 Ulrich Drepper <drepper@gmail.com>
81796
81797 * nscd/nscd.c (termination_handler): Don't do anything for a database
81798 if it has not yet been initialized.
81799
81800 2011-07-18 Ulrich Drepper <drepper@gmail.com>
81801
81802 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81803
81804 2011-07-15 Marek Polacek <mpolacek@redhat.com>
81805
81806 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81807
81808 2011-07-18 Ulrich Drepper <drepper@gmail.com>
81809
81810 * po/nl.po: Update from translation team.
81811 * po/sv.po: Likewise.
81812
81813 2011-07-16 Roland McGrath <roland@hack.frob.com>
81814
81815 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
81816 now disallowed by GCC.
81817
81818 * configure.in (use-default-link): Default to yes if a test -shared
81819 link meets our qualifications.
81820 * configure: Regenerated.
81821
81822 * config.make.in (output-format): New variable.
81823 * configure.in: Check for ld --print-output-format support.
81824 * configure: Regenerated.
81825 * Makerules ($(common-objpfx)format.lds)
81826 [$(output-format) != unknown]: Just use $(output-format),
81827 instead of the linker-script munging.
81828
81829 2011-07-14 Roland McGrath <roland@hack.frob.com>
81830
81831 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
81832 of $(common-objpfx)shlib.lds.
81833 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
81834
81835 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
81836 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
81837
81838 * configure.in (-z relro check): Adjust test code to add a large
81839 writable data section after it.
81840 * configure: Regenerated.
81841
81842 2011-07-11 Roland McGrath <roland@hack.frob.com>
81843
81844 * configure.in (-z relro check): Fix test code to make the variable
81845 truly const.
81846 * configure: Regenerated.
81847
81848 2011-07-11 Ulrich Drepper <drepper@gmail.com>
81849
81850 * nscd/nscd.h (struct traced_file): Define.
81851 (struct database_dyn): Remove inotify_descr, reset_res, and filename
81852 elements. Add traced_files.
81853 (inotify_fd): Declare.
81854 (register_traced_file): Declare.
81855 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
81856 (inotify_fd): Export.
81857 (resolv_conf_descr): Remove.
81858 (nscd_init): Move inotify descriptor creation to main.
81859 Don't register files for notification here.
81860 (register_traced_file): New function.
81861 (invalidate_cache): Don't use reset_res to determine whether to call
81862 res_init, go through the list of registered files.
81863 (main_loop_poll): The inotify descriptors are now stored in the
81864 structures for the traced files.
81865 (main_loop_epoll): Likewise.
81866 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
81867 to __nss_disable_nscd.
81868 * nscd/cache.c (prune_cache): There is no single inotify descriptor
81869 for a database anymore. Check the records for all the registered
81870 files instead.
81871 * nss/Makefile (libnss_files-routines): Add files-init.
81872 (libnss_db-routines): Add db-init.
81873 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
81874 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
81875 * nss/nss_db/db-init.c: New file.
81876 * nss/nss_files/files-init.c: New file.
81877 * nss/nsswitch.c (nss_load_library): New function. Broken out of
81878 __nss_lookup_function.
81879 (__nss_lookup_function): Call nss_load_library.
81880 (nss_load_all_libraries): New function.
81881 (__nss_disable_nscd): Take parameter with callback function for files
81882 to register. Set is_nscd. Load all the DSOs for the NSS modules
81883 used for the cached services.
81884 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
81885 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
81886 options for features to all the files in nscd.
81887
81888 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
81889
81890 2011-07-10 Roland McGrath <roland@hack.frob.com>
81891
81892 * csu/elf-init.c (__libc_csu_init): Comment typo.
81893
81894 2011-07-09 Ulrich Drepper <drepper@gmail.com>
81895
81896 * po/pl.po: Update from translation team.
81897 * po/ja.po: Likewise.
81898 * po/ru.po: Likewise.
81899 * po/ko.po: Likewise.
81900 * po/fr.po: Likewise.
81901
81902 2011-07-09 Roland McGrath <roland@hack.frob.com>
81903
81904 * configure.in (.ctors/.dtors header and trailer check):
81905 Use an empirical test on a built program.
81906 * configure: Regenerated.
81907
81908 * configure.in (-z relro check): Use an empirical test on a built DSO.
81909 Detect, but do not require, on ia64.
81910 * configure: Regenerated.
81911
81912 * configure.in (READELF): Find it with AC_CHECK_TOOL.
81913 Update tests that use readelf to use $READELF instead.
81914 * configure: Regenerated.
81915
81916 2011-07-08 Ulrich Drepper <drepper@gmail.com>
81917
81918 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
81919 if the result is not used.
81920
81921 2011-07-05 Andreas Jaeger <aj@suse.de>
81922
81923 [BZ#9696]
81924 * stdlib/tst-strtod.c: Add testcase.
81925
81926 2011-07-07 Ulrich Drepper <drepper@gmail.com>
81927
81928 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
81929 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
81930 The latter has a higher limit. Take additional parameter to pass to
81931 the new function.
81932 (__pathconf): Pass file to __statfs_link_max.
81933 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
81934 __statfs_link_max.
81935 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
81936 __statfs_link_max.
81937
81938 [BZ #12868]
81939 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
81940 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81941 Handle Lustre.
81942 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
81943 (__statfs_filesize_max): Likewise.
81944 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
81945
81946 2011-07-05 Andreas Jaeger <aj@suse.de>
81947
81948 * resolv/res_comp.c (dn_skipname): Remove unused variable.
81949
81950 2011-07-06 Marek Polacek <mpolacek@redhat.com>
81951
81952 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
81953 `status' variable.
81954 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
81955 Likewise.
81956
81957 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
81958
81959 * Makefile (strop-tests): Add strncat.
81960 * string/test-strncat.c: New file.
81961
81962 2011-06-30 Marek Polacek <mpolacek@redhat.com>
81963
81964 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
81965
81966 2011-06-21 Andreas Jaeger <aj@suse.de>
81967
81968 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
81969 Copy rule from iconvdata/Makefile.
81970
81971 2011-07-06 Ulrich Drepper <drepper@gmail.com>
81972
81973 [BZ #12922]
81974 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
81975 but no long options are defined, just return 'W'.
81976
81977 2011-06-22 Marek Polacek <mpolacek@redhat.com>
81978
81979 [BZ #9696]
81980 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
81981
81982 2011-07-06 Ulrich Drepper <drepper@gmail.com>
81983
81984 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
81985 netgroups to read.
81986 (innetgr): Likewise.
81987
81988 2011-07-05 Roland McGrath <roland@hack.frob.com>
81989
81990 * config.make.in (install_root): Default to $(DESTDIR).
81991
81992 2011-07-05 Ulrich Drepper <drepper@gmail.com>
81993
81994 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
81995
81996 2011-07-02 Roland McGrath <roland@hack.frob.com>
81997
81998 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
81999
82000 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82001 containing directory rather than embedding absolute directory names.
82002
82003 * scripts/check-local-headers.sh: Rewritten using awk.
82004 Match by word, not by line. Print error messages for matches.
82005 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82006
82007 * Makerules [shlib-lds-flags empty]:
82008 ($(common-objpfx)libc_pic.opts): New target.
82009 ($(common-objpfx)libc_pic.os.clean): New target.
82010 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82011
82012 * config.make.in (OBJCOPY): New variable.
82013 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82014 * configure: Regenerated.
82015
82016 * config.make.in (use-default-link): New variable.
82017 * configure.in (use_default_link): Grok --with-default-link to set it.
82018 * configure: Regenerated.
82019 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82020 (shlib-lds, shlib-lds-flags): Define to empty.
82021
82022 * Makerules (shlib-lds): New variable.
82023 (shlib-lds-flags): New variable.
82024 (build-shlib, build-moduile, build-module-asneeded): Use it.
82025 ($(common-objpfx)libc.so): Use $(shlib-lds).
82026 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82027 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82028
82029 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82030 DT_FLAGS/DT_FLAGS_1 with zero flags.
82031
82032 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82033 linker script munging.
82034
82035 2011-07-02 Ulrich Drepper <drepper@gmail.com>
82036
82037 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82038 as 128-bit value.
82039 * crypt/sha512.c (sha512_process_block): Perform total addition using
82040 128-bit if possible.
82041 (__sha512_finish_ctx): Likewise.
82042 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82043 as 64-bit value.
82044 * crypt/sha256.c (SWAP64): Define.
82045 (sha256_process_block): Perform total addition using 64-bit if
82046 possible.
82047 (__sha256_finish_ctx): Likewise.
82048
82049 2011-07-01 Ulrich Drepper <drepper@gmail.com>
82050
82051 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
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 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82057
82058 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
82059
82060 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82062 * nscd/hstcache.c (cache_addhst): Likewise.
82063 * nscd/grpcache.c (cache_addgr): Likewise.
82064 * nscd/aicache.c (addhstaiX): Likewise.
82065
82066 2011-07-01 Andreas Schwab <schwab@redhat.com>
82067
82068 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82069 domain only when needed.
82070
82071 2011-06-30 Andreas Schwab <schwab@redhat.com>
82072
82073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82074 is always restored.
82075
82076 2011-06-29 Ulrich Drepper <drepper@gmail.com>
82077
82078 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82079 are re-adding the entry.
82080 * nscd/servicescache.c (cache_addserv): Likewise.
82081
82082 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
82083
82084 * sysdeps/generic/dl-irel.h: fix protection against multiple
82085 inclusions.
82086 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82087
82088 2011-06-28 Ulrich Drepper <drepper@gmail.com>
82089
82090 [BZ #12935]
82091 * malloc/memusage.sh: Fix quoting in message.
82092 * debug/xtrace.sh: Likewise.
82093
82094 * configure.in: Remove support for --experimental-malloc option, make
82095 it the default.
82096 * config.make.in: Likewise.
82097 * malloc/Makefile: Likewise.
82098
82099 2011-06-27 Andreas Schwab <schwab@redhat.com>
82100
82101 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82102 two-byte characters.
82103
82104 2011-06-27 Roland McGrath <roland@hack.frob.com>
82105
82106 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82107 AC_CACHE_CHECK invocation.
82108 * configure: Regenerated.
82109
82110 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82111
82112 2011-06-27 Ulrich Drepper <drepper@gmail.com>
82113
82114 [BZ #12350]
82115 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
82116 bit from old_res_options.
82117
82118 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82119
82120 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82121 value type for setfct.
82122
82123 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
82124
82125 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82126 __gettimeofday instead of gettimeofday.
82127
82128 2011-06-26 Ulrich Drepper <drepper@gmail.com>
82129
82130 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82131
82132 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
82133
82134 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82135
82136 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82137 info.
82138
82139 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82140
82141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82142 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82143 strcpy-sse2-unaligned strncpy-sse2-unaligned
82144 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82145 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82146 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82147 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82148 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82149 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82150 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82151 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82152 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82153 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82154 (STRCPY): Support SSE2 and SSSE3 versions.
82155
82156 2011-06-24 Ulrich Drepper <drepper@gmail.com>
82157
82158 [BZ #12874]
82159 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82160 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82161 kernels which artificially limit size of requests.
82162
82163 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82164
82165 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82166 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82167 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82168 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82169 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82170 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82171 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82172 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82173 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82174 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82175 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82176 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82177 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82178 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82179 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82181 Enable unaligned load optimization for Intel Core i3, i5 and i7
82182 processors.
82183 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82184 Define.
82185 (index_Fast_Unaligned_Load): Define.
82186 (HAS_FAST_UNALIGNED_LOAD): Define.
82187
82188 2011-06-23 Marek Polacek <mpolacek@redhat.com>
82189
82190 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82191
82192 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82193
82194 [BZ #12907]
82195 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82196 until it is clear that the information is realy needed.
82197 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82198
82199 2011-06-22 Andreas Schwab <schwab@redhat.com>
82200
82201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82202
82203 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82204
82205 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82206 /sys/devices/system/cpu/online if it is usable.
82207
82208 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82209 reading the information from the /proc filesystem to once a second.
82210
82211 2011-06-21 Andreas Jaeger <aj@suse.de>
82212
82213 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82214 NULL after inclusion of kernel headers.
82215
82216 2011-06-21 Ulrich Drepper <drepper@gmail.com>
82217
82218 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82219 calls to internal_setent.
82220
82221 [BZ #12885]
82222 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82223 addresses using gethostbyname4_r ignore IPv4 addresses.
82224
82225 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82226 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
82227
82228 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82229
82230 2011-06-20 David S. Miller <davem@davemloft.net>
82231
82232 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82233 inclusions.
82234 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82235
82236 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82237 (elf_irel): Use it.
82238 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82239 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82240 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82241 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82242 * sysdeps/x86_64/dl-irel.h: Likewise.
82243
82244 * elf/dl-runtime.c: Use elf_ifunc_invoke.
82245 * elf/dl-sym.c: Likewise.
82246
82247 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82248
82249 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
82250 need to dereference resplen2.
82251
82252 2011-06-14 Andreas Schwab <schwab@redhat.com>
82253
82254 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82255
82256 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82257
82258 * Makeconfig: Define vardbdir and inst_vardbdir.
82259 * nss/Makefile: Add rules to install db-Makefile.
82260
82261 * nss/nss_db/db-XXX.c: Cleanup.
82262
82263 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82264 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82265 GLIBC_PRIVATE.
82266 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82267 * nss/makedb.c: Implement -g option to specify that value strings
82268 are generated and should not be added to table iterated over for
82269 get*ent calls.
82270 * nss/nss_db/db-initgroups.c: New file.
82271
82272 * nss/getent.c: Add support for initgroups lookups through getgrouplist
82273 interface.
82274
82275 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82276 (internal_getgrouplist): Adjust to name change.
82277 Update use_initgroups_entry if this is not the first call.
82278 * nss/databases.def: Add initgroups entry.
82279
82280 * nss/makedb.c (compute_tables): Check result of multiple hash table
82281 sizes to minimize maximum chain length.
82282
82283 2011-06-14 Ulrich Drepper <drepper@gmail.com>
82284
82285 * Versions.def: Add entry for libnss_db.
82286 * shlib-versions: Likewise.
82287 * nss/Makefile: Add rules to build libnss_db.
82288 * nss/Versions: Add libnss_db information. Organize libnss_files
82289 entries better.
82290 * nss/db-Makefile: Add gshadow support. Change rules for the new
82291 makedb progra. Some minor improvements to generate smaller files.
82292 * nss/nss_db/nss_db.h: Move NSS database header data structures to
82293 here from...
82294 * nss/makedb.c: ...here.
82295 Improve database format to be smaller and require less memory at
82296 runtime.
82297 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
82298 db anymore.
82299 * nss/nss_db/db-netgrp.c: Likewise.
82300 * nss/nss_db/db-open.c: Likewise.
82301 * nss/nss_files/flies-XXX.x: Adjust comments.
82302 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82303 * nss/nss_files/files-grp.c: Likewise.
82304 * nss/nss_files/files-hosts.c: Likewise.
82305 * nss/nss_files/files-network.c: Likewise.
82306 * nss/nss_files/files-proto.c: Likewise.
82307 * nss/nss_files/files-pwd.c: Likewise.
82308 * nss/nss_files/files-rpc.c: Likewise.
82309 * nss/nss_files/files-service.c: Likewise.
82310 * nss/nss_files/files-sgrp.c: Likewise.
82311 * nss/nss_files/files-spwd.c: Likewise.
82312 * nss/nss_db/db-alias.c: Removed.
82313 * nss/nss_db/dummy-db.h: Removed.
82314
82315 2011-06-02 Ulrich Drepper <drepper@gmail.com>
82316
82317 * nss/makedb.c: Rewritten to not use database library.
82318 * nss/Makefile: Update to build new makedb program.
82319
82320 2011-06-14 Andreas Jaeger <aj@suse.de>
82321
82322 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82323 memset declaration.
82324
82325 2011-06-10 Andreas Schwab <schwab@redhat.com>
82326
82327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82328 tmpbuf.
82329
82330 2011-06-10 Roland McGrath <roland@hack.frob.com>
82331
82332 * Makerules (shlib.lds): Fail if the linker script comes out empty.
82333 * elf/Makefile ($(objpfx)ld.so): Likewise.
82334
82335 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82336 Don't list ld.so twice in dependencies.
82337
82338 * posix/bug-regex31.c: Include <stdlib.h>.
82339
82340 * nscd/hstcache.c (cache_addhst): Remove unused variable.
82341
82342 * nis/nss_compat/compat-spwd.c
82343 (getspent_next_nss_netgr): Remove unused variable.
82344 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82345
82346 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82347 nonmembers" output to use the right array.
82348
82349 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82350
82351 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82352
82353 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82354 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82355 * catgets/gencat.c (read_input_file): Likewise.
82356 * locale/programs/locarchive.c (enlarge_archive): Likewise.
82357
82358 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82359 variable definition inside #if's controlling its use.
82360
82361 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82362
82363 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82364
82365 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82366
82367 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82368 unreachable code.
82369
82370 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82371
82372 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82373 * configure: Regenerated.
82374
82375 * Makerules: Revert last change.
82376 * elf/Makefile: Likewise.
82377
82378 2011-06-09 Roland McGrath <roland@hack.frob.com>
82379
82380 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82381 * elf/Makefile ($(objpfx)librtld.os): Likewise.
82382 (reloc-link): Likewise.
82383
82384 2011-06-09 Ulrich Drepper <drepper@gmail.com>
82385
82386 * elf/Makefile: Add rules to build pldd.
82387 * elf/pldd.c: New file.
82388 * elf/pldd-xx.c: New file.
82389
82390 2011-06-07 Ulrich Drepper <drepper@gmail.com>
82391
82392 * version.h: Update for 2.15 development version.
82393
82394 2011-06-07 David S. Miller <davem@davemloft.net>
82395
82396 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82397 ifuncs.
82398 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82399 elf_machine_lazy_rel): Likewise.
82400 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82401 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82402 elf_machine_lazy_rel): Likewise.
82403 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82404 dl_hwcap via passed in argument.
82405 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82406 Likewise.
82407
82408 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82409
82410 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
82411
82412 2011-06-06 Roland McGrath <roland@hack.frob.com>
82413
82414 [BZ #12849]
82415 * manual/fdl-1.1.texi: New file, verbatim from:
82416 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82417 * manual/lgpl-2.1.texi: New file, verbatim from:
82418 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82419 * manual/Makefile (licenses): New variable, list those new file names.
82420 (texis): Use it.
82421 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82422
82423 * manual/fdl.texi: File removed.
82424 * manual/lesser.texi: File removed.
82425 * manual/libc.texinfo (Copying, Documentation License):
82426 Use new @include file names, put @appendix directive before @include.
82427
82428 2011-06-04 Jakub Jelinek <jakub@redhat.com>
82429
82430 [BZ #12841]
82431 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82432 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82433 (mq_open): Add __NTH.
82434
82435 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
82436
82437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82438 Assume Intel Core i3/i5/i7 processor if AVX is available.
82439
82440 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82441
82442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82443 typo.
82444
82445 2011-05-31 Andreas Schwab <schwab@redhat.com>
82446
82447 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
82448 memory. Use alloca_account. Fix memory leak when retrying.
82449
82450 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82451
82452 * version.h (RELEASE): Bump for 2.14 release.
82453 * include/features.h (__GLIBC_MINOR__): Bump to 14.
82454
82455 * config.make.in (RANLIB): Remove entry.
82456
82457 2011-05-30 Ulrich Drepper <drepper@gmail.com>
82458
82459 * po/Makefile (po-sed-cmd): Add ksh to extensions.
82460 (libc.pot): Work around missing support for .ksh extension in xgettext.
82461
82462 [BZ #12684]
82463 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
82464 if both request failed.
82465 (send_dg): In case of server errors clear resplen or *resplen2.
82466
82467 [BZ #12454]
82468 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
82469 when there are multiple maps.
82470 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
82471 (_dl_fini): Remove test here.
82472
82473 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
82474
82475 2011-05-29 Ulrich Drepper <drepper@gmail.com>
82476
82477 [BZ #12350]
82478 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
82479 bit from old_res_options.
82480 (gaih_inet): Likewise.
82481
82482 [BZ #11099]
82483 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
82484 as signed.
82485
82486 * resolv/res_init.c (res_setoptions): Make the code more compact.
82487
82488 [BZ #11558]
82489 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
82490 set RES_USEVC.
82491
82492 [BZ #11634]
82493 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
82494
82495 * malloc/malloc.h: Mark malloc hook variables as deprecated.
82496
82497 [BZ #11781]
82498 * malloc/malloc.h: Declare malloc hook variables as volatile.
82499
82500 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
82501 in last patch.
82502
82503 [BZ #11799]
82504 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
82505 raise in the comment.
82506 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82507 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82508 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
82509
82510 2011-05-28 Ulrich Drepper <drepper@gmail.com>
82511
82512 [BZ #12811]
82513 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
82514 grow the buffers more if it already has to be sufficient.
82515 (build_wcs_upper_buffer): Likewise.
82516 * posix/regexec.c (check_matching): Likewise.
82517 (clean_state_log_if_needed): Likewise.
82518 (extend_buffers): Don't enlarge buffers beyond size of the input
82519 buffer.
82520 Patches mostly by Emil Wojak <emil@wojak.eu>.
82521 * posix/bug-regex32.c: New file.
82522 * posix/Makefile (tests): Add bug-regex32.
82523
82524 * locale/findlocale.c (_nl_find_locale): Return right away if
82525 _nl_explode_name failed.
82526 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
82527
82528 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
82529
82530 * debug/xtrace.sh: Unify messages.
82531 * malloc/memusage.sh: Likewise.
82532
82533 [BZ #12813]
82534 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
82535 time symbol from vDSO. Substitute with vsyscall if not available.
82536 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
82537 __vdso_time.
82538
82539 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
82540 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
82541 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
82542 Add sendmmsg and internal_sendmmsg.
82543 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
82544 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
82545 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
82546
82547 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
82548 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
82549 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
82550
82551 2011-05-27 Ulrich Drepper <drepper@gmail.com>
82552
82553 [BZ #12813]
82554 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
82555 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
82556 available.
82557 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
82558 __vdso_getcpu.
82559
82560 [BZ #12814]
82561 * iconvdata/Makefile (tests): Add bug-iconv9.
82562 * iconvdata/bug-iconv9.c: New file.
82563
82564 2011-05-27 Andreas Schwab <schwab@redhat.com>
82565
82566 [BZ #12814]
82567 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
82568
82569 2011-05-25 Jakub Jelinek <jakub@redhat.com>
82570
82571 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82572 (struct user_regs_struct): Change intcs field back to cs.
82573
82574 2011-05-25 Ulrich Drepper <drepper@gmail.com>
82575
82576 * po/ja.po: Update from translation team.
82577
82578 2011-05-23 Ulrich Drepper <drepper@gmail.com>
82579
82580 [BZ #12795]
82581 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
82582 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
82583
82584 2011-05-20 Andreas Schwab <schwab@redhat.com>
82585
82586 * stdlib/longlong.h: Update from GCC.
82587
82588 2011-05-23 Andreas Schwab <schwab@redhat.com>
82589
82590 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
82591 parameter name.
82592 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
82593 Add parameter name.
82594 (__sysconf): Pass it down.
82595
82596 2011-05-22 Ulrich Drepper <drepper@gmail.com>
82597
82598 [BZ #12671]
82599 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
82600 some situations.
82601 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
82602 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
82603 add in in __libc_use_alloca calls. Adjust callers.
82604 (glob): Use malloc in some situations.
82605
82606 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
82607 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
82608 pltexit.
82609
82610 2011-05-21 Ulrich Drepper <drepper@gmail.com>
82611
82612 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
82613 and CLOCK_BOOTTIME_ALARM.
82614
82615 [BZ #12782]
82616 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
82617 is returned.
82618
82619 * string/_strerror.c (__strerror_r): Print negative errors as signed
82620 numbers.
82621
82622 [BZ #12777]
82623 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
82624 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
82625 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
82626
82627 * configure.in: Fix typo in redirection and correct removal of test
82628 files in two cases.
82629
82630 [BZ #12788]
82631 * locale/setlocale.c (new_composite_name): Fix test to check for
82632 identical name of all categories.
82633
82634 [BZ #12792]
82635 * libio/filedoalloc.c (local_isatty): New function.
82636 (_IO_file_doallocate): Use local_isatty.
82637 * stdio-common/perror.c (perror): In case a new stream is used
82638 forward the stream error.
82639 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
82640 error flag.
82641
82642 2011-05-20 Ulrich Drepper <drepper@gmail.com>
82643
82644 [BZ #11884]
82645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
82646 alloca.
82647 * include/alloca.h (extend_alloca_account): Define.
82648
82649 [BZ #11857]
82650 * posix/regex.h: Fix comments with documentation of user-accessible
82651 fields after compilation and describe correct free'ing of pattern
82652 after re_compile_pattern.
82653 Patch by Reuben Thomas <rrt@sc3d.org>.
82654
82655 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
82656
82657 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
82658 and -mno-altivec to prevent the compiler from using Altivec and/or
82659 VSX instructions when the corresponding registers are not available.
82660
82661 2011-05-19 Andreas Schwab <schwab@redhat.com>
82662
82663 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
82664
82665 2011-05-19 Ulrich Drepper <drepper@gmail.com>
82666
82667 * libio/freopen.c (freopen): Use __dup2, not dup2.
82668 * libio/freopen64.c (freopen64): Likewise.
82669
82670 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
82671
82672 [BZ #12775]
82673 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
82674 * math/Makefile (tests): Add test-powl.
82675 (CFLAGS-test-powl.c): Define.
82676 * math/test-powl.c: New file.
82677
82678 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
82679
82680 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
82681
82682 2011-05-17 Ulrich Drepper <drepper@gmail.com>
82683
82684 [BZ #11837]
82685 * iconvdata/gb18030.c: Update to GB18020-2005.
82686
82687 2011-05-16 Ulrich Drepper <drepper@gmail.com>
82688
82689 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
82690 RE_SYNTAX_POSIX_AWK): Update to match recent development.
82691 Patch by Aharon Robbins <arnold@skeeve.com>.
82692
82693 [BZ #11892]
82694 * stdlib/putenv.c (putenv): Don't always create copy of the variable
82695 on the stack.
82696
82697 [BZ #11895]
82698 * misc/pselect.c (__pselect): Handle timeout value errors hidden
82699 through underflows.
82700
82701 [BZ #12766]
82702 * misc/error.c (error_at_line): Ensure file_name and old_file_name
82703 point to strings before performing equality test for error_one_per_line
82704 mode.
82705
82706 [BZ #11697]
82707 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
82708
82709 [BZ #11820]
82710 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82711 (struct user_fpregs_struct): Avoid __uint*_t types.
82712
82713 [BZ #6420]
82714 * malloc/mtrace.c (tr_where): Add additional parameter to point to
82715 symbol info. Use it instead of calling _dl_addr locally.
82716 (lock_and_info): New function.
82717 (tr_freehook): Call lock_and_info and pass symbol info as additional
82718 parameter to tr_where.
82719 (tr_mallochook): Likewise.
82720 (tr_reallochook): Likewise.
82721 (tr_memalignhook): Likewise.
82722
82723 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
82724 used and couldn't be at all thread-safe.
82725
82726 2011-05-15 Ulrich Drepper <drepper@gmail.com>
82727
82728 * libio/freopen.c (freopen): Don't close old file descriptor
82729 before the new one is opened. Instead dup the new file descriptor
82730 to the old one after the new stream is created.
82731 * libio/freopen64.c (freopen64): Likewise.
82732 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
82733 * libio/fileops.c (_IO_new_file_close_it): Handle new
82734 _IO_FLAGS2_NOCLOSE flag.
82735 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
82736 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
82737 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
82738 _IO_FLAGS2_NOCLOSE flag.
82739 * include/unistd.h: Add hidden_proto for dup3.
82740 Define __have_dup3.
82741 * io/dup3.c: Define hidden symbol.
82742 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
82743
82744 [BZ #7101]
82745 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
82746 when an incomplete long option is used.
82747 * posix/tst-getopt_long1.c: New file.
82748 * posix/Makefile (tests): Add tst-getopt_long1.
82749
82750 [BZ #10138]
82751 * scripts/config.guess: Update from autoconf-2.68.
82752 * scripts/config.sub: Likewise.
82753
82754 [BZ #10157]
82755 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
82756 tests into ...
82757 (has_cpuclock): ...this. New function.
82758 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
82759 macro here based on has_cpuclock code.
82760
82761 [BZ #10149]
82762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82763 First byte (not low byte) is now always NUL.
82764 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
82765
82766 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82767 Use non-cancelable interfaces.
82768
82769 [BZ #9809]
82770 * locale/iso-639.def: Add entry for Sorani.
82771
82772 [BZ #11901]
82773 * include/stdlib.h: Move include protection to the right place.
82774 Define abort_msg_s. Declare __abort_msg with it.
82775 * stdlib/abort.c (__abort_msg): Adjust type.
82776 * assert/assert.c (__assert_fail_base): New function. Majority
82777 of code from __assert_fail. Allocate memory for __abort_msg with
82778 mmap.
82779 (__assert_fail): Now call __assert_fail_base.
82780 * assert/assert-perr.c: Remove bulk of implementation. Use
82781 __assert_fail_base.
82782 * include/assert.hL Declare __assert_fail_base.
82783 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
82784 mmap.
82785 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
82786
82787 2011-05-14 Ulrich Drepper <drepper@gmail.com>
82788
82789 [BZ #11952]
82790 [BZ #12453]
82791 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
82792 until all modules are registered in the DTV.
82793 * elf/Makefile: Add rules to build and run tst-tls19.
82794 * elf/tst-tls19.c: New file.
82795 * elf/tst-tls19mod1.c: New file.
82796 * elf/tst-tls19mod2.c: New file.
82797 * elf/tst-tls19mod3.c: New file.
82798 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
82799
82800 [BZ #12083]
82801 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
82802 correctly.
82803
82804 [BZ #12601]
82805 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
82806 two-byte sequence errors.
82807 * iconvdata/Makefile (tests): Add bug-iconv8.
82808 * iconvdata/bug-iconv8.c: New file.
82809
82810 [BZ #12626]
82811 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
82812 buf2 definition.
82813
82814 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
82815
82816 [BZ #12432]
82817 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
82818 (dummy_getcfa): New function.
82819 (init): Get _Unwind_GetCFA address, use dummy if not found.
82820 (backtrace_helper): In recursion check, also check whether CFA changes.
82821 (__backtrace): Completely initialize arg.
82822
82823 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
82824 storing incomplete byte sequence in state object. Avoid testing for
82825 guaranteed too small input if we know there is enough data available.
82826
82827 2011-05-11 Andreas Schwab <schwab@redhat.com>
82828
82829 * Makeconfig (+link-pie): Indent.
82830 * Rules (binaries-pie): Define if $(have-fpie) and
82831 $(build-shared).
82832 (binaries-shared): Also filter out $(binaries-pie).
82833 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
82834 * nscd/Makefile (others-pie): Add nscd.
82835 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
82836 ($(objpfx)nscd): Remove command override.
82837 * login/Makefile (others-pie): Add pt_chown.
82838 ($(objpfx)pt_chown): Remove command override.
82839 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
82840 remove command overrides.
82841
82842 2011-05-13 Ulrich Drepper <drepper@gmail.com>
82843
82844 * libio/tst_putwc.c: Fix error messages.
82845
82846 [BZ #12724]
82847 * libio/fileops.c (_IO_new_file_close_it): Always flush when
82848 currently writing and seek to current position when not.
82849 * libio/Makefile (tests): Add bug-fclose1.
82850 * libio/bug-fclose1.c: New file.
82851
82852 2011-05-12 Ulrich Drepper <drepper@gmail.com>
82853
82854 [BZ #12511]
82855 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
82856 don't set DF_1_NODELETE here.
82857 (do_lookup_x): When entering new entry test for copy relocation
82858 and if necessary set DF_1_NODELETE flag.
82859 * elf/tst-unique4.cc: New file.
82860 * elf/tst-unique4.h: New file.
82861 * elf/tst-unique4lib.cc: New file.
82862 * elf/Makefile: Add rules to build and run tst-unique4.
82863 Patch by Piotr Bury <pbury@goahead.com>.
82864
82865 2011-05-11 Ulrich Drepper <drepper@gmail.com>
82866
82867 [BZ #12052]
82868 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
82869
82870 [BZ #12625]
82871 * misc/mntent_r.c (addmntent): Flush the stream after the output
82872
82873 [BZ #12393]
82874 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
82875 (is_trusted_path_normalize): Skip initial colon. Append slash
82876 to empty buffer. Duplicate is_trusted_path code but allow
82877 constructed patch to be prefix.
82878 (is_dst): Allow $ORIGIN followed by /.
82879 (_dl_dst_substitute): Correct clearing of check_for_trusted.
82880 Correct testing of result of is_trusted_path_normalize
82881 (decompose_rpath): Fix warning.
82882
82883 2011-05-10 Ulrich Drepper <drepper@gmail.com>
82884
82885 [BZ #11257]
82886 * grp/initgroups.c (internal_getgrouplist): When we found the service
82887 list through the initgroups entry in nsswitch.conf do not always
82888 continue on a successful lookup. Don't always use the
82889 __nss_group_database value if it is set.
82890 * nss/nsswitch.conf (initgroups): Change action for successful db
82891 lookup to continue for compatibility.
82892
82893 2011-05-09 Ulrich Drepper <drepper@gmail.com>
82894
82895 [BZ #11532]
82896 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
82897 and CP774 modules.
82898 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
82899 and CP774 modules.
82900 * iconvdata/tst-tables.sh: Likewise.
82901 * iconvdata/cp770.c: New file.
82902 * iconvdata/cp771.c: New file.
82903 * iconvdata/cp772.c: New file.
82904 * iconvdata/cp773.c: New file.
82905 * iconvdata/cp774.c: New file.
82906 * iconvdata/testdata/CP770: New file.
82907 * iconvdata/testdata/CP770..UTF8: New file.
82908 * iconvdata/testdata/CP771: New file.
82909 * iconvdata/testdata/CP771..UTF8: New file.
82910 * iconvdata/testdata/CP772: New file.
82911 * iconvdata/testdata/CP772..UTF8: New file.
82912 * iconvdata/testdata/CP773: New file.
82913 * iconvdata/testdata/CP773..UTF8: New file.
82914 * iconvdata/testdata/CP774: New file.
82915 * iconvdata/testdata/CP774..UTF8: New file.
82916
82917 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
82918 END CHARMAP line.
82919 * iconvdata/gen-8bit-gap.sh: Likewise.
82920 * iconvdata/gen-8bit.sh: Likewise.
82921
82922 * locale/iso-639.def: Add ary entry.
82923
82924 [BZ #11258]
82925 * locale/C-translit.h.in: Add U20A1 transliteration.
82926
82927 [BZ #12178]
82928 * locale/iso-639.def: Add wae entry.
82929 Patch by Kevin Bortis <bortis@translate-wae.ch>.
82930
82931 [BZ #12545]
82932 * locale/programs/localedef.c (construct_output_path): Use ssize_t
82933 for n.
82934
82935 [BZ #12711]
82936 * locale/C-translit.h.in: Add entry for U20B9.
82937 Patch by pravin.d.s@gmail.com.
82938
82939 2011-05-08 Ulrich Drepper <drepper@gmail.com>
82940
82941 [BZ #12713]
82942 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
82943 ENAMETOOLONG use generic getcwd.
82944 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
82945 in rtld. Use *stat64.
82946 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
82947 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
82948 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
82949 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
82950 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
82951 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
82952 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
82953 __fstatat64 macros.
82954 * include/dirent.h: Add libc_hidden_proto for rewinddir.
82955 * dirent/rewinddir.c: Add libc_hidden_def.
82956 * sysdeps/mach/hurd/rewinddir.c: Likewise.
82957 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
82958
82959 * include/dirent.h (__alloc_dir): Add flags parameter.
82960 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
82961 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
82962 __alloc_dir.
82963 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
82964 from fdopendir if O_CLOEXEC is already set.
82965
82966 2011-03-15 Alan Modra <amodra@gmail.com>
82967
82968 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
82969 l_tls_firstbyte_offset non-zero. Save padding offset in
82970 l_tls_firstbyte_offset for later use.
82971 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
82972 freeing static tls block.
82973
82974 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
82975
82976 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
82977 where #ifdef was intended. The intent is to prevent ARG_MAX from
82978 being defined by the kernel headers.
82979
82980 2011-05-07 Ulrich Drepper <drepper@gmail.com>
82981
82982 [BZ #12734]
82983 * resolv/resolv.h: Define RES_NOTLDQUERY.
82984 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
82985 no-tld-query and set RES_NOTLDQUERY.
82986 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
82987 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
82988 modern BIND to search name as TLD unless forbidden.
82989
82990 2011-05-07 Petr Baudis <pasky@suse.cz>
82991 Ulrich Drepper <drepper@gmail.com>
82992
82993 [BZ #12393]
82994 * elf/dl-load.c (fillin_rpath): Move trusted path check...
82995 (is_trusted_path): ...to here.
82996 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
82997 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
82998 using is_trusted_path_normalize() in setuid scripts.
82999
83000 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
83001
83002 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83003 __BEGIN/__END_DECLS.
83004
83005 2011-05-06 Ulrich Drepper <drepper@gmail.com>
83006
83007 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83008 NSS_STATUS_NOTFOUND if no record was found.
83009
83010 2011-05-05 Andreas Schwab <schwab@redhat.com>
83011
83012 * sunrpc/Makefile (headers): Add rpc/netdb.h.
83013 (headers-not-in-tirpc): Remove rpc/netdb.h
83014 * resolv/netdb.h: Revert last change.
83015
83016 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
83017
83018 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83019 circular dependency between libgcc.a and libc.a.
83020
83021 2011-05-05 Andreas Schwab <schwab@redhat.com>
83022
83023 * resolv/netdb.h: Don't include <rpc/netdb.h>.
83024 * nis/Makefile: Don't install rpcsvc/*.
83025 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83026 instead of <rpc/types.h>.
83027 (MAXHOSTNAMELEN): Define.
83028
83029 2011-05-03 Andreas Schwab <schwab@redhat.com>
83030
83031 * elf/ldconfig.c (add_dir): Don't crash on empty path.
83032
83033 2011-04-28 Maciej Babinski <mbabinski@google.com>
83034
83035 [BZ #12714]
83036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83037 gethostbyname4_r when IPv6 results are possible.
83038
83039 2011-05-02 Ulrich Drepper <drepper@gmail.com>
83040
83041 [BZ #12723]
83042 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83043 _PC_PIPE_BUF handling.
83044
83045 2011-04-30 Bruno Haible <bruno@clisp.org>
83046
83047 [BZ #12717]
83048 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83049 * resolv/netdb.h (getnameinfo): Change type of flags parameter
83050 to 'int'.
83051 * inet/getnameinfo.c (getnameinfo): Likewise.
83052
83053 2011-04-29 Ulrich Drepper <drepper@gmail.com>
83054
83055 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83056 to groups setting in database lookup.
83057 * nss/nsswitch.conf: Add initgroups entry.
83058
83059 2011-04-22 Ulrich Drepper <drepper@gmail.com>
83060
83061 [BZ #12685]
83062 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83063 mode string.
83064 Patch by Eric Blake <eblake@redhat.com>.
83065
83066 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
83067
83068 * sunrpc/Makefile (need-export-routines): Add svc_run.
83069 (routines): Remove svc_run.
83070 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83071 * sunrpc/clnt_perr.c (clnt_perrno): Export.
83072 * sunrpc/svc_run.c (svc_run): Likewise.
83073 * sunrpc/svc_udp.c (svcudp_create): Likewise.
83074
83075 2011-04-21 Ulrich Drepper <drepper@gmail.com>
83076
83077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83078 problem in reallocation in last patch.
83079
83080 2011-04-20 Ulrich Drepper <drepper@gmail.com>
83081
83082 * sunrpc/Makefile: Move inclusion of Rules.
83083
83084 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83085
83086 * nss/nss_files/files-initgroups.c: New file.
83087 * nss/Makefile (libnss_files-routines): Add files-initgroups.
83088 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83089 _nss_files_initgroups_dyn.
83090
83091 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
83092
83093 * elf/elf.h (R_ARM_IRELATIVE): Define.
83094
83095 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83096
83097 * po/ru.po: Update from translation team.
83098
83099 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83100
83101 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83102 dependencies.
83103
83104 2011-02-06 Mike Frysinger <vapier@gentoo.org>
83105
83106 [BZ #12653]
83107 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83108 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83109 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83110 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83111 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83112
83113 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
83114
83115 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83116 differing bytes.
83117 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83118 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83119 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83120
83121 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83122
83123 [BZ #12420]
83124 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83125 storing it.
83126 * stdlib/bug-getcontext.c: New file.
83127 * stdlib/Makefile: Add rules to build and run bug-getcontext.
83128
83129 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83130
83131 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83132 instructions into .machine "z9-109".
83133 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83134 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83135
83136 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83137
83138 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83139 between environment variables and auxiliary vector.
83140
83141 2011-04-16 Ulrich Drepper <drepper@gmail.com>
83142
83143 * Makefile: Add rules to build linkobj/libc.so.
83144 * include/libc-symbols.h: Define libc_hidden_nolink.
83145 * include/rpc/auth.h: Mark functions which are to be hidden.
83146 * include/rpc/auth_des.h: Likewise.
83147 * include/rpc/auth_unix.h: Likewise.
83148 * include/rpc/clnt.h: Likewise.
83149 * include/rpc/des_crypt.h: Likewise.
83150 * include/rpc/key_prot.h: Likewise.
83151 * include/rpc/pmap_clnt.h: Likewise.
83152 * include/rpc/pmap_prot.h: Likewise.
83153 * include/rpc/pmap_rmt.h: Likewise.
83154 * include/rpc/rpc_msg.h: Likewise.
83155 * include/rpc/svc.h: Likewise.
83156 * include/rpc/svc_auth.h: Likewise.
83157 * include/rpc/xdr.h: Likewise.
83158 * nis/Makefile: Link all DSOs against linkobj/libc.so.
83159 * nss/Makefile: Likewise.
83160 * sunrpc/Makefile: Don't install headers. Build library with normal
83161 entry points. Don't build rpcinfo. Link RPC tests appropriately.
83162 * sunrpc/auth_des.c: Hide exported symbols by default, export some
83163 for the compat linking library. Remove use of INTDEF/INTUSE.
83164 * sunrpc/auth_none.c: Likewise.
83165 * sunrpc/auth_unix.c: Likewise.
83166 * sunrpc/authdes_prot.c: Likewise.
83167 * sunrpc/authuxprot.c: Likewise.
83168 * sunrpc/clnt_gen.c: Likewise.
83169 * sunrpc/clnt_perr.c: Likewise.
83170 * sunrpc/clnt_raw.c: Likewise.
83171 * sunrpc/clnt_simp.c: Likewise.
83172 * sunrpc/clnt_tcp.c: Likewise.
83173 * sunrpc/clnt_udp.c: Likewise.
83174 * sunrpc/clnt_unix.c: Likewise.
83175 * sunrpc/des_crypt.c: Likewise.
83176 * sunrpc/des_soft.c: Likewise.
83177 * sunrpc/get_myaddr.c: Likewise.
83178 * sunrpc/key_call.c: Likewise.
83179 * sunrpc/key_prot.c: Likewise.
83180 * sunrpc/netname.c: Likewise.
83181 * sunrpc/pm_getmaps.c: Likewise.
83182 * sunrpc/pm_getport.c: Likewise.
83183 * sunrpc/pmap_clnt.c: Likewise.
83184 * sunrpc/pmap_prot.c: Likewise.
83185 * sunrpc/pmap_prot2.c: Likewise.
83186 * sunrpc/pmap_rmt.c: Likewise.
83187 * sunrpc/publickey.c: Likewise.
83188 * sunrpc/rpc_cmsg.c: Likewise.
83189 * sunrpc/rpc_common.c: Likewise.
83190 * sunrpc/rpc_dtable.c: Likewise.
83191 * sunrpc/rpc_prot.c: Likewise.
83192 * sunrpc/rpc_thread.c: Likewise.
83193 * sunrpc/rtime.c: Likewise.
83194 * sunrpc/svc.c: Likewise.
83195 * sunrpc/svc_auth.c: Likewise.
83196 * sunrpc/svc_authux.c: Likewise.
83197 * sunrpc/svc_raw.c: Likewise.
83198 * sunrpc/svc_run.c: Likewise.
83199 * sunrpc/svc_simple.c: Likewise.
83200 * sunrpc/svc_tcp.c: Likewise.
83201 * sunrpc/svc_udp.c: Likewise.
83202 * sunrpc/svc_unix.c: Likewise.
83203 * sunrpc/svcauth_des.c: Likewise.
83204 * sunrpc/xcrypt.c: Likewise.
83205 * sunrpc/xdr.c: Likewise.
83206 * sunrpc/xdr_array.c: Likewise.
83207 * sunrpc/xdr_float.c: Likewise.
83208 * sunrpc/xdr_intXX_t.c: Likewise.
83209 * sunrpc/xdr_mem.c: Likewise.
83210 * sunrpc/xdr_rec.c: Likewise.
83211 * sunrpc/xdr_ref.c: Likewise.
83212 * sunrpc/xdr_sizeof.c: Likewise.
83213 * sunrpc/xdr_stdio.c: Likewise.
83214
83215 2011-04-10 Ulrich Drepper <drepper@gmail.com>
83216
83217 [BZ #12650]
83218 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83219 * sysdeps/ia64/dl-tls.h: Likewise.
83220 * sysdeps/powerpc/dl-tls.h: Likewise.
83221 * sysdeps/s390/dl-tls.h: Likewise.
83222 * sysdeps/sh/dl-tls.h: Likewise.
83223 * sysdeps/sparc/dl-tls.h: Likewise.
83224 * sysdeps/x86_64/dl-tls.h: Likewise.
83225 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83226
83227 2011-03-14 Andreas Schwab <schwab@redhat.com>
83228
83229 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83230 rpath element also skip the following colon.
83231 (expand_dynamic_string_token): Add is_path parameter and pass
83232 down to DL_DST_REQUIRED and _dl_dst_substitute.
83233 (decompose_rpath): Call expand_dynamic_string_token with
83234 non-zero is_path. Ignore empty rpaths.
83235 (_dl_map_object_from_fd): Call expand_dynamic_string_token
83236 with zero is_path.
83237
83238 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
83239
83240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83241 Make cancelable.
83242
83243 2011-04-09 Ulrich Drepper <drepper@gmail.com>
83244
83245 [BZ #12655]
83246 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83247 Patch by Filipe David Manana <fdmanana@apache.org>.
83248
83249 2011-04-07 Andreas Schwab <schwab@redhat.com>
83250
83251 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83252 Maintain aligned stack.
83253 (CHECK_RSP): Remove unused macro.
83254
83255 2011-04-03 Ulrich Drepper <drepper@gmail.com>
83256
83257 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83258 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83259
83260 2011-04-02 Ulrich Drepper <drepper@gmail.com>
83261
83262 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83263
83264 * include/features.h: Mention __USE_XOPEN2K8 in comment.
83265
83266 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
83267
83268 [BZ #12518]
83269 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83270 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83271 * sysdeps/x86_64/memmove.c: New file.
83272 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83273 (memcpy): Renamed to ...
83274 (__new_memcpy): This.
83275 (memcpy): Provide GLIBC_2_14 memcpy.
83276 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83277 (memcpy): Provide GLIBC_2_2_5 memcpy.
83278
83279 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83280
83281 [BZ #12631]
83282 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83283
83284 2011-03-30 Andreas Schwab <schwab@redhat.com>
83285
83286 * misc/syncfs.c: New file.
83287 * misc/Makefile (routines): Add syncfs.
83288 * posix/unistd.h: Declare syncfs.
83289 * sysdeps/unix/syscalls.list: Add syncfs.
83290
83291 2011-04-01 Andreas Schwab <schwab@redhat.com>
83292
83293 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83294 open_by_handle_at.
83295 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83296 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83297 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83298 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83300 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83301 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83302
83303 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83304
83305 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83306 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83307 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83308 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83309 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83311 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83312
83313 * io/Makefile: Compile fallocate.c, fallocate64.c, and
83314 sync_file_range.c with -fexceptions.
83315 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83316 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83317 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83318 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83319 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83320 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83321 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83322 sync_file_range as cancellation point
83323 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
83324 now a wrapper around __call_sync_file_range with cancellation handling.
83325 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83326 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
83327 function name to __call_sync_file_range.
83328 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83329 Add call_sync_file_range.
83330
83331 2011-04-01 Andreas Schwab <schwab@redhat.com>
83332
83333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83334 bits/timex.h.
83335
83336 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83337
83338 * iconv/iconv.h: Fix typo in comment.
83339 * io/fcntl.h: Likewise.
83340 * libio/stdio.h: Likewise.
83341 * posix/spawn.h: Likewise.
83342 * posix/unistd.h: Likewise.
83343 * stdlib/stdlib.h: Likewise.
83344 * time/time.h: Likewise.
83345 * wcsmbs/wchar.h: Likewise.
83346
83347 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83348 open_by_handle): Add.
83349 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83350 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
83351 Augment a few comments.
83352 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83353 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83354 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83355 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83356 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83357 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83358 open_by_handle.
83359
83360 * io/fcntl.h (AT_EMPTY_PATH): Define.
83361
83362 2011-03-30 Ulrich Drepper <drepper@gmail.com>
83363
83364 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83365 * sysdeps/unix/sysv/linux/bits/time.h: New file.
83366 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83367 to...
83368 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
83369 * Versions.def: Add GLIBC_2.14.
83370 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83371 Export.
83372
83373 2011-03-22 Ulrich Drepper <drepper@gmail.com>
83374
83375 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83376 round counter.
83377 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83378
83379 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
83380
83381 [BZ #12597]
83382 * string/test-strncmp.c (do_page_test): New function.
83383 (check2): Likewise.
83384 (test_main): Call check2.
83385 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83386
83387 2011-03-20 Ulrich Drepper <drepper@gmail.com>
83388
83389 [BZ #12587]
83390 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83391 Handle cache information in CPU leaf 4.
83392 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83393
83394 2011-03-18 Ulrich Drepper <drepper@gmail.com>
83395
83396 [BZ #12583]
83397 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83398 character representation.
83399 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83400
83401 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
83402
83403 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83404 END(__isnan) to END(__isnanf) to match function entry point/label
83405 EALIGN(__isnanf,...).
83406
83407 2011-03-10 Jakub Jelinek <jakub@redhat.com>
83408
83409 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83410
83411 2011-03-10 Ulrich Drepper <drepper@gmail.com>
83412
83413 [BZ #12510]
83414 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83415 copy from the symbol referenced in the relocation to initialize the
83416 used variable.
83417 Patch by Piotr Bury <pbury@goahead.com>.
83418 * elf/Makefile: Add rules to build and tst-unique3.
83419 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83420 * elf/tst-unique3.cc: New file.
83421 * elf/tst-unique3.h: New file.
83422 * elf/tst-unique3lib.cc: New file.
83423 * elf/tst-unique3lib2.cc: New file.
83424
83425 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83426
83427 2011-03-10 Mike Frysinger <vapier@gentoo.org>
83428
83429 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83430 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
83431 to _start.
83432
83433 2011-03-06 Ulrich Drepper <drepper@gmail.com>
83434
83435 * elf/dl-load.c (_dl_map_object): If we are looking for the first
83436 to-be-loaded object along a path to loader is ld.so.
83437
83438 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83439 Ulrich Drepper <drepper@gmail.com>
83440
83441 * sysdeps/x86_64/memset.S: After aligning destination, code
83442 branches to different locations depending on the value of
83443 misalignment, when multiarch is enabled. Fix this.
83444
83445 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83446
83447 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
83448 Set _x86_64_preferred_memory_instruction for AMD processsors.
83449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83450 Set bit_Prefer_SSE_for_memop for AMD processors.
83451
83452 2011-03-04 Ulrich Drepper <drepper@gmail.com>
83453
83454 * libio/fmemopen.c (fmemopen): Optimize a bit.
83455
83456 2011-03-03 Andreas Schwab <schwab@redhat.com>
83457
83458 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
83459
83460 2011-03-03 Roland McGrath <roland@redhat.com>
83461
83462 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
83463
83464 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
83465
83466 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
83467 __bzero_ultra1 instead of __memset_ultra1.
83468
83469 2011-02-23 Andreas Schwab <schwab@redhat.com>
83470 Ulrich Drepper <drepper@gmail.com>
83471
83472 [BZ #12509]
83473 * include/link.h (struct link_map): Add l_orig_initfini.
83474 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
83475 returning unsuccessfully.
83476 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
83477 close of a file loaded at startup, restore the original l_initfini
83478 list.
83479 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
83480 list, store the pointer.
83481 * elf/Makefile ($(objpfx)noload-mem): New rule.
83482 (noload-ENV): Define.
83483 (tests): Add $(objpfx)noload-mem.
83484 * elf/noload.c: Include <memcheck.h>.
83485 (main): Call mtrace. Close all opened handles.
83486
83487 2011-02-17 Andreas Schwab <schwab@redhat.com>
83488
83489 [BZ #12454]
83490 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
83491 dependencies are missing.
83492
83493 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
83494
83495 Fix __if_freereq crash: Unlike the generic version which uses free,
83496 Hurd needs munmap.
83497 * sysdeps/mach/hurd/ifreq.h: New file.
83498
83499 2011-01-27 Petr Baudis <pasky@suse.cz>
83500 Ulrich Drepper <drepper@gmail.com>
83501
83502 [BZ 12445]#
83503 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
83504 to extend_alloca().
83505 * stdio-common/bug23.c: New file.
83506 * stdio-common/Makefile (tests): Add bug23.
83507
83508 2010-09-28 Andreas Schwab <schwab@redhat.com>
83509 Ulrich Drepper <drepper@gmail.com>
83510
83511 [BZ #12489]
83512 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
83513 before performing relro protection. At old place add assertion
83514 to make sure nothing changed.
83515
83516 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
83517 Glauber de Oliveira Costa <glommer@gmail.com>
83518
83519 * elf/elf.h: Add new ARM TLS relocs.
83520
83521 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
83522
83523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
83524 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
83525 cast from r3.
83526 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
83527 'tests' variable.
83528 * sysdeps/wordsize-64/tst-writev.c: New file.
83529
83530 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
83531
83532 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
83533 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
83534 insns in _dl_start to prevent a TOC reference before relocs are
83535 resolved.
83536
83537 2011-02-15 Ulrich Drepper <drepper@gmail.com>
83538
83539 [BZ #12469]
83540 * Makeconfig: Remove RANLIB definition.
83541 * Makerules: Don't use RANLIB.
83542 * aclocal.m4: Remove ranlib test.
83543 * configure.in: No need to check for ranlib.
83544 * elf/rtld-Rules: Don't use RANLIB.
83545
83546 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
83547
83548 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
83549 protection macro.
83550 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
83551 inclusion protection macro.
83552
83553 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
83554 SIGRTMIN and SIGRTMAX and print information in that case only when
83555 SIGRTMIN is defined.
83556
83557 2011-02-11 Jakub Jelinek <jakub@redhat.com>
83558
83559 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
83560 arginfo fn returning -1.
83561
83562 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
83563 and thousands string is zero terminated.
83564
83565 2011-02-03 Andreas Schwab <schwab@redhat.com>
83566
83567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
83568 sysdeps/unix/sysv/linux/bits/socket.h.
83569
83570 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
83571
83572 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
83573 (__CPU_COUNT): Remove old macros.
83574 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
83575 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
83576 (__CPU_ALLOC, __CPU_FREE): Add macros.
83577 (__sched_cpualloc, __sched_cpufree): Add declarations.
83578
83579 2011-02-05 Ulrich Drepper <drepper@gmail.com>
83580
83581 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
83582 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
83583 * nscd/aicache.c (addhstaiX): Return timeout of added value.
83584 (readdhstai): Return value of addhstaiX call.
83585 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
83586 (addgrbyX): Return value returned by cache_addgr.
83587 (readdgrbyname): Return value returned by addgrbyX.
83588 (readdgrbygid): Likewise.
83589 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
83590 (addpwbyX): Return value returned by cache_addpw.
83591 (readdpwbyname): Return value returned by addhstbyX.
83592 (readdpwbyuid): Likewise.
83593 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
83594 (addservbyX): Return value returned by cache_addserv.
83595 (readdservbyname): Return value returned by addservbyX:
83596 (readdservbyport): Likewise.
83597 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
83598 (addhstbyX): Return value returned by cache_addhst.
83599 (readdhstbyname): Return value returned by addhstbyX.
83600 (readdhstbyaddr): Likewise.
83601 (readdhstbynamev6): Likewise.
83602 (readdhstbyaddrv6): Likewise.
83603 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
83604 (readdinitgroups): Return value returned by addinitgroupsX.
83605 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
83606 (prune_cache): Keep track of timeout value of re-added entries.
83607 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
83608 * nscd/nscd.h: Adjust prototypes of readd* functions.
83609
83610 2011-02-04 Roland McGrath <roland@redhat.com>
83611
83612 * nis/nis_server.c (nis_servstate): Use the right name for 0.
83613 (nis_stats): Likewise.
83614 * nis/nis_modify.c (nis_modify): Likewise.
83615 * nis/nis_remove.c (nis_remove): Likewise.
83616 * nis/nis_add.c (nis_add): Likewise.
83617
83618 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
83619
83620 * posix/fnmatch_loop.c: Add some consts.
83621
83622 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
83623
83624 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
83625
83626 [BZ #12460]
83627 * config.make.in (config-cflags-novzeroupper): Define.
83628 * configure.in: Substitute libc_cv_cc_novzeroupper.
83629 * elf/Makefile (AVX-CFLAGS): Define.
83630 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
83631 (CFLAGS-tst-auditmod4a.c): Likewise.
83632 (CFLAGS-tst-auditmod4b.c): Likewise.
83633 (CFLAGS-tst-auditmod6b.c): Likewise.
83634 (CFLAGS-tst-auditmod6c.c): Likewise.
83635 (CFLAGS-tst-auditmod7b.c): Likewise.
83636 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
83637
83638 2011-02-02 Ulrich Drepper <drepper@gmail.com>
83639
83640 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
83641 function to the callback.
83642 Patch partly by Jiri Olsa <jolsa@redhat.com>.
83643
83644 2011-02-02 Andreas Schwab <schwab@redhat.com>
83645
83646 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
83647 of errno.
83648
83649 2011-01-19 Ulrich Drepper <drepper@gmail.com>
83650
83651 [BZ #11724]
83652 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
83653 of constructors.
83654 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
83655 of destructors.
83656 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
83657
83658 [BZ #11724]
83659 * elf/Makefile: Add rules to build and run new test.
83660 * elf/tst-initorder.c: New file.
83661 * elf/tst-initorder.exp: New file.
83662 * elf/tst-initordera1.c: New file.
83663 * elf/tst-initordera2.c: New file.
83664 * elf/tst-initordera3.c: New file.
83665 * elf/tst-initordera4.c: New file.
83666 * elf/tst-initorderb1.c: New file.
83667 * elf/tst-initorderb2.c: New file.
83668 * elf/tst-order-a1.c: New file.
83669 * elf/tst-order-a2.c: New file.
83670 * elf/tst-order-a3.c: New file.
83671 * elf/tst-order-a4.c: New file.
83672 * elf/tst-order-b1.c: New file.
83673 * elf/tst-order-b2.c: New file.
83674 * elf/tst-order-main.c: New file.
83675 New test case by George Gensure <werkt0@gmail.com>.
83676
83677 2010-10-01 Andreas Schwab <schwab@redhat.com>
83678
83679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83680 decoding ACE if AI_CANONIDN.
83681
83682 2011-01-18 Ulrich Drepper <drepper@gmail.com>
83683
83684 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
83685
83686 2011-01-17 Ulrich Drepper <drepper@gmail.com>
83687
83688 * version.h (RELEASE): Bump for 2.13 release.
83689 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
83690
83691 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
83692
83693 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
83694 MADV_NOHUGEPAGE.
83695 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
83696 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
83697 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83698 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83700 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83701
83702 * posix/getconf.c: Update copyright year.
83703 * catgets/gencat.c: Likewise.
83704 * csu/version.c: Likewise.
83705 * debug/catchsegv.sh: Likewise.
83706 * debug/xtrace.sh: Likewise.
83707 * elf/ldconfig.c: Likewise.
83708 * elf/ldd.bash.in: Likewise.
83709 * elf/sprof.c (print_version): Likewise.
83710 * iconv/iconv_prog.c: Likewise.
83711 * iconv/iconvconfig.c: Likewise.
83712 * locale/programs/locale.c: Likewise.
83713 * locale/programs/localedef.c: Likewise.
83714 * malloc/memusage.sh: Likewise.
83715 * malloc/mtrace.pl: Likewise.
83716 * nscd/nscd.c (print_version): Likewise.
83717 * nss/getent.c: Likewise.
83718
83719 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
83720 PF_CAIF, and PF_ALG.
83721 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83722
83723 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
83724
83725 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
83726 (modules-names): Use them.
83727 (ifunc-test-modules, ifunc-pie-tests): Define.
83728 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
83729 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
83730 (test-extras): Likewise.
83731 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
83732 $(compile-command.c).
83733 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
83734 (all-built-dso): Define.
83735 (check-textrel.out, check-execstack.out): Depend on it.
83736
83737 * configure.in: Don't override --enable-multi-arch.
83738
83739 2011-01-15 Ulrich Drepper <drepper@gmail.com>
83740
83741 [BZ #6812]
83742 * nscd/hstcache.c (tryagain): Define.
83743 (cache_addhst): Return tryagain not notfound for temporary errors.
83744 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
83745 failed.
83746
83747 2011-01-14 Ulrich Drepper <drepper@gmail.com>
83748
83749 [BZ #10563]
83750 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
83751 to make the syscall.
83752 * sysdeps/unix/sysv/linux/setgroups.c: New file.
83753
83754 [BZ #12378]
83755 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
83756 and fall back to matching as normal character if the string ends before
83757 the matching ']' is found. This is what POSIX requires.
83758 * posix/testfnm.c: Adjust test result.
83759 * posix/globtest.sh: Adjust test result. Add new test.
83760 * posix/tst-fnmatch.input: Likewise.
83761 * posix/tst-fnmatch2.c: Add new test.
83762
83763 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
83764
83765 * elf/Makefile (check-execstack): Revert last change. Depend on
83766 check-execstack.h.
83767 (check-execstack.h): New target.
83768 (generated): Add check-execstack.h.
83769 * elf/check-execstack.c: Include "check-execstack.h".
83770 (main): Revert last change.
83771 (handle_file): Return zero if GNU_STACK is absent and
83772 DEFAULT_STACK_PERMS doesn't include PF_X.
83773
83774 2011-01-13 Ulrich Drepper <drepper@gmail.com>
83775
83776 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
83777 in child fails because the descriptor is already closed.
83778 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
83779 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
83780 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
83781
83782 [BZ #12397]
83783 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
83784 syscall.
83785
83786 [BZ #10484]
83787 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
83788 temporary buffer used to handle multi lookups locally.
83789 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
83790
83791 2011-01-12 Ulrich Drepper <drepper@gmail.com>
83792
83793 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
83794 loader is ld.so.
83795
83796 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
83797
83798 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
83799 alignment for SSE2.
83800
83801 2011-01-12 Ulrich Drepper <drepper@gmail.com>
83802
83803 [BZ #12394]
83804 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
83805 characters. When rounding increased number of integer digits recompute
83806 number of groups.
83807 * stdio-common/tst-grouping.c: New file.
83808 * stdio-common/Makefile: Add rules to build and run tst-grouping.
83809
83810 2011-01-09 Ulrich Drepper <drepper@gmail.com>
83811
83812 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
83813 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
83814
83815 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
83816 void.
83817 * bits/select.h: Likewise.
83818
83819 2011-01-08 Ulrich Drepper <drepper@gmail.com>
83820
83821 * po/ja.po: Update from translation team.
83822
83823 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
83824
83825 [BZ #11155]
83826 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
83827 implementation just like for lxstat, fxstatat, et al.
83828
83829 2010-12-27 Jim Meyering <meyering@redhat.com>
83830
83831 [BZ #12348]
83832 * posix/regexec.c (build_trtable): Return failure indication upon
83833 calloc failure. Otherwise, re_search_internal could infloop on OOM.
83834
83835 2010-12-25 Ulrich Drepper <drepper@gmail.com>
83836
83837 [BZ #12201]
83838 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
83839 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
83840 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
83841 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
83842
83843 [BZ #12207]
83844 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
83845
83846 [BZ #12204]
83847 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
83848 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
83849
83850 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
83851
83852 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
83853 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
83854 script has SORT_BY_INIT_PRIORITY.
83855 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
83856 NO_CTORS_DTORS_SECTIONS is defined.
83857 * elf/soinit.c: Likewise.
83858 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
83859 NO_CTORS_DTORS_SECTIONS is defined.
83860 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
83861 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
83862 * sysdeps/sh/init-first.c: Likewise.
83863 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
83864
83865 2010-12-24 Ulrich Drepper <drepper@gmail.com>
83866
83867 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
83868 always use the slow path.
83869
83870 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
83871
83872 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
83873 similar rule which adds the sysdep directories to the header search in
83874 order to pick up the correct platform stackinfo.h.
83875 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
83876 perform test if it is, otherwise return successfully without testing.
83877 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
83878 DEFAULT_STACK_PERMS define in stackinfo.h.
83879 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
83880 defined in stackinfo.h.
83881 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
83882 DEFAULT_STACK_PERMS defined in stackinfo.h.
83883 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
83884 * sysdeps/ia64/stackinfo.h: Likewise.
83885 * sysdeps/s390/stackinfo.h: Likewise.
83886 * sysdeps/sh/stackinfo.h: Likewise.
83887 * sysdeps/sparc/stackinfo.h: Likewise.
83888 * sysdeps/x86_64/stackinfo.h: Likewise.
83889 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
83890 PF_X for powerpc64. Retain PF_X for powerpc32.
83891
83892 2010-12-19 Ulrich Drepper <drepper@gmail.com>
83893
83894 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
83895 accurately.
83896 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
83897 GETDENTS_64BIT_ALIGNED.
83898
83899 2010-12-14 Ulrich Drepper <dreper@gmail.com>
83900
83901 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
83902
83903 2010-12-10 Andreas Schwab <schwab@redhat.com>
83904
83905 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
83906 _GNU_SOURCE.
83907
83908 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
83909 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
83910 Remove __restrict.
83911 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
83912 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
83913
83914 2010-12-09 Ulrich Drepper <drepper@gmail.com>
83915
83916 [BZ #11655]
83917 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
83918 are initialized.
83919
83920 2010-12-09 Jakub Jelinek <jakub@redhat.com>
83921
83922 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
83923
83924 2010-12-03 Ulrich Drepper <drepper@gmail.com>
83925
83926 * po/it.po: Update from translation team.
83927
83928 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
83929
83930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
83931 unused codes.
83932
83933 2010-11-30 Ulrich Drepper <drepper@gmail.com>
83934
83935 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
83936
83937 2010-11-24 Andreas Schwab <schwab@redhat.com>
83938
83939 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
83940 specially.
83941 (gaih_getanswer_slice): Likewise.
83942
83943 2010-10-20 Jakub Jelinek <jakub@redhat.com>
83944
83945 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
83946
83947 2010-05-31 Petr Baudis <pasky@suse.cz>
83948
83949 [BZ #11149]
83950 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
83951 silently even in the chroot mode.
83952
83953 2010-11-22 Ulrich Drepper <drepper@gmail.com>
83954
83955 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
83956 last patch a bit. Pretty printing
83957
83958 2010-05-31 Petr Baudis <pasky@suse.cz>
83959
83960 [BZ #10085]
83961 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
83962 initialization of skip_initgroups_dyn.
83963
83964 2010-11-19 Ulrich Drepper <drepper@gmail.com>
83965
83966 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
83967 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83968
83969 2010-11-16 Ulrich Drepper <drepper@gmail.com>
83970
83971 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
83972
83973 2010-11-11 Andreas Schwab <schwab@redhat.com>
83974
83975 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
83976 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
83977 (tst-fnmatch-ENV): Set MALLOC_TRACE.
83978 ($(objpfx)tst-fnmatch-mem): New rule.
83979 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
83980 * posix/tst-fnmatch.c (main): Call mtrace.
83981
83982 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
83983
83984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83985 Support Intel processor model 6 and model 0x2c.
83986
83987 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
83988
83989 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
83990 signed comparison.
83991
83992 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
83993
83994 [BZ #12205]
83995 * string/test-strncasecmp.c (check_result): New function.
83996 (do_one_test): Use it.
83997 (check1): New function.
83998 (test_main): Use it.
83999 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84000 Support strcasecmp and strncasecmp.
84001
84002 2010-11-08 Ulrich Drepper <drepper@gmail.com>
84003
84004 [BZ #12194]
84005 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84006 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84007
84008 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
84009
84010 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84011 IFUNC support.
84012 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84013 memset-x86-64.
84014 * sysdeps/x86_64/multiarch/bzero.S: New file.
84015 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84016 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84017 * sysdeps/x86_64/multiarch/memset.S: New file.
84018 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84020 Set bit_Prefer_SSE_for_memop for Intel processors.
84021 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84022 Define.
84023 (index_Prefer_SSE_for_memop): Define.
84024 (HAS_PREFER_SSE_FOR_MEMOP): Define.
84025
84026 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
84027
84028 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84029 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84030
84031 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
84032
84033 [BZ #12191]
84034 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84035 (__x86_64_raw_data_cache_size_half): Likewise.
84036 (__x86_64_raw_shared_cache_size): Likewise.
84037 (__x86_64_raw_shared_cache_size_half): Likewise.
84038
84039 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84040 (__x86_64_raw_data_cache_size_half): Likewise.
84041 (__x86_64_raw_shared_cache_size): Likewise.
84042 (__x86_64_raw_shared_cache_size_half): Likewise.
84043 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84044 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84045 and __x86_64_raw_shared_cache_size_half. Round
84046 __x86_64_data_cache_size_half, __x86_64_data_cache_size
84047 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84048 to multiple of 256 bytes.
84049
84050 2010-11-03 Ulrich Drepper <drepper@gmail.com>
84051
84052 [BZ #12167]
84053 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84054 of inacessible symlinks. Verify result of symlink before returning it.
84055 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84056 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84057
84058 2010-10-28 Erich Ritz <erichritz@gmail.com>
84059
84060 * math/math.h (isinf): Fix typo in comment.
84061
84062 2010-11-01 Ulrich Drepper <drepper@gmail.com>
84063
84064 * po/da.po: Update from translation team.
84065
84066 2010-10-26 Ulrich Drepper <drepper@gmail.com>
84067
84068 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84069 is added to the list.
84070
84071 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84072 Ulrich Drepper <drepper@gmail.com>
84073
84074 * elf/dl-object.c (_dl_new_object): Don't append the new object to
84075 the global list here. Move code to...
84076 (_dl_add_to_namespace_list): ...here. New function.
84077 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84078 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84079 * elf/dl-load.c (lose): Don't remove the element from the list.
84080 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84081 (_dl_map_object): Likewise.
84082
84083 2010-10-25 Ulrich Drepper <drepper@gmail.com>
84084
84085 [BZ #12159]
84086 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84087 into all bytes of SSE register.
84088 Patch by Richard Li <richardpku@gmail.com>.
84089
84090 2010-10-24 Ulrich Drepper <drepper@gmail.com>
84091
84092 [BZ #12140]
84093 * malloc/malloc.c (_int_free): Fill correct number of bytes when
84094 perturbing.
84095
84096 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
84097
84098 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84099 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84100 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84101 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84103 submachine.
84104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84105
84106 2010-10-22 Andreas Schwab <schwab@redhat.com>
84107
84108 * include/dlfcn.h (__RTLD_SECURE): Define.
84109 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
84110 mode & __RTLD_SECURE instead.
84111 (open_path): Rename preloaded parameter to secure.
84112 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84113 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84114 * elf/dl-deps.c (openaux): Likewise.
84115 * elf/rtld.c (struct map_args): Remove is_preloaded.
84116 (map_doit): Don't use it.
84117 (dl_main): Likewise.
84118 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84119 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84120
84121 2010-09-09 Andreas Schwab <schwab@redhat.com>
84122
84123 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84124 (sysd-rules-targets): Remove duplicates.
84125 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84126 rtld-%.$o dependency.
84127
84128 2010-10-18 Andreas Schwab <schwab@redhat.com>
84129
84130 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84131 _dl_map_object do it.
84132
84133 2010-10-19 Ulrich Drepper <drepper@gmail.com>
84134
84135 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84136 fast fma builtins, define the macros in the C99 standard.
84137 (FP_FAST_FMAF): Likewise.
84138 (FP_FAST_FMAL): Likewise.
84139 * sysdeps/x86_64/bits/mathdef.h: Likewise.
84140
84141 * bits/mathdef.h: Update copyright year.
84142 * sysdeps/powerpc/bits/mathdef.h: Likewise.
84143
84144 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
84145
84146 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84147 builtins, define the macros in the C99 standard.
84148 (FP_FAST_FMAF): Likewise.
84149 (FP_FAST_FMAL): Likewise.
84150 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84151 multiply/add.
84152 (FP_FAST_FMAF): Likewise.
84153
84154 2010-10-15 Jakub Jelinek <jakub@redhat.com>
84155
84156 [BZ #3268]
84157 * math/libm-test.inc (fma_test): Some new testcases.
84158 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84159 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84160 y and infinite z. Do multiplication by C already in long double.
84161 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84163 y and infinite z. Do bitwise or of inexact bit into u.d.
84164 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84165 * sysdeps/i386/fpu/s_fmaf.S: Removed.
84166 * sysdeps/i386/fpu/s_fma.S: Removed.
84167 * sysdeps/i386/fpu/s_fmal.S: Removed.
84168
84169 2010-10-16 Jakub Jelinek <jakub@redhat.com>
84170
84171 [BZ #3268]
84172 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84173 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84174 computation is not scheduled after fetestexcept. Fix value
84175 of minimum denormal long double.
84176
84177 2010-10-14 Jakub Jelinek <jakub@redhat.com>
84178
84179 [BZ #3268]
84180 * math/libm-test.inc (fma_test): Add some more tests.
84181 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84182 correctly.
84183
84184 2010-10-15 Andreas Schwab <schwab@redhat.com>
84185
84186 * scripts/data/localplt-s390-linux-gnu.data: New file.
84187 * scripts/data/localplt-s390x-linux-gnu.data: New file.
84188
84189 2010-10-13 Jakub Jelinek <jakub@redhat.com>
84190
84191 [BZ #3268]
84192 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84193 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84194 instead of dbl-64.
84195 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84196 inlines.
84197 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84198 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84199 if one of x and y is very large and the other is subnormal.
84200 * sysdeps/s390/fpu/s_fmaf.c: New file.
84201 * sysdeps/s390/fpu/s_fma.c: New file.
84202 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84203 * sysdeps/powerpc/fpu/s_fma.S: New file.
84204 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84205 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84206 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84207
84208 2010-10-12 Jakub Jelinek <jakub@redhat.com>
84209
84210 [BZ #3268]
84211 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84212 fma tests.
84213 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84214 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84215 * sysdeps/i386/i686/multiarch/s_fma.c: Include
84216 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84217 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84218 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84219 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84220
84221 2010-10-12 Ulrich Drepper <drepper@redhat.com>
84222
84223 [BZ #12078]
84224 * posix/regcomp.c (parse_branch): One more memory leak plugged.
84225 * posix/bug-regex31.input: Add test case.
84226
84227 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84228
84229 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84230 * posix/bug-regex31.input: New file.
84231
84232 [BZ #12078]
84233 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84234 (parse_sub_exp): Fix last change, use postorder.
84235
84236 * posix/bug-regex31.c: New file.
84237 * posix/Makefile: Add rules to build and run bug-regex31.
84238
84239 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84240
84241 [BZ #12078]
84242 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84243
84244 [BZ #12108]
84245 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84246 to have entries in sys_siglist.
84247
84248 [BZ #12093]
84249 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84250 be NULL.
84251
84252 2010-10-07 Jakub Jelinek <jakub@redhat.com>
84253
84254 [BZ #3268]
84255 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84256 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84257 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84258 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84259 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84260 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84261 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84262 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84263 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84264 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84265 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84266 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84267 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84268 * math/ftestexcept.c (fetestexcept): Likewise.
84269 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84270 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84271 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84272 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84273 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84274 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84275 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84276
84277 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84278
84279 [BZ #12107]
84280 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84281 newline.
84282
84283 2010-10-06 Ulrich Drepper <drepper@gmail.com>
84284
84285 * string/bug-strstr1.c: New file.
84286 * string/Makefile: Add rules to build and run bug-strstr1.
84287
84288 2010-10-05 Eric Blake <eblake@redhat.com>
84289
84290 [BZ #12092]
84291 * string/str-two-way.h (two_way_long_needle): Always clear memory
84292 when skipping input due to the shift table.
84293
84294 2010-10-03 Ulrich Drepper <drepper@gmail.com>
84295
84296 [BZ #12005]
84297 * malloc/mcheck.c: Handle large requests.
84298
84299 [BZ #12077]
84300 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84301 for strncmp and strncasecmp.
84302 * string/stratcliff.c: Add tests for strcmp and strncmp.
84303 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84304
84305 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84306
84307 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84308 __set_fpscr.
84309
84310 2010-09-30 Andreas Jaeger <aj@suse.de>
84311
84312 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84313 (CGROUP_SUPER_MAGIC): Define.
84314 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84315 Handle btrfs and cgroup file systems.
84316 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84317 Likewise.
84318
84319 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
84320
84321 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84322 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84323
84324 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84325
84326 [BZ #12067]
84327 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84328 trying to locate the ELF header.
84329
84330 2010-09-27 Andreas Schwab <schwab@redhat.com>
84331
84332 [BZ #11611]
84333 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84334 Mask out sign-bit copies when constructing f_fsid.
84335
84336 2010-09-24 Petr Baudis <pasky@suse.cz>
84337
84338 * debug/stack_chk_fail_local.c: Add missing licence exception.
84339 * debug/warning-nop.c: Likewise.
84340
84341 2010-09-15 Joseph Myers <joseph@codesourcery.com>
84342
84343 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84344 implementing getdents64 using getdents syscall, set d_type if
84345 __ASSUME_GETDENTS32_D_TYPE.
84346
84347 2010-09-16 Andreas Schwab <schwab@redhat.com>
84348
84349 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84350 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84351
84352 2010-09-21 Ulrich Drepper <drepper@redhat.com>
84353
84354 [BZ #12037]
84355 * posix/unistd.h: Undo change of feature selection for ftruncate from
84356 2010-01-11.
84357
84358 2010-09-20 Ulrich Drepper <drepper@redhat.com>
84359
84360 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84361 detection.
84362
84363 2010-09-20 Andreas Schwab <schwab@redhat.com>
84364
84365 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84366 fanotify_mark.
84367 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84368
84369 2010-09-14 Andreas Schwab <schwab@redhat.com>
84370
84371 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84372 variables after CHECK_SP call.
84373 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84374
84375 2010-09-13 Andreas Schwab <schwab@redhat.com>
84376 Ulrich Drepper <drepper@redhat.com>
84377
84378 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84379 re-relocationg ld.so.
84380 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84381 _dl_init_paths call.
84382 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
84383 here anymore.
84384
84385 2010-09-14 Ulrich Drepper <drepper@redhat.com>
84386
84387 * resolv/res_init.c (__res_vinit): Count the default server we added.
84388
84389 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
84390 Ulrich Drepper <drepper@redhat.com>
84391
84392 [BZ #11968]
84393 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84394 (____longjmp_chk): Use %ebx for saving value across system call.
84395 Add unwind info.
84396
84397 2010-09-06 Andreas Schwab <schwab@redhat.com>
84398
84399 * manual/Makefile: Don't mix pattern rules with normal rules.
84400
84401 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
84402
84403 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84404 operation.
84405 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84406 * libio/iofopncook.c (_IO_cookie_init): Likewise.
84407 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84408 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84409 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84410 Likewise.
84411
84412 2010-09-04 Ulrich Drepper <drepper@redhat.com>
84413
84414 [BZ #11979]
84415 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84416 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84417
84418 2010-09-02 Ulrich Drepper <drepper@redhat.com>
84419
84420 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84421 * sysdeps/x86_64/addmul_1.S: Likewise.
84422 * sysdeps/x86_64/lshift.S: Likewise.
84423 * sysdeps/x86_64/mul_1.S: Likewise.
84424 * sysdeps/x86_64/rshift.S: Likewise.
84425 * sysdeps/x86_64/sub_n.S: Likewise.
84426 * sysdeps/x86_64/submul_1.S: Likewise.
84427
84428 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
84429
84430 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84431 Define __sched_param instead of SCHED_* and sched_param when
84432 <bits/sched.h> is included with __need_schedparam defined.
84433 * bits/sched.h [__need_schedparam]
84434 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84435 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84436 (__defined_schedparam): Define to 1.
84437 (__sched_param): New structure, identical to sched_param.
84438 (__need_schedparam): Undefine.
84439
84440 2010-08-31 Mike Frysinger <vapier@gentoo.org>
84441
84442 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
84443 (epoll_create1): Declare.
84444
84445 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
84446
84447 2010-08-31 Andreas Schwab <schwab@redhat.com>
84448
84449 [BZ #7066]
84450 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
84451 shifting retval into place.
84452
84453 2010-09-01 Ulrich Drepper <drepper@redhat.com>
84454
84455 * nis/rpcsvc/nis.h: Update copyright notice.
84456 * nis/rpcsvc/nis.x: Likewise.
84457 * nis/rpcsvc/nis_callback.h: Likewise.
84458 * nis/rpcsvc/nis_callback.x: Likewise.
84459 * nis/rpcsvc/nis_object.x: Likewise.
84460 * nis/rpcsvc/nis_tags.h: Likewise.
84461 * nis/rpcsvc/yp.h: Likewise.
84462 * nis/rpcsvc/yp.x: Likewise.
84463 * nis/rpcsvc/ypupd.h: Likewise.
84464 * nis/yp_xdr.c: Likewise.
84465 * nis/ypupdate_xdr.c: Likewise.
84466
84467 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
84468 mainly the body of pmap_getport. Add parameters to specify timeouts.
84469 (pmap_getport): Use __libc_rpc_getport.
84470 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
84471 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84472 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
84473
84474 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
84475
84476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
84477 fanotify_mark.
84478
84479 2010-08-27 Roland McGrath <roland@redhat.com>
84480
84481 * sysdeps/i386/i686/multiarch/Makefile
84482 (CFLAGS-varshift.c): New variable.
84483
84484 2010-08-27 Ulrich Drepper <drepper@redhat.com>
84485
84486 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
84487 * sysdeps/i386/i686/multiarch/varshift.c: New file.
84488
84489 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
84490
84491 * sysdeps/x86_64/strlen.S: Minimal code improvement.
84492
84493 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
84494
84495 * sysdeps/x86_64/strlen.S: Unroll the loop.
84496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84497 strlen-sse2 strlen-sse2-bsf.
84498 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
84499 __strlen_no_bsf if bit_Slow_BSF is set.
84500 (__strlen_sse42): Removed.
84501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
84502 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
84503
84504 2010-08-25 Roland McGrath <roland@redhat.com>
84505
84506 * sysdeps/x86_64/multiarch/varshift.S: File removed.
84507 * sysdeps/x86_64/multiarch/varshift.c: New file.
84508 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
84509 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
84510 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
84511 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
84512
84513 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
84514
84515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84516 strlen-sse2 strlen-sse2-bsf.
84517 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
84518 __strlen_sse2_bsf if bit_Slow_BSF is unset.
84519 (__strlen_sse2): Removed.
84520 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
84521 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
84522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
84523 bit_Slow_BSF for Atom.
84524 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
84525 (index_Slow_BSF): Define.
84526 (HAS_SLOW_BSF): Define.
84527
84528 2010-08-25 Ulrich Drepper <drepper@redhat.com>
84529
84530 [BZ #10851]
84531 * resolv/res_init.c (__res_vinit): When no server address at all
84532 is given default to loopback.
84533
84534 2010-08-24 Roland McGrath <roland@redhat.com>
84535
84536 * configure.in: Remove config-name.h generation.
84537 * configure: Regenerated.
84538 * config-name.in: File removed.
84539 * scripts/config-uname.sh: New file.
84540 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
84541 ($(objdir)config-name.h): New target.
84542
84543 * sunrpc/rpc_parse.h: Avoid nested comment.
84544
84545 2010-08-24 Richard Henderson <rth@redhat.com>
84546 Ulrich Drepper <drepper@redhat.com>
84547 H.J. Lu <hongjiu.lu@intel.com>
84548
84549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
84550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
84551 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
84552 Replace _mm_srli_si128 with __m128i_shift_right. Replace
84553 _mm_alignr_epi8 with _mm_loadu_si128.
84554 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
84555 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
84556 (__m128i_shift_right): Removed.
84557 * sysdeps/i386/i686/multiarch/varshift.h: New file.
84558 * sysdeps/i386/i686/multiarch/varshift.S: New file.
84559 * sysdeps/x86_64/multiarch/varshift.h: New file.
84560 * sysdeps/x86_64/multiarch/varshift.S: New file.
84561
84562 2010-08-21 Mike Frysinger <vapier@gentoo.org>
84563
84564 * configure.in: Move assembler checks to before sysdep dir checking.
84565
84566 2010-08-20 Petr Baudis <pasky@suse.cz>
84567
84568 * LICENSES: Sync the sunrpc license.
84569
84570 2010-08-19 Ulrich Drepper <drepper@redhat.com>
84571
84572 * sunrpc/auth_des.c: Update copyright notice once again.
84573 * sunrpc/auth_none.c: Likewise.
84574 * sunrpc/auth_unix.c: Likewise.
84575 * sunrpc/authdes_prot.c: Likewise.
84576 * sunrpc/authuxprot.c: Likewise.
84577 * sunrpc/bindrsvprt.c: Likewise.
84578 * sunrpc/clnt_gen.c: Likewise.
84579 * sunrpc/clnt_perr.c: Likewise.
84580 * sunrpc/clnt_raw.c: Likewise.
84581 * sunrpc/clnt_simp.c: Likewise.
84582 * sunrpc/clnt_tcp.c: Likewise.
84583 * sunrpc/clnt_udp.c: Likewise.
84584 * sunrpc/clnt_unix.c: Likewise.
84585 * sunrpc/des_crypt.c: Likewise.
84586 * sunrpc/des_soft.c: Likewise.
84587 * sunrpc/get_myaddr.c: Likewise.
84588 * sunrpc/getrpcport.c: Likewise.
84589 * sunrpc/key_call.c: Likewise.
84590 * sunrpc/key_prot.c: Likewise.
84591 * sunrpc/openchild.c: Likewise.
84592 * sunrpc/pm_getmaps.c: Likewise.
84593 * sunrpc/pm_getport.c: Likewise.
84594 * sunrpc/pmap_clnt.c: Likewise.
84595 * sunrpc/pmap_prot.c: Likewise.
84596 * sunrpc/pmap_prot2.c: Likewise.
84597 * sunrpc/pmap_rmt.c: Likewise.
84598 * sunrpc/rpc/auth.h: Likewise.
84599 * sunrpc/rpc/auth_unix.h: Likewise.
84600 * sunrpc/rpc/clnt.h: Likewise.
84601 * sunrpc/rpc/des_crypt.h: Likewise.
84602 * sunrpc/rpc/key_prot.h: Likewise.
84603 * sunrpc/rpc/netdb.h: Likewise.
84604 * sunrpc/rpc/pmap_clnt.h: Likewise.
84605 * sunrpc/rpc/pmap_prot.h: Likewise.
84606 * sunrpc/rpc/pmap_rmt.h: Likewise.
84607 * sunrpc/rpc/rpc.h: Likewise.
84608 * sunrpc/rpc/rpc_des.h: Likewise.
84609 * sunrpc/rpc/rpc_msg.h: Likewise.
84610 * sunrpc/rpc/svc.h: Likewise.
84611 * sunrpc/rpc/svc_auth.h: Likewise.
84612 * sunrpc/rpc/types.h: Likewise.
84613 * sunrpc/rpc/xdr.h: Likewise.
84614 * sunrpc/rpc_clntout.c: Likewise.
84615 * sunrpc/rpc_cmsg.c: Likewise.
84616 * sunrpc/rpc_common.c: Likewise.
84617 * sunrpc/rpc_cout.c: Likewise.
84618 * sunrpc/rpc_dtable.c: Likewise.
84619 * sunrpc/rpc_hout.c: Likewise.
84620 * sunrpc/rpc_main.c: Likewise.
84621 * sunrpc/rpc_parse.c: Likewise.
84622 * sunrpc/rpc_parse.h: Likewise.
84623 * sunrpc/rpc_prot.c: Likewise.
84624 * sunrpc/rpc_sample.c: Likewise.
84625 * sunrpc/rpc_scan.c: Likewise.
84626 * sunrpc/rpc_scan.h: Likewise.
84627 * sunrpc/rpc_svcout.c: Likewise.
84628 * sunrpc/rpc_tblout.c: Likewise.
84629 * sunrpc/rpc_util.c: Likewise.
84630 * sunrpc/rpc_util.h: Likewise.
84631 * sunrpc/rpcinfo.c: Likewise.
84632 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
84633 * sunrpc/rpcsvc/key_prot.x: Likewise.
84634 * sunrpc/rpcsvc/klm_prot.x: Likewise.
84635 * sunrpc/rpcsvc/mount.x: Likewise.
84636 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
84637 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
84638 * sunrpc/rpcsvc/rex.x: Likewise.
84639 * sunrpc/rpcsvc/rstat.x: Likewise.
84640 * sunrpc/rpcsvc/rusers.x: Likewise.
84641 * sunrpc/rpcsvc/sm_inter.x: Likewise.
84642 * sunrpc/rpcsvc/spray.x: Likewise.
84643 * sunrpc/rpcsvc/yppasswd.x: Likewise.
84644 * sunrpc/rtime.c: Likewise.
84645 * sunrpc/svc.c: Likewise.
84646 * sunrpc/svc_auth.c: Likewise.
84647 * sunrpc/svc_authux.c: Likewise.
84648 * sunrpc/svc_raw.c: Likewise.
84649 * sunrpc/svc_run.c: Likewise.
84650 * sunrpc/svc_simple.c: Likewise.
84651 * sunrpc/svc_tcp.c: Likewise.
84652 * sunrpc/svc_udp.c: Likewise.
84653 * sunrpc/svc_unix.c: Likewise.
84654 * sunrpc/svcauth_des.c: Likewise.
84655 * sunrpc/xcrypt.c: Likewise.
84656 * sunrpc/xdr.c: Likewise.
84657 * sunrpc/xdr_array.c: Likewise.
84658 * sunrpc/xdr_float.c: Likewise.
84659 * sunrpc/xdr_mem.c: Likewise.
84660 * sunrpc/xdr_rec.c: Likewise.
84661 * sunrpc/xdr_ref.c: Likewise.
84662 * sunrpc/xdr_sizeof.c: Likewise.
84663 * sunrpc/xdr_stdio.c: Likewise.
84664
84665 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
84666 handling.
84667
84668 2010-08-19 Andreas Schwab <schwab@redhat.com>
84669
84670 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
84671
84672 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
84673
84674 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
84675 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
84676 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
84677 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
84678 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
84679 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
84680 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
84681 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
84682 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
84683 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
84684 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
84685 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
84686 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
84687 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
84688
84689 2010-07-26 Anton Blanchard <anton@samba.org>
84690
84691 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
84692 * malloc/arena.c (heap_trim): Likewise.
84693
84694 2010-08-16 Ulrich Drepper <drepper@redhat.com>
84695
84696 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
84697 here. Not...
84698 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
84699 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
84700
84701 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
84702
84703 * sysdeps/i386/elf/Makefile: New file.
84704
84705 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
84706
84707 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
84708 from fanotify_init.
84709 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
84710 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84711
84712 2010-08-15 Ulrich Drepper <drepper@redhat.com>
84713
84714 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
84715 of strncasecmp_l.
84716 * sysdeps/multiarch/strcmp.S: Likewise.
84717
84718 2010-08-14 Ulrich Drepper <drepper@redhat.com>
84719
84720 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84721 strncase_l-nonascii.
84722 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84723 Add strncase_l-ssse3.
84724 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
84725 * sysdeps/x86_64/strcmp.S: Likewise.
84726 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
84727 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
84728 * sysdeps/x86_64/strncase.S: New file.
84729 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
84730 * sysdeps/x86_64/strncase_l.S: New file.
84731 * string/Makefile (strop-tests): Add strncasecmp.
84732 * string/test-strncasecmp.c: New file.
84733
84734 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
84735 warning.
84736
84737 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
84738 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
84739
84740 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
84741
84742 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
84743
84744 2010-08-12 Ulrich Drepper <drepper@redhat.com>
84745
84746 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
84747 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
84748 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
84749
84750 2010-05-01 Alan Modra <amodra@gmail.com>
84751
84752 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
84753 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
84754 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
84755 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
84756 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
84757 tidying. Don't tail-call __sigjmp_save for static lib.
84758 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
84759 save location.
84760 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
84761 (CALL_MCOUNT): Add eh info, and nop after bl.
84762 (TAIL_CALL_SYSCALL_ERROR): New macro.
84763 (PSEUDO_RET): Use it.
84764 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
84765 Correct save location of integer regs and cr.
84766 (_dl_profile_resolve): Correct cr save location. Delete nops
84767 after bl when SHARED. Reduce cfi size a little by better
84768 placement of cfi directives.
84769 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
84770 make a stack frame. Instead use parm save area as a temp.
84771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
84772 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
84773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
84774 Don't make a stack frame for parent, use parm save area.
84775 Increase child stack frame to 112 bytes. Don't save unused reg,
84776 and adjust reg usage. Set up cfi on error recovery and
84777 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
84778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
84779 (__makecontext): Add dummy nop after jump to exit.
84780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
84781 Use correct parm save area and cr save, reduce stack frame.
84782 Correct cfi for possible PSEUDO_RET frame setup.
84783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
84784 Branch to local label emitted by PSEUDO_RET rather than
84785 __syscall_error.
84786
84787 2010-08-12 Andreas Schwab <schwab@redhat.com>
84788
84789 [BZ #11904]
84790 * locale/programs/locale.c (print_assignment): New function.
84791 (show_locale_vars): Use it.
84792
84793 2010-08-11 Ulrich Drepper <drepper@redhat.com>
84794
84795 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
84796 field.
84797 (struct statfs64): Likewise.
84798 (_STATFS_F_FLAGS): Define.
84799 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
84800 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84801 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
84802 (ST_VALID): Define locally.
84803 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
84804 __statvfs_getflags, use the provided value.
84805 * sysdeps/unix/sysv/linux/kernel-features.h: Define
84806 __ASSUME_STATFS_F_FLAGS.
84807
84808 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
84809
84810 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
84811 Add sys/fanotify.h.
84812 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
84813 fanotify_mask for GLIBC_2.13.
84814 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
84815 fanotify_init and fanotify_mark.
84816 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84817 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
84818
84819 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
84820 Add prlimit.
84821 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
84822 prlimit64 for GLIBC_2.13.
84823 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
84824 prlimit64.
84825 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
84826 syscall.
84827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
84828 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84829 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
84830 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
84831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
84832 add prlimit alias.
84833 * sysdeps/unix/sysv/linux/prlimit.c: New file.
84834
84835 [BZ #11903]
84836 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
84837 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
84838
84839 * nss/Makefile: Add rules to build and run tst-nss-test1.
84840 * shlib-versions: Add entry for libnss_test1.
84841 * nss/nss_test1.c: New file.
84842 * nss/tst-nss-test1.c: New file.
84843
84844 * nss/nsswitch.c (__nss_database_custom): Define new variable.
84845 (__nss_configure_lookup): Set appropriate entry in
84846 __nss_configure_lookup to true.
84847 * nss/nsswitch.h: Define enum with indeces of databases in
84848 databases and __nss_database_custom arrays. Declare
84849 __nss_database_custom.
84850 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
84851 to avoid using nscd when custom rules are installed.
84852 * nss/getXXbyYY_r.c: Likewise.
84853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
84854
84855 * nss/nss_files/files-parse.c: Whitespace fixes.
84856
84857 2010-08-09 Ulrich Drepper <drepper@redhat.com>
84858
84859 [BZ #11883]
84860 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84861 * posix/fnmatch_loop.c: Likewise.
84862
84863 2010-07-17 Andi Kleen <ak@linux.intel.com>
84864
84865 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
84866 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
84867 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
84868 * Versions.def [GLIBC_2.13]: Add.
84869
84870 2010-08-06 Ulrich Drepper <drepper@redhat.com>
84871
84872 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84873 Also fail if tpwd after pwuid call is NULL.
84874
84875 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
84876
84877 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
84878 when converting to ms.
84879
84880 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
84881
84882 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
84883 EOPNOTSUPP errors with ENOTTY.
84884 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
84885 EOPNOTSUPP errors with ENOTTY.
84886
84887 2010-07-31 Ulrich Drepper <drepper@redhat.com>
84888
84889 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84890 Add strcasecmp_l-ssse3.
84891 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
84892 strcasecmp.
84893 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
84894 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
84895 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
84896
84897 2010-07-30 Ulrich Drepper <drepper@redhat.com>
84898
84899 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
84900
84901 * string/Makefile (strop-tests): Add strcasecmp.
84902 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84903 strcasecmp_l-nonascii.
84904 (gen-as-const-headers): Add locale-defines.sym.
84905 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
84906 * sysdeps/x86_64/strcasecmp.S: New file.
84907 * sysdeps/x86_64/strcasecmp_l.S: New file.
84908 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
84909 * sysdeps/x86_64/locale-defines.sym: New file.
84910 * string/test-strcasecmp.c: New file.
84911
84912 * string/test-strcasestr.c: Test both ends of the range of characters.
84913 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
84914
84915 2010-07-29 Roland McGrath <roland@redhat.com>
84916
84917 [BZ #11856]
84918 * manual/locale.texi (Yes-or-No Questions): Fix example code.
84919
84920 2010-07-27 Ulrich Drepper <drepper@redhat.com>
84921
84922 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
84923 for ld.so.
84924
84925 2010-07-27 Andreas Schwab <schwab@redhat.com>
84926
84927 * manual/memory.texi (Malloc Tunable Parameters): Document
84928 M_PERTURB.
84929
84930 2010-07-26 Roland McGrath <roland@redhat.com>
84931
84932 [BZ #11840]
84933 * configure.in (-fgnu89-inline check): Set and substitute
84934 gnu89_inline, not libc_cv_gnu89_inline.
84935 * configure: Regenerated.
84936 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
84937
84938 2010-07-26 Ulrich Drepper <drepper@redhat.com>
84939
84940 * string/test-strnlen.c: New file.
84941 * string/Makefile (strop-tests): Add strnlen.
84942 * string/tester.c (test_strnlen): Add a few more test cases.
84943 * string/tst-strlen.c: Better error reporting.
84944
84945 * sysdeps/x86_64/strnlen.S: New file.
84946
84947 2010-07-24 Ulrich Drepper <drepper@redhat.com>
84948
84949 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
84950 lower-latency instructions.
84951
84952 2010-07-23 Ulrich Drepper <drepper@redhat.com>
84953
84954 * string/test-strcasestr.c: New file.
84955 * string/test-strstr.c: New file.
84956 * string/Makefile (strop-tests): Add strstr and strcasestr.
84957 * string/str-two-way.h: Don't undefine MAX.
84958 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
84959
84960 2010-07-21 Andreas Schwab <schwab@redhat.com>
84961
84962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84963 strcasestr-nonascii.
84964 (CFLAGS-strcasestr-nonascii.c): Define.
84965 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
84966 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
84967 Remove unused attribute.
84968
84969 2010-07-20 Roland McGrath <roland@redhat.com>
84970
84971 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
84972 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
84973 ld.so.cache was broken. With it, there is no way to disable dsocaps
84974 like LD_HWCAP_MASK can disable hwcaps.
84975
84976 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
84977
84978 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
84979
84980 2010-07-16 Ulrich Drepper <drepper@redhat.com>
84981
84982 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
84983 call in strcasestr.
84984 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
84985 __strcasestr_sse42_nonascii.
84986 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
84987 strcasestr-nonascii.c.
84988 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
84989
84990 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
84991
84992 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
84993 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
84994 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
84995 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
84996
84997 2010-07-09 Ulrich Drepper <drepper@redhat.com>
84998
84999 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85000 fcntl.
85001
85002 2010-07-06 Andreas Schwab <schwab@redhat.com>
85003
85004 [BZ #11577]
85005 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85006 dl_signal_cerror.
85007
85008 2010-07-06 Ulrich Drepper <drepper@redhat.com>
85009
85010 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85011 _PC_PIPE_BUF using F_GETPIPE_SZ.
85012
85013 2010-07-05 Roland McGrath <roland@redhat.com>
85014
85015 * manual/arith.texi (Rounding Functions): Fix rint description
85016 implicit in round description.
85017
85018 2010-07-02 Ulrich Drepper <drepper@redhat.com>
85019
85020 * elf/Makefile: Fix linking for a few tests to make recent linker
85021 happy.
85022
85023 2010-06-30 Andreas Schwab <schwab@redhat.com>
85024
85025 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85026 $(common-objpfx)libc_nonshared.a.
85027
85028 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
85029
85030 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85031 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85032 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85033 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85034 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85035 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85036 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85037 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85052 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85053 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85054 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85055 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85056 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85057 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85058 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85059 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85060 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85061 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85062 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85063 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85078
85079 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
85080
85081 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85082 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
85083 * string/memmove.c (memmove): Renamed to ...
85084 (MEMMOVE): ...this. Default to memmove.
85085 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85086 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85087 (END_CHK): Define.
85088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85089 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85090 mempcpy-ssse3-back memmove-ssse3-back.
85091 * sysdeps/x86_64/multiarch/bcopy.S: New file .
85092 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85093 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85094 * sysdeps/x86_64/multiarch/memcpy.S: New file.
85095 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85096 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85097 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85098 * sysdeps/x86_64/multiarch/memmove.c: New file.
85099 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85100 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85101 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85102 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85103 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85104 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85105 Define.
85106 (index_Fast_Copy_Backward): Define.
85107 (HAS_ARCH_FEATURE): Define.
85108 (HAS_FAST_REP_STRING): Define.
85109 (HAS_FAST_COPY_BACKWARD): Define.
85110
85111 2010-06-21 Andreas Schwab <schwab@redhat.com>
85112
85113 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85114 Restore proper fallback handling.
85115
85116 2010-06-19 Ulrich Drepper <drepper@redhat.com>
85117
85118 [BZ #11701]
85119 * posix/group_member.c (__group_member): Correct checking loop.
85120
85121 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85122 OOM in getpwuid_r correctly. Return error number when the caller
85123 should return, otherwise -1.
85124 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85125 call returning > 0 value.
85126 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85127
85128 2010-06-07 Andreas Schwab <schwab@redhat.com>
85129
85130 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85131 libc_nonshared.a from targets in modules-names.
85132
85133 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
85134
85135 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85136 requires it.
85137
85138 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
85139
85140 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85141 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85142 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85143 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85144
85145 2010-06-02 Andreas Schwab <schwab@redhat.com>
85146
85147 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85148
85149 2010-06-14 Ulrich Drepper <drepper@redhat.com>
85150
85151 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85152 and F_GETPIPE_SZ.
85153 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85154 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85157 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85158 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85159
85160 2010-06-14 Roland McGrath <roland@redhat.com>
85161
85162 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85163
85164 2010-06-07 Jakub Jelinek <jakub@redhat.com>
85165
85166 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85167 __REDIRECT followed by __THROW.
85168 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85169 * posix/getopt.h (getopt): Likewise.
85170
85171 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85172
85173 * hurd/lookup-at.c (__file_name_lookup_at): Accept
85174 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
85175 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85176 in AT_FLAGS.
85177 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85178 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85179
85180 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
85181
85182 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85183
85184 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
85185
85186 [BZ #11640]
85187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85188 Properly check family and model.
85189
85190 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
85191
85192 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85193
85194 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
85195
85196 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85197
85198 2010-05-21 Ulrich Drepper <drepper@redhat.com>
85199
85200 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85201 symbol reference.
85202
85203 2010-05-19 Andreas Schwab <schwab@redhat.com>
85204
85205 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85206 symbol reference.
85207
85208 2010-05-21 Andreas Schwab <schwab@redhat.com>
85209
85210 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85211 and internal_recvmmsg.
85212 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85213 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85214 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85215 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85216
85217 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85218 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85219 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85220
85221 2010-05-20 Andreas Schwab <schwab@redhat.com>
85222
85223 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85224
85225 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
85226
85227 POWER7 optimizations.
85228 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85229 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85230
85231 2010-05-19 Ulrich Drepper <drepper@redhat.com>
85232
85233 * version.h: Update for 2.13 development version.
85234
85235 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
85236
85237 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85238 exceptions. Return 0.
85239
85240 2010-05-07 Roland McGrath <roland@redhat.com>
85241
85242 * elf/ldconfig.c (main): Add a const.
85243
85244 2010-05-06 Ulrich Drepper <drepper@redhat.com>
85245
85246 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85247 (args_options): Add no-idn option.
85248 (ahosts_keys_int): Add idn_flags to ai_flags.
85249 (parse_option): Handle 'i' option to clear idn_flags.
85250
85251 * malloc/malloc.c (_int_free): Possible race in the most recently
85252 added check. Only act on the data if no current modification
85253 happened.
85254
85255 See ChangeLog.17 for earlier changes.